diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-08-31 17:15:56 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-09-09 12:51:09 (GMT) |
commit | 63eb58b83b70e2b034879adea85a5df2c5e08ab4 (patch) | |
tree | 8c28efe869b1d7d7aa2f06186b591d851ffbc2a0 /Documentation/media | |
parent | e0927092b6fd7e6ca5f5cf9e7d9e00a1a9563ca7 (diff) | |
download | linux-63eb58b83b70e2b034879adea85a5df2c5e08ab4.tar.xz |
[media] ca-get-slot-info.rst: document struct ca_slot_info
Add documentation for struct ca_slot_info and for the two
sets of define used by it, according with what's there at the
ca.h header.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media')
-rw-r--r-- | Documentation/media/uapi/dvb/ca-get-slot-info.rst | 84 |
1 files changed, 83 insertions, 1 deletions
diff --git a/Documentation/media/uapi/dvb/ca-get-slot-info.rst b/Documentation/media/uapi/dvb/ca-get-slot-info.rst index fcecd80..4398aeb 100644 --- a/Documentation/media/uapi/dvb/ca-get-slot-info.rst +++ b/Documentation/media/uapi/dvb/ca-get-slot-info.rst @@ -26,7 +26,89 @@ Arguments File descriptor returned by a previous call to :c:func:`open() <cec-open>`. ``info`` - Undocumented. + Pointer to struct c:type:`ca_slot_info`. + +.. _ca_slot_info_type: + +.. flat-table:: ca_slot_info types + :header-rows: 1 + :stub-columns: 0 + + - + - type + - name + - description + - + - CA_CI + - 1 + - CI high level interface + + - + - CA_CI_LINK + - 2 + - CI link layer level interface + + - + - CA_CI_PHYS + - 4 + - CI physical layer level interface + + - + - CA_DESCR + - 8 + - built-in descrambler + + - + - CA_SC + - 128 + - simple smart card interface + +.. _ca_slot_info_flag: + +.. flat-table:: ca_slot_info flags + :header-rows: 1 + :stub-columns: 0 + + - + - type + - name + - description + + - + - CA_CI_MODULE_PRESENT + - 1 + - module (or card) inserted + + - + - CA_CI_MODULE_READY + - 2 + - + +.. c:type:: ca_slot_info + +.. flat-table:: struct ca_slot_info + :header-rows: 1 + :stub-columns: 0 + + - + - type + - name + - description + + - + - int + - num + - slot number + + - + - int + - type + - CA interface this slot supports, as defined at :ref:`ca_slot_info_type`. + + - + - unsigned int + - flags + - flags as defined at :ref:`ca_slot_info_flag`. Description |