osphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget>/translations/zh_CN/userspace-api/media/v4l/vidioc-g-frequencymodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget>/translations/zh_TW/userspace-api/media/v4l/vidioc-g-frequencymodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget>/translations/it_IT/userspace-api/media/v4l/vidioc-g-frequencymodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget>/translations/ja_JP/userspace-api/media/v4l/vidioc-g-frequencymodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget>/translations/ko_KR/userspace-api/media/v4l/vidioc-g-frequencymodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget>/translations/sp_SP/userspace-api/media/v4l/vidioc-g-frequencymodnameN 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:spacepreserveuh1hhhhhhX/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-g-frequency.rsthKubhtarget)}(h.. _VIDIOC_G_FREQUENCY:h]h}(h]h ]h"]h$]h&]refidvidioc-g-frequencyuh1hhKhhhhhhubhsection)}(hhh](htitle)}(h,ioctl VIDIOC_G_FREQUENCY, VIDIOC_S_FREQUENCYh]h,ioctl VIDIOC_G_FREQUENCY, VIDIOC_S_FREQUENCY}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNameh]hName}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh paragraph)}(hWVIDIOC_G_FREQUENCY - VIDIOC_S_FREQUENCY - Get or set tuner or modulator radio frequencyh]hWVIDIOC_G_FREQUENCY - VIDIOC_S_FREQUENCY - Get or set tuner or modulator radio frequency}(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](single V4L.VIDIOC_G_FREQUENCY (C macro)c.V4L.VIDIOC_G_FREQUENCYhNtauh1jhjhhhNhNubhdesc)}(hhh](hdesc_signature)}(hVIDIOC_G_FREQUENCYh]hdesc_signature_line)}(hVIDIOC_G_FREQUENCYh]h desc_name)}(hVIDIOC_G_FREQUENCYh]h desc_sig_name)}(hj+h]hVIDIOC_G_FREQUENCY}(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)}(hF``int ioctl(int fd, VIDIOC_G_FREQUENCY, struct v4l2_frequency *argp)``h]hliteral)}(hjh]hBint ioctl(int fd, VIDIOC_G_FREQUENCY, struct v4l2_frequency *argp)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j V4L.VIDIOC_S_FREQUENCY (C macro)c.V4L.VIDIOC_S_FREQUENCYhNtauh1jhjhhhNhNubj#)}(hhh](j()}(hVIDIOC_S_FREQUENCYh]j.)}(hVIDIOC_S_FREQUENCYh]j4)}(hVIDIOC_S_FREQUENCYh]j:)}(hjh]hVIDIOC_S_FREQUENCY}(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)}(hL``int ioctl(int fd, VIDIOC_S_FREQUENCY, const struct v4l2_frequency *argp)``h]j)}(hjh]hHint ioctl(int fd, VIDIOC_S_FREQUENCY, const struct v4l2_frequency *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-frequency 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)}(h5``argp`` Pointer to struct :c:type:`v4l2_frequency`. 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_frequency`.h](hPointer to struct }(hjhhhNhNubh)}(h:c:type:`v4l2_frequency`h]j)}(hjh]hv4l2_frequency}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjsv4l2_frequencyuh1hhhhK!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 tuner or modulator radio frequency applications set the ``tuner`` field of a struct :c:type:`v4l2_frequency` to the respective tuner or modulator number (only input devices have tuners, only output devices have modulators), zero out the ``reserved`` array and call the :ref:`VIDIOC_G_FREQUENCY ` ioctl with a pointer to this structure. The driver stores the current frequency in the ``frequency`` field.h](hKTo get the current tuner or modulator radio frequency applications set the }(hjhhhNhNubj)}(h ``tuner``h]htuner}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field of a struct }(hjhhhNhNubh)}(h:c:type:`v4l2_frequency`h]j)}(hj!h]hv4l2_frequency}(hj#hhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjsv4l2_frequencyuh1hhhhK&hjubh to the respective tuner or modulator number (only input devices have tuners, only output devices have modulators), zero out the }(hjhhhNhNubj)}(h ``reserved``h]hreserved}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh array and call the }(hjhhhNhNubh)}(h.:ref:`VIDIOC_G_FREQUENCY `h]hinline)}(hjVh]hVIDIOC_G_FREQUENCY}(hjZhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jXhjTubah}(h]h ]h"]h$]h&]refdocj^ refdomainjdreftyperef refexplicitrefwarnjsvidioc_g_frequencyuh1hhhhK&hjubhX ioctl with a pointer to this structure. The driver stores the current frequency in the }(hjhhhNhNubj)}(h ``frequency``h]h frequency}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK&hjhhubh)}(hXTo change the current tuner or modulator radio frequency applications initialize the ``tuner``, ``type`` and ``frequency`` fields, and the ``reserved`` array of a struct :c:type:`v4l2_frequency` and call the :ref:`VIDIOC_S_FREQUENCY ` ioctl with a pointer to this structure. When the requested frequency is not possible the driver assumes the closest possible value. However :ref:`VIDIOC_S_FREQUENCY ` is a write-only ioctl, it does not return the actual new frequency.h](hUTo change the current tuner or modulator radio frequency applications initialize the }(hjhhhNhNubj)}(h ``tuner``h]htuner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``type``h]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h ``frequency``h]h frequency}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh fields, and the }(hjhhhNhNubj)}(h ``reserved``h]hreserved}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh array of a struct }(hjhhhNhNubh)}(h:c:type:`v4l2_frequency`h]j)}(hjh]hv4l2_frequency}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjsv4l2_frequencyuh1hhhhK.hjubh and call the }(hjhhhNhNubh)}(h.:ref:`VIDIOC_S_FREQUENCY `h]jY)}(hjh]hVIDIOC_S_FREQUENCY}(hj hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jXhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjreftyperef refexplicitrefwarnjsvidioc_g_frequencyuh1hhhhK.hjubh ioctl with a pointer to this structure. When the requested frequency is not possible the driver assumes the closest possible value. However }(hjhhhNhNubh)}(h.:ref:`VIDIOC_S_FREQUENCY `h]jY)}(hj+h]hVIDIOC_S_FREQUENCY}(hj-hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jXhj)ubah}(h]h ]h"]h$]h&]refdocj^ refdomainj7reftyperef refexplicitrefwarnjsvidioc_g_frequencyuh1hhhhK.hjubhD is a write-only ioctl, it does not return the actual new frequency.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK.hjhhubhtabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec|p{4.4cm}|p{4.4cm}|p{8.5cm}|uh1jShhhK6hjhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jV4L.v4l2_frequency (C type)c.V4L.v4l2_frequencyhNtauh1jhjhhhNhNubj#)}(hhh](j()}(hv4l2_frequencyh]j.)}(htype v4l2_frequencyh](hdesc_sig_keyword)}(htypeh]htype}(hj{hhhNhNubah}(h]h ]kah"]h$]h&]uh1jyhjuhhhhhK8ubhdesc_sig_space)}(h h]h }(hjhhhNhNubah}(h]h ]wah"]h$]h&]uh1jhjuhhhhhK8ubj4)}(hv4l2_frequencyh]j:)}(hjsh]hv4l2_frequency}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hjuhhhhhK8ubeh}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhjqhhhhhK8ubah}(h]jlah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhK8hjnhhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehjnhhhhhK8ubeh}(h]h ](jstypeeh"]h$]h&]jxjsjyjjzjj{j|j}uh1j"hhhjhNhNubhtable)}(hhh](h)}(hstruct v4l2_frequencyh]hstruct v4l2_frequency}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK:hjubhtgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK?hjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h ``tuner``h]j)}(hj.h]htuner}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhhhK@hj)ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hXThe tuner or modulator index number. This is the same value as in the struct :c:type:`v4l2_input` ``tuner`` field and the struct :c:type:`v4l2_tuner` ``index`` field, or the struct :c:type:`v4l2_output` ``modulator`` field and the struct :c:type:`v4l2_modulator` ``index`` field.h](hMThe tuner or modulator index number. This is the same value as in the struct }(hjLhhhNhNubh)}(h:c:type:`v4l2_input`h]j)}(hjVh]h v4l2_input}(hjXhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_inputuh1hhhhKAhjLubh }(hjLhhhNhNubj)}(h ``tuner``h]htuner}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh field and the struct }(hjLhhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hjh]h v4l2_tuner}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_tuneruh1hhhhKAhjLubh }hjLsbj)}(h ``index``h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh field, or the struct }(hjLhhhNhNubh)}(h:c:type:`v4l2_output`h]j)}(hjh]h v4l2_output}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_outputuh1hhhhKAhjLubh }hjLsbj)}(h ``modulator``h]h modulator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh field and the struct }(hjLhhhNhNubh)}(h:c:type:`v4l2_modulator`h]j)}(hjh]hv4l2_modulator}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjsv4l2_modulatoruh1hhhhKAhjLubh }hjLsbj)}(h ``index``h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh field.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKAhjIubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1j hjubj )}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhj=ubah}(h]h ]h"]h$]h&]uh1jhj:ubj)}(hhh]h)}(h``type``h]j)}(hjYh]htype}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhhhKHhjTubah}(h]h ]h"]h$]h&]uh1jhj:ubj)}(hhh]h)}(hX`The tuner type. This is the same value as in the struct :c:type:`v4l2_tuner` ``type`` field. The type must be set to ``V4L2_TUNER_RADIO`` for ``/dev/radioX`` device nodes, and to ``V4L2_TUNER_ANALOG_TV`` for all others. Set this field to ``V4L2_TUNER_RADIO`` for modulators (currently only radio modulators are supported). See :c:type:`v4l2_tuner_type`h](h8The tuner type. This is the same value as in the struct }(hjwhhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hjh]h v4l2_tuner}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_tuneruh1hhhhKIhjwubh }(hjwhhhNhNubj)}(h``type``h]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh field. The type must be set to }(hjwhhhNhNubj)}(h``V4L2_TUNER_RADIO``h]hV4L2_TUNER_RADIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh for }(hjwhhhNhNubj)}(h``/dev/radioX``h]h /dev/radioX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh device nodes, and to }(hjwhhhNhNubj)}(h``V4L2_TUNER_ANALOG_TV``h]hV4L2_TUNER_ANALOG_TV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh# for all others. Set this field to }(hjwhhhNhNubj)}(h``V4L2_TUNER_RADIO``h]hV4L2_TUNER_RADIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubhE for modulators (currently only radio modulators are supported). See }(hjwhhhNhNubh)}(h:c:type:`v4l2_tuner_type`h]j)}(hjh]hv4l2_tuner_type}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjsv4l2_tuner_typeuh1hhhhKIhjwubeh}(h]h ]h"]h$]h&]uh1hhhhKIhjtubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1j hjubj )}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKOhj0ubah}(h]h ]h"]h$]h&]uh1jhj-ubj)}(hhh]h)}(h ``frequency``h]j)}(hjLh]h frequency}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhhhKPhjGubah}(h]h ]h"]h$]h&]uh1jhj-ubj)}(hhh]h)}(hXTuning frequency in units of 62.5 kHz, or if the struct :c:type:`v4l2_tuner` or struct :c:type:`v4l2_modulator` ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units of 62.5 Hz. A 1 Hz unit is used when the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is set.h](h8Tuning frequency in units of 62.5 kHz, or if the struct }(hjjhhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hjth]h v4l2_tuner}(hjvhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_tuneruh1hhhhKQhjjubh or struct }(hjjhhhNhNubh)}(h:c:type:`v4l2_modulator`h]j)}(hjh]hv4l2_modulator}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjsv4l2_modulatoruh1hhhhKQhjjubh }(hjjhhhNhNubj)}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh flag }(hjjhhhNhNubj)}(h``V4L2_TUNER_CAP_LOW``h]hV4L2_TUNER_CAP_LOW}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh; is set, in units of 62.5 Hz. A 1 Hz unit is used when the }(hjjhhhNhNubj)}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh flag }(hjjhhhNhNubj)}(h``V4L2_TUNER_CAP_1HZ``h]hV4L2_TUNER_CAP_1HZ}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh is set.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKQhjgubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1j hjubj )}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKVhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``reserved``\ [8]h](j)}(h ``reserved``h]hreserved}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh [8]}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKWhj,ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hTReserved for future extensions. Drivers and applications must set the array to zero.h]hTReserved for future extensions. Drivers and applications must set the array to zero.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKXhjQubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubeh}(h]id1ah ]h"]h$]h&]uh1jhjhhhNhNubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhK$ubh)}(hhh](h)}(h Return Valueh]h Return Value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK\ubh)}(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 }(hjhhhNhNubj)}(h ``errno``h]herrno}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhM variable is set appropriately. The generic error codes are described at the }(hjhhhNhNubh)}(h':ref:`Generic Error Codes `h]jY)}(hjh]hGeneric Error Codes}(hjhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jXhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjreftyperef refexplicitrefwarnjs gen-errorsuh1hhhhK^hjubh chapter.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK^hjhhubj)}(hhh](j)}(hYEINVAL The ``tuner`` index is out of bounds or the value in the ``type`` field is wrong. h](j)}(hEINVALh]hEINVAL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKdhjubj8)}(hhh]h)}(hQThe ``tuner`` index is out of bounds or the value in the ``type`` field is wrong.h](hThe }(hjhhhNhNubj)}(h ``tuner``h]htuner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, index is out of bounds or the value in the }(hjhhhNhNubj)}(h``type``h]htype}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field is wrong.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKchjubah}(h]h ]h"]h$]h&]uh1j7hjubeh}(h]h ]h"]h$]h&]uh1jhhhKdhjubj)}(h%EBUSY A hardware seek is in progress.h](j)}(hEBUSYh]hEBUSY}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKfhj5 ubj8)}(hhh]h)}(hA hardware seek is in progress.h]hA hardware seek is in progress.}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKghjG ubah}(h]h ]h"]h$]h&]uh1j7hj5 ubeh}(h]h ]h"]h$]h&]uh1jhhhKfhjhhubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h] return-valueah ]h"] return valueah$]h&]uh1hhhhhhhhK\ubeh}(h](+ioctl-vidioc-g-frequency-vidioc-s-frequencyheh ]h"](,ioctl vidioc_g_frequency, vidioc_s_frequencyvidioc_g_frequencyeh$]h&]uh1hhhhhhhhKexpect_referenced_by_name}jx 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_handlerj error_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}(jx hjw jt hhjjjjjjjo jl u nametypes}(jx jw hjjjjo uh}(hhjt hhhjjj j)jjjjjjjljqjl jj}ju footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}j KsRparse_messages]transform_messages]hsystem_message)}(hhh]h)}(hhh]h8Hyperlink target "vidioc-g-frequency" is not referenced.}hj sbah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehlineKuh1j uba transformerN include_log] decorationNhhub.