xref: /linux/Documentation/userspace-api/media/dvb/ca.rst (revision 8e2a46a40fa76570e535e5baa2d351510b6e61fa)
1.. Permission is granted to copy, distribute and/or modify this
2.. document under the terms of the GNU Free Documentation License,
3.. Version 1.1 or any later version published by the Free Software
4.. Foundation, with no Invariant Sections, no Front-Cover Texts
5.. and no Back-Cover Texts. A copy of the license is included at
6.. Documentation/userspace-api/media/fdl-appendix.rst.
7..
8.. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
9
10.. _dvb_ca:
11
12####################
13Digital TV CA Device
14####################
15
16The Digital TV CA device controls the conditional access hardware. It
17can be accessed through ``/dev/dvb/adapter?/ca?``. Data types and and ioctl
18definitions can be accessed by including ``linux/dvb/ca.h`` in your
19application.
20
21.. note::
22
23   There are three ioctls at this API that aren't documented:
24   :ref:`CA_GET_MSG`, :ref:`CA_SEND_MSG` and :ref:`CA_SET_DESCR`.
25   Documentation for them are welcome.
26
27.. toctree::
28    :maxdepth: 1
29
30    ca_data_types
31    ca_function_calls
32    ca_high_level
33