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]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/pt_BR/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_TUNERhNtauh1j%hjhhhNhNubhdesc)}(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}(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)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2V4L.VIDIOC_S_TUNER (C macro)c.V4L.VIDIOC_S_TUNERhNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(hVIDIOC_S_TUNERh]jB)}(hVIDIOC_S_TUNERh]jH)}(hVIDIOC_S_TUNERh]jN)}(hjh]hVIDIOC_S_TUNER}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhjubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjhhhhhKubah}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjhhhhhKubah}(h]jah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhKhjhhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjhhhhhKubeh}(h]h ](jmacroeh"]h$]h&]jjjjjjjjjuh1j6hhhjhNhNubh)}(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)}(hj6h]hfd}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1j2hhhKhj.ubh definition)}(hhh]h)}(h-File descriptor returned by :c:func:`open()`.h](hFile descriptor returned by }(hjPhhhNhNubh)}(h:c:func:`open()`h]j)}(hjZh]hopen()}(hj\hhhNhNubah}(h]h ](xrefjc-funceh"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]refdoc&userspace-api/media/v4l/vidioc-g-tuner refdomainjreftypefunc refexplicitrefwarn c:parent_keysphinx.domains.c LookupKey)}data]jy ASTIdentifier)} identifierV4LsbNasb reftargetopenuh1hhhhKhjPubh.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjMubah}(h]h ]h"]h$]h&]uh1jKhj.ubeh}(h]h ]h"]h$]h&]uh1j,hhhKhj)ubj-)}(h1``argp`` Pointer to struct :c:type:`v4l2_tuner`. h](j3)}(h``argp``h]j)}(hjh]hargp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1j2hhhK!hjubjL)}(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 ](jfjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocjr refdomainjreftypetype refexplicitrefwarnjxj|j v4l2_tuneruh1hhhhK!hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK!hjubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]uh1j,hhhK!hj)hhubeh}(h]h ]h"]h$]h&]uh1j'hjhhhhhNubeh}(h] argumentsah ]h"] argumentsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Descriptionh]h Description}(hj hhhNhNubah}(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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh array of a struct }(hjhhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hjGh]h v4l2_tuner}(hjIhhhNhNubah}(h]h ](jfjc-typeeh"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]refdocjr refdomainjreftypetype refexplicitrefwarnjxj|j v4l2_tuneruh1hhhhK&hjubh and call the }(hjhhhNhNubj)}(h``VIDIOC_G_TUNER``h]hVIDIOC_G_TUNER}(hjhhhhNhNubah}(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}(hjzhhhNhNubah}(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}(hjhhhNhNubah}(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 ](jfstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocjr refdomainj"reftyperef refexplicitrefwarnjsdruh1hhhhK7hjubh specific tuner types are }(hjhhhNhNubj)}(h``V4L2_TUNER_SDR``h]hV4L2_TUNER_SDR}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``V4L2_TUNER_RF``h]h V4L2_TUNER_RF}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. For SDR devices }(hjhhhNhNubj)}(h ``audmode``h]haudmode}(hj\hhhNhNubah}(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 }(hjthhhNhNubh)}(h.:ref:`VIDIOC_S_FREQUENCY `h]j)}(hj~h]hVIDIOC_S_FREQUENCY}(hjhhhNhNubah}(h]h ](jfstdstd-refeh"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]refdocjr refdomainjreftyperef refexplicitrefwarnjvidioc_g_frequencyuh1hhhhK;hjtubh ioctl is available.}(hjthhhNhNubeh}(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](j2V4L.v4l2_tuner (C type)c.V4L.v4l2_tunerhNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(h v4l2_tunerh]jB)}(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@ubjH)}(h v4l2_tunerh]jN)}(hjh]h v4l2_tuner}(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_tunerh]hstruct v4l2_tuner}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKDhj/ubhtgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhjBubjF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhjBubjF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhjBubjF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhjBubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h__u32h]h__u32}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKHhj{ubah}(h]h ]h"]h$]h&]uh1jyhjvubjz)}(hhh]h)}(h ``index``h]j)}(hjh]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKIhjubah}(h]h ]h"]h$]h&]uh1jyhjvubjz)}(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&]morecolsKuh1jyhjvubeh}(h]h ]h"]h$]h&]uh1jthjqubju)}(hhh](jz)}(hhh]h)}(h__u8h]h__u8}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKKhjubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(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&]uh1jyhjubjz)}(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.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKQhjubeh}(h]h ]h"]h$]h&]morecolsKuh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthjqubju)}(hhh](jz)}(hhh]h)}(h__u32h]h__u32}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKRhjHubah}(h]h ]h"]h$]h&]uh1jyhjEubjz)}(hhh]h)}(h``type``h]j)}(hjdh]htype}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhhhKShj_ubah}(h]h ]h"]h$]h&]uh1jyhjEubjz)}(hhh]h)}(h<:cspan:`1` Type of the tuner, see :c:type:`v4l2_tuner_type`.h](h Type of the tuner, see }(hjhhhNhNubh)}(h:c:type:`v4l2_tuner_type`h]j)}(hjh]hv4l2_tuner_type}(hjhhhNhNubah}(h]h ](jfjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocjr refdomainjreftypetype refexplicitrefwarnjxj|jv4l2_tuner_typeuh1hhhhKThjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKThjubah}(h]h ]h"]h$]h&]morecolsKuh1jyhjEubeh}(h]h ]h"]h$]h&]uh1jthjqubju)}(hhh](jz)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKUhjubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(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&]uh1jyhjubjz)}(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 ](jfstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocjr refdomainjreftyperef refexplicitrefwarnjtuner-capabilityuh1hhhhKYhjubhJ. Audio flags indicate the ability to decode audio subprograms. They will }(hjhhhNhNubj)}(h*not*h]hnot}(hj3hhhNhNubah}(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 }(hjKhhhNhNubj)}(h``V4L2_TUNER_CAP_LANG1``h]hV4L2_TUNER_CAP_LANG1}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh, }(hjKhhhNhNubj)}(h``V4L2_TUNER_CAP_LANG2``h]hV4L2_TUNER_CAP_LANG2}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh and }(hjKhhhNhNubj)}(h``V4L2_TUNER_CAP_NORM``h]hV4L2_TUNER_CAP_NORM}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh flags can’t be used.}(hjKhhhNhNubeh}(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 }(hjhhhNhNubj)}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is the union of all }(hjhhhNhNubj)}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh fields of each struct }(hjhhhNhNubh)}(h:c:type:`v4l2_frequency_band`h]j)}(hjh]hv4l2_frequency_band}(hjhhhNhNubah}(h]h ](jfjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocjr refdomainjreftypetype refexplicitrefwarnjxj|jv4l2_frequency_banduh1hhhhKahjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKahjubeh}(h]h ]h"]h$]h&]morecolsKuh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthjqubju)}(hhh](jz)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKdhjubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(hhh]h)}(h ``rangelow``h]j)}(hjh]hrangelow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKehj ubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(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 }(hj.hhhNhNubj)}(h``capability``h]h capability}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh flag }(hj.hhhNhNubj)}(h``V4L2_TUNER_CAP_LOW``h]hV4L2_TUNER_CAP_LOW}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh( is set, in units of 62.5 Hz, or if the }(hj.hhhNhNubj)}(h``capability``h]h capability}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh flag }hj.sbj)}(h``V4L2_TUNER_CAP_1HZ``h]hV4L2_TUNER_CAP_1HZ}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubhK is set, in units of 1 Hz. If multiple frequency bands are supported, then }(hj.hhhNhNubj)}(h ``rangelow``h]hrangelow}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh4 is the lowest frequency of all the frequency bands.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKfhj+ubah}(h]h ]h"]h$]h&]morecolsKuh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthjqubju)}(hhh](jz)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKlhjubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(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&]uh1jyhjubjz)}(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}(hj hhhNhNubah}(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}(hj0 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&]morecolsKuh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthjqubju)}(hhh](jz)}(hhh]h)}(h__u32h]h__u32}(hj[ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKthjX ubah}(h]h ]h"]h$]h&]uh1jyhjU ubjz)}(hhh]h)}(h``rxsubchans``h]j)}(hjt h]h rxsubchans}(hjv hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr ubah}(h]h ]h"]h$]h&]uh1hhhhKuhjo ubah}(h]h ]h"]h$]h&]uh1jyhjU ubjz)}(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 ](jfstdstd-refeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocjr refdomainj reftyperef refexplicitrefwarnjtuner-rxsubchansuh1hhhhKxhj ubh in this field. For example:}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKxhj ubeh}(h]h ]h"]h$]h&]morecolsKuh1jyhjU ubeh}(h]h ]h"]h$]h&]uh1jthjqubju)}(hhh](jz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(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&]uh1jyhj ubjz)}(hhh]h)}(hreceiving mono audioh]hreceiving mono audio}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jyhj ubeh}(h]h ]h"]h$]h&]uh1jthjqubju)}(hhh](jz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj- ubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj- ubjz)}(hhh]h)}(h``STEREO | SAP``h]j)}(hjG h]h STEREO | SAP}(hjI hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE ubah}(h]h ]h"]h$]h&]uh1hhhhKhjB ubah}(h]h ]h"]h$]h&]uh1jyhj- ubjz)}(hhh]h)}(h4receiving stereo audio and a secondary audio programh]h4receiving stereo audio and a secondary audio program}(hje hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjb ubah}(h]h ]h"]h$]h&]uh1jyhj- ubeh}(h]h ]h"]h$]h&]uh1jthjqubju)}(hhh](jz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(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&]uh1jyhj ubjz)}(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&]uh1jyhj ubeh}(h]h ]h"]h$]h&]uh1jthjqubju)}(hhh](jz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(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&]uh1jyhj ubjz)}(hhh]h)}(hreceiving bilingual audioh]hreceiving bilingual audio}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jyhj ubeh}(h]h ]h"]h$]h&]uh1jthjqubju)}(hhh](jz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj# ubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj# ubjz)}(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&]uh1hhhhKhj8 ubah}(h]h ]h"]h$]h&]uh1jyhj# ubjz)}(hhh]h)}(h)receiving mono, stereo or bilingual audioh]h)receiving mono, stereo or bilingual audio}(hj[ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjX ubah}(h]h ]h"]h$]h&]uh1jyhj# ubeh}(h]h ]h"]h$]h&]uh1jthjqubju)}(hhh](jz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhju ubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhju ubjz)}(hhh](h)}(h :cspan:`1`h]h}(h]h ]h"]h$]h&]uh1hhhhKhj 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&]uh1hhhhKhj 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&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]morecolsKuh1jyhju ubeh}(h]h ]h"]h$]h&]uh1jthjqubju)}(hhh](jz)}(hhh]h)}(h__u32h]h__u32}(hj2 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj/ ubah}(h]h ]h"]h$]h&]uh1jyhj, ubjz)}(hhh]h)}(h ``audmode``h]j)}(hjK h]haudmode}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI ubah}(h]h ]h"]h$]h&]uh1hhhhKhjF ubah}(h]h ]h"]h$]h&]uh1jyhj, ubjz)}(hhh](h)}(h :cspan:`1`h]h}(h]h ]h"]h$]h&]uh1hhhhKhjf 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 }(hjs hhhNhNubh)}(h:ref:`tuner-audmode`h]j)}(hj} h]h tuner-audmode}(hj hhhNhNubah}(h]h ](jfstdstd-refeh"]h$]h&]uh1jhj{ ubah}(h]h ]h"]h$]h&]refdocjr refdomainj reftyperef refexplicitrefwarnj tuner-audmodeuh1hhhhKhjs ubhY for valid values. The audio mode does not affect audio subprogram detection, and like a }(hjs hhhNhNubh)}(h:ref:`control`h]j)}(hj h]hcontrol}(hj hhhNhNubah}(h]h ](jfstdstd-refeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocjr refdomainj reftyperef refexplicitrefwarnjcontroluh1hhhhKhjs ubh[ it does not automatically change unless the requested mode is invalid or unsupported. See }(hjs hhhNhNubh)}(h:ref:`tuner-matrix`h]j)}(hj h]h tuner-matrix}(hj hhhNhNubah}(h]h ](jfstdstd-refeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocjr refdomainj reftyperef refexplicitrefwarnj tuner-matrixuh1hhhhKhjs ubhQ for possible results when the selected and received audio programs do not match.}(hjs hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjf 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 ](jfjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocjr refdomainjreftypetype refexplicitrefwarnjxj|j v4l2_tuneruh1hhhhKhj ubh applications can change.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjf ubeh}(h]h ]h"]h$]h&]morecolsKuh1jyhj, ubeh}(h]h ]h"]h$]h&]uh1jthjqubju)}(hhh](jz)}(hhh]h)}(h__u32h]h__u32}(hj1 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj. ubah}(h]h ]h"]h$]h&]uh1jyhj+ ubjz)}(hhh]h)}(h ``signal``h]j)}(hjJ h]hsignal}(hjL hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH ubah}(h]h ]h"]h$]h&]uh1hhhhKhjE ubah}(h]h ]h"]h$]h&]uh1jyhj+ ubjz)}(hhh](h)}(h(:cspan:`1` The signal strength if known.h]h The signal strength if known.}(hjh hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhje 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.}(hjv hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhje ubeh}(h]h ]h"]h$]h&]morecolsKuh1jyhj+ ubeh}(h]h ]h"]h$]h&]uh1jthjqubju)}(hhh](jz)}(hhh]h)}(h__s32h]h__s32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(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&]uh1jyhj ubjz)}(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&]morecolsKuh1jyhj ubeh}(h]h ]h"]h$]h&]uh1jthjqubju)}(hhh](jz)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(hhh]h)}(h``reserved``\ [4]h](j)}(h ``reserved``h]hreserved}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh [4]}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj#ubah}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(hhh](h)}(h*:cspan:`1` Reserved for future extensions.h]h Reserved for future extensions.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjHubh)}(h4Drivers and applications must set the array to zero.h]h4Drivers and applications must set the array to zero.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjHubeh}(h]h ]h"]h$]h&]morecolsKuh1jyhj ubeh}(h]h ]h"]h$]h&]uh1jthjqubeh}(h]h ]h"]h$]h&]uh1johjBubeh}(h]h ]h"]h$]h&]colsKuh1j@hj/ubeh}(h]id3ah ] longtableah"]h$]h&]uh1j-hjhhhNhNubj)}(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](j2V4L.v4l2_tuner_type (C type)c.V4L.v4l2_tuner_typehNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(hv4l2_tuner_typeh]jB)}(htype v4l2_tuner_typeh](j)}(hjh]htype}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhhKubjH)}(hv4l2_tuner_typeh]jN)}(hjh]hv4l2_tuner_type}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhjubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjhhhhhKubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjhhhhhKubah}(h]jah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhKhjhhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjhhhhhKubeh}(h]h ](jtypeeh"]h$]h&]jjjjjjjjjuh1j6hhhjhNhNubj.)}(hhh](h)}(henum v4l2_tuner_typeh]henum v4l2_tuner_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubjA)}(hhh](jF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhj ubjF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhj ubjF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhj ubjp)}(hhh](ju)}(hhh](jz)}(hhh]h)}(h``V4L2_TUNER_RADIO``h]j)}(hj7h]hV4L2_TUNER_RADIO}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhhhKhj2ubah}(h]h ]h"]h$]h&]uh1jyhj/ubjz)}(hhh]h)}(h1h]h1}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjRubah}(h]h ]h"]h$]h&]uh1jyhj/ubjz)}(hhh]h)}(hTuner supports radioh]hTuner supports radio}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjiubah}(h]h ]h"]h$]h&]uh1jyhj/ubeh}(h]h ]h"]h$]h&]uh1jthj,ubju)}(hhh](jz)}(hhh]h)}(h``V4L2_TUNER_ANALOG_TV``h]j)}(hjh]hV4L2_TUNER_ANALOG_TV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(hhh]h)}(h2h]h2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(hhh]h)}(hTuner supports analog TVh]hTuner supports analog TV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthj,ubju)}(hhh](jz)}(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&]uh1jyhjubjz)}(hhh]h)}(h4h]h4}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(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&]uh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthj,ubju)}(hhh](jz)}(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&]uh1hhhhKhj7ubah}(h]h ]h"]h$]h&]uh1jyhj4ubjz)}(hhh]h)}(h5h]h5}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjWubah}(h]h ]h"]h$]h&]uh1jyhj4ubjz)}(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&]uh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthjubju)}(hhh](jz)}(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&]uh1jyhjubjz)}(hhh]h)}(h0x0800h]h0x0800}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hj5ubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(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 }(hjOhhhNhNubh)}(h:ref:`VIDIOC_S_HW_FREQ_SEEK`h]j)}(hjYh]hVIDIOC_S_HW_FREQ_SEEK}(hj[hhhNhNubah}(h]h ](jfstdstd-refeh"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]refdocjr refdomainjereftyperef refexplicitrefwarnjvidioc_s_hw_freq_seekuh1hhhhM!hjOubh for details.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM!hjLubah}(h]h ]h"]h$]h&]uh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthjubju)}(hhh](jz)}(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%hjubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(hhh]h)}(h0x1000h]h0x1000}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM&hjubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(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&]uh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthjubeh}(h]h ]h"]h$]h&]uh1johjubeh}(h]h ]h"]h$]h&]colsKuh1j@hjubeh}(h](id5jeh ] longtableah"]tuner-capabilityah$]h&]uh1j-hjhhhNhNexpect_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&]hԌtuner-rxsubchansuh1hhM-hjhhhhubj.)}(hhh](h)}(hTuner Audio Reception Flagsh]hTuner Audio Reception Flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM/hjubjA)}(hhh](jF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhj$ubjF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhj$ubjF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhj$ubjp)}(hhh](ju)}(hhh](jz)}(hhh]h)}(h``V4L2_TUNER_SUB_MONO``h]j)}(hjPh]hV4L2_TUNER_SUB_MONO}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhhhM4hjKubah}(h]h ]h"]h$]h&]uh1jyhjHubjz)}(hhh]h)}(h0x0001h]h0x0001}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM5hjkubah}(h]h ]h"]h$]h&]uh1jyhjHubjz)}(hhh]h)}(h'The tuner receives a mono audio signal.h]h'The tuner receives a mono audio signal.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM6hjubah}(h]h ]h"]h$]h&]uh1jyhjHubeh}(h]h ]h"]h$]h&]uh1jthjEubju)}(hhh](jz)}(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&]uh1jyhjubjz)}(hhh]h)}(h0x0002h]h0x0002}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM8hjubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(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&]uh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthjEubju)}(hhh](jz)}(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&]uh1jyhjubjz)}(hhh]h)}(h0x0008h]h0x0008}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM;hjubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(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 }(hj3hhhNhNubj)}(h``V4L2_STD_NTSC_M``h]hV4L2_STD_NTSC_M}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM<hj0ubah}(h]h ]h"]h$]h&]uh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthjEubju)}(hhh](jz)}(hhh]h)}(h``V4L2_TUNER_SUB_LANG2``h]j)}(hjgh]hV4L2_TUNER_SUB_LANG2}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1hhhhM?hjbubah}(h]h ]h"]h$]h&]uh1jyhj_ubjz)}(hhh]h)}(h0x0004h]h0x0004}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM@hjubah}(h]h ]h"]h$]h&]uh1jyhj_ubjz)}(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&]uh1jyhj_ubeh}(h]h ]h"]h$]h&]uh1jthjEubju)}(hhh](jz)}(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&]uh1jyhjubjz)}(hhh]h)}(h0x0004h]h0x0004}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMDhjubah}(h]h ]h"]Uvh$]h&]uh1jyhjubjz)}(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&]uh1hhhhMEhjubj%)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``V4L2_TUNER_SUB_SAP``h]hV4L2_TUNER_SUB_SAP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh flags are synonyms. The }(hjhhhNhNubj)}(h``V4L2_TUNER_SUB_SAP``h]hV4L2_TUNER_SUB_SAP}(hj1hhhNhNubah}(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}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMIhjubah}(h]h ]h"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]uh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthjEubju)}(hhh](jz)}(hhh]h)}(h``V4L2_TUNER_SUB_RDS``h]j)}(hjuh]hV4L2_TUNER_SUB_RDS}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhhhMLhjpubah}(h]h ]h"]h$]h&]uh1jyhjmubjz)}(hhh]h)}(h0x0010h]h0x0010}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMMhjubah}(h]h ]h"]h$]h&]uh1jyhjmubjz)}(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&]uh1jyhjmubeh}(h]h ]h"]h$]h&]uh1jthjEubeh}(h]h ]h"]h$]h&]uh1johj$ubeh}(h]h ]h"]h$]h&]colsKuh1j@hjubeh}(h](id6jeh ]h"]tuner-rxsubchansah$]h&]uh1j-hjhhhNhNj}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&]uh1hhhhMUhjubjA)}(hhh](jF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhjubjF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhjubjF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhjubjp)}(hhh](ju)}(hhh](jz)}(hhh]h)}(h``V4L2_TUNER_MODE_MONO``h]j)}(hj-h]hV4L2_TUNER_MODE_MONO}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1hhhhMZhj(ubah}(h]h ]h"]h$]h&]uh1jyhj%ubjz)}(hhh]h)}(h0h]h0}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM[hjHubah}(h]h ]h"]h$]h&]uh1jyhj%ubjz)}(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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM\hj_ubah}(h]h ]h"]h$]h&]uh1jyhj%ubeh}(h]h ]h"]h$]h&]uh1jthj"ubju)}(hhh](jz)}(hhh]h)}(h``V4L2_TUNER_MODE_STEREO``h]j)}(hjh]hV4L2_TUNER_MODE_STEREO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhM_hjubah}(h]h ]h"]h$]h&]uh1jyhj|ubjz)}(hhh]h)}(hjWh]h1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM`hjubah}(h]h ]h"]h$]h&]uh1jyhj|ubjz)}(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&]uh1jyhj|ubeh}(h]h ]h"]h$]h&]uh1jthj"ubju)}(hhh](jz)}(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&]uh1jyhjubjz)}(hhh]h)}(h3h]h3}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMkhj5ubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(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 }(hjOhhhNhNubj)}(h``V4L2_TUNER_ANALOG_TV``h]hV4L2_TUNER_ANALOG_TV}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh tuners support this mode.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMlhjLubah}(h]h ]h"]h$]h&]uh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthj"ubju)}(hhh](jz)}(hhh]h)}(h``V4L2_TUNER_MODE_LANG2``h]j)}(hjh]hV4L2_TUNER_MODE_LANG2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMnhj~ubah}(h]h ]h"]h$]h&]uh1jyhj{ubjz)}(hhh]h)}(hjh]h2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMohjubah}(h]h ]h"]h$]h&]uh1jyhj{ubjz)}(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&]uh1jyhj{ubeh}(h]h ]h"]h$]h&]uh1jthj"ubju)}(hhh](jz)}(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&]uh1jyhjubjz)}(hhh]h)}(hjh]h2}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMuhjubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(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 }(hjhhhNhNubj)}(h``V4L2_TUNER_ANALOG_TV``h]hV4L2_TUNER_ANALOG_TV}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh tuners support this mode.}(hjhhhNhNubeh}(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 }(hjChhhNhNubj)}(h``V4L2_TUNER_MODE_LANG2``h]hV4L2_TUNER_MODE_LANG2}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh and }(hjChhhNhNubj)}(h``V4L2_TUNER_MODE_SAP``h]hV4L2_TUNER_MODE_SAP}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh are synonyms.}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM{hj?ubah}(h]h ]h"]h$]h&]uh1j$hjubeh}(h]h ]h"]h$]h&]uh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthj"ubju)}(hhh](jz)}(hhh]h)}(h``V4L2_TUNER_MODE_LANG1_LANG2``h]j)}(hjh]hV4L2_TUNER_MODE_LANG1_LANG2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhM}hjubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(hhh]h)}(hjh]h4}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM~hjubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(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&]uh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthj"ubeh}(h]h ]h"]h$]h&]uh1johjubeh}(h]h ]h"]h$]h&]colsKuh1j@hjubeh}(h](id7jeh ]h"] tuner-audmodeah$]h&]uh1j-hjhhhNhNj}j%jsj}jjsubhraw)}(h \scriptsizeh]h \scriptsize}hj,sbah}(h]h ]h"]h$]h&]formatlatexhhuh1j*hhhMhjhhubj)}(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}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjQubjA)}(hhh](jF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhjbubjF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhjbubjF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhjbubjF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhjbubjF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhjbubjF)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jEhjbubhthead)}(hhh](ju)}(hhh](jz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjubjz)}(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&]morecolsKuh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthjubju)}(hhh](jz)}(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&]uh1jyhjubjz)}(hhh]h)}(h``MONO``h]j)}(hj h]hMONO}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(hhh]h)}(h ``STEREO``h]j)}(hj+h]hSTEREO}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1hhhhMhj&ubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(hhh]h)}(h ``LANG1``h]j)}(hjKh]hLANG1}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhhhMhjFubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(hhh]h)}(h``LANG2 = SAP``h]j)}(hjkh]h LANG2 = SAP}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hhhhMhjfubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(hhh]h)}(h``LANG1_LANG2``\ [#f1]_h](j)}(h``LANG1_LANG2``h]h LANG1_LANG2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh }(hjhhhNhNubhfootnote_reference)}(h[#f1]_h]h1}(hjhhhNhNubah}(h]id1ah ]h"]h$]h&]autoKhԌf1docnamejruh1jhjresolvedKubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthjubeh}(h]h ]h"]h$]h&]uh1jhjbubjp)}(hhh](ju)}(hhh](jz)}(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&]uh1jyhjubjz)}(hhh]h)}(hMonoh]hMono}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(hhh]h)}(h Mono/Monoh]h Mono/Mono}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(hhh]h)}(hMonoh]hMono}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(hhh]h)}(hMonoh]hMono}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj7ubah}(h]h ]h"]h$]h&]uh1jyhjubjz)}(hhh]h)}(h Mono/Monoh]h Mono/Mono}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjNubah}(h]h ]h"]h$]h&]uh1jyhjubeh}(h]h ]h"]h$]h&]uh1jthjubju)}(hhh](jz)}(hhh]h)}(h``MONO | SAP``h]j)}(hjsh]h MONO | SAP}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhhhMhjnubah}(h]h ]h"]h$]h&]uh1jyhjkubjz)}(hhh]h)}(hMonoh]hMono}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jyhjkubjz)}(hhh]h)}(h Mono/Monoh]h Mono/Mono}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jyhjkubjz)}(hhh]h)}(hMonoh]hMono}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jyhjkubjz)}(hhh]h)}(hSAPh]hSAP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jyhjkubjz)}(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&]uh1jyhjkubeh}(h]h ]h"]h$]h&]uh1jthjubju)}(hhh](jz)}(hhh]h)}(h ``STEREO``h]j)}(hj h]hSTEREO}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(hhh]h)}(hL+Rh]hL+R}(hj- hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj* ubah}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(hhh]h)}(hL/Rh]hL/R}(hjD hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjA ubah}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(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&]uh1hhhhMhjX ubah}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(hhh]h)}(h"Stereo L/R (preferred) or Mono L+Rh]h"Stereo L/R (preferred) or Mono L+R}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjo ubah}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(hhh]h)}(hL/R (preferred) or L+R/L+Rh]hL/R (preferred) or L+R/L+R}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jyhj ubeh}(h]h ]h"]h$]h&]uh1jthjubju)}(hhh](jz)}(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&]uh1jyhj ubjz)}(hhh]h)}(hL+Rh]hL+R}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(hhh]h)}(hL/Rh]hL/R}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(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&]uh1jyhj ubjz)}(hhh]h)}(hSAPh]hSAP}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj !ubah}(h]h ]h"]h$]h&]uh1jyhj ubjz)}(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&]uh1jyhj ubeh}(h]h ]h"]h$]h&]uh1jthjubju)}(hhh](jz)}(hhh]h)}(h``LANG1 | LANG2``h]j)}(hjG!h]h LANG1 | LANG2}(hjI!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE!ubah}(h]h ]h"]h$]h&]uh1hhhhMhjB!ubah}(h]h ]h"]h$]h&]uh1jyhj?!ubjz)}(hhh]h)}(h Language 1h]h Language 1}(hje!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjb!ubah}(h]h ]h"]h$]h&]uh1jyhj?!ubjz)}(hhh]h)}(h/Lang1/Lang2 (deprecated\ [#f2]_) or Lang1/Lang1h](hLang1/Lang2 (deprecated }(hj|!hhhNhNubj)}(h[#f2]_h]h2}(hj!hhhNhNubah}(h]id2ah ]h"]h$]h&]jKhԌf2jjruh1jhj|!jKubh) or Lang1/Lang1}(hj|!hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjy!ubah}(h]h ]h"]h$]h&]uh1jyhj?!ubjz)}(hhh]h)}(h Language 1h]h Language 1}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj!ubah}(h]h ]h"]h$]h&]uh1jyhj?!ubjz)}(hhh]h)}(h Language 2h]h Language 2}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj!ubah}(h]h ]h"]h$]h&]uh1jyhj?!ubjz)}(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&]uh1jyhj?!ubeh}(h]h ]h"]h$]h&]uh1jthjubeh}(h]h ]h"]h$]h&]uh1johjbubeh}(h]h ]h"]h$]h&]colsKuh1j@hjQubeh}(h](id8jPeh ]h"] tuner-matrixah$]h&]uh1j-hjhhhNhNj}j"jFsj}jPjFsubj+)}(h \normalsizeh]h \normalsize}hj"sbah}(h]h ]h"]h$]h&]formatlatexhhuh1j*hhhMhjhhubeh}(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}(hj7"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)}(hjK"h]hGeneric Error Codes}(hjM"hhhNhNubah}(h]h ](jfstdstd-refeh"]h$]h&]uh1jhjI"ubah}(h]h ]h"]h$]h&]refdocjr refdomainjW"reftyperef refexplicitrefwarnj 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](j3)}(hEINVALh]hEINVAL}(hjz"hhhNhNubah}(h]h ]h"]h$]h&]uh1j2hhhMhjv"ubjL)}(hhh]h)}(h;The struct :c:type:`v4l2_tuner` ``index`` is out of bounds.h](h The struct }(hj"hhhNhNubh)}(h:c:type:`v4l2_tuner`h]j)}(hj"h]h v4l2_tuner}(hj"hhhNhNubah}(h]h ](jfjc-typeeh"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]refdocjr refdomainjreftypetype refexplicitrefwarnjxj|j v4l2_tuneruh1hhhhMhj"ubh }(hj"hhhNhNubj)}(h ``index``h]hindex}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh is out of bounds.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj"ubah}(h]h ]h"]h$]h&]uh1jKhjv"ubeh}(h]h ]h"]h$]h&]uh1j,hhhMhjs"ubah}(h]h ]h"]h$]h&]uh1j'hj"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&]jajKjjruh1j"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}(hj5#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&]j!ajKjjruh1j"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}jb#hsj}hhsubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjyfootnote_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_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}(f1]jaf2]j!aurefids}(h]haj]jaj]jaj]jajP]jFaj]jaj!]j!aunameids}(jb#hja#j^#jjjjjjj"j"jjjjj%jj"jPjY#jV#j#jjQ#j!u nametypes}(jb#ja#jjjj"jjj%j"jY#j#jQ#uh}(hhj^#hjhjjj4j=jjjjj"jjjjjjjjjjjjPjQjjj!j!jV#j"jj"j!j #jj/jjjjjjj"jj!jQu footnote_refs}(j#]jaj#]j!au citation_refs} autofootnotes](j"j #eautofootnote_refs](jj!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&]levelKtypeINFOsourcehnjlineKuh1j#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$sourcehnjlineKuh1j#ubj#)}(hhh]h)}(hhh]h6Hyperlink target "tuner-rxsubchans" is not referenced.}hj4$sbah}(h]h ]h"]h$]h&]uh1hhj1$ubah}(h]h ]h"]h$]h&]levelKtypej$sourcehnjlineM-uh1j#ubj#)}(hhh]h)}(hhh]h3Hyperlink target "tuner-audmode" is not referenced.}hjN$sbah}(h]h ]h"]h$]h&]uh1hhjK$ubah}(h]h ]h"]h$]h&]levelKtypej$sourcehnjlineMSuh1j#ubj#)}(hhh]h)}(hhh]h2Hyperlink target "tuner-matrix" is not referenced.}hjh$sbah}(h]h ]h"]h$]h&]uh1hhje$ubah}(h]h ]h"]h$]h&]levelKtypej$sourcehnjlineMuh1j#ube transformerN include_log] decorationNhhub.