[media] ca-get-descr-info.rst: add doc for for struct ca_descr_info
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 31 Aug 2016 17:07:38 +0000 (14:07 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Sep 2016 12:48:58 +0000 (09:48 -0300)
The documentation follows what's there at the ca.h header.

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

index b007f10..b4a3194 100644 (file)
@@ -25,7 +25,28 @@ Arguments
   File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`.
 
 ``desc``
-  Undocumented.
+  Pointer to struct :c:type:`ca_descr_info`.
+
+.. c:type:: struct ca_descr_info
+
+.. flat-table:: struct ca_descr_info
+    :header-rows:  1
+    :stub-columns: 0
+
+    -
+      - type
+      - name
+      - description
+
+    -
+      - unsigned int
+      - num
+      - number of available descramblers (keys)
+    -
+      - unsigned int
+      - type
+      - type of supported scrambling system. Valid values are:
+       ``CA_ECD``, ``CA_NDS`` and ``CA_DSS``.
 
 
 Description