summaryrefslogtreecommitdiffstats
path: root/Documentation/media/uapi/cec/cec-func-ioctl.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-19 21:58:14 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-23 02:23:40 +0200
commit995478366220ba770895e24db04c601f19455f6b (patch)
tree2a13b40460c0cdba7957aa8afd517dd5a3c3697c /Documentation/media/uapi/cec/cec-func-ioctl.rst
parent[media] docs-rst: Convert DVB uAPI to use C function references (diff)
downloadlinux-995478366220ba770895e24db04c601f19455f6b.tar.xz
linux-995478366220ba770895e24db04c601f19455f6b.zip
[media] docs-rst: Convert CEC uAPI to use C function references
Name all ioctl references and make them match the ioctls that are documented. That will improve the cross-reference index, as it will have all ioctls and syscalls there. While here, improve the documentation to make them to look more like the rest of the document. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/cec/cec-func-ioctl.rst')
-rw-r--r--Documentation/media/uapi/cec/cec-func-ioctl.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/media/uapi/cec/cec-func-ioctl.rst b/Documentation/media/uapi/cec/cec-func-ioctl.rst
index 116132b19515..9e8dbb118d6a 100644
--- a/Documentation/media/uapi/cec/cec-func-ioctl.rst
+++ b/Documentation/media/uapi/cec/cec-func-ioctl.rst
@@ -20,16 +20,17 @@ Synopsis
.. c:function:: int ioctl( int fd, int request, void *argp )
+ :name: cec-ioctl
Arguments
=========
``fd``
- File descriptor returned by :ref:`open() <func-open>`.
+ File descriptor returned by :c:func:`open() <cec-open>`.
``request``
CEC ioctl request code as defined in the cec.h header file, for
- example :ref:`CEC_ADAP_G_CAPS`.
+ example :c:func:`CEC_ADAP_G_CAPS`.
``argp``
Pointer to a request-specific structure.