]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] ca-get-cap.rst: add a table for struct ca_caps
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 31 Aug 2016 16:07:43 +0000 (13:07 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Sep 2016 12:45:45 +0000 (09:45 -0300)
Add a flat-table describing struct ca_caps, as found at
the source file.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/media/uapi/dvb/ca-get-cap.rst

index 3486805b62a950070a69aff9c714b6fe71a5e0ce..77c57ac59535124e59c9bd4c8def5fad96ccbbed 100644 (file)
@@ -26,7 +26,34 @@ Arguments
   File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`.
 
 ``caps``
-  Undocumented.
+  struct :c:type:`ca_caps` pointer
+
+.. c:type:: struct ca_caps
+
+.. flat-table:: struct ca_caps
+    :header-rows:  1
+    :stub-columns: 0
+
+    -
+      - type
+      - name
+      - description
+    -
+      -        unsigned int
+      - slot_num
+      - total number of CA card and module slots
+    -
+      - unsigned int
+      - slot_type
+      - bitmask with all supported slot types
+    -
+      - unsigned int
+      - descr_num
+      - total number of descrambler slots (keys)
+    -
+      - unsigned int
+      - descr_type
+      - bit mask with all supported descr types
 
 
 Description