€•ypŒsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ>/translations/zh_CN/userspace-api/media/v4l/vidioc-g-frequency”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ>/translations/zh_TW/userspace-api/media/v4l/vidioc-g-frequency”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ>/translations/it_IT/userspace-api/media/v4l/vidioc-g-frequency”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ>/translations/ja_JP/userspace-api/media/v4l/vidioc-g-frequency”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ>/translations/ko_KR/userspace-api/media/v4l/vidioc-g-frequency”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ>/translations/pt_BR/userspace-api/media/v4l/vidioc-g-frequency”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ>/translations/sp_SP/userspace-api/media/v4l/vidioc-g-frequency”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later”h]”hŒ8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later”…””}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³ŒX/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-g-frequency.rst”h´KubhŒtarget”“”)”}”(hŒ.. _VIDIOC_G_FREQUENCY:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œvidioc-g-frequency”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ,ioctl VIDIOC_G_FREQUENCY, VIDIOC_S_FREQUENCY”h]”hŒ,ioctl VIDIOC_G_FREQUENCY, VIDIOC_S_FREQUENCY”…””}”(hhÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒName”h]”hŒName”…””}”(hhîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhëh²hh³hÇh´K ubhŒ paragraph”“”)”}”(hŒWVIDIOC_G_FREQUENCY - VIDIOC_S_FREQUENCY - Get or set tuner or modulator radio frequency”h]”hŒWVIDIOC_G_FREQUENCY - VIDIOC_S_FREQUENCY - Get or set tuner or modulator radio frequency”…””}”(hhþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K hhëh²hubeh}”(h]”Œname”ah ]”h"]”Œname”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K ubh×)”}”(hhh]”(hÜ)”}”(hŒSynopsis”h]”hŒSynopsis”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjh²hh³hÇh´KubhŒindex”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(Œsingle”Œ V4L.VIDIOC_G_FREQUENCY (C macro)”Œc.V4L.VIDIOC_G_FREQUENCY”hNt”auh1j%hjh²hh³Nh´NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒVIDIOC_G_FREQUENCY”h]”hŒdesc_signature_line”“”)”}”(hŒVIDIOC_G_FREQUENCY”h]”hŒ desc_name”“”)”}”(hŒVIDIOC_G_FREQUENCY”h]”hŒ desc_sig_name”“”)”}”(hj?h]”hŒVIDIOC_G_FREQUENCY”…””}”(hjOh²hh³Nh´Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1jMhjIubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”hÅhÆuh1jGhjCh²hh³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆŒ add_permalink”ˆuh1jAŒsphinx_line_type”Œ declarator”hj=h²hh³hÇh´Kubah}”(h]”j4ah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1j;h³hÇh´Khj8h²hubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jyhj8h²hh³hÇh´Kubeh}”(h]”h ]”(Œc”Œmacro”eh"]”h$]”h&]”Œdomain”j‡Œobjtype”jˆŒdesctype”jˆŒnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1j6h²hhjh³Nh´Nubhý)”}”(hŒF``int ioctl(int fd, VIDIOC_G_FREQUENCY, struct v4l2_frequency *argp)``”h]”hŒliteral”“”)”}”(hj”h]”hŒBint ioctl(int fd, VIDIOC_G_FREQUENCY, struct v4l2_frequency *argp)”…””}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj’ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khjh²hubj&)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(j2Œ V4L.VIDIOC_S_FREQUENCY (C macro)”Œc.V4L.VIDIOC_S_FREQUENCY”hNt”auh1j%hjh²hh³Nh´Nubj7)”}”(hhh]”(j<)”}”(hŒVIDIOC_S_FREQUENCY”h]”jB)”}”(hŒVIDIOC_S_FREQUENCY”h]”jH)”}”(hŒVIDIOC_S_FREQUENCY”h]”jN)”}”(hj¾h]”hŒVIDIOC_S_FREQUENCY”…””}”(hjÈh²hh³Nh´Nubah}”(h]”h ]”jYah"]”h$]”h&]”uh1jMhjÄubah}”(h]”h ]”(j`jaeh"]”h$]”h&]”hÅhÆuh1jGhjÀh²hh³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆjkˆuh1jAjljmhj¼h²hh³hÇh´Kubah}”(h]”j·ah ]”(jqjreh"]”h$]”h&]”jvˆjw)jxhuh1j;h³hÇh´Khj¹h²hubjz)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jyhj¹h²hh³hÇh´Kubeh}”(h]”h ]”(j‡Œmacro”eh"]”h$]”h&]”jŒj‡jjójŽjój‰j‰j‘‰uh1j6h²hhjh³Nh´Nubhý)”}”(hŒL``int ioctl(int fd, VIDIOC_S_FREQUENCY, const struct v4l2_frequency *argp)``”h]”j—)”}”(hjùh]”hŒHint ioctl(int fd, VIDIOC_S_FREQUENCY, const struct v4l2_frequency *argp)”…””}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khjh²hubeh}”(h]”Œsynopsis”ah ]”h"]”Œsynopsis”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒ Arguments”h]”hŒ Arguments”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjh²hh³hÇh´KubhŒdefinition_list”“”)”}”(hhh]”(hŒdefinition_list_item”“”)”}”(hŒ5``fd`` File descriptor returned by :c:func:`open()`. ”h]”(hŒterm”“”)”}”(hŒ``fd``”h]”j—)”}”(hj6h]”hŒfd”…””}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´Khj.ubhŒ definition”“”)”}”(hhh]”hý)”}”(hŒ-File descriptor returned by :c:func:`open()`.”h]”(hŒFile descriptor returned by ”…””}”(hjPh²hh³Nh´Nubh)”}”(hŒ:c:func:`open()`”h]”j—)”}”(hjZh]”hŒopen()”…””}”(hj\h²hh³Nh´Nubah}”(h]”h ]”(Œxref”j‡Œc-func”eh"]”h$]”h&]”uh1j–hjXubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ*userspace-api/media/v4l/vidioc-g-frequency”Œ refdomain”j‡Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰Œ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”jyŒ ASTIdentifier”“”)”}”Œ identifier”ŒV4L”sbN†”asbŒ reftarget”Œopen”uh1hh³hÇh´KhjPubhŒ.”…””}”(hjPh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KhjMubah}”(h]”h ]”h"]”h$]”h&]”uh1jKhj.ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´Khj)ubj-)”}”(hŒ5``argp`` Pointer to struct :c:type:`v4l2_frequency`. ”h]”(j3)”}”(hŒ``argp``”h]”j—)”}”(hj¥h]”hŒargp”…””}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj£ubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´K!hjŸubjL)”}”(hhh]”hý)”}”(hŒ+Pointer to struct :c:type:`v4l2_frequency`.”h]”(hŒPointer to struct ”…””}”(hj½h²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_frequency`”h]”j—)”}”(hjÇh]”hŒv4l2_frequency”…””}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hjÅubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œv4l2_frequency”uh1hh³hÇh´K!hj½ubhŒ.”…””}”(hj½h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K!hjºubah}”(h]”h ]”h"]”h$]”h&]”uh1jKhjŸubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´K!hj)h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j'hjh²hh³hÇh´Nubeh}”(h]”Œ arguments”ah ]”h"]”Œ arguments”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒ Description”h]”hŒ Description”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjh²hh³hÇh´K$ubhý)”}”(hXºTo get the current tuner or modulator radio frequency applications set the ``tuner`` field of a struct :c:type:`v4l2_frequency` to the respective tuner or modulator number (only input devices have tuners, only output devices have modulators), zero out the ``reserved`` array and call the :ref:`VIDIOC_G_FREQUENCY ` ioctl with a pointer to this structure. The driver stores the current frequency in the ``frequency`` field.”h]”(hŒKTo get the current tuner or modulator radio frequency applications set the ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ ``tuner``”h]”hŒtuner”…””}”(hj!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ field of a struct ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_frequency`”h]”j—)”}”(hj5h]”hŒv4l2_frequency”…””}”(hj7h²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hj3ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œv4l2_frequency”uh1hh³hÇh´K&hjubhŒ to the respective tuner or modulator number (only input devices have tuners, only output devices have modulators), zero out the ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ ``reserved``”h]”hŒreserved”…””}”(hjVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ array and call the ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ.:ref:`VIDIOC_G_FREQUENCY `”h]”hŒinline”“”)”}”(hjjh]”hŒVIDIOC_G_FREQUENCY”…””}”(hjnh²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jlhjhubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”jxŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œvidioc_g_frequency”uh1hh³hÇh´K&hjubhŒX ioctl with a pointer to this structure. The driver stores the current frequency in the ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ ``frequency``”h]”hŒ frequency”…””}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ field.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K&hjh²hubhý)”}”(hXýTo change the current tuner or modulator radio frequency applications initialize the ``tuner``, ``type`` and ``frequency`` fields, and the ``reserved`` array of a struct :c:type:`v4l2_frequency` and call the :ref:`VIDIOC_S_FREQUENCY ` ioctl with a pointer to this structure. When the requested frequency is not possible the driver assumes the closest possible value. However :ref:`VIDIOC_S_FREQUENCY ` is a write-only ioctl, it does not return the actual new frequency.”h]”(hŒUTo change the current tuner or modulator radio frequency applications initialize the ”…””}”(hj¦h²hh³Nh´Nubj—)”}”(hŒ ``tuner``”h]”hŒtuner”…””}”(hj®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj¦ubhŒ, ”…””}”(hj¦h²hh³Nh´Nubj—)”}”(hŒ``type``”h]”hŒtype”…””}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj¦ubhŒ and ”…””}”(hj¦h²hh³Nh´Nubj—)”}”(hŒ ``frequency``”h]”hŒ frequency”…””}”(hjÒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj¦ubhŒ fields, and the ”…””}”(hj¦h²hh³Nh´Nubj—)”}”(hŒ ``reserved``”h]”hŒreserved”…””}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj¦ubhŒ array of a struct ”…””}”(hj¦h²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_frequency`”h]”j—)”}”(hjøh]”hŒv4l2_frequency”…””}”(hjúh²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hjöubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œv4l2_frequency”uh1hh³hÇh´K.hj¦ubhŒ and call the ”…””}”(hj¦h²hh³Nh´Nubh)”}”(hŒ.:ref:`VIDIOC_S_FREQUENCY `”h]”jm)”}”(hjh]”hŒVIDIOC_S_FREQUENCY”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jlhjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j'Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œvidioc_g_frequency”uh1hh³hÇh´K.hj¦ubhŒ ioctl with a pointer to this structure. When the requested frequency is not possible the driver assumes the closest possible value. However ”…””}”(hj¦h²hh³Nh´Nubh)”}”(hŒ.:ref:`VIDIOC_S_FREQUENCY `”h]”jm)”}”(hj?h]”hŒVIDIOC_S_FREQUENCY”…””}”(hjAh²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jlhj=ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”jKŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œvidioc_g_frequency”uh1hh³hÇh´K.hj¦ubhŒD is a write-only ioctl, it does not return the actual new frequency.”…””}”(hj¦h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K.hjh²hubhŒtabular_col_spec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œspec”Œ|p{4.4cm}|p{4.4cm}|p{8.5cm}|”uh1jgh³hÇh´K6hjh²hubj&)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(j2ŒV4L.v4l2_frequency (C type)”Œc.V4L.v4l2_frequency”hNt”auh1j%hjh²hh³Nh´Nubj7)”}”(hhh]”(j<)”}”(hŒv4l2_frequency”h]”jB)”}”(hŒtype v4l2_frequency”h]”(hŒdesc_sig_keyword”“”)”}”(hŒtype”h]”hŒtype”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”Œk”ah"]”h$]”h&]”uh1jhj‰h²hh³hÇh´K8ubhŒdesc_sig_space”“”)”}”(hŒ ”h]”hŒ ”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”Œw”ah"]”h$]”h&]”uh1jžhj‰h²hh³hÇh´K8ubjH)”}”(hŒv4l2_frequency”h]”jN)”}”(hj‡h]”hŒv4l2_frequency”…””}”(hj³h²hh³Nh´Nubah}”(h]”h ]”jYah"]”h$]”h&]”uh1jMhj¯ubah}”(h]”h ]”(j`jaeh"]”h$]”h&]”hÅhÆuh1jGhj‰h²hh³hÇh´K8ubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆjkˆuh1jAjljmhj…h²hh³hÇh´K8ubah}”(h]”j€ah ]”(jqjreh"]”h$]”h&]”jvˆjw)jxhuh1j;h³hÇh´K8hj‚h²hubjz)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jyhj‚h²hh³hÇh´K8ubeh}”(h]”h ]”(j‡Œtype”eh"]”h$]”h&]”jŒj‡jjÞjŽjÞj‰j‰j‘‰uh1j6h²hhjh³Nh´NubhŒtable”“”)”}”(hhh]”(hÜ)”}”(hŒstruct v4l2_frequency”h]”hŒstruct v4l2_frequency”…””}”(hjçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛh³hÇh´K:hjäubhŒtgroup”“”)”}”(hhh]”(hŒcolspec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1júhj÷ubjû)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1júhj÷ubjû)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1júhj÷ubhŒtbody”“”)”}”(hhh]”(hŒrow”“”)”}”(hhh]”(hŒentry”“”)”}”(hhh]”hý)”}”(hŒ__u32”h]”hŒ__u32”…””}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K?hj&ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj!ubj%)”}”(hhh]”hý)”}”(hŒ ``tuner``”h]”j—)”}”(hjBh]”hŒtuner”…””}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj@ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K@hj=ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj!ubj%)”}”(hhh]”hý)”}”(hXThe tuner or modulator index number. This is the same value as in the struct :c:type:`v4l2_input` ``tuner`` field and the struct :c:type:`v4l2_tuner` ``index`` field, or the struct :c:type:`v4l2_output` ``modulator`` field and the struct :c:type:`v4l2_modulator` ``index`` field.”h]”(hŒMThe tuner or modulator index number. This is the same value as in the struct ”…””}”(hj`h²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_input`”h]”j—)”}”(hjjh]”hŒ v4l2_input”…””}”(hjlh²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hjhubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œ v4l2_input”uh1hh³hÇh´KAhj`ubhŒ ”…””}”(hj`h²hh³Nh´Nubj—)”}”(hŒ ``tuner``”h]”hŒtuner”…””}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj`ubhŒ field and the struct ”…””}”(hj`h²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_tuner`”h]”j—)”}”(hjŸh]”hŒ v4l2_tuner”…””}”(hj¡h²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œ v4l2_tuner”uh1hh³hÇh´KAhj`ubhŒ ”…””}”hj`sbj—)”}”(hŒ ``index``”h]”hŒindex”…””}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj`ubhŒ field, or the struct ”…””}”(hj`h²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_output`”h]”j—)”}”(hjÔh]”hŒ v4l2_output”…””}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hjÒubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œ v4l2_output”uh1hh³hÇh´KAhj`ubhŒ ”…””}”hj`sbj—)”}”(hŒ ``modulator``”h]”hŒ modulator”…””}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj`ubhŒ field and the struct ”…””}”(hj`h²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_modulator`”h]”j—)”}”(hj h]”hŒv4l2_modulator”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œv4l2_modulator”uh1hh³hÇh´KAhj`ubhŒ ”…””}”hj`sbj—)”}”(hŒ ``index``”h]”hŒindex”…””}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj`ubhŒ field.”…””}”(hj`h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KAhj]ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj!ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj )”}”(hhh]”(j%)”}”(hhh]”hý)”}”(hŒ__u32”h]”hŒ__u32”…””}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KGhjQubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjNubj%)”}”(hhh]”hý)”}”(hŒ``type``”h]”j—)”}”(hjmh]”hŒtype”…””}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjkubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KHhjhubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjNubj%)”}”(hhh]”hý)”}”(hX`The tuner type. This is the same value as in the struct :c:type:`v4l2_tuner` ``type`` field. The type must be set to ``V4L2_TUNER_RADIO`` for ``/dev/radioX`` device nodes, and to ``V4L2_TUNER_ANALOG_TV`` for all others. Set this field to ``V4L2_TUNER_RADIO`` for modulators (currently only radio modulators are supported). See :c:type:`v4l2_tuner_type`”h]”(hŒ8The tuner type. This is the same value as in the struct ”…””}”(hj‹h²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_tuner`”h]”j—)”}”(hj•h]”hŒ v4l2_tuner”…””}”(hj—h²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hj“ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œ v4l2_tuner”uh1hh³hÇh´KIhj‹ubhŒ ”…””}”(hj‹h²hh³Nh´Nubj—)”}”(hŒ``type``”h]”hŒtype”…””}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj‹ubhŒ field. The type must be set to ”…””}”(hj‹h²hh³Nh´Nubj—)”}”(hŒ``V4L2_TUNER_RADIO``”h]”hŒV4L2_TUNER_RADIO”…””}”(hjÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj‹ubhŒ for ”…””}”(hj‹h²hh³Nh´Nubj—)”}”(hŒ``/dev/radioX``”h]”hŒ /dev/radioX”…””}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj‹ubhŒ device nodes, and to ”…””}”(hj‹h²hh³Nh´Nubj—)”}”(hŒ``V4L2_TUNER_ANALOG_TV``”h]”hŒV4L2_TUNER_ANALOG_TV”…””}”(hjìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj‹ubhŒ# for all others. Set this field to ”…””}”(hj‹h²hh³Nh´Nubj—)”}”(hŒ``V4L2_TUNER_RADIO``”h]”hŒV4L2_TUNER_RADIO”…””}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj‹ubhŒE for modulators (currently only radio modulators are supported). See ”…””}”(hj‹h²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_tuner_type`”h]”j—)”}”(hjh]”hŒv4l2_tuner_type”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œv4l2_tuner_type”uh1hh³hÇh´KIhj‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KIhjˆubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjNubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj )”}”(hhh]”(j%)”}”(hhh]”hý)”}”(hŒ__u32”h]”hŒ__u32”…””}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KOhjDubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjAubj%)”}”(hhh]”hý)”}”(hŒ ``frequency``”h]”j—)”}”(hj`h]”hŒ frequency”…””}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj^ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KPhj[ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjAubj%)”}”(hhh]”hý)”}”(hXTuning frequency in units of 62.5 kHz, or if the struct :c:type:`v4l2_tuner` or struct :c:type:`v4l2_modulator` ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units of 62.5 Hz. A 1 Hz unit is used when the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is set.”h]”(hŒ8Tuning frequency in units of 62.5 kHz, or if the struct ”…””}”(hj~h²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_tuner`”h]”j—)”}”(hjˆh]”hŒ v4l2_tuner”…””}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hj†ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œ v4l2_tuner”uh1hh³hÇh´KQhj~ubhŒ or struct ”…””}”(hj~h²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_modulator`”h]”j—)”}”(hj«h]”hŒv4l2_modulator”…””}”(hj­h²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hj©ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œv4l2_modulator”uh1hh³hÇh´KQhj~ubhŒ ”…””}”(hj~h²hh³Nh´Nubj—)”}”(hŒ``capability``”h]”hŒ capability”…””}”(hjÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj~ubhŒ flag ”…””}”(hj~h²hh³Nh´Nubj—)”}”(hŒ``V4L2_TUNER_CAP_LOW``”h]”hŒV4L2_TUNER_CAP_LOW”…””}”(hjÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj~ubhŒ; is set, in units of 62.5 Hz. A 1 Hz unit is used when the ”…””}”(hj~h²hh³Nh´Nubj—)”}”(hŒ``capability``”h]”hŒ capability”…””}”(hjðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj~ubhŒ flag ”…””}”(hj~h²hh³Nh´Nubj—)”}”(hŒ``V4L2_TUNER_CAP_1HZ``”h]”hŒV4L2_TUNER_CAP_1HZ”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj~ubhŒ is set.”…””}”(hj~h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KQhj{ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjAubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj )”}”(hhh]”(j%)”}”(hhh]”hý)”}”(hŒ__u32”h]”hŒ__u32”…””}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KVhj)ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj&ubj%)”}”(hhh]”hý)”}”(hŒ``reserved``\ [8]”h]”(j—)”}”(hŒ ``reserved``”h]”hŒreserved”…””}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjCubhŒ [8]”…””}”(hjCh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KWhj@ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj&ubj%)”}”(hhh]”hý)”}”(hŒTReserved for future extensions. Drivers and applications must set the array to zero.”h]”hŒTReserved for future extensions. Drivers and applications must set the array to zero.”…””}”(hjhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KXhjeubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hj&ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj÷ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jõhjäubeh}”(h]”Œid1”ah ]”h"]”h$]”h&]”uh1jâhjh²hh³Nh´Nubeh}”(h]”Œ description”ah ]”h"]”Œ description”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K$ubh×)”}”(hhh]”(hÜ)”}”(hŒ Return Value”h]”hŒ Return Value”…””}”(hj¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjžh²hh³hÇh´K\ubhý)”}”(hŒ´On 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¯h²hh³Nh´Nubj—)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hj·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj¯ubhŒM variable is set appropriately. The generic error codes are described at the ”…””}”(hj¯h²hh³Nh´Nubh)”}”(hŒ':ref:`Generic Error Codes `”h]”jm)”}”(hjËh]”hŒGeneric Error Codes”…””}”(hjÍh²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jlhjÉubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j׌reftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œ gen-errors”uh1hh³hÇh´K^hj¯ubhŒ chapter.”…””}”(hj¯h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K^hjžh²hubj()”}”(hhh]”(j-)”}”(hŒYEINVAL The ``tuner`` index is out of bounds or the value in the ``type`` field is wrong. ”h]”(j3)”}”(hŒEINVAL”h]”hŒEINVAL”…””}”(hjúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´KdhjöubjL)”}”(hhh]”hý)”}”(hŒQThe ``tuner`` index is out of bounds or the value in the ``type`` field is wrong.”h]”(hŒThe ”…””}”(hj h²hh³Nh´Nubj—)”}”(hŒ ``tuner``”h]”hŒtuner”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj ubhŒ, index is out of bounds or the value in the ”…””}”(hj h²hh³Nh´Nubj—)”}”(hŒ``type``”h]”hŒtype”…””}”(hj% h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj ubhŒ field is wrong.”…””}”(hj h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Kchj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jKhjöubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´Kdhjóubj-)”}”(hŒ%EBUSY A hardware seek is in progress.”h]”(j3)”}”(hŒEBUSY”h]”hŒEBUSY”…””}”(hjM h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´KfhjI ubjL)”}”(hhh]”hý)”}”(hŒA hardware seek is in progress.”h]”hŒA hardware seek is in progress.”…””}”(hj^ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Kghj[ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jKhjI ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´Kfhjóh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j'hjžh²hh³hÇh´Nubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K\ubeh}”(h]”(Œ+ioctl-vidioc-g-frequency-vidioc-s-frequency”hÕeh ]”h"]”(Œ,ioctl vidioc_g_frequency, vidioc_s_frequency”Œvidioc_g_frequency”eh$]”h&]”uh1hÖhhh²hh³hÇh´KŒexpect_referenced_by_name”}”jŒ hÊsŒexpect_referenced_by_id”}”hÕhÊsubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÇuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hÛNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”j$Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jµ Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÇŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”hÕ]”hÊasŒnameids”}”(jŒ hÕj‹ jˆ jjjjjjj›j˜jƒ j€ uŒ nametypes”}”(jŒ ˆj‹ ‰j‰j‰j‰j›‰jƒ ‰uh}”(hÕhØjˆ hØjhëjjj4j=j·j¼jjj˜jj€j…j€ jžj‘jäuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”jà Ks…”R”Œparse_messages”]”Œtransform_messages”]”hŒsystem_message”“”)”}”(hhh]”hý)”}”(hhh]”hŒ8Hyperlink target "vidioc-g-frequency" is not referenced.”…””}”hj sbah}”(h]”h ]”h"]”h$]”h&]”uh1hühj ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”hÇŒline”Kuh1j ubaŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.