sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftargetA/translations/zh_CN/userspace-api/media/v4l/vidioc-s-hw-freq-seekmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetA/translations/zh_TW/userspace-api/media/v4l/vidioc-s-hw-freq-seekmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetA/translations/it_IT/userspace-api/media/v4l/vidioc-s-hw-freq-seekmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetA/translations/ja_JP/userspace-api/media/v4l/vidioc-s-hw-freq-seekmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetA/translations/ko_KR/userspace-api/media/v4l/vidioc-s-hw-freq-seekmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetA/translations/pt_BR/userspace-api/media/v4l/vidioc-s-hw-freq-seekmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetA/translations/sp_SP/userspace-api/media/v4l/vidioc-s-hw-freq-seekmodnameN 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:spacepreserveuh1hhhhhh[/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-s-hw-freq-seek.rsthKubhtarget)}(h.. _VIDIOC_S_HW_FREQ_SEEK:h]h}(h]h ]h"]h$]h&]refidvidioc-s-hw-freq-seekuh1hhKhhhhhhubhsection)}(hhh](htitle)}(hioctl VIDIOC_S_HW_FREQ_SEEKh]hioctl VIDIOC_S_HW_FREQ_SEEK}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNameh]hName}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh paragraph)}(h9VIDIOC_S_HW_FREQ_SEEK - Perform a hardware frequency seekh]h9VIDIOC_S_HW_FREQ_SEEK - Perform a hardware frequency seek}(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_S_HW_FREQ_SEEK (C macro)c.V4L.VIDIOC_S_HW_FREQ_SEEKhNtauh1j%hjhhhNhNubhdesc)}(hhh](hdesc_signature)}(hVIDIOC_S_HW_FREQ_SEEKh]hdesc_signature_line)}(hVIDIOC_S_HW_FREQ_SEEKh]h desc_name)}(hVIDIOC_S_HW_FREQ_SEEKh]h desc_sig_name)}(hj?h]hVIDIOC_S_HW_FREQ_SEEK}(hjOhhhNhNubah}(h]h ]nah"]h$]h&]uh1jMhjIubah}(h]h ](sig-namedescnameeh"]h$]h&]hhuh1jGhjChhhhhKubah}(h]h ]h"]h$]h&]hhƌ add_permalinkuh1jAsphinx_line_type declaratorhj=hhhhhKubah}(h]j4ah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1j;hhhKhj8hhubh desc_content)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj8hhhhhKubeh}(h]h ](cmacroeh"]h$]h&]domainjobjtypejdesctypejnoindex noindexentrynocontentsentryuh1j6hhhjhNhNubh)}(hL``int ioctl(int fd, VIDIOC_S_HW_FREQ_SEEK, struct v4l2_hw_freq_seek *argp)``h]hliteral)}(hjh]hHint ioctl(int fd, VIDIOC_S_HW_FREQ_SEEK, struct v4l2_hw_freq_seek *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)}(hjh]hfd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhhhKhjubh definition)}(hhh]h)}(h-File descriptor returned by :c:func:`open()`.h](hFile descriptor returned by }(hjhhhNhNubh)}(h:c:func:`open()`h]j)}(hjh]hopen()}(hjhhhNhNubah}(h]h ](xrefjc-funceh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdoc-userspace-api/media/v4l/vidioc-s-hw-freq-seek refdomainjreftypefunc refexplicitrefwarn c:parent_keysphinx.domains.c LookupKey)}data]j ASTIdentifier)} identifierV4LsbNasb reftargetopenuh1hhhhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(h8``argp`` Pointer to struct :c:type:`v4l2_hw_freq_seek`. h](j)}(h``argp``h]j)}(hjBh]hargp}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhhhKhj<ubj)}(hhh]h)}(h.Pointer to struct :c:type:`v4l2_hw_freq_seek`.h](hPointer to struct }(hjZhhhNhNubh)}(h:c:type:`v4l2_hw_freq_seek`h]j)}(hjdh]hv4l2_hw_freq_seek}(hjfhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$v4l2_hw_freq_seekuh1hhhhKhjZubh.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjWubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhhhKhjhhubeh}(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)}(hXhStart a hardware frequency seek from the current frequency. To do this applications initialize the ``tuner``, ``type``, ``seek_upward``, ``wrap_around``, ``spacing``, ``rangelow`` and ``rangehigh`` fields, and zero out the ``reserved`` array of a struct :c:type:`v4l2_hw_freq_seek` and call the ``VIDIOC_S_HW_FREQ_SEEK`` ioctl with a pointer to this structure.h](hcStart a hardware frequency seek from the current frequency. To do this 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, }hjsbj)}(h``seek_upward``h]h seek_upward}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``wrap_around``h]h wrap_around}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h ``spacing``h]hspacing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h ``rangelow``h]hrangelow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h ``rangehigh``h]h rangehigh}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh fields, and zero out the }(hjhhhNhNubj)}(h ``reserved``h]hreserved}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh array of a struct }(hjhhhNhNubh)}(h:c:type:`v4l2_hw_freq_seek`h]j)}(hjPh]hv4l2_hw_freq_seek}(hjRhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$v4l2_hw_freq_seekuh1hhhhK"hjubh and call the }(hjhhhNhNubj)}(h``VIDIOC_S_HW_FREQ_SEEK``h]hVIDIOC_S_HW_FREQ_SEEK}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( ioctl with a pointer to this structure.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK"hjhhubh)}(hXqThe ``rangelow`` and ``rangehigh`` fields can be set to a non-zero value to tell the driver to search a specific band. If the struct :c:type:`v4l2_tuner` ``capability`` field has the ``V4L2_TUNER_CAP_HWSEEK_PROG_LIM`` flag set, these values must fall within one of the bands returned by :ref:`VIDIOC_ENUM_FREQ_BANDS`. If the ``V4L2_TUNER_CAP_HWSEEK_PROG_LIM`` flag is not set, then these values must exactly match those of one of the bands returned by :ref:`VIDIOC_ENUM_FREQ_BANDS`. If the current frequency of the tuner does not fall within the selected band it will be clamped to fit in the band before the seek is started.h](hThe }(hjhhhNhNubj)}(h ``rangelow``h]hrangelow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h ``rangehigh``h]h rangehigh}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhc fields can be set to a non-zero value to tell the driver to search a specific band. If the struct }(hjhhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hjh]h v4l2_tuner}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$ v4l2_tuneruh1hhhhK)hjubh }(hjhhhNhNubj)}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field has the }(hjhhhNhNubj)}(h"``V4L2_TUNER_CAP_HWSEEK_PROG_LIM``h]hV4L2_TUNER_CAP_HWSEEK_PROG_LIM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF flag set, these values must fall within one of the bands returned by }(hjhhhNhNubh)}(h:ref:`VIDIOC_ENUM_FREQ_BANDS`h]hinline)}(hjh]hVIDIOC_ENUM_FREQ_BANDS}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainj reftyperef refexplicitrefwarnj$vidioc_enum_freq_bandsuh1hhhhK)hjubh . If the }(hjhhhNhNubj)}(h"``V4L2_TUNER_CAP_HWSEEK_PROG_LIM``h]hV4L2_TUNER_CAP_HWSEEK_PROG_LIM}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh] flag is not set, then these values must exactly match those of one of the bands returned by }(hjhhhNhNubh)}(h:ref:`VIDIOC_ENUM_FREQ_BANDS`h]j)}(hj6h]hVIDIOC_ENUM_FREQ_BANDS}(hj8hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]refdocj refdomainjBreftyperef refexplicitrefwarnj$vidioc_enum_freq_bandsuh1hhhhK)hjubh. If the current frequency of the tuner does not fall within the selected band it will be clamped to fit in the band before the seek is started.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK)hjhhubh)}(hFIf an error is returned, then the original frequency will be restored.h]hFIf an error is returned, then the original frequency will be restored.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK5hjhhubh)}(hKThis ioctl is supported if the ``V4L2_CAP_HW_FREQ_SEEK`` capability is set.h](hThis ioctl is supported if the }(hjlhhhNhNubj)}(h``V4L2_CAP_HW_FREQ_SEEK``h]hV4L2_CAP_HW_FREQ_SEEK}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh capability is set.}(hjlhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK7hjhhubh)}(hwIf this ioctl is called from a non-blocking filehandle, then ``EAGAIN`` error code is returned and no seek takes place.h](h=If this ioctl is called from a non-blocking filehandle, then }(hjhhhNhNubj)}(h ``EAGAIN``h]hEAGAIN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh0 error code is returned and no seek takes place.}(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}|uh1jhhhK=hjhhubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2V4L.v4l2_hw_freq_seek (C type)c.V4L.v4l2_hw_freq_seekhNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(hv4l2_hw_freq_seekh]jB)}(htype v4l2_hw_freq_seekh](hdesc_sig_keyword)}(htypeh]htype}(hjhhhNhNubah}(h]h ]kah"]h$]h&]uh1jhjhhhhhK?ubhdesc_sig_space)}(h h]h }(hjhhhNhNubah}(h]h ]wah"]h$]h&]uh1jhjhhhhhK?ubjH)}(hv4l2_hw_freq_seekh]jN)}(hjh]hv4l2_hw_freq_seek}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhjubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjhhhhhK?ubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjhhhhhK?ubah}(h]jah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhK?hjhhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjhhhhhK?ubeh}(h]h ](jtypeeh"]h$]h&]jjjj#jj#jjjuh1j6hhhjhNhNubhtable)}(hhh](h)}(hstruct v4l2_hw_freq_seekh]hstruct v4l2_hw_freq_seek}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKAhj)ubhtgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j?hj<ubj@)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j?hj<ubj@)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j?hj<ubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h__u32h]h__u32}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKFhjkubah}(h]h ]h"]h$]h&]uh1jihjfubjj)}(hhh]h)}(h ``tuner``h]j)}(hjh]htuner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKGhjubah}(h]h ]h"]h$]h&]uh1jihjfubjj)}(hhh]h)}(hThe tuner 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.h](h@The tuner index number. This is the same value as in the struct }(hjhhhNhNubh)}(h:c:type:`v4l2_input`h]j)}(hjh]h v4l2_input}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$ v4l2_inputuh1hhhhKHhjubh }(hjhhhNhNubj)}(h ``tuner``h]htuner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field and the struct }(hjhhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hjh]h v4l2_tuner}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$ v4l2_tuneruh1hhhhKHhjubh }hjsbj)}(h ``index``h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKHhjubah}(h]h ]h"]h$]h&]uh1jihjfubeh}(h]h ]h"]h$]h&]uh1jdhjaubje)}(hhh](jj)}(hhh]h)}(h__u32h]h__u32}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKKhj,ubah}(h]h ]h"]h$]h&]uh1jihj)ubjj)}(hhh]h)}(h``type``h]j)}(hjHh]htype}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhhhKLhjCubah}(h]h ]h"]h$]h&]uh1jihj)ubjj)}(hhh]h)}(hzThe tuner type. This is the same value as in the struct :c:type:`v4l2_tuner` ``type`` field. See :c:type:`v4l2_tuner_type`h](h8The tuner type. This is the same value as in the struct }(hjfhhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hjph]h v4l2_tuner}(hjrhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$ v4l2_tuneruh1hhhhKMhjfubh }(hjfhhhNhNubj)}(h``type``h]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh field. See }(hjfhhhNhNubh)}(h:c:type:`v4l2_tuner_type`h]j)}(hjh]hv4l2_tuner_type}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$v4l2_tuner_typeuh1hhhhKMhjfubeh}(h]h ]h"]h$]h&]uh1hhhhKMhjcubah}(h]h ]h"]h$]h&]uh1jihj)ubeh}(h]h ]h"]h$]h&]uh1jdhjaubje)}(hhh](jj)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKPhjubah}(h]h ]h"]h$]h&]uh1jihjubjj)}(hhh]h)}(h``seek_upward``h]j)}(hjh]h seek_upward}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKQhjubah}(h]h ]h"]h$]h&]uh1jihjubjj)}(hhh]h)}(hHIf non-zero, seek upward from the current frequency, else seek downward.h]hHIf non-zero, seek upward from the current frequency, else seek downward.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKRhjubah}(h]h ]h"]h$]h&]uh1jihjubeh}(h]h ]h"]h$]h&]uh1jdhjaubje)}(hhh](jj)}(hhh]h)}(h__u32h]h__u32}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKThj.ubah}(h]h ]h"]h$]h&]uh1jihj+ubjj)}(hhh]h)}(h``wrap_around``h]j)}(hjJh]h wrap_around}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhhhKUhjEubah}(h]h ]h"]h$]h&]uh1jihj+ubjj)}(hhh]h)}(hIf non-zero, wrap around when at the end of the frequency range, else stop seeking. The struct :c:type:`v4l2_tuner` ``capability`` field will tell you what the hardware supports.h](h_If non-zero, wrap around when at the end of the frequency range, else stop seeking. The struct }(hjhhhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hjrh]h v4l2_tuner}(hjthhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$ v4l2_tuneruh1hhhhKVhjhubh }(hjhhhhNhNubj)}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh0 field will tell you what the hardware supports.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKVhjeubah}(h]h ]h"]h$]h&]uh1jihj+ubeh}(h]h ]h"]h$]h&]uh1jdhjaubje)}(hhh](jj)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKYhjubah}(h]h ]h"]h$]h&]uh1jihjubjj)}(hhh]h)}(h ``spacing``h]j)}(hjh]hspacing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKZhjubah}(h]h ]h"]h$]h&]uh1jihjubjj)}(hhh]h)}(hIf non-zero, defines the hardware seek resolution in Hz. The driver selects the nearest value that is supported by the device. If spacing is zero a reasonable default value is used.h]hIf non-zero, defines the hardware seek resolution in Hz. The driver selects the nearest value that is supported by the device. If spacing is zero a reasonable default value is used.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK[hjubah}(h]h ]h"]h$]h&]uh1jihjubeh}(h]h ]h"]h$]h&]uh1jdhjaubje)}(hhh](jj)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK^hjubah}(h]h ]h"]h$]h&]uh1jihjubjj)}(hhh]h)}(h ``rangelow``h]j)}(hj-h]hrangelow}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1hhhhK_hj(ubah}(h]h ]h"]h$]h&]uh1jihjubjj)}(hhh]h)}(hXIf non-zero, the lowest tunable frequency of the band to search in units of 62.5 kHz, or if the struct :c:type:`v4l2_tuner` ``capability`` field has the ``V4L2_TUNER_CAP_LOW`` flag set, in units of 62.5 Hz or if the struct :c:type:`v4l2_tuner` ``capability`` field has the ``V4L2_TUNER_CAP_1HZ`` flag set, in units of 1 Hz. If ``rangelow`` is zero a reasonable default value is used.h](hgIf non-zero, the lowest tunable frequency of the band to search in units of 62.5 kHz, or if the struct }(hjKhhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hjUh]h v4l2_tuner}(hjWhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$ v4l2_tuneruh1hhhhK`hjKubh }(hjKhhhNhNubj)}(h``capability``h]h capability}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh field has the }(hjKhhhNhNubj)}(h``V4L2_TUNER_CAP_LOW``h]hV4L2_TUNER_CAP_LOW}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh0 flag set, in units of 62.5 Hz or if the struct }(hjKhhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hjh]h v4l2_tuner}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$ v4l2_tuneruh1hhhhK`hjKubh }hjKsbj)}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh field has the }(hjKhhhNhNubj)}(h``V4L2_TUNER_CAP_1HZ``h]hV4L2_TUNER_CAP_1HZ}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh flag set, in units of 1 Hz. If }(hjKhhhNhNubj)}(h ``rangelow``h]hrangelow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh, is zero a reasonable default value is used.}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK`hjHubah}(h]h ]h"]h$]h&]uh1jihjubeh}(h]h ]h"]h$]h&]uh1jdhjaubje)}(hhh](jj)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKghj ubah}(h]h ]h"]h$]h&]uh1jihj ubjj)}(hhh]h)}(h ``rangehigh``h]j)}(hj$ h]h rangehigh}(hj& hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj" ubah}(h]h ]h"]h$]h&]uh1hhhhKhhj ubah}(h]h ]h"]h$]h&]uh1jihj ubjj)}(hhh]h)}(hXIf non-zero, the highest tunable frequency of the band to search in units of 62.5 kHz, or if the struct :c:type:`v4l2_tuner` ``capability`` field has the ``V4L2_TUNER_CAP_LOW`` flag set, in units of 62.5 Hz or if the struct :c:type:`v4l2_tuner` ``capability`` field has the ``V4L2_TUNER_CAP_1HZ`` flag set, in units of 1 Hz. If ``rangehigh`` is zero a reasonable default value is used.h](hhIf non-zero, the highest tunable frequency of the band to search in units of 62.5 kHz, or if the struct }(hjB hhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hjL h]h v4l2_tuner}(hjN hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjJ ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$ v4l2_tuneruh1hhhhKihjB ubh }(hjB hhhNhNubj)}(h``capability``h]h capability}(hjm hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB ubh field has the }(hjB hhhNhNubj)}(h``V4L2_TUNER_CAP_LOW``h]hV4L2_TUNER_CAP_LOW}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB ubh0 flag set, in units of 62.5 Hz or if the struct }(hjB hhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hj h]h v4l2_tuner}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$ v4l2_tuneruh1hhhhKihjB ubh }hjB sbj)}(h``capability``h]h capability}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB ubh field has the }(hjB hhhNhNubj)}(h``V4L2_TUNER_CAP_1HZ``h]hV4L2_TUNER_CAP_1HZ}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB ubh flag set, in units of 1 Hz. If }(hjB hhhNhNubj)}(h ``rangehigh``h]h rangehigh}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB ubh, is zero a reasonable default value is used.}(hjB hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKihj? ubah}(h]h ]h"]h$]h&]uh1jihj ubeh}(h]h ]h"]h$]h&]uh1jdhjaubje)}(hhh](jj)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKphj ubah}(h]h ]h"]h$]h&]uh1jihj ubjj)}(hhh]h)}(h``reserved``\ [5]h](j)}(h ``reserved``h]hreserved}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh [5]}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKqhj ubah}(h]h ]h"]h$]h&]uh1jihj ubjj)}(hhh]h)}(hHReserved for future extensions. Applications must set the array to zero.h]hHReserved for future extensions. Applications must set the array to zero.}(hj> hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKrhj; ubah}(h]h ]h"]h$]h&]uh1jihj ubeh}(h]h ]h"]h$]h&]uh1jdhjaubeh}(h]h ]h"]h$]h&]uh1j_hj<ubeh}(h]h ]h"]h$]h&]colsKuh1j:hj)ubeh}(h]id1ah ]h"]h$]h&]uh1j'hjhhhNhNubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(h Return Valueh]h Return Value}(hjw hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjt hhhhhKvubh)}(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 }(hj hhhNhNubj)}(h ``errno``h]herrno}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhM variable is set appropriately. The generic error codes are described at the }(hj hhhNhNubh)}(h':ref:`Generic Error Codes `h]j)}(hj h]hGeneric Error Codes}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainj reftyperef refexplicitrefwarnj$ gen-errorsuh1hhhhKxhj ubh chapter.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKxhjt hhubj)}(hhh](j)}(hEINVAL The ``tuner`` index is out of bounds, the ``wrap_around`` value is not supported or one of the values in the ``type``, ``rangelow`` or ``rangehigh`` fields is wrong. h](j)}(hEINVALh]hEINVAL}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhj ubj)}(hhh]h)}(hThe ``tuner`` index is out of bounds, the ``wrap_around`` value is not supported or one of the values in the ``type``, ``rangelow`` or ``rangehigh`` fields is wrong.h](hThe }(hj hhhNhNubj)}(h ``tuner``h]htuner}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh index is out of bounds, the }(hj hhhNhNubj)}(h``wrap_around``h]h wrap_around}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh4 value is not supported or one of the values in the }(hj hhhNhNubj)}(h``type``h]htype}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, }(hj hhhNhNubj)}(h ``rangelow``h]hrangelow}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh or }(hj hhhNhNubj)}(h ``rangehigh``h]h rangehigh}(hj1 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh fields is wrong.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK}hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhhhKhj ubj)}(h]EAGAIN Attempted to call ``VIDIOC_S_HW_FREQ_SEEK`` with the filehandle in non-blocking mode. h](j)}(hEAGAINh]hEAGAIN}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjU ubj)}(hhh]h)}(hUAttempted to call ``VIDIOC_S_HW_FREQ_SEEK`` with the filehandle in non-blocking mode.h](hAttempted to call }(hjj hhhNhNubj)}(h``VIDIOC_S_HW_FREQ_SEEK``h]hVIDIOC_S_HW_FREQ_SEEK}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj ubh* with the filehandle in non-blocking mode.}(hjj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjg ubah}(h]h ]h"]h$]h&]uh1jhjU ubeh}(h]h ]h"]h$]h&]uh1jhhhKhj hhubj)}(h-ENODATA The hardware seek found no channels. h](j)}(hENODATAh]hENODATA}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhj ubj)}(hhh]h)}(h$The hardware seek found no channels.h]h$The hardware seek found no channels.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhhhKhj hhubj)}(h3EBUSY Another hardware seek is already in progress.h](j)}(hEBUSYh]hEBUSY}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhj ubj)}(hhh]h)}(h-Another hardware seek is already in progress.h]h-Another hardware seek is already in progress.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhhhKhj hhubeh}(h]h ]h"]h$]h&]uh1jhjt hhhhhNubeh}(h] return-valueah ]h"] return valueah$]h&]uh1hhhhhhhhKvubeh}(h](ioctl-vidioc-s-hw-freq-seekheh ]h"](ioctl vidioc_s_hw_freq_seekvidioc_s_hw_freq_seekeh$]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_backlinksjifootnote_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_handlerj1 error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourcehnj _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 j jjjjjjjq jn j j u nametypes}(j j jjjjq j uh}(hhj hjhjjj4j=jjjn jjjj jt jg j)u 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]h;Hyperlink target "vidioc-s-hw-freq-seek" is not referenced.}hj sbah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehnjlineKuh1j uba transformerN include_log] decorationNhhub.