diff options
| author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-03 20:50:17 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-05 06:23:07 -0400 |
| commit | bd9049edc66e13e868f819c39844f60443e70817 (patch) | |
| tree | 82cbfd5b648d7f11baf3bc9ba6ac8771efa609d4 /include/uapi/linux/dvb | |
| parent | 56d51b65bcc7a5780663abd579fb6f039616b347 (diff) | |
media: ca docs: document CA_SET_DESCR ioctl and structs
The av7110 driver uses CA_SET_DESCR to store the descrambler
control words at the CA descrambler slots.
Document it.
Thanks-to: Honza Petrouš <jpetrous@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/uapi/linux/dvb')
| -rw-r--r-- | include/uapi/linux/dvb/ca.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/uapi/linux/dvb/ca.h b/include/uapi/linux/dvb/ca.h index 7ee641b4124c..c36fdb8e2733 100644 --- a/include/uapi/linux/dvb/ca.h +++ b/include/uapi/linux/dvb/ca.h | |||
| @@ -109,9 +109,16 @@ struct ca_msg { | |||
| 109 | unsigned char msg[256]; | 109 | unsigned char msg[256]; |
| 110 | }; | 110 | }; |
| 111 | 111 | ||
| 112 | /** | ||
| 113 | * struct ca_descr - CA descrambler control words info | ||
| 114 | * | ||
| 115 | * @index: CA Descrambler slot | ||
| 116 | * @parity: control words parity, where 0 means even and 1 means odd | ||
| 117 | * @cw: CA Descrambler control words | ||
| 118 | */ | ||
| 112 | struct ca_descr { | 119 | struct ca_descr { |
| 113 | unsigned int index; | 120 | unsigned int index; |
| 114 | unsigned int parity; /* 0 == even, 1 == odd */ | 121 | unsigned int parity; |
| 115 | unsigned char cw[8]; | 122 | unsigned char cw[8]; |
| 116 | }; | 123 | }; |
| 117 | 124 | ||
