dsphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget9/translations/zh_CN/userspace-api/media/v4l/vidioc-g-ctrlmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget9/translations/zh_TW/userspace-api/media/v4l/vidioc-g-ctrlmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget9/translations/it_IT/userspace-api/media/v4l/vidioc-g-ctrlmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget9/translations/ja_JP/userspace-api/media/v4l/vidioc-g-ctrlmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget9/translations/ko_KR/userspace-api/media/v4l/vidioc-g-ctrlmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget9/translations/sp_SP/userspace-api/media/v4l/vidioc-g-ctrlmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-laterh]h8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhhS/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-g-ctrl.rsthKubhtarget)}(h.. _VIDIOC_G_CTRL:h]h}(h]h ]h"]h$]h&]refid vidioc-g-ctrluh1hhKhhhhhhubhsection)}(hhh](htitle)}(h"ioctl VIDIOC_G_CTRL, VIDIOC_S_CTRLh]h"ioctl VIDIOC_G_CTRL, VIDIOC_S_CTRL}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNameh]hName}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh paragraph)}(hAVIDIOC_G_CTRL - VIDIOC_S_CTRL - Get or set the value of a controlh]hAVIDIOC_G_CTRL - VIDIOC_S_CTRL - Get or set the value of a control}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubeh}(h]nameah ]h"]nameah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hSynopsish]hSynopsis}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](singleV4L.VIDIOC_G_CTRL (C macro)c.V4L.VIDIOC_G_CTRLhNtauh1jhjhhhNhNubhdesc)}(hhh](hdesc_signature)}(h VIDIOC_G_CTRLh]hdesc_signature_line)}(h VIDIOC_G_CTRLh]h desc_name)}(h VIDIOC_G_CTRLh]h desc_sig_name)}(hj+h]h VIDIOC_G_CTRL}(hj;hhhNhNubah}(h]h ]nah"]h$]h&]uh1j9hj5ubah}(h]h ](sig-namedescnameeh"]h$]h&]hhuh1j3hj/hhhhhKubah}(h]h ]h"]h$]h&]hh add_permalinkuh1j-sphinx_line_type declaratorhj)hhhhhKubah}(h]j ah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1j'hhhKhj$hhubh desc_content)}(hhh]h}(h]h ]h"]h$]h&]uh1jehj$hhhhhKubeh}(h]h ](cmacroeh"]h$]h&]domainjsobjtypejtdesctypejtnoindex noindexentrynocontentsentryuh1j"hhhjhNhNubh)}(h?``int ioctl(int fd, VIDIOC_G_CTRL, struct v4l2_control *argp)``h]hliteral)}(hjh]h;int ioctl(int fd, VIDIOC_G_CTRL, struct v4l2_control *argp)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jV4L.VIDIOC_S_CTRL (C macro)c.V4L.VIDIOC_S_CTRLhNtauh1jhjhhhNhNubj#)}(hhh](j()}(h VIDIOC_S_CTRLh]j.)}(h VIDIOC_S_CTRLh]j4)}(h VIDIOC_S_CTRLh]j:)}(hjh]h VIDIOC_S_CTRL}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hjhhhhhKubah}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhjhhhhhKubah}(h]jah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhKhjhhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehjhhhhhKubeh}(h]h ](jsmacroeh"]h$]h&]jxjsjyjjzjj{j|j}uh1j"hhhjhNhNubh)}(h?``int ioctl(int fd, VIDIOC_S_CTRL, struct v4l2_control *argp)``h]j)}(hjh]h;int ioctl(int fd, VIDIOC_S_CTRL, struct v4l2_control *argp)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h]synopsisah ]h"]synopsisah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Argumentsh]h Arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubhdefinition_list)}(hhh](hdefinition_list_item)}(h5``fd`` File descriptor returned by :c:func:`open()`. h](hterm)}(h``fd``h]j)}(hj"h]hfd}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhhhKhjubh definition)}(hhh]h)}(h-File descriptor returned by :c:func:`open()`.h](hFile descriptor returned by }(hj<hhhNhNubh)}(h:c:func:`open()`h]j)}(hjFh]hopen()}(hjHhhhNhNubah}(h]h ](xrefjsc-funceh"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]refdoc%userspace-api/media/v4l/vidioc-g-ctrl refdomainjsreftypefunc refexplicitrefwarn c:parent_keysphinx.domains.c LookupKey)}data]je ASTIdentifier)} identifierV4LsbNasb reftargetopenuh1hhhhKhj<ubh.}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj9ubah}(h]h ]h"]h$]h&]uh1j7hjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(h3``argp`` Pointer to struct :c:type:`v4l2_control`. h](j)}(h``argp``h]j)}(hjh]hargp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhhhK!hjubj8)}(hhh]h)}(h)Pointer to struct :c:type:`v4l2_control`.h](hPointer to struct }(hjhhhNhNubh)}(h:c:type:`v4l2_control`h]j)}(hjh]h v4l2_control}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_controluh1hhhhK!hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK!hjubah}(h]h ]h"]h$]h&]uh1j7hjubeh}(h]h ]h"]h$]h&]uh1jhhhK!hjhhubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h] argumentsah ]h"] argumentsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Descriptionh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK$ubh)}(hXTo get the current value of a control applications initialize the ``id`` field of a struct :c:type:`v4l2_control` and call the :ref:`VIDIOC_G_CTRL ` ioctl with a pointer to this structure. To change the value of a control applications initialize the ``id`` and ``value`` fields of a struct :c:type:`v4l2_control` and call the :ref:`VIDIOC_S_CTRL ` ioctl.h](hBTo get the current value of a control applications initialize the }(hjhhhNhNubj)}(h``id``h]hid}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field of a struct }(hjhhhNhNubh)}(h:c:type:`v4l2_control`h]j)}(hj!h]h v4l2_control}(hj#hhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_controluh1hhhhK&hjubh and call the }(hjhhhNhNubh)}(h$:ref:`VIDIOC_G_CTRL `h]hinline)}(hjDh]h VIDIOC_G_CTRL}(hjHhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jFhjBubah}(h]h ]h"]h$]h&]refdocj^ refdomainjRreftyperef refexplicitrefwarnjs vidioc_g_ctrluh1hhhhK&hjubhf ioctl with a pointer to this structure. To change the value of a control applications initialize the }(hjhhhNhNubj)}(h``id``h]hid}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h ``value``h]hvalue}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh fields of a struct }(hjhhhNhNubh)}(h:c:type:`v4l2_control`h]j)}(hjh]h v4l2_control}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_controluh1hhhhK&hjubh and call the }hjsbh)}(h$:ref:`VIDIOC_S_CTRL `h]jG)}(hjh]h VIDIOC_S_CTRL}(hjhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jFhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjreftyperef refexplicitrefwarnjs vidioc_g_ctrluh1hhhhK&hjubh ioctl.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK&hjhhubh)}(hXWhen the ``id`` is invalid drivers return an ``EINVAL`` error code. When the ``value`` is out of bounds drivers can choose to take the closest valid value or return an ``ERANGE`` error code, whatever seems more appropriate. However, :ref:`VIDIOC_S_CTRL ` is a write-only ioctl, it does not return the actual new value. If the ``value`` is inappropriate for the control (e.g. if it refers to an unsupported menu index of a menu control), then EINVAL error code is returned as well.h](h When the }(hjhhhNhNubj)}(h``id``h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is invalid drivers return an }(hjhhhNhNubj)}(h ``EINVAL``h]hEINVAL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh error code. When the }(hjhhhNhNubj)}(h ``value``h]hvalue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhR is out of bounds drivers can choose to take the closest valid value or return an }(hjhhhNhNubj)}(h ``ERANGE``h]hERANGE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh7 error code, whatever seems more appropriate. However, }(hjhhhNhNubh)}(h$:ref:`VIDIOC_S_CTRL `h]jG)}(hj+h]h VIDIOC_S_CTRL}(hj-hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jFhj)ubah}(h]h ]h"]h$]h&]refdocj^ refdomainj7reftyperef refexplicitrefwarnjs vidioc_g_ctrluh1hhhhK-hjubhH is a write-only ioctl, it does not return the actual new value. If the }(hjhhhNhNubj)}(h ``value``h]hvalue}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is inappropriate for the control (e.g. if it refers to an unsupported menu index of a menu control), then EINVAL error code is returned as well.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK-hjhhubh)}(hThese ioctls work only with user controls. For other control classes the :ref:`VIDIOC_G_EXT_CTRLS `, :ref:`VIDIOC_S_EXT_CTRLS ` or :ref:`VIDIOC_TRY_EXT_CTRLS ` must be used.h](hIThese ioctls work only with user controls. For other control classes the }(hjehhhNhNubh)}(h.:ref:`VIDIOC_G_EXT_CTRLS `h]jG)}(hjoh]hVIDIOC_G_EXT_CTRLS}(hjqhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jFhjmubah}(h]h ]h"]h$]h&]refdocj^ refdomainj{reftyperef refexplicitrefwarnjsvidioc_g_ext_ctrlsuh1hhhhK5hjeubh, }(hjehhhNhNubh)}(h.:ref:`VIDIOC_S_EXT_CTRLS `h]jG)}(hjh]hVIDIOC_S_EXT_CTRLS}(hjhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jFhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjreftyperef refexplicitrefwarnjsvidioc_g_ext_ctrlsuh1hhhhK5hjeubh or }(hjehhhNhNubh)}(h0:ref:`VIDIOC_TRY_EXT_CTRLS `h]jG)}(hjh]hVIDIOC_TRY_EXT_CTRLS}(hjhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jFhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjreftyperef refexplicitrefwarnjsvidioc_g_ext_ctrlsuh1hhhhK5hjeubh must be used.}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK5hjhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jV4L.v4l2_control (C type)c.V4L.v4l2_controlhNtauh1jhjhhhNhNubj#)}(hhh](j()}(h v4l2_controlh]j.)}(htype v4l2_controlh](hdesc_sig_keyword)}(htypeh]htype}(hjhhhNhNubah}(h]h ]kah"]h$]h&]uh1jhjhhhhhK:ubhdesc_sig_space)}(h h]h }(hj hhhNhNubah}(h]h ]wah"]h$]h&]uh1j hjhhhhhK:ubj4)}(h v4l2_controlh]j:)}(hjh]h v4l2_control}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hjhhhhhK:ubeh}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhjhhhhhK:ubah}(h]jah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhK:hjhhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehjhhhhhK:ubeh}(h]h ](jstypeeh"]h$]h&]jxjsjyjIjzjIj{j|j}uh1j"hhhjhNhNubhtabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec|p{4.4cm}|p{4.4cm}|p{8.5cm}|uh1jMhhhKhj\ubhtgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jrhjoubjs)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jrhjoubjs)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jrhjoubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKChjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``id``h]j)}(hjh]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKDhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h/Identifies the control, set by the application.h]h/Identifies the control, set by the application.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__s32h]h__s32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKFhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``value``h]j)}(hjh]hvalue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKGhj ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hNew value or current value.h]hNew value or current value.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKHhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]colsKuh1jmhj\ubeh}(h]id1ah ]h"]h$]h&]uh1jZhjhhhNhNubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhK$ubh)}(hhh](h)}(h Return Valueh]h Return Value}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehhhhhKKubh)}(hOn success 0 is returned, on error -1 and the ``errno`` variable is set appropriately. The generic error codes are described at the :ref:`Generic Error Codes ` chapter.h](h.On success 0 is returned, on error -1 and the }(hjvhhhNhNubj)}(h ``errno``h]herrno}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubhM variable is set appropriately. The generic error codes are described at the }(hjvhhhNhNubh)}(h':ref:`Generic Error Codes `h]jG)}(hjh]hGeneric Error Codes}(hjhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jFhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjreftyperef refexplicitrefwarnjs gen-errorsuh1hhhhKMhjvubh chapter.}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKMhjehhubj)}(hhh](j)}(hEINVAL The struct :c:type:`v4l2_control` ``id`` is invalid or the ``value`` is inappropriate for the given control (i.e. if a menu item is selected that is not supported by the driver according to :ref:`VIDIOC_QUERYMENU `). h](j)}(hEINVALh]hEINVAL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKUhjubj8)}(hhh]h)}(hThe struct :c:type:`v4l2_control` ``id`` is invalid or the ``value`` is inappropriate for the given control (i.e. if a menu item is selected that is not supported by the driver according to :ref:`VIDIOC_QUERYMENU `).h](h The struct }(hjhhhNhNubh)}(h:c:type:`v4l2_control`h]j)}(hjh]h v4l2_control}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_controluh1hhhhKRhjubh }(hjhhhNhNubj)}(h``id``h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is invalid or the }(hjhhhNhNubj)}(h ``value``h]hvalue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhz is inappropriate for the given control (i.e. if a menu item is selected that is not supported by the driver according to }(hjhhhNhNubh)}(h*:ref:`VIDIOC_QUERYMENU `h]jG)}(hj#h]hVIDIOC_QUERYMENU}(hj%hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jFhj!ubah}(h]h ]h"]h$]h&]refdocj^ refdomainj/reftyperef refexplicitrefwarnjsvidioc_queryctrluh1hhhhKRhjubh).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKRhjubah}(h]h ]h"]h$]h&]uh1j7hjubeh}(h]h ]h"]h$]h&]uh1jhhhKUhjubj)}(hEERANGE The struct :c:type:`v4l2_control` ``value`` is out of bounds. h](j)}(hERANGEh]hERANGE}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKYhjWubj8)}(hhh]h)}(h=The struct :c:type:`v4l2_control` ``value`` is out of bounds.h](h The struct }(hjlhhhNhNubh)}(h:c:type:`v4l2_control`h]j)}(hjvh]h v4l2_control}(hjxhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_controluh1hhhhKXhjlubh }(hjlhhhNhNubj)}(h ``value``h]hvalue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh is out of bounds.}(hjlhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKXhjiubah}(h]h ]h"]h$]h&]uh1j7hjWubeh}(h]h ]h"]h$]h&]uh1jhhhKYhjhhubj)}(hEBUSY The control is temporarily not changeable, possibly because another applications took over control of the device function this control belongs to. h](j)}(hEBUSYh]hEBUSY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhK^hjubj8)}(hhh]h)}(hThe control is temporarily not changeable, possibly because another applications took over control of the device function this control belongs to.h]hThe control is temporarily not changeable, possibly because another applications took over control of the device function this control belongs to.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK\hjubah}(h]h ]h"]h$]h&]uh1j7hjubeh}(h]h ]h"]h$]h&]uh1jhhhK^hjhhubj)}(hEACCES Attempt to set a read-only control or to get a write-only control. Or if there is an attempt to set an inactive control and the driver is not capable of caching the new value until the control is active again.h](j)}(hEACCESh]hEACCES}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKchjubj8)}(hhh](h)}(hBAttempt to set a read-only control or to get a write-only control.h]hBAttempt to set a read-only control or to get a write-only control.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKahjubh)}(hOr if there is an attempt to set an inactive control and the driver is not capable of caching the new value until the control is active again.h]hOr if there is an attempt to set an inactive control and the driver is not capable of caching the new value until the control is active again.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKchjubeh}(h]h ]h"]h$]h&]uh1j7hjubeh}(h]h ]h"]h$]h&]uh1jhhhKchjhhubeh}(h]h ]h"]h$]h&]uh1jhjehhhhhNubeh}(h] return-valueah ]h"] return valueah$]h&]uh1hhhhhhhhKKubeh}(h](!ioctl-vidioc-g-ctrl-vidioc-s-ctrlheh ]h"]("ioctl vidioc_g_ctrl, vidioc_s_ctrl vidioc_g_ctrleh$]h&]uh1hhhhhhhhKexpect_referenced_by_name}j;hsexpect_referenced_by_id}hhsubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjderror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}h]hasnameids}(j;hj:j7hhjjjjjbj_j2j/u nametypes}(j;j:hjjjbj2uh}(hhj7hhhjjj j)jjjjj_jjjj/jejXj\u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}jrKsRparse_messages]transform_messages]hsystem_message)}(hhh]h)}(hhh]h3Hyperlink target "vidioc-g-ctrl" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehlineKuh1juba transformerN include_log] decorationNhhub.