sphinx.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-tunermodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/zh_TW/userspace-api/media/v4l/vidioc-g-tunermodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/it_IT/userspace-api/media/v4l/vidioc-g-tunermodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/ja_JP/userspace-api/media/v4l/vidioc-g-tunermodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/ko_KR/userspace-api/media/v4l/vidioc-g-tunermodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/sp_SP/userspace-api/media/v4l/vidioc-g-tunermodnameN 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:spacepreserveuh1hhhhhhT/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-g-tuner.rsthKubhtarget)}(h.. _VIDIOC_G_TUNER:h]h}(h]h ]h"]h$]h&]refidvidioc-g-tuneruh1hhKhhhhhhubhsection)}(hhh](htitle)}(h$ioctl VIDIOC_G_TUNER, VIDIOC_S_TUNERh]h$ioctl VIDIOC_G_TUNER, VIDIOC_S_TUNER}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNameh]hName}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh paragraph)}(h=VIDIOC_G_TUNER - VIDIOC_S_TUNER - Get or set tuner attributesh]h=VIDIOC_G_TUNER - VIDIOC_S_TUNER - Get or set tuner attributes}(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_TUNER (C macro)c.V4L.VIDIOC_G_TUNERhNtauh1jhjhhhNhNubhdesc)}(hhh](hdesc_signature)}(hVIDIOC_G_TUNERh]hdesc_signature_line)}(hVIDIOC_G_TUNERh]h desc_name)}(hVIDIOC_G_TUNERh]h desc_sig_name)}(hj+h]hVIDIOC_G_TUNER}(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_TUNER, struct v4l2_tuner *argp)``h]hliteral)}(hjh]h:int ioctl(int fd, VIDIOC_G_TUNER, struct v4l2_tuner *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_TUNER (C macro)c.V4L.VIDIOC_S_TUNERhNtauh1jhjhhhNhNubj#)}(hhh](j()}(hVIDIOC_S_TUNERh]j.)}(hVIDIOC_S_TUNERh]j4)}(hVIDIOC_S_TUNERh]j:)}(hjh]hVIDIOC_S_TUNER}(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)}(hD``int ioctl(int fd, VIDIOC_S_TUNER, const struct v4l2_tuner *argp)``h]j)}(hjh]h@int ioctl(int fd, VIDIOC_S_TUNER, const struct v4l2_tuner *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-tuner 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)}(h1``argp`` Pointer to struct :c:type:`v4l2_tuner`. 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_tuner`.h](hPointer to struct }(hjhhhNhNubh)}(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_tuneruh1hhhhK!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 query the attributes of a tuner applications initialize the ``index`` field and zero out the ``reserved`` array of a struct :c:type:`v4l2_tuner` and call the ``VIDIOC_G_TUNER`` ioctl with a pointer to this structure. Drivers fill the rest of the structure or return an ``EINVAL`` error code when the index is out of bounds. To enumerate all tuners applications shall begin at index zero, incrementing by one until the driver returns ``EINVAL``.h](h?To query the attributes of a tuner applications initialize the }(hjhhhNhNubj)}(h ``index``h]hindex}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field and zero out the }(hjhhhNhNubj)}(h ``reserved``h]hreserved}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh array of a struct }(hjhhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hj3h]h v4l2_tuner}(hj5hhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_tuneruh1hhhhK&hjubh and call the }(hjhhhNhNubj)}(h``VIDIOC_G_TUNER``h]hVIDIOC_G_TUNER}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh] ioctl with a pointer to this structure. Drivers fill the rest of the structure or return an }(hjhhhNhNubj)}(h ``EINVAL``h]hEINVAL}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh error code when the index is out of bounds. To enumerate all tuners applications shall begin at index zero, incrementing by one until the driver returns }(hjhhhNhNubj)}(h ``EINVAL``h]hEINVAL}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK&hjhhubh)}(hXTuners have two writable properties, the audio mode and the radio frequency. To change the audio mode, applications initialize the ``index``, ``audmode`` and ``reserved`` fields and call the ``VIDIOC_S_TUNER`` ioctl. This will *not* change the current tuner, which is determined by the current video input. Drivers may choose a different audio mode if the requested mode is invalid or unsupported. Since this is a write-only ioctl, it does not return the actually selected audio mode.h](hTuners have two writable properties, the audio mode and the radio frequency. To change the audio mode, applications initialize the }(hjhhhNhNubj)}(h ``index``h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h ``audmode``h]haudmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h ``reserved``h]hreserved}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh fields and call the }(hjhhhNhNubj)}(h``VIDIOC_S_TUNER``h]hVIDIOC_S_TUNER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh ioctl. This will }(hjhhhNhNubhemphasis)}(h*not*h]hnot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh change the current tuner, which is determined by the current video input. Drivers may choose a different audio mode if the requested mode is invalid or unsupported. Since this is a write-only ioctl, it does not return the actually selected audio mode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK.hjhhubh)}(h:ref:`SDR ` specific tuner types are ``V4L2_TUNER_SDR`` and ``V4L2_TUNER_RF``. For SDR devices ``audmode`` field must be initialized to zero. The term 'tuner' means SDR receiver in this context.h](h)}(h:ref:`SDR `h]hinline)}(hjh]hSDR}(hjhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjreftyperef refexplicitrefwarnjssdruh1hhhhK7hjubh specific tuner types are }(hjhhhNhNubj)}(h``V4L2_TUNER_SDR``h]hV4L2_TUNER_SDR}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``V4L2_TUNER_RF``h]h V4L2_TUNER_RF}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. For SDR devices }(hjhhhNhNubj)}(h ``audmode``h]haudmode}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh\ field must be initialized to zero. The term ‘tuner’ means SDR receiver in this context.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK7hjhhubh)}(hdTo change the radio frequency the :ref:`VIDIOC_S_FREQUENCY ` ioctl is available.h](h"To change the radio frequency the }(hj`hhhNhNubh)}(h.:ref:`VIDIOC_S_FREQUENCY `h]j)}(hjjh]hVIDIOC_S_FREQUENCY}(hjlhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]refdocj^ refdomainjvreftyperef refexplicitrefwarnjsvidioc_g_frequencyuh1hhhhK;hj`ubh ioctl is available.}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK;hjhhubh block_quote)}(h:.. tabularcolumns:: |p{1.3cm}|p{3.0cm}|p{7.0cm}|p{5.8cm}| h]htabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec%|p{1.3cm}|p{3.0cm}|p{7.0cm}|p{5.8cm}|uh1jhhhK>hjubah}(h]h ]h"]h$]h&]uh1jhhhK>hjhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jV4L.v4l2_tuner (C type)c.V4L.v4l2_tunerhNtauh1jhjhhhNhNubj#)}(hhh](j()}(h v4l2_tunerh]j.)}(htype v4l2_tunerh](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)}(h v4l2_tunerh]j:)}(hjh]h v4l2_tuner}(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_tunerh]hstruct v4l2_tuner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKDhjubhtgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hj.ubj2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hj.ubj2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hj.ubj2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hj.ubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h__u32h]h__u32}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKHhjgubah}(h]h ]h"]h$]h&]uh1jehjbubjf)}(hhh]h)}(h ``index``h]j)}(hjh]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKIhj~ubah}(h]h ]h"]h$]h&]uh1jehjbubjf)}(hhh]h)}(h8:cspan:`1` Identifies the tuner, set by the application.h]h. Identifies the tuner, set by the application.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKJhjubah}(h]h ]h"]h$]h&]morecolsKuh1jehjbubeh}(h]h ]h"]h$]h&]uh1j`hj]ubja)}(hhh](jf)}(hhh]h)}(h__u8h]h__u8}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKKhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h``name``\ [32]h](j)}(h``name``h]hname}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh [32]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKLhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh](h)}(h :cspan:`1`h]h}(h]h ]h"]h$]h&]uh1hhhhKMhjubh)}(h1Name of the tuner, a NUL-terminated ASCII string.h]h1Name of the tuner, a NUL-terminated ASCII string.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKOhjubh)}(h*This information is intended for the user.h]h*This information is intended for the user.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKQhjubeh}(h]h ]h"]h$]h&]morecolsKuh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hj]ubja)}(hhh](jf)}(hhh]h)}(h__u32h]h__u32}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKRhj4ubah}(h]h ]h"]h$]h&]uh1jehj1ubjf)}(hhh]h)}(h``type``h]j)}(hjPh]htype}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhhhKShjKubah}(h]h ]h"]h$]h&]uh1jehj1ubjf)}(hhh]h)}(h<:cspan:`1` Type of the tuner, see :c:type:`v4l2_tuner_type`.h](h Type of the tuner, see }(hjnhhhNhNubh)}(h:c:type:`v4l2_tuner_type`h]j)}(hjxh]hv4l2_tuner_type}(hjzhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjsv4l2_tuner_typeuh1hhhhKThjnubh.}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKThjkubah}(h]h ]h"]h$]h&]morecolsKuh1jehj1ubeh}(h]h ]h"]h$]h&]uh1j`hj]ubja)}(hhh](jf)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKUhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h``capability``h]j)}(hjh]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKVhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh](h)}(h :cspan:`1`h]h}(h]h ]h"]h$]h&]uh1hhhhKWhjubh)}(hTuner capability flags, see :ref:`tuner-capability`. Audio flags indicate the ability to decode audio subprograms. They will *not* change, for example with the current video standard.h](hTuner capability flags, see }(hjhhhNhNubh)}(h:ref:`tuner-capability`h]j)}(hjh]htuner-capability}(hjhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainj reftyperef refexplicitrefwarnjstuner-capabilityuh1hhhhKYhjubhJ. Audio flags indicate the ability to decode audio subprograms. They will }(hjhhhNhNubj)}(h*not*h]hnot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5 change, for example with the current video standard.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKYhjubh)}(hWhen the structure refers to a radio tuner the ``V4L2_TUNER_CAP_LANG1``, ``V4L2_TUNER_CAP_LANG2`` and ``V4L2_TUNER_CAP_NORM`` flags can't be used.h](h/When the structure refers to a radio tuner the }(hj7hhhNhNubj)}(h``V4L2_TUNER_CAP_LANG1``h]hV4L2_TUNER_CAP_LANG1}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh, }(hj7hhhNhNubj)}(h``V4L2_TUNER_CAP_LANG2``h]hV4L2_TUNER_CAP_LANG2}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh and }(hj7hhhNhNubj)}(h``V4L2_TUNER_CAP_NORM``h]hV4L2_TUNER_CAP_NORM}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh flags can’t be used.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK]hjubh)}(hIf multiple frequency bands are supported, then ``capability`` is the union of all ``capability`` fields of each struct :c:type:`v4l2_frequency_band`.h](h0If multiple frequency bands are supported, then }(hj{hhhNhNubj)}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh is the union of all }(hj{hhhNhNubj)}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh fields of each struct }(hj{hhhNhNubh)}(h:c:type:`v4l2_frequency_band`h]j)}(hjh]hv4l2_frequency_band}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjsv4l2_frequency_banduh1hhhhKahj{ubh.}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKahjubeh}(h]h ]h"]h$]h&]morecolsKuh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hj]ubja)}(hhh](jf)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKdhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h ``rangelow``h]j)}(hjh]hrangelow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKehjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(hXO:cspan:`1` The lowest tunable frequency in units of 62.5 kHz, or if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units of 62.5 Hz, or if the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is set, in units of 1 Hz. If multiple frequency bands are supported, then ``rangelow`` is the lowest frequency of all the frequency bands.h](h> The lowest tunable frequency in units of 62.5 kHz, or if the }(hjhhhNhNubj)}(h``capability``h]h capability}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh flag }(hjhhhNhNubj)}(h``V4L2_TUNER_CAP_LOW``h]hV4L2_TUNER_CAP_LOW}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( is set, in units of 62.5 Hz, or if the }(hjhhhNhNubj)}(h``capability``h]h capability}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh flag }hjsbj)}(h``V4L2_TUNER_CAP_1HZ``h]hV4L2_TUNER_CAP_1HZ}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhK is set, in units of 1 Hz. If multiple frequency bands are supported, then }(hjhhhNhNubj)}(h ``rangelow``h]hrangelow}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh4 is the lowest frequency of all the frequency bands.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKfhjubah}(h]h ]h"]h$]h&]morecolsKuh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hj]ubja)}(hhh](jf)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKlhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h ``rangehigh``h]j)}(hjh]h rangehigh}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKmhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(hXR:cspan:`1` The highest tunable frequency in units of 62.5 kHz, or if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units of 62.5 Hz, or if the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is set, in units of 1 Hz. If multiple frequency bands are supported, then ``rangehigh`` is the highest frequency of all the frequency bands.h](h? The highest tunable frequency in units of 62.5 kHz, or if the }(hjhhhNhNubj)}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh flag }(hjhhhNhNubj)}(h``V4L2_TUNER_CAP_LOW``h]hV4L2_TUNER_CAP_LOW}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( is set, in units of 62.5 Hz, or if the }(hjhhhNhNubj)}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh flag }(hjhhhNhNubj)}(h``V4L2_TUNER_CAP_1HZ``h]hV4L2_TUNER_CAP_1HZ}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhK is set, in units of 1 Hz. If multiple frequency bands are supported, then }(hjhhhNhNubj)}(h ``rangehigh``h]h rangehigh}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5 is the highest frequency of all the frequency bands.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKnhjubah}(h]h ]h"]h$]h&]morecolsKuh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hj]ubja)}(hhh](jf)}(hhh]h)}(h__u32h]h__u32}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKthjD ubah}(h]h ]h"]h$]h&]uh1jehjA ubjf)}(hhh]h)}(h``rxsubchans``h]j)}(hj` h]h rxsubchans}(hjb hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ ubah}(h]h ]h"]h$]h&]uh1hhhhKuhj[ ubah}(h]h ]h"]h$]h&]uh1jehjA ubjf)}(hhh](h)}(h :cspan:`1`h]h}(h]h ]h"]h$]h&]uh1hhhhKvhj{ ubh)}(hSome tuners or audio decoders can determine the received audio subprograms by analyzing audio carriers, pilot tones or other indicators. To pass this information drivers set flags defined in :ref:`tuner-rxsubchans` in this field. For example:h](hSome tuners or audio decoders can determine the received audio subprograms by analyzing audio carriers, pilot tones or other indicators. To pass this information drivers set flags defined in }(hj hhhNhNubh)}(h:ref:`tuner-rxsubchans`h]j)}(hj h]htuner-rxsubchans}(hj hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj^ refdomainj reftyperef refexplicitrefwarnjstuner-rxsubchansuh1hhhhKxhj ubh in this field. For example:}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKxhj{ ubeh}(h]h ]h"]h$]h&]morecolsKuh1jehjA ubeh}(h]h ]h"]h$]h&]uh1j`hj]ubja)}(hhh](jf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(h``V4L2_TUNER_SUB_MONO``h]j)}(hj h]hV4L2_TUNER_SUB_MONO}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhK~hj ubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(hreceiving mono audioh]hreceiving mono audio}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jehj ubeh}(h]h ]h"]h$]h&]uh1j`hj]ubja)}(hhh](jf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(h``STEREO | SAP``h]j)}(hj3 h]h STEREO | SAP}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1 ubah}(h]h ]h"]h$]h&]uh1hhhhKhj. ubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(h4receiving stereo audio and a secondary audio programh]h4receiving stereo audio and a secondary audio program}(hjQ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjN ubah}(h]h ]h"]h$]h&]uh1jehj ubeh}(h]h ]h"]h$]h&]uh1j`hj]ubja)}(hhh](jf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehjk ubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehjk ubjf)}(hhh]h)}(h``MONO | STEREO``h]j)}(hj h]h MONO | STEREO}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jehjk ubjf)}(hhh]h)}(h?receiving mono or stereo audio, the hardware cannot distinguishh]h?receiving mono or stereo audio, the hardware cannot distinguish}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jehjk ubeh}(h]h ]h"]h$]h&]uh1j`hj]ubja)}(hhh](jf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(h``LANG1 | LANG2``h]j)}(hj h]h LANG1 | LANG2}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(hreceiving bilingual audioh]hreceiving bilingual audio}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jehj ubeh}(h]h ]h"]h$]h&]uh1j`hj]ubja)}(hhh](jf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(h!``MONO | STEREO | LANG1 | LANG2``h]j)}(hj) h]hMONO | STEREO | LANG1 | LANG2}(hj+ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj' ubah}(h]h ]h"]h$]h&]uh1hhhhKhj$ ubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(h)receiving mono, stereo or bilingual audioh]h)receiving mono, stereo or bilingual audio}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjD ubah}(h]h ]h"]h$]h&]uh1jehj ubeh}(h]h ]h"]h$]h&]uh1j`hj]ubja)}(hhh](jf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehja ubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehja ubjf)}(hhh](h)}(h :cspan:`1`h]h}(h]h ]h"]h$]h&]uh1hhhhKhjv ubh)}(hWhen the ``V4L2_TUNER_CAP_STEREO``, ``_LANG1``, ``_LANG2`` or ``_SAP`` flag is cleared in the ``capability`` field, the corresponding ``V4L2_TUNER_SUB_`` flag must not be set here.h](h When the }(hj hhhNhNubj)}(h``V4L2_TUNER_CAP_STEREO``h]hV4L2_TUNER_CAP_STEREO}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, }(hj hhhNhNubj)}(h ``_LANG1``h]h_LANG1}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, }hj sbj)}(h ``_LANG2``h]h_LANG2}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh or }(hj hhhNhNubj)}(h``_SAP``h]h_SAP}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh flag is cleared in the }(hj hhhNhNubj)}(h``capability``h]h capability}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh field, the corresponding }(hj hhhNhNubj)}(h``V4L2_TUNER_SUB_``h]hV4L2_TUNER_SUB_}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh flag must not be set here.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjv ubh)}(hxThis field is valid only if this is the tuner of the current video input, or when the structure refers to a radio tuner.h]hxThis field is valid only if this is the tuner of the current video input, or when the structure refers to a radio tuner.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjv ubeh}(h]h ]h"]h$]h&]morecolsKuh1jehja ubeh}(h]h ]h"]h$]h&]uh1j`hj]ubja)}(hhh](jf)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(h ``audmode``h]j)}(hj7 h]haudmode}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5 ubah}(h]h ]h"]h$]h&]uh1hhhhKhj2 ubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh](h)}(h :cspan:`1`h]h}(h]h ]h"]h$]h&]uh1hhhhKhjR ubh)}(hXWThe selected audio mode, see :ref:`tuner-audmode` for valid values. The audio mode does not affect audio subprogram detection, and like a :ref:`control` it does not automatically change unless the requested mode is invalid or unsupported. See :ref:`tuner-matrix` for possible results when the selected and received audio programs do not match.h](hThe selected audio mode, see }(hj_ hhhNhNubh)}(h:ref:`tuner-audmode`h]j)}(hji h]h tuner-audmode}(hjk hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhjg ubah}(h]h ]h"]h$]h&]refdocj^ refdomainju reftyperef refexplicitrefwarnjs tuner-audmodeuh1hhhhKhj_ ubhY for valid values. The audio mode does not affect audio subprogram detection, and like a }(hj_ hhhNhNubh)}(h:ref:`control`h]j)}(hj h]hcontrol}(hj hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj^ refdomainj reftyperef refexplicitrefwarnjscontroluh1hhhhKhj_ ubh[ it does not automatically change unless the requested mode is invalid or unsupported. See }(hj_ hhhNhNubh)}(h:ref:`tuner-matrix`h]j)}(hj h]h tuner-matrix}(hj hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj^ refdomainj reftyperef refexplicitrefwarnjs tuner-matrixuh1hhhhKhj_ ubhQ for possible results when the selected and received audio programs do not match.}(hj_ hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjR ubh)}(h_Currently this is the only field of struct struct :c:type:`v4l2_tuner` applications can change.h](h2Currently this is the only field of struct struct }(hj hhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hj h]h v4l2_tuner}(hj hhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_tuneruh1hhhhKhj ubh applications can change.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjR ubeh}(h]h ]h"]h$]h&]morecolsKuh1jehj ubeh}(h]h ]h"]h$]h&]uh1j`hj]ubja)}(hhh](jf)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(h ``signal``h]j)}(hj6 h]hsignal}(hj8 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4 ubah}(h]h ]h"]h$]h&]uh1hhhhKhj1 ubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh](h)}(h(:cspan:`1` The signal strength if known.h]h The signal strength if known.}(hjT hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjQ ubh)}(h@Ranging from 0 to 65535. Higher values indicate a better signal.h]h@Ranging from 0 to 65535. Higher values indicate a better signal.}(hjb hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjQ ubeh}(h]h ]h"]h$]h&]morecolsKuh1jehj ubeh}(h]h ]h"]h$]h&]uh1j`hj]ubja)}(hhh](jf)}(hhh]h)}(h__s32h]h__s32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jehj} ubjf)}(hhh]h)}(h``afc``h]j)}(hj h]hafc}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jehj} ubjf)}(hhh](h)}(h':cspan:`1` Automatic frequency control.h]h Automatic frequency control.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(hUWhen the ``afc`` value is negative, the frequency is too low, when positive too high.h](h When the }(hj hhhNhNubj)}(h``afc``h]hafc}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhE value is negative, the frequency is too low, when positive too high.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]morecolsKuh1jehj} ubeh}(h]h ]h"]h$]h&]uh1j`hj]ubja)}(hhh](jf)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(h``reserved``\ [4]h](j)}(h ``reserved``h]hreserved}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh [4]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh](h)}(h*:cspan:`1` Reserved for future extensions.h]h Reserved for future extensions.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj4ubh)}(h4Drivers and applications must set the array to zero.h]h4Drivers and applications must set the array to zero.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj4ubeh}(h]h ]h"]h$]h&]morecolsKuh1jehj ubeh}(h]h ]h"]h$]h&]uh1j`hj]ubeh}(h]h ]h"]h$]h&]uh1j[hj.ubeh}(h]h ]h"]h$]h&]colsKuh1j,hjubeh}(h]id3ah ] longtableah"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]j|p{6.6cm}|p{2.2cm}|p{8.5cm}|uh1jhhhKhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jV4L.v4l2_tuner_type (C type)c.V4L.v4l2_tuner_typehNtauh1jhjhhhNhNubj#)}(hhh](j()}(hv4l2_tuner_typeh]j.)}(htype v4l2_tuner_typeh](j)}(hjh]htype}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhhKubj4)}(hv4l2_tuner_typeh]j:)}(hjh]hv4l2_tuner_type}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hjhhhhhKubeh}(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 ](jstypeeh"]h$]h&]jxjsjyjjzjj{j|j}uh1j"hhhjhNhNubj)}(hhh](h)}(henum v4l2_tuner_typeh]henum v4l2_tuner_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubj-)}(hhh](j2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hjubj2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hjubj2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hjubj\)}(hhh](ja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_RADIO``h]j)}(hj#h]hV4L2_TUNER_RADIO}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h1h]h1}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj>ubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(hTuner supports radioh]hTuner supports radio}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjUubah}(h]h ]h"]h$]h&]uh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hjubja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_ANALOG_TV``h]j)}(hjzh]hV4L2_TUNER_ANALOG_TV}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1hhhhKhjuubah}(h]h ]h"]h$]h&]uh1jehjrubjf)}(hhh]h)}(h2h]h2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jehjrubjf)}(hhh]h)}(hTuner supports analog TVh]hTuner supports analog TV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jehjrubeh}(h]h ]h"]h$]h&]uh1j`hjubja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_SDR``h]j)}(hjh]hV4L2_TUNER_SDR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h4h]h4}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(hITuner controls the A/D and/or D/A block of a Software Digital Radio (SDR)h]hITuner controls the A/D and/or D/A block of a Software Digital Radio (SDR)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hjubja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_RF``h]j)}(hj(h]h V4L2_TUNER_RF}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhhhKhj#ubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(h5h]h5}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjCubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(h ioctl can be used to enumerate the available frequency bands.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hjubja)}(hhh](jf)}(hhh]h)}(h"``V4L2_TUNER_CAP_HWSEEK_PROG_LIM``h]j)}(hjh]hV4L2_TUNER_CAP_HWSEEK_PROG_LIM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h0x0800h]h0x0800}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hj!ubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h}The range to search when using the hardware seek functionality is programmable, see :ref:`VIDIOC_S_HW_FREQ_SEEK` for details.h](hTThe range to search when using the hardware seek functionality is programmable, see }(hj;hhhNhNubh)}(h:ref:`VIDIOC_S_HW_FREQ_SEEK`h]j)}(hjEh]hVIDIOC_S_HW_FREQ_SEEK}(hjGhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]refdocj^ refdomainjQreftyperef refexplicitrefwarnjsvidioc_s_hw_freq_seekuh1hhhhM!hj;ubh for details.}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM!hj8ubah}(h]h ]h"]h$]h&]uh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hjubja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_CAP_1HZ``h]j)}(hjh]hV4L2_TUNER_CAP_1HZ}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhM%hj|ubah}(h]h ]h"]h$]h&]uh1jehjyubjf)}(hhh]h)}(h0x1000h]h0x1000}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM&hjubah}(h]h ]h"]h$]h&]uh1jehjyubjf)}(hhh]h)}(hPWhen set, tuning frequencies are expressed in units of 1 Hz instead of 62.5 kHz.h]hPWhen set, tuning frequencies are expressed in units of 1 Hz instead of 62.5 kHz.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM'hjubah}(h]h ]h"]h$]h&]uh1jehjyubeh}(h]h ]h"]h$]h&]uh1j`hjubeh}(h]h ]h"]h$]h&]uh1j[hjubeh}(h]h ]h"]h$]h&]colsKuh1j,hjubeh}(h](id5jeh ] longtableah"]tuner-capabilityah$]h&]uh1jhjhhhNhNexpect_referenced_by_name}jjsexpect_referenced_by_id}jjsubj)}(hhh]h}(h]h ]h"]h$]h&]j|p{6.6cm}|p{2.2cm}|p{8.5cm}|uh1jhhhM+hjhhubh)}(h.. _tuner-rxsubchans:h]h}(h]h ]h"]h$]h&]htuner-rxsubchansuh1hhM-hjhhhhubj)}(hhh](h)}(hTuner Audio Reception Flagsh]hTuner Audio Reception Flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM/hjubj-)}(hhh](j2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hjubj2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hjubj2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hjubj\)}(hhh](ja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_SUB_MONO``h]j)}(hj<h]hV4L2_TUNER_SUB_MONO}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhhhM4hj7ubah}(h]h ]h"]h$]h&]uh1jehj4ubjf)}(hhh]h)}(h0x0001h]h0x0001}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM5hjWubah}(h]h ]h"]h$]h&]uh1jehj4ubjf)}(hhh]h)}(h'The tuner receives a mono audio signal.h]h'The tuner receives a mono audio signal.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM6hjnubah}(h]h ]h"]h$]h&]uh1jehj4ubeh}(h]h ]h"]h$]h&]uh1j`hj1ubja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_SUB_STEREO``h]j)}(hjh]hV4L2_TUNER_SUB_STEREO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhM7hjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h0x0002h]h0x0002}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM8hjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h)The tuner receives a stereo audio signal.h]h)The tuner receives a stereo audio signal.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM9hjubah}(h]h ]h"]h$]h&]uh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hj1ubja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_SUB_LANG1``h]j)}(hjh]hV4L2_TUNER_SUB_LANG1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhM:hjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h0x0008h]h0x0008}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM;hjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(hThe tuner receives the primary language of a bilingual audio signal. Drivers must clear this flag when the current video standard is ``V4L2_STD_NTSC_M``.h](hThe tuner receives the primary language of a bilingual audio signal. Drivers must clear this flag when the current video standard is }(hjhhhNhNubj)}(h``V4L2_STD_NTSC_M``h]hV4L2_STD_NTSC_M}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM<hjubah}(h]h ]h"]h$]h&]uh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hj1ubja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_SUB_LANG2``h]j)}(hjSh]hV4L2_TUNER_SUB_LANG2}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1hhhhM?hjNubah}(h]h ]h"]h$]h&]uh1jehjKubjf)}(hhh]h)}(h0x0004h]h0x0004}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM@hjnubah}(h]h ]h"]h$]h&]uh1jehjKubjf)}(hhh]h)}(hbThe tuner receives the secondary language of a bilingual audio signal (or a second audio program).h]hbThe tuner receives the secondary language of a bilingual audio signal (or a second audio program).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMAhjubah}(h]h ]h"]h$]h&]uh1jehjKubeh}(h]h ]h"]h$]h&]uh1j`hj1ubja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_SUB_SAP``h]j)}(hjh]hV4L2_TUNER_SUB_SAP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMChjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h0x0004h]h0x0004}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMDhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh](h)}(h*The tuner receives a Second Audio Program.h]h*The tuner receives a Second Audio Program.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMEhjubjbu)}(hThe ``V4L2_TUNER_SUB_LANG2`` and ``V4L2_TUNER_SUB_SAP`` flags are synonyms. The ``V4L2_TUNER_SUB_SAP`` flag applies when the current video standard is ``V4L2_STD_NTSC_M``.h]h)}(hThe ``V4L2_TUNER_SUB_LANG2`` and ``V4L2_TUNER_SUB_SAP`` flags are synonyms. The ``V4L2_TUNER_SUB_SAP`` flag applies when the current video standard is ``V4L2_STD_NTSC_M``.h](hThe }(hjhhhNhNubj)}(h``V4L2_TUNER_SUB_LANG2``h]hV4L2_TUNER_SUB_LANG2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``V4L2_TUNER_SUB_SAP``h]hV4L2_TUNER_SUB_SAP}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh flags are synonyms. The }(hjhhhNhNubj)}(h``V4L2_TUNER_SUB_SAP``h]hV4L2_TUNER_SUB_SAP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh1 flag applies when the current video standard is }(hjhhhNhNubj)}(h``V4L2_STD_NTSC_M``h]hV4L2_STD_NTSC_M}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMIhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hj1ubja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_SUB_RDS``h]j)}(hjah]hV4L2_TUNER_SUB_RDS}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hhhhMLhj\ubah}(h]h ]h"]h$]h&]uh1jehjYubjf)}(hhh]h)}(h0x0010h]h0x0010}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMMhj|ubah}(h]h ]h"]h$]h&]uh1jehjYubjf)}(hhh]h)}(h"The tuner receives an RDS channel.h]h"The tuner receives an RDS channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMNhjubah}(h]h ]h"]h$]h&]uh1jehjYubeh}(h]h ]h"]h$]h&]uh1j`hj1ubeh}(h]h ]h"]h$]h&]uh1j[hjubeh}(h]h ]h"]h$]h&]colsKuh1j,hjubeh}(h](id6jeh ]h"]tuner-rxsubchansah$]h&]uh1jhjhhhNhNj}jjsj}jjsubj)}(hhh]h}(h]h ]h"]h$]h&]j|p{6.6cm}|p{2.2cm}|p{8.5cm}|uh1jhhhMQhjhhubh)}(h.. _tuner-audmode:h]h}(h]h ]h"]h$]h&]h tuner-audmodeuh1hhMShjhhhhubj)}(hhh](h)}(hTuner Audio Modesh]hTuner Audio Modes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMUhjubj-)}(hhh](j2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hjubj2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hjubj2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hjubj\)}(hhh](ja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_MODE_MONO``h]j)}(hjh]hV4L2_TUNER_MODE_MONO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMZhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h0h]h0}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM[hj4ubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(hPlay mono audio. When the tuner receives a stereo signal this a down-mix of the left and right channel. When the tuner receives a bilingual or SAP signal this mode selects the primary language.h]hPlay mono audio. When the tuner receives a stereo signal this a down-mix of the left and right channel. When the tuner receives a bilingual or SAP signal this mode selects the primary language.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM\hjKubah}(h]h ]h"]h$]h&]uh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hjubja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_MODE_STEREO``h]j)}(hjph]hV4L2_TUNER_MODE_STEREO}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hhhhM_hjkubah}(h]h ]h"]h$]h&]uh1jehjhubjf)}(hhh]h)}(hjCh]h1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM`hjubah}(h]h ]h"]h$]h&]uh1jehjhubjf)}(hhh](h)}(hPlay stereo audio. When the tuner receives bilingual audio it may play different languages on the left and right channel or the primary language is played on both channels.h]hPlay stereo audio. When the tuner receives bilingual audio it may play different languages on the left and right channel or the primary language is played on both channels.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMahjubh)}(hpPlaying different languages in this mode is deprecated. New drivers should do this only in ``MODE_LANG1_LANG2``.h](h[Playing different languages in this mode is deprecated. New drivers should do this only in }(hjhhhNhNubj)}(h``MODE_LANG1_LANG2``h]hMODE_LANG1_LANG2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMehjubh)}(hzWhen the tuner receives no stereo signal or does not support stereo reception the driver shall fall back to ``MODE_MONO``.h](hlWhen the tuner receives no stereo signal or does not support stereo reception the driver shall fall back to }(hjhhhNhNubj)}(h ``MODE_MONO``h]h MODE_MONO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhhjubeh}(h]h ]h"]h$]h&]uh1jehjhubeh}(h]h ]h"]h$]h&]uh1j`hjubja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_MODE_LANG1``h]j)}(hjh]hV4L2_TUNER_MODE_LANG1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMjhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h3h]h3}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMkhj!ubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(hbPlay the primary language, mono or stereo. Only ``V4L2_TUNER_ANALOG_TV`` tuners support this mode.h](h0Play the primary language, mono or stereo. Only }(hj;hhhNhNubj)}(h``V4L2_TUNER_ANALOG_TV``h]hV4L2_TUNER_ANALOG_TV}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh tuners support this mode.}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMlhj8ubah}(h]h ]h"]h$]h&]uh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hjubja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_MODE_LANG2``h]j)}(hjoh]hV4L2_TUNER_MODE_LANG2}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hhhhMnhjjubah}(h]h ]h"]h$]h&]uh1jehjgubjf)}(hhh]h)}(hjh]h2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMohjubah}(h]h ]h"]h$]h&]uh1jehjgubjf)}(hhh]h)}(hPlay the secondary language, mono. When the tuner receives no bilingual audio or SAP, or their reception is not supported the driver shall fall back to mono or stereo mode. Only ``V4L2_TUNER_ANALOG_TV`` tuners support this mode.h](hPlay the secondary language, mono. When the tuner receives no bilingual audio or SAP, or their reception is not supported the driver shall fall back to mono or stereo mode. Only }(hjhhhNhNubj)}(h``V4L2_TUNER_ANALOG_TV``h]hV4L2_TUNER_ANALOG_TV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh tuners support this mode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMphjubah}(h]h ]h"]h$]h&]uh1jehjgubeh}(h]h ]h"]h$]h&]uh1j`hjubja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_MODE_SAP``h]j)}(hjh]hV4L2_TUNER_MODE_SAP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMthjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(hjh]h2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMuhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh](h)}(hPlay the Second Audio Program. When the tuner receives no bilingual audio or SAP, or their reception is not supported the driver shall fall back to mono or stereo mode. Only ``V4L2_TUNER_ANALOG_TV`` tuners support this mode.h](hPlay the Second Audio Program. When the tuner receives no bilingual audio or SAP, or their reception is not supported the driver shall fall back to mono or stereo mode. Only }(hj hhhNhNubj)}(h``V4L2_TUNER_ANALOG_TV``h]hV4L2_TUNER_ANALOG_TV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh tuners support this mode.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMvhjubj)}(hGThe ``V4L2_TUNER_MODE_LANG2`` and ``V4L2_TUNER_MODE_SAP`` are synonyms.h]h)}(hGThe ``V4L2_TUNER_MODE_LANG2`` and ``V4L2_TUNER_MODE_SAP`` are synonyms.h](hThe }(hj/hhhNhNubj)}(h``V4L2_TUNER_MODE_LANG2``h]hV4L2_TUNER_MODE_LANG2}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh and }(hj/hhhNhNubj)}(h``V4L2_TUNER_MODE_SAP``h]hV4L2_TUNER_MODE_SAP}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh are synonyms.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM{hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hjubja)}(hhh](jf)}(hhh]h)}(h``V4L2_TUNER_MODE_LANG1_LANG2``h]j)}(hj{h]hV4L2_TUNER_MODE_LANG1_LANG2}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhhhM}hjvubah}(h]h ]h"]h$]h&]uh1jehjsubjf)}(hhh]h)}(hjh]h4}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM~hjubah}(h]h ]h"]h$]h&]uh1jehjsubjf)}(hhh]h)}(hPlay the primary language on the left channel, the secondary language on the right channel. When the tuner receives no bilingual audio or SAP, it shall fall back to ``MODE_LANG1`` or ``MODE_MONO``. Only ``V4L2_TUNER_ANALOG_TV`` tuners support this mode.h](hPlay the primary language on the left channel, the secondary language on the right channel. When the tuner receives no bilingual audio or SAP, it shall fall back to }(hjhhhNhNubj)}(h``MODE_LANG1``h]h MODE_LANG1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh or }(hjhhhNhNubj)}(h ``MODE_MONO``h]h MODE_MONO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. Only }(hjhhhNhNubj)}(h``V4L2_TUNER_ANALOG_TV``h]hV4L2_TUNER_ANALOG_TV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh tuners support this mode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jehjsubeh}(h]h ]h"]h$]h&]uh1j`hjubeh}(h]h ]h"]h$]h&]uh1j[hjubeh}(h]h ]h"]h$]h&]colsKuh1j,hjubeh}(h](id7jeh ]h"] tuner-audmodeah$]h&]uh1jhjhhhNhNj}jjsj}jjsubhraw)}(h \scriptsizeh]h \scriptsize}hjsbah}(h]h ]h"]h$]h&]formatlatexhhuh1jhhhMhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]j7|p{1.5cm}|p{1.5cm}|p{2.9cm}|p{2.9cm}|p{2.9cm}|p{2.9cm}|uh1jhhhMhjhhubh)}(h.. _tuner-matrix:h]h}(h]h ]h"]h$]h&]h tuner-matrixuh1hhMhjhhhhubj)}(hhh](h)}(hTuner Audio Matrixh]hTuner Audio Matrix}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj=ubj-)}(hhh](j2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hjNubj2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hjNubj2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hjNubj2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hjNubj2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hjNubj2)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j1hjNubhthead)}(hhh](ja)}(hhh](jf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h(:cspan:`4` Selected ``V4L2_TUNER_MODE_``h](h Selected }(hjhhhNhNubj)}(h``V4L2_TUNER_MODE_``h]hV4L2_TUNER_MODE_}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]morecolsKuh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hjubja)}(hhh](jf)}(hhh]h)}(hReceived ``V4L2_TUNER_SUB_``h](h Received }(hjhhhNhNubj)}(h``V4L2_TUNER_SUB_``h]hV4L2_TUNER_SUB_}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h``MONO``h]j)}(hjh]hMONO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h ``STEREO``h]j)}(hjh]hSTEREO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h ``LANG1``h]j)}(hj7h]hLANG1}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhhhMhj2ubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h``LANG2 = SAP``h]j)}(hjWh]h LANG2 = SAP}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhhhMhjRubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h``LANG1_LANG2``\ [#f1]_h](j)}(h``LANG1_LANG2``h]h LANG1_LANG2}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh }(hjuhhhNhNubhfootnote_reference)}(h[#f1]_h]h1}(hjhhhNhNubah}(h]id1ah ]h"]h$]h&]autoKhf1docnamej^uh1jhjuresolvedKubeh}(h]h ]h"]h$]h&]uh1hhhhMhjrubah}(h]h ]h"]h$]h&]uh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hjubeh}(h]h ]h"]h$]h&]uh1jhjNubj\)}(hhh](ja)}(hhh](jf)}(hhh]h)}(h``MONO``h]j)}(hjh]hMONO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(hMonoh]hMono}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h Mono/Monoh]h Mono/Mono}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(hMonoh]hMono}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(hMonoh]hMono}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj#ubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h Mono/Monoh]h Mono/Mono}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj:ubah}(h]h ]h"]h$]h&]uh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hjubja)}(hhh](jf)}(hhh]h)}(h``MONO | SAP``h]j)}(hj_h]h MONO | SAP}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hhhhMhjZubah}(h]h ]h"]h$]h&]uh1jehjWubjf)}(hhh]h)}(hMonoh]hMono}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjzubah}(h]h ]h"]h$]h&]uh1jehjWubjf)}(hhh]h)}(h Mono/Monoh]h Mono/Mono}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jehjWubjf)}(hhh]h)}(hMonoh]hMono}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jehjWubjf)}(hhh]h)}(hSAPh]hSAP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jehjWubjf)}(hhh]h)}(h!Mono/SAP (preferred) or Mono/Monoh]h!Mono/SAP (preferred) or Mono/Mono}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jehjWubeh}(h]h ]h"]h$]h&]uh1j`hjubja)}(hhh](jf)}(hhh]h)}(h ``STEREO``h]j)}(hjh]hSTEREO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(hL+Rh]hL+R}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(hL/Rh]hL/R}(hj0 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj- ubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h"Stereo L/R (preferred) or Mono L+Rh]h"Stereo L/R (preferred) or Mono L+R}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjD ubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(h"Stereo L/R (preferred) or Mono L+Rh]h"Stereo L/R (preferred) or Mono L+R}(hj^ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj[ ubah}(h]h ]h"]h$]h&]uh1jehjubjf)}(hhh]h)}(hL/R (preferred) or L+R/L+Rh]hL/R (preferred) or L+R/L+R}(hju hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjr ubah}(h]h ]h"]h$]h&]uh1jehjubeh}(h]h ]h"]h$]h&]uh1j`hjubja)}(hhh](jf)}(hhh]h)}(h``STEREO | SAP``h]j)}(hj h]h STEREO | SAP}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(hL+Rh]hL+R}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(hL/Rh]hL/R}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(h"Stereo L/R (preferred) or Mono L+Rh]h"Stereo L/R (preferred) or Mono L+R}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(hSAPh]hSAP}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jehj ubjf)}(hhh]h)}(h%L+R/SAP (preferred) or L/R or L+R/L+Rh]h%L+R/SAP (preferred) or L/R or L+R/L+R}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj!ubah}(h]h ]h"]h$]h&]uh1jehj ubeh}(h]h ]h"]h$]h&]uh1j`hjubja)}(hhh](jf)}(hhh]h)}(h``LANG1 | LANG2``h]j)}(hj3!h]h LANG1 | LANG2}(hj5!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1!ubah}(h]h ]h"]h$]h&]uh1hhhhMhj.!ubah}(h]h ]h"]h$]h&]uh1jehj+!ubjf)}(hhh]h)}(h Language 1h]h Language 1}(hjQ!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjN!ubah}(h]h ]h"]h$]h&]uh1jehj+!ubjf)}(hhh]h)}(h/Lang1/Lang2 (deprecated\ [#f2]_) or Lang1/Lang1h](hLang1/Lang2 (deprecated }(hjh!hhhNhNubj)}(h[#f2]_h]h2}(hjp!hhhNhNubah}(h]id2ah ]h"]h$]h&]jKhf2jj^uh1jhjh!jKubh) or Lang1/Lang1}(hjh!hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhje!ubah}(h]h ]h"]h$]h&]uh1jehj+!ubjf)}(hhh]h)}(h Language 1h]h Language 1}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj!ubah}(h]h ]h"]h$]h&]uh1jehj+!ubjf)}(hhh]h)}(h Language 2h]h Language 2}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj!ubah}(h]h ]h"]h$]h&]uh1jehj+!ubjf)}(hhh]h)}(h&Lang1/Lang2 (preferred) or Lang1/Lang1h]h&Lang1/Lang2 (preferred) or Lang1/Lang1}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj!ubah}(h]h ]h"]h$]h&]uh1jehj+!ubeh}(h]h ]h"]h$]h&]uh1j`hjubeh}(h]h ]h"]h$]h&]uh1j[hjNubeh}(h]h ]h"]h$]h&]colsKuh1j,hj=ubeh}(h](id8j<eh ]h"] tuner-matrixah$]h&]uh1jhjhhhNhNj}j!j2sj}j<j2subj)}(h \normalsizeh]h \normalsize}hj!sbah}(h]h ]h"]h$]h&]formatlatexhhuh1jhhhMhjhhubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhK$ubh)}(hhh](h)}(h Return Valueh]h Return Value}(hj "hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj "hhhhhMubh)}(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)}(hj7"h]hGeneric Error Codes}(hj9"hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhj5"ubah}(h]h ]h"]h$]h&]refdocj^ refdomainjC"reftyperef refexplicitrefwarnjs gen-errorsuh1hhhhMhj"ubh chapter.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj "hhubj)}(hhh]j)}(hCEINVAL The struct :c:type:`v4l2_tuner` ``index`` is out of bounds. h](j)}(hEINVALh]hEINVAL}(hjf"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhMhjb"ubj8)}(hhh]h)}(h;The struct :c:type:`v4l2_tuner` ``index`` is out of bounds.h](h The struct }(hjw"hhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hj"h]h v4l2_tuner}(hj"hhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_tuneruh1hhhhMhjw"ubh }(hjw"hhhNhNubj)}(h ``index``h]hindex}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw"ubh is out of bounds.}(hjw"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjt"ubah}(h]h ]h"]h$]h&]uh1j7hjb"ubeh}(h]h ]h"]h$]h&]uh1jhhhMhj_"ubah}(h]h ]h"]h$]h&]uh1jhj "hhhhhNubhfootnote)}(hTThis mode has been added in Linux 2.6.17 and may not be supported by older drivers. h](hlabel)}(hhh]h1}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1j"hj"hhhNhNubh)}(hSThis mode has been added in Linux 2.6.17 and may not be supported by older drivers.h]hSThis mode has been added in Linux 2.6.17 and may not be supported by older drivers.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj"ubeh}(h]jah ]h"]f1ah$]h&]jajKjj^uh1j"hhhMhj "hhubj")}(hPlayback of both languages in ``MODE_STEREO`` is deprecated. In the future drivers should produce only the primary language in this mode. Applications should request ``MODE_LANG1_LANG2`` to record both languages or a stereo signal.h](j")}(hhh]h2}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1j"hj"hhhNhNubh)}(hPlayback of both languages in ``MODE_STEREO`` is deprecated. In the future drivers should produce only the primary language in this mode. Applications should request ``MODE_LANG1_LANG2`` to record both languages or a stereo signal.h](hPlayback of both languages in }(hj#hhhNhNubj)}(h``MODE_STEREO``h]h MODE_STEREO}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubhy is deprecated. In the future drivers should produce only the primary language in this mode. Applications should request }(hj#hhhNhNubj)}(h``MODE_LANG1_LANG2``h]hMODE_LANG1_LANG2}(hj!#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh- to record both languages or a stereo signal.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj"ubeh}(h]j!ah ]h"]f2ah$]h&]jz!ajKjj^uh1j"hhhMhj "hhubeh}(h] return-valueah ]h"] return valueah$]h&]uh1hhhhhhhhMubeh}(h](#ioctl-vidioc-g-tuner-vidioc-s-tunerheh ]h"]($ioctl vidioc_g_tuner, vidioc_s_tunervidioc_g_tunereh$]h&]uh1hhhhhhhhKj}jN#hsj}hhsubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjefootnote_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_handlerju#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}(f1]jaf2]jp!aurefids}(h]haj]jaj]jaj]jaj<]j2aj]jaj!]jp!aunameids}(jN#hjM#jJ#hhjjjjj"j"jjjjjjj!j<jE#jB#j"jj=#j!u nametypes}(jN#jM#hjjj"jjjj!jE#j"j=#uh}(hhjJ#hhhjjj j)jjjjj"jjjjjjjjjjjj<j=jjjz!jp!jB#j "jj"j!j"jojjjjjjjjjj!j=u footnote_refs}(j#]jaj#]jp!au citation_refs} autofootnotes](j"j"eautofootnote_refs](jjp!esymbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}j#KsRparse_messages]transform_messages](hsystem_message)}(hhh]h)}(hhh]h4Hyperlink target "vidioc-g-tuner" is not referenced.}hj#sbah}(h]h ]h"]h$]h&]uh1hhj#ubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehlineKuh1j#ubj#)}(hhh]h)}(hhh]h6Hyperlink target "tuner-capability" is not referenced.}hj$sbah}(h]h ]h"]h$]h&]uh1hhj$ubah}(h]h ]h"]h$]h&]levelKtypej$sourcehlineKuh1j#ubj#)}(hhh]h)}(hhh]h6Hyperlink target "tuner-rxsubchans" is not referenced.}hj $sbah}(h]h ]h"]h$]h&]uh1hhj$ubah}(h]h ]h"]h$]h&]levelKtypej$sourcehlineM-uh1j#ubj#)}(hhh]h)}(hhh]h3Hyperlink target "tuner-audmode" is not referenced.}hj:$sbah}(h]h ]h"]h$]h&]uh1hhj7$ubah}(h]h ]h"]h$]h&]levelKtypej$sourcehlineMSuh1j#ubj#)}(hhh]h)}(hhh]h2Hyperlink target "tuner-matrix" is not referenced.}hjT$sbah}(h]h ]h"]h$]h&]uh1hhjQ$ubah}(h]h ]h"]h$]h&]levelKtypej$sourcehlineMuh1j#ube transformerN include_log] decorationNhhub.