diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-08-19 22:53:38 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-08-23 03:23:27 +0300 |
commit | 41d804653ec8aaee432bfd9a78f4c0e24553f5ab (patch) | |
tree | 2fd0020cf5b0b6d4baaaf8cbbd4a2b1483bf8996 /Documentation/media/uapi/v4l/vidioc-g-ctrl.rst | |
parent | 1b81f010bfd8ce61b79329d7ebb23b62d5d7effb (diff) | |
download | linux-41d804653ec8aaee432bfd9a78f4c0e24553f5ab.tar.xz |
[media] docs-rst: Convert V4L2 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.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/v4l/vidioc-g-ctrl.rst')
-rw-r--r-- | Documentation/media/uapi/v4l/vidioc-g-ctrl.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/media/uapi/v4l/vidioc-g-ctrl.rst b/Documentation/media/uapi/v4l/vidioc-g-ctrl.rst index 8eeb33916a7c..6ced76016246 100644 --- a/Documentation/media/uapi/v4l/vidioc-g-ctrl.rst +++ b/Documentation/media/uapi/v4l/vidioc-g-ctrl.rst @@ -15,7 +15,11 @@ VIDIOC_G_CTRL - VIDIOC_S_CTRL - Get or set the value of a control Synopsis ======== -.. c:function:: int ioctl( int fd, int request, struct v4l2_control *argp ) +.. c:function:: int ioctl( int fd, VIDIOC_G_CTRL, struct v4l2_control *argp ) + :name: VIDIOC_G_CTRL + +.. c:function:: int ioctl( int fd, VIDIOC_S_CTRL, struct v4l2_control *argp ) + :name: VIDIOC_S_CTRL Arguments @@ -24,9 +28,6 @@ Arguments ``fd`` File descriptor returned by :ref:`open() <func-open>`. -``request`` - VIDIOC_G_CTRL, VIDIOC_S_CTRL - ``argp`` |