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]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_SEEKhNtauh1jhjhhhNhNubhdesc)}(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}(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)}(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&]uh1jhj~ubah}(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 ](xrefjsc-funceh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdoc-userspace-api/media/v4l/vidioc-s-hw-freq-seek refdomainjsreftypefunc 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)}(hj.h]hargp}(hj0hhhNhNubah}(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 }(hjFhhhNhNubh)}(h:c:type:`v4l2_hw_freq_seek`h]j)}(hjPh]hv4l2_hw_freq_seek}(hjRhhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjjv4l2_hw_freq_seekuh1hhhhKhjFubh.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjCubah}(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}(hjhhhNhNubah}(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)}(hj<h]hv4l2_hw_freq_seek}(hj>hhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjjv4l2_hw_freq_seekuh1hhhhK"hjubh and call the }(hjhhhNhNubj)}(h``VIDIOC_S_HW_FREQ_SEEK``h]hVIDIOC_S_HW_FREQ_SEEK}(hj]hhhNhNubah}(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 }(hjuhhhNhNubj)}(h ``rangelow``h]hrangelow}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh and }(hjuhhhNhNubj)}(h ``rangehigh``h]h rangehigh}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubhc fields can be set to a non-zero value to tell the driver to search a specific band. If the struct }(hjuhhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hjh]h v4l2_tuner}(hjhhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjj v4l2_tuneruh1hhhhK)hjuubh }(hjuhhhNhNubj)}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh field has the }(hjuhhhNhNubj)}(h"``V4L2_TUNER_CAP_HWSEEK_PROG_LIM``h]hV4L2_TUNER_CAP_HWSEEK_PROG_LIM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubhF flag set, these values must fall within one of the bands returned by }(hjuhhhNhNubh)}(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 refdomainjreftyperef refexplicitrefwarnjvidioc_enum_freq_bandsuh1hhhhK)hjuubh . If the }(hjuhhhNhNubj)}(h"``V4L2_TUNER_CAP_HWSEEK_PROG_LIM``h]hV4L2_TUNER_CAP_HWSEEK_PROG_LIM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh] flag is not set, then these values must exactly match those of one of the bands returned by }(hjuhhhNhNubh)}(h:ref:`VIDIOC_ENUM_FREQ_BANDS`h]j)}(hj"h]hVIDIOC_ENUM_FREQ_BANDS}(hj$hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainj.reftyperef refexplicitrefwarnjvidioc_enum_freq_bandsuh1hhhhK)hjuubh. 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.}(hjuhhhNhNubeh}(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.}(hjJhhhNhNubah}(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 }(hjXhhhNhNubj)}(h``V4L2_CAP_HW_FREQ_SEEK``h]hV4L2_CAP_HW_FREQ_SEEK}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh capability is set.}(hjXhhhNhNubeh}(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 }(hjxhhhNhNubj)}(h ``EAGAIN``h]hEAGAIN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh0 error code is returned and no seek takes place.}(hjxhhhNhNubeh}(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](jV4L.v4l2_hw_freq_seek (C type)c.V4L.v4l2_hw_freq_seekhNtauh1jhjhhhNhNubj#)}(hhh](j()}(hv4l2_hw_freq_seekh]j.)}(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?ubj4)}(hv4l2_hw_freq_seekh]j:)}(hjh]hv4l2_hw_freq_seek}(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&]jxjsjyjjzjj{j|j}uh1j"hhhjhNhNubhtable)}(hhh](h)}(hstruct v4l2_hw_freq_seekh]hstruct v4l2_hw_freq_seek}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKAhjubhtgroup)}(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}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKFhjWubah}(h]h ]h"]h$]h&]uh1jUhjRubjV)}(hhh]h)}(h ``tuner``h]j)}(hjsh]htuner}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhhhKGhjnubah}(h]h ]h"]h$]h&]uh1jUhjRubjV)}(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 ](jjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype 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 ](jjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype 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&]uh1jUhjRubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKKhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(h``type``h]j)}(hj4h]htype}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1hhhhKLhj/ubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(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 }(hjRhhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hj\h]h v4l2_tuner}(hj^hhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjj v4l2_tuneruh1hhhhKMhjRubh }(hjRhhhNhNubj)}(h``type``h]htype}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh field. See }(hjRhhhNhNubh)}(h:c:type:`v4l2_tuner_type`h]j)}(hjh]hv4l2_tuner_type}(hjhhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjjv4l2_tuner_typeuh1hhhhKMhjRubeh}(h]h ]h"]h$]h&]uh1hhhhKMhjOubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKPhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(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&]uh1jUhjubjV)}(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&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKThjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(h``wrap_around``h]j)}(hj6h]h wrap_around}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhhhKUhj1ubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(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 }(hjThhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hj^h]h v4l2_tuner}(hj`hhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjj v4l2_tuneruh1hhhhKVhjTubh }(hjThhhNhNubj)}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh0 field will tell you what the hardware supports.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKVhjQubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKYhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(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&]uh1jUhjubjV)}(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&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK^hjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(h ``rangelow``h]j)}(hjh]hrangelow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhK_hjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(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 }(hj7hhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hjAh]h v4l2_tuner}(hjChhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjj v4l2_tuneruh1hhhhK`hj7ubh }(hj7hhhNhNubj)}(h``capability``h]h capability}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh field has the }(hj7hhhNhNubj)}(h``V4L2_TUNER_CAP_LOW``h]hV4L2_TUNER_CAP_LOW}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh0 flag set, in units of 62.5 Hz or if the struct }(hj7hhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hjh]h v4l2_tuner}(hjhhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjj v4l2_tuneruh1hhhhK`hj7ubh }hj7sbj)}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh field has the }(hj7hhhNhNubj)}(h``V4L2_TUNER_CAP_1HZ``h]hV4L2_TUNER_CAP_1HZ}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh flag set, in units of 1 Hz. If }(hj7hhhNhNubj)}(h ``rangelow``h]hrangelow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh, is zero a reasonable default value is used.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK`hj4ubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKghjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(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&]uh1jUhjubjV)}(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 }(hj. hhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hj8 h]h v4l2_tuner}(hj: hhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhj6 ubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjj v4l2_tuneruh1hhhhKihj. ubh }(hj. hhhNhNubj)}(h``capability``h]h capability}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj. ubh field has the }(hj. hhhNhNubj)}(h``V4L2_TUNER_CAP_LOW``h]hV4L2_TUNER_CAP_LOW}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj. ubh0 flag set, in units of 62.5 Hz or if the struct }(hj. hhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hj h]h v4l2_tuner}(hj hhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhj} ubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjj v4l2_tuneruh1hhhhKihj. ubh }hj. sbj)}(h``capability``h]h capability}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj. ubh field has the }(hj. hhhNhNubj)}(h``V4L2_TUNER_CAP_1HZ``h]hV4L2_TUNER_CAP_1HZ}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj. ubh flag set, in units of 1 Hz. If }(hj. hhhNhNubj)}(h ``rangehigh``h]h rangehigh}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj. ubh, is zero a reasonable default value is used.}(hj. hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKihj+ ubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKphj ubah}(h]h ]h"]h$]h&]uh1jUhj ubjV)}(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&]uh1jUhj ubjV)}(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&]uh1jUhj ubeh}(h]h ]h"]h$]h&]uh1jPhjMubeh}(h]h ]h"]h$]h&]uh1jKhj(ubeh}(h]h ]h"]h$]h&]colsKuh1j&hjubeh}(h]id1ah ]h"]h$]h&]uh1jhjhhhNhNubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(h Return Valueh]h Return Value}(hjc hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj` 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 }(hjq hhhNhNubj)}(h ``errno``h]herrno}(hjy hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq ubhM variable is set appropriately. The generic error codes are described at the }(hjq 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-errorsuh1hhhhKxhjq ubh chapter.}(hjq hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKxhj` 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}(hj 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}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjA ubj)}(hhh]h)}(hUAttempted to call ``VIDIOC_S_HW_FREQ_SEEK`` with the filehandle in non-blocking mode.h](hAttempted to call }(hjV hhhNhNubj)}(h``VIDIOC_S_HW_FREQ_SEEK``h]hVIDIOC_S_HW_FREQ_SEEK}(hj^ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV ubh* with the filehandle in non-blocking mode.}(hjV hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjS ubah}(h]h ]h"]h$]h&]uh1jhjA 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&]uh1jhj` 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_backlinksjUfootnote_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}(j hj j hhjjjjj] jZ j j u nametypes}(j j hjjj] j uh}(hhj hhhjjj j)jjjZ jjjj j` jS 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]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&]levelKtypeINFOsourcehlineKuh1j uba transformerN include_log] decorationNhhub.