diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-01 13:42:29 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-01 14:54:10 -0300 |
commit | af4a4d0db8ab2c4e2088bc48cfa49511b766dca6 (patch) | |
tree | d2869d62845e58a1083ac808c7ebd78542ccac0a /Documentation/linux_tv/media/v4l/vidioc-g-ext-ctrls.rst | |
parent | 789818845202ac243836b526e406fe8c97ec8cc2 (diff) | |
download | lwn-af4a4d0db8ab2c4e2088bc48cfa49511b766dca6.tar.gz lwn-af4a4d0db8ab2c4e2088bc48cfa49511b766dca6.zip |
doc-rst: linux_tv: Replace reference names to match ioctls
Due to a limitation at the DocBook language, the references
were using lowercase and slashes, instead of the name of the
ioctls. On ReST, make them identical. This will hopefully
help to cleanup the code a little bit.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/linux_tv/media/v4l/vidioc-g-ext-ctrls.rst')
-rw-r--r-- | Documentation/linux_tv/media/v4l/vidioc-g-ext-ctrls.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/linux_tv/media/v4l/vidioc-g-ext-ctrls.rst b/Documentation/linux_tv/media/v4l/vidioc-g-ext-ctrls.rst index 66dce741a3c0..f800458d9dfe 100644 --- a/Documentation/linux_tv/media/v4l/vidioc-g-ext-ctrls.rst +++ b/Documentation/linux_tv/media/v4l/vidioc-g-ext-ctrls.rst @@ -1,6 +1,6 @@ .. -*- coding: utf-8; mode: rst -*- -.. _vidioc-g-ext-ctrls: +.. _VIDIOC_G_EXT_CTRLS: ****************************************************************** ioctl VIDIOC_G_EXT_CTRLS, VIDIOC_S_EXT_CTRLS, VIDIOC_TRY_EXT_CTRLS @@ -58,14 +58,14 @@ set ``size`` to a valid value and return an ENOSPC error code. You should re-allocate the memory to this new size and try again. For the string type it is possible that the same issue occurs again if the string has grown in the meantime. It is recommended to call -:ref:`VIDIOC_QUERYCTRL <vidioc-queryctrl>` first and use +:ref:`VIDIOC_QUERYCTRL <VIDIOC_QUERYCTRL>` first and use ``maximum``\ +1 as the new ``size`` value. It is guaranteed that that is sufficient memory. N-dimensional arrays are set and retrieved row-by-row. You cannot set a partial array, all elements have to be set or retrieved. The total size is calculated as ``elems`` * ``elem_size``. These values can be obtained -by calling :ref:`VIDIOC_QUERY_EXT_CTRL <vidioc-queryctrl>`. +by calling :ref:`VIDIOC_QUERY_EXT_CTRL <VIDIOC_QUERYCTRL>`. To change the value of a set of controls applications initialize the ``id``, ``size``, ``reserved2`` and ``value/value64/string/ptr`` fields @@ -366,8 +366,8 @@ still cause this situation. - The class containing user controls. These controls are described in :ref:`control`. All controls that can be set using the - :ref:`VIDIOC_S_CTRL <vidioc-g-ctrl>` and - :ref:`VIDIOC_G_CTRL <vidioc-g-ctrl>` ioctl belong to this + :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` and + :ref:`VIDIOC_G_CTRL <VIDIOC_G_CTRL>` ioctl belong to this class. - .. row 2 |