summaryrefslogtreecommitdiffstats
path: root/Documentation/media/uapi/v4l/vidioc-subdev-g-fmt.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-19 16:53:38 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-22 21:23:27 -0300
commit41d804653ec8aaee432bfd9a78f4c0e24553f5ab (patch)
tree2fd0020cf5b0b6d4baaaf8cbbd4a2b1483bf8996 /Documentation/media/uapi/v4l/vidioc-subdev-g-fmt.rst
parent1b81f010bfd8ce61b79329d7ebb23b62d5d7effb (diff)
downloadblackbird-op-linux-41d804653ec8aaee432bfd9a78f4c0e24553f5ab.tar.gz
blackbird-op-linux-41d804653ec8aaee432bfd9a78f4c0e24553f5ab.zip
[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-subdev-g-fmt.rst')
-rw-r--r--Documentation/media/uapi/v4l/vidioc-subdev-g-fmt.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/media/uapi/v4l/vidioc-subdev-g-fmt.rst b/Documentation/media/uapi/v4l/vidioc-subdev-g-fmt.rst
index 55b113de91bb..2df1342ac6ea 100644
--- a/Documentation/media/uapi/v4l/vidioc-subdev-g-fmt.rst
+++ b/Documentation/media/uapi/v4l/vidioc-subdev-g-fmt.rst
@@ -15,7 +15,11 @@ VIDIOC_SUBDEV_G_FMT - VIDIOC_SUBDEV_S_FMT - Get or set the data format on a subd
Synopsis
========
-.. c:function:: int ioctl( int fd, int request, struct v4l2_subdev_format *argp )
+.. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_G_FMT, struct v4l2_subdev_format *argp )
+ :name: VIDIOC_SUBDEV_G_FMT
+
+.. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_S_FMT, struct v4l2_subdev_format *argp )
+ :name: VIDIOC_SUBDEV_S_FMT
Arguments
@@ -24,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
-``request``
- VIDIOC_SUBDEV_G_FMT, VIDIOC_SUBDEV_S_FMT
-
``argp``
OpenPOWER on IntegriCloud