diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-04 14:03:40 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-05 12:23:28 +0200 |
commit | 7e6854a9bfea9ed6553acd0204da5101c9a2e6a0 (patch) | |
tree | a9a2a48741c54079d939aba0ba4f0b4e61b5667b /include | |
parent | media: ca docs: document CA_SET_DESCR ioctl and structs (diff) | |
download | linux-7e6854a9bfea9ed6553acd0204da5101c9a2e6a0.tar.xz linux-7e6854a9bfea9ed6553acd0204da5101c9a2e6a0.zip |
media: ca.h: document ca_msg and the corresponding ioctls
Usually, CA messages are sent/received via reading/writing at
the CA device node. However, two drivers (dst_ca and firedtv-ci)
also implement it via ioctls.
Apparently, on both cases, the net result is the same.
Anyway, let's document it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/dvb/ca.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/uapi/linux/dvb/ca.h b/include/uapi/linux/dvb/ca.h index c36fdb8e2733..24fc38efbc2b 100644 --- a/include/uapi/linux/dvb/ca.h +++ b/include/uapi/linux/dvb/ca.h @@ -101,7 +101,16 @@ struct ca_caps { unsigned int descr_type; }; -/* a message to/from a CI-CAM */ +/** + * struct ca_msg - a message to/from a CI-CAM + * + * @index: unused + * @type: unused + * @length: length of the message + * @msg: message + * + * This struct carries a message to be send/received from a CI CA module. + */ struct ca_msg { unsigned int index; unsigned int type; |