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/driver-api/media/v4l2-tunermodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget//translations/zh_TW/driver-api/media/v4l2-tunermodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget//translations/it_IT/driver-api/media/v4l2-tunermodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget//translations/ja_JP/driver-api/media/v4l2-tunermodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget//translations/ko_KR/driver-api/media/v4l2-tunermodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget//translations/sp_SP/driver-api/media/v4l2-tunermodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h SPDX-License-Identifier: GPL-2.0h]h SPDX-License-Identifier: GPL-2.0}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhhI/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner.rsthKubhsection)}(hhh](htitle)}(h#Tuner functions and data structuresh]h#Tuner functions and data structures}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](singletuner_mode (C enum) c.tuner_modehNtauh1hhhhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhNubhdesc)}(hhh](hdesc_signature)}(h tuner_modeh]hdesc_signature_line)}(henum tuner_modeh](hdesc_sig_keyword)}(henumh]henum}(hhhhhNhNubah}(h]h ]kah"]h$]h&]uh1hhhhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKubhdesc_sig_space)}(h h]h }(hjhhhNhNubah}(h]h ]wah"]h$]h&]uh1hhhhhhhhKubh desc_name)}(h tuner_modeh]h desc_sig_name)}(hhh]h tuner_mode}(hjhhhNhNubah}(h]h ]nah"]h$]h&]uh1jhjubah}(h]h ](sig-namedescnameeh"]h$]h&]hhuh1jhhhhhhhKubeh}(h]h ]h"]h$]h&]hh add_permalinkuh1hsphinx_line_type declaratorhhhhhhhKubah}(h]hah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1hhhhKhhhhubh desc_content)}(hhh]h paragraph)}(hMode of the tunerh]hMode of the tuner}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jFh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjChhubah}(h]h ]h"]h$]h&]uh1jAhhhhhhhKubeh}(h]h ](cenumeh"]h$]h&]domainj`objtypejadesctypejanoindex noindexentrynocontentsentryuh1hhhhhhhhNubh container)}(hy**Constants** ``T_RADIO`` Tuner core will work in radio mode ``T_ANALOG_TV`` Tuner core will work in analog TV modeh](jG)}(h **Constants**h]hstrong)}(hjsh]h Constants}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1juhjqubah}(h]h ]h"]h$]h&]uh1jFh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjmubhdefinition_list)}(hhh](hdefinition_list_item)}(h/``T_RADIO`` Tuner core will work in radio mode h](hterm)}(h ``T_RADIO``h]hliteral)}(hjh]hT_RADIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjubh definition)}(hhh]jG)}(h"Tuner core will work in radio modeh]h"Tuner core will work in radio mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h6``T_ANALOG_TV`` Tuner core will work in analog TV modeh](j)}(h``T_ANALOG_TV``h]j)}(hjh]h T_ANALOG_TV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjubj)}(hhh]jG)}(h&Tuner core will work in analog TV modeh]h&Tuner core will work in analog TV mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jkhhhhhhhNubjG)}(h**Description**h]jv)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1juhjubah}(h]h ]h"]h$]h&]uh1jFh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhhhhubjG)}(hXOlder boards only had a single tuner device, but some devices have a separate tuner for radio. In any case, the tuner-core needs to know if the tuner chip(s) will be used in radio mode or analog TV mode, as, on radio mode, frequencies are specified on a different range than on TV mode. This enum is used by the tuner core in order to work with the proper tuner range and eventually use a different tuner chip while in radio mode.h]hXOlder boards only had a single tuner device, but some devices have a separate tuner for radio. In any case, the tuner-core needs to know if the tuner chip(s) will be used in radio mode or analog TV mode, as, on radio mode, frequencies are specified on a different range than on TV mode. This enum is used by the tuner core in order to work with the proper tuner range and eventually use a different tuner chip while in radio mode.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jFh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhhhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h֌tuner_setup (C struct) c.tuner_setuphNtauh1hhhhhhhhNubh)}(hhh](h)}(h tuner_setuph]h)}(hstruct tuner_setuph](h)}(hstructh]hstruct}(hjXhhhNhNubah}(h]h ]hah"]h$]h&]uh1hhjThhh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKubh)}(h h]h }(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1hhjThhhjfhKubj)}(h tuner_setuph]j)}(hjRh]h tuner_setup}(hjyhhhNhNubah}(h]h ]j!ah"]h$]h&]uh1jhjuubah}(h]h ](j(j)eh"]h$]h&]hhuh1jhjThhhjfhKubeh}(h]h ]h"]h$]h&]hhj3uh1hj4j5hjPhhhjfhKubah}(h]jKah ](j9j:eh"]h$]h&]j>j?)j@huh1hhjfhKhjMhhubjB)}(hhh]jG)}(hsetup the tuner chipsetsh]hsetup the tuner chipsets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jAhjMhhhjfhKubeh}(h]h ](j`structeh"]h$]h&]jej`jfjjgjjhjijjuh1hhhhhhhhNubjl)}(hX**Definition**:: struct tuner_setup { unsigned short addr; unsigned int type; unsigned int mode_mask; void *config; int (*tuner_callback)(void *dev, int component, int cmd, int arg); }; **Members** ``addr`` I2C address used to control the tuner device/chipset ``type`` Type of the tuner, as defined at the TUNER_* macros. Each different tuner model should have an unique identifier. ``mode_mask`` Mask with the allowed tuner modes: V4L2_TUNER_RADIO, V4L2_TUNER_ANALOG_TV and/or V4L2_TUNER_DIGITAL_TV, describing if the tuner should be used to support Radio, analog TV and/or digital TV. ``config`` Used to send tuner-specific configuration for complex tuners that require extra parameters to be set. Only a very few tuners require it and its usage on newer tuners should be avoided. ``tuner_callback`` Some tuners require to call back the bridge driver, in order to do some tasks like rising a GPIO at the bridge chipset, in order to do things like resetting the device.h](jG)}(h**Definition**::h](jv)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1juhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jFh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjubh literal_block)}(hstruct tuner_setup { unsigned short addr; unsigned int type; unsigned int mode_mask; void *config; int (*tuner_callback)(void *dev, int component, int cmd, int arg); };h]hstruct tuner_setup { unsigned short addr; unsigned int type; unsigned int mode_mask; void *config; int (*tuner_callback)(void *dev, int component, int cmd, int arg); };}hjsbah}(h]h ]h"]h$]h&]hhuh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjubjG)}(h **Members**h]jv)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1juhjubah}(h]h ]h"]h$]h&]uh1jFh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjubj)}(hhh](j)}(h>``addr`` I2C address used to control the tuner device/chipset h](j)}(h``addr``h]j)}(hj h]haddr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjubj)}(hhh]jG)}(h4I2C address used to control the tuner device/chipseth]h4I2C address used to control the tuner device/chipset}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhjhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h{``type`` Type of the tuner, as defined at the TUNER_* macros. Each different tuner model should have an unique identifier. h](j)}(h``type``h]j)}(hjCh]htype}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhj=ubj)}(hhh]jG)}(hqType of the tuner, as defined at the TUNER_* macros. Each different tuner model should have an unique identifier.h]hqType of the tuner, as defined at the TUNER_* macros. Each different tuner model should have an unique identifier.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jFh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhKhjubj)}(h``mode_mask`` Mask with the allowed tuner modes: V4L2_TUNER_RADIO, V4L2_TUNER_ANALOG_TV and/or V4L2_TUNER_DIGITAL_TV, describing if the tuner should be used to support Radio, analog TV and/or digital TV. h](j)}(h ``mode_mask``h]j)}(hj}h]h mode_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjwubj)}(hhh]jG)}(hMask with the allowed tuner modes: V4L2_TUNER_RADIO, V4L2_TUNER_ANALOG_TV and/or V4L2_TUNER_DIGITAL_TV, describing if the tuner should be used to support Radio, analog TV and/or digital TV.h]hMask with the allowed tuner modes: V4L2_TUNER_RADIO, V4L2_TUNER_ANALOG_TV and/or V4L2_TUNER_DIGITAL_TV, describing if the tuner should be used to support Radio, analog TV and/or digital TV.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``config`` Used to send tuner-specific configuration for complex tuners that require extra parameters to be set. Only a very few tuners require it and its usage on newer tuners should be avoided. h](j)}(h ``config``h]j)}(hjh]hconfig}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjubj)}(hhh]jG)}(hUsed to send tuner-specific configuration for complex tuners that require extra parameters to be set. Only a very few tuners require it and its usage on newer tuners should be avoided.h]hUsed to send tuner-specific configuration for complex tuners that require extra parameters to be set. Only a very few tuners require it and its usage on newer tuners should be avoided.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``tuner_callback`` Some tuners require to call back the bridge driver, in order to do some tasks like rising a GPIO at the bridge chipset, in order to do things like resetting the device.h](j)}(h``tuner_callback``h]j)}(hjh]htuner_callback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjubj)}(hhh]jG)}(hSome tuners require to call back the bridge driver, in order to do some tasks like rising a GPIO at the bridge chipset, in order to do things like resetting the device.h]hSome tuners require to call back the bridge driver, in order to do some tasks like rising a GPIO at the bridge chipset, in order to do things like resetting the device.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jFh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jkhhhhhhhNubjG)}(h**Description**h]jv)}(hj4h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1juhj2ubah}(h]h ]h"]h$]h&]uh1jFh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhhhhubjG)}(hOlder boards only had a single tuner device. Nowadays multiple tuner devices may be present on a single board. Using TUNER_SET_TYPE_ADDR to pass the tuner_setup structure it is possible to setup each tuner device in turn.h]hOlder boards only had a single tuner device. Nowadays multiple tuner devices may be present on a single board. Using TUNER_SET_TYPE_ADDR to pass the tuner_setup structure it is possible to setup each tuner device in turn.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jFh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhhhhubjG)}(hSince multiple devices may be present it is no longer sufficient to send a command to a single i2c device. Instead you should broadcast the command to all i2c devices.h]hSince multiple devices may be present it is no longer sufficient to send a command to a single i2c device. Instead you should broadcast the command to all i2c devices.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jFh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhhhhubjG)}(hX4By setting the mode_mask correctly you can select which commands are accepted by a specific tuner device. For example, set mode_mask to T_RADIO if the device is a radio-only tuner. That specific tuner will only accept commands when the tuner is in radio mode and ignore them when the tuner is set to TV mode.h]hX4By setting the mode_mask correctly you can select which commands are accepted by a specific tuner device. For example, set mode_mask to T_RADIO if the device is a radio-only tuner. That specific tuner will only accept commands when the tuner is in radio mode and ignore them when the tuner is set to TV mode.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jFh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:6: ./include/media/tuner.hhKhhhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h֌param_type (C enum) c.param_typehNtauh1hhhhhhNhNubh)}(hhh](h)}(h param_typeh]h)}(henum param_typeh](h)}(hhh]henum}(hjhhhNhNubah}(h]h ]hah"]h$]h&]uh1hhjhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKubh)}(h h]h }(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1hhjhhhjhKubj)}(h param_typeh]j)}(hjh]h param_type}(hjhhhNhNubah}(h]h ]j!ah"]h$]h&]uh1jhjubah}(h]h ](j(j)eh"]h$]h&]hhuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]hhj3uh1hj4j5hjhhhjhKubah}(h]jah ](j9j:eh"]h$]h&]j>j?)j@huh1hhjhKhjhhubjB)}(hhh]jG)}(htype of the tuner pametersh]htype of the tuner pameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK hjhhubah}(h]h ]h"]h$]h&]uh1jAhjhhhjhKubeh}(h]h ](j`enumeh"]h$]h&]jej`jfjjgjjhjijjuh1hhhhhhNhNubjl)}(hXn**Constants** ``TUNER_PARAM_TYPE_RADIO`` Tuner params are for FM and/or AM radio ``TUNER_PARAM_TYPE_PAL`` Tuner params are for PAL color TV standard ``TUNER_PARAM_TYPE_SECAM`` Tuner params are for SECAM color TV standard ``TUNER_PARAM_TYPE_NTSC`` Tuner params are for NTSC color TV standard ``TUNER_PARAM_TYPE_DIGITAL`` Tuner params are for digital TVh](jG)}(h **Constants**h]jv)}(hjh]h Constants}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1juhjubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjubj)}(hhh](j)}(hC``TUNER_PARAM_TYPE_RADIO`` Tuner params are for FM and/or AM radio h](j)}(h``TUNER_PARAM_TYPE_RADIO``h]j)}(hjh]hTUNER_PARAM_TYPE_RADIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhj ubj)}(hhh]jG)}(h'Tuner params are for FM and/or AM radioh]h'Tuner params are for FM and/or AM radio}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhj(hKhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hKhj ubj)}(hD``TUNER_PARAM_TYPE_PAL`` Tuner params are for PAL color TV standard h](j)}(h``TUNER_PARAM_TYPE_PAL``h]j)}(hjLh]hTUNER_PARAM_TYPE_PAL}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjFubj)}(hhh]jG)}(h*Tuner params are for PAL color TV standardh]h*Tuner params are for PAL color TV standard}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jFhjahKhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahKhj ubj)}(hH``TUNER_PARAM_TYPE_SECAM`` Tuner params are for SECAM color TV standard h](j)}(h``TUNER_PARAM_TYPE_SECAM``h]j)}(hjh]hTUNER_PARAM_TYPE_SECAM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjubj)}(hhh]jG)}(h,Tuner params are for SECAM color TV standardh]h,Tuner params are for SECAM color TV standard}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj ubj)}(hF``TUNER_PARAM_TYPE_NTSC`` Tuner params are for NTSC color TV standard h](j)}(h``TUNER_PARAM_TYPE_NTSC``h]j)}(hjh]hTUNER_PARAM_TYPE_NTSC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjubj)}(hhh]jG)}(h+Tuner params are for NTSC color TV standardh]h+Tuner params are for NTSC color TV standard}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj ubj)}(h<``TUNER_PARAM_TYPE_DIGITAL`` Tuner params are for digital TVh](j)}(h``TUNER_PARAM_TYPE_DIGITAL``h]j)}(hjh]hTUNER_PARAM_TYPE_DIGITAL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjubj)}(hhh]jG)}(hTuner params are for digital TVh]hTuner params are for digital TV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jkhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h֌tuner_range (C struct) c.tuner_rangehNtauh1hhhhhhNhNubh)}(hhh](h)}(h tuner_rangeh]h)}(hstruct tuner_rangeh](h)}(hjZh]hstruct}(hjQhhhNhNubah}(h]h ]hah"]h$]h&]uh1hhjMhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK#ubh)}(h h]h }(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1hhjMhhhj^hK#ubj)}(h tuner_rangeh]j)}(hjKh]h tuner_range}(hjqhhhNhNubah}(h]h ]j!ah"]h$]h&]uh1jhjmubah}(h]h ](j(j)eh"]h$]h&]hhuh1jhjMhhhj^hK#ubeh}(h]h ]h"]h$]h&]hhj3uh1hj4j5hjIhhhj^hK#ubah}(h]jDah ](j9j:eh"]h$]h&]j>j?)j@huh1hhj^hK#hjFhhubjB)}(hhh]jG)}(h-define the frequencies supported by the tunerh]h-define the frequencies supported by the tuner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jAhjFhhhj^hK#ubeh}(h]h ](j`structeh"]h$]h&]jej`jfjjgjjhjijjuh1hhhhhhNhNubjl)}(hX**Definition**:: struct tuner_range { unsigned short limit; unsigned char config; unsigned char cb; }; **Members** ``limit`` Max frequency supported by that range, in 62.5 kHz (TV) or 62.5 Hz (Radio), as defined by V4L2_TUNER_CAP_LOW. ``config`` Value of the band switch byte (BB) to setup this mode. ``cb`` Value of the CB byte to setup this mode.h](jG)}(h**Definition**::h](jv)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1juhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjubj)}(hastruct tuner_range { unsigned short limit; unsigned char config; unsigned char cb; };h]hastruct tuner_range { unsigned short limit; unsigned char config; unsigned char cb; };}hjsbah}(h]h ]h"]h$]h&]hhuh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK!hjubjG)}(h **Members**h]jv)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1juhjubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK'hjubj)}(hhh](j)}(hx``limit`` Max frequency supported by that range, in 62.5 kHz (TV) or 62.5 Hz (Radio), as defined by V4L2_TUNER_CAP_LOW. h](j)}(h ``limit``h]j)}(hjh]hlimit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK hjubj)}(hhh]jG)}(hmMax frequency supported by that range, in 62.5 kHz (TV) or 62.5 Hz (Radio), as defined by V4L2_TUNER_CAP_LOW.h]hmMax frequency supported by that range, in 62.5 kHz (TV) or 62.5 Hz (Radio), as defined by V4L2_TUNER_CAP_LOW.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK hjubj)}(hB``config`` Value of the band switch byte (BB) to setup this mode. h](j)}(h ``config``h]j)}(hj:h]hconfig}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK!hj4ubj)}(hhh]jG)}(h6Value of the band switch byte (BB) to setup this mode.h]h6Value of the band switch byte (BB) to setup this mode.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jFhjOhK!hjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhK!hjubj)}(h/``cb`` Value of the CB byte to setup this mode.h](j)}(h``cb``h]j)}(hjsh]hcb}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK!hjmubj)}(hhh]jG)}(h(Value of the CB byte to setup this mode.h]h(Value of the CB byte to setup this mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK"hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhK!hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jkhhhhhNhNubjG)}(h**Description**h]jv)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1juhjubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK%hhhhubjG)}(hX Please notice that digital tuners like xc3028/xc4000/xc5000 don't use those ranges, as they're defined inside the driver. This is used by analog tuners that are compatible with the "Philips way" to setup the tuners. On those devices, the tuner set is done via 4 bytes:h]hXPlease notice that digital tuners like xc3028/xc4000/xc5000 don’t use those ranges, as they’re defined inside the driver. This is used by analog tuners that are compatible with the “Philips way” to setup the tuners. On those devices, the tuner set is done via 4 bytes:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK#hhhhubh block_quote)}(h]#) divider byte1 (DB1) #) divider byte 2 (DB2) #) Control byte (CB) #) band switch byte (BB) h]henumerated_list)}(hhh](h list_item)}(hdivider byte1 (DB1)h]jG)}(hjh]hdivider byte1 (DB1)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK(hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hdivider byte 2 (DB2)h]jG)}(hjh]hdivider byte 2 (DB2)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK)hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hControl byte (CB)h]jG)}(hjh]hControl byte (CB)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK*hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hband switch byte (BB) h]jG)}(hband switch byte (BB)h]hband switch byte (BB)}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK+hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]enumtypearabicprefixhsuffix)uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjhK(hhhhubjG)}(hASome tuners also have an additional optional Auxiliary byte (AB).h]hASome tuners also have an additional optional Auxiliary byte (AB).}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK-hhhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h֌tuner_params (C struct)c.tuner_paramshNtauh1hhhhhhNhNubh)}(hhh](h)}(h tuner_paramsh]h)}(hstruct tuner_paramsh](h)}(hjZh]hstruct}(hjhhhNhNubah}(h]h ]hah"]h$]h&]uh1hhj~hhhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK2ubh)}(h h]h }(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1hhj~hhhjhK2ubj)}(h tuner_paramsh]j)}(hj|h]h tuner_params}(hjhhhNhNubah}(h]h ]j!ah"]h$]h&]uh1jhjubah}(h]h ](j(j)eh"]h$]h&]hhuh1jhj~hhhjhK2ubeh}(h]h ]h"]h$]h&]hhj3uh1hj4j5hjzhhhjhK2ubah}(h]juah ](j9j:eh"]h$]h&]j>j?)j@huh1hhjhK2hjwhhubjB)}(hhh]jG)}(hXParameters to be used to setup the tuner. Those are used by drivers/media/tuners/tuner-types.c in order to specify the tuner properties. Most of the parameters are for tuners based on tda9887 IF-PLL multi-standard analog TV/Radio demodulator, with is very common on legacy analog tuners.h]hXParameters to be used to setup the tuner. Those are used by drivers/media/tuners/tuner-types.c in order to specify the tuner properties. Most of the parameters are for tuners based on tda9887 IF-PLL multi-standard analog TV/Radio demodulator, with is very common on legacy analog tuners.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK6hjhhubah}(h]h ]h"]h$]h&]uh1jAhjwhhhjhK2ubeh}(h]h ](j`structeh"]h$]h&]jej`jfjjgjjhjijjuh1hhhhhhNhNubjl)}(hXG**Definition**:: struct tuner_params { enum param_type type; unsigned int cb_first_if_lower_freq:1; unsigned int has_tda9887:1; unsigned int port1_fm_high_sensitivity:1; unsigned int port2_fm_high_sensitivity:1; unsigned int fm_gain_normal:1; unsigned int intercarrier_mode:1; unsigned int port1_active:1; unsigned int port2_active:1; unsigned int port1_invert_for_secam_lc:1; unsigned int port2_invert_for_secam_lc:1; unsigned int port1_set_for_fm_mono:1; unsigned int default_pll_gating_18:1; unsigned int radio_if:2; signed int default_top_low:5; signed int default_top_mid:5; signed int default_top_high:5; signed int default_top_secam_low:5; signed int default_top_secam_mid:5; signed int default_top_secam_high:5; u16 iffreq; unsigned int count; const struct tuner_range *ranges; }; **Members** ``type`` Type of the tuner parameters, as defined at enum param_type. If the tuner supports multiple standards, an array should be used, with one row per different standard. ``cb_first_if_lower_freq`` Many Philips-based tuners have a comment in their datasheet like "For channel selection involving band switching, and to ensure smooth tuning to the desired channel without causing unnecessary charge pump action, it is recommended to consider the difference between wanted channel frequency and the current channel frequency. Unnecessary charge pump action will result in very low tuning voltage which may drive the oscillator to extreme conditions". Set cb_first_if_lower_freq to 1, if this check is required for this tuner. I tested this for PAL by first setting the TV frequency to 203 MHz and then switching to 96.6 MHz FM radio. The result was static unless the control byte was sent first. ``has_tda9887`` Set to 1 if this tuner uses a tda9887 ``port1_fm_high_sensitivity`` Many Philips tuners use tda9887 PORT1 to select the FM radio sensitivity. If this setting is 1, then set PORT1 to 1 to get proper FM reception. ``port2_fm_high_sensitivity`` Some Philips tuners use tda9887 PORT2 to select the FM radio sensitivity. If this setting is 1, then set PORT2 to 1 to get proper FM reception. ``fm_gain_normal`` Some Philips tuners use tda9887 cGainNormal to select the FM radio sensitivity. If this setting is 1, e register will use cGainNormal instead of cGainLow. ``intercarrier_mode`` Most tuners with a tda9887 use QSS mode. Some (cheaper) tuners use Intercarrier mode. If this setting is 1, then the tuner needs to be set to intercarrier mode. ``port1_active`` This setting sets the default value for PORT1. 0 means inactive, 1 means active. Note: the actual bit value written to the tda9887 is inverted. So a 0 here means a 1 in the B6 bit. ``port2_active`` This setting sets the default value for PORT2. 0 means inactive, 1 means active. Note: the actual bit value written to the tda9887 is inverted. So a 0 here means a 1 in the B7 bit. ``port1_invert_for_secam_lc`` Sometimes PORT1 is inverted when the SECAM-L' standard is selected. Set this bit to 1 if this is needed. ``port2_invert_for_secam_lc`` Sometimes PORT2 is inverted when the SECAM-L' standard is selected. Set this bit to 1 if this is needed. ``port1_set_for_fm_mono`` Some cards require PORT1 to be 1 for mono Radio FM and 0 for stereo. ``default_pll_gating_18`` Select 18% (or according to datasheet 0%) L standard PLL gating, vs the driver default of 36%. ``radio_if`` IF to use in radio mode. Tuners with a separate radio IF filter seem to use 10.7, while those without use 33.3 for PAL/SECAM tuners and 41.3 for NTSC tuners. 0 = 10.7, 1 = 33.3, 2 = 41.3 ``default_top_low`` Default tda9887 TOP value in dB for the low band. Default is 0. Range: -16:+15 ``default_top_mid`` Default tda9887 TOP value in dB for the mid band. Default is 0. Range: -16:+15 ``default_top_high`` Default tda9887 TOP value in dB for the high band. Default is 0. Range: -16:+15 ``default_top_secam_low`` Default tda9887 TOP value in dB for SECAM-L/L' for the low band. Default is 0. Several tuners require a different TOP value for the SECAM-L/L' standards. Range: -16:+15 ``default_top_secam_mid`` Default tda9887 TOP value in dB for SECAM-L/L' for the mid band. Default is 0. Several tuners require a different TOP value for the SECAM-L/L' standards. Range: -16:+15 ``default_top_secam_high`` Default tda9887 TOP value in dB for SECAM-L/L' for the high band. Default is 0. Several tuners require a different TOP value for the SECAM-L/L' standards. Range: -16:+15 ``iffreq`` Intermediate frequency (IF) used by the tuner on digital mode. ``count`` Size of the ranges array. ``ranges`` Array with the frequency ranges supported by the tuner.h](jG)}(h**Definition**::h](jv)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1juhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK:hjubj)}(hX_struct tuner_params { enum param_type type; unsigned int cb_first_if_lower_freq:1; unsigned int has_tda9887:1; unsigned int port1_fm_high_sensitivity:1; unsigned int port2_fm_high_sensitivity:1; unsigned int fm_gain_normal:1; unsigned int intercarrier_mode:1; unsigned int port1_active:1; unsigned int port2_active:1; unsigned int port1_invert_for_secam_lc:1; unsigned int port2_invert_for_secam_lc:1; unsigned int port1_set_for_fm_mono:1; unsigned int default_pll_gating_18:1; unsigned int radio_if:2; signed int default_top_low:5; signed int default_top_mid:5; signed int default_top_high:5; signed int default_top_secam_low:5; signed int default_top_secam_mid:5; signed int default_top_secam_high:5; u16 iffreq; unsigned int count; const struct tuner_range *ranges; };h]hX_struct tuner_params { enum param_type type; unsigned int cb_first_if_lower_freq:1; unsigned int has_tda9887:1; unsigned int port1_fm_high_sensitivity:1; unsigned int port2_fm_high_sensitivity:1; unsigned int fm_gain_normal:1; unsigned int intercarrier_mode:1; unsigned int port1_active:1; unsigned int port2_active:1; unsigned int port1_invert_for_secam_lc:1; unsigned int port2_invert_for_secam_lc:1; unsigned int port1_set_for_fm_mono:1; unsigned int default_pll_gating_18:1; unsigned int radio_if:2; signed int default_top_low:5; signed int default_top_mid:5; signed int default_top_high:5; signed int default_top_secam_low:5; signed int default_top_secam_mid:5; signed int default_top_secam_high:5; u16 iffreq; unsigned int count; const struct tuner_range *ranges; };}hj sbah}(h]h ]h"]h$]h&]hhuh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjG ubah}(h]h ]h"]h$]h&]uh1jhj+ ubeh}(h]h ]h"]h$]h&]uh1jhjF hKAhj( ubj)}(hX``cb_first_if_lower_freq`` Many Philips-based tuners have a comment in their datasheet like "For channel selection involving band switching, and to ensure smooth tuning to the desired channel without causing unnecessary charge pump action, it is recommended to consider the difference between wanted channel frequency and the current channel frequency. Unnecessary charge pump action will result in very low tuning voltage which may drive the oscillator to extreme conditions". Set cb_first_if_lower_freq to 1, if this check is required for this tuner. I tested this for PAL by first setting the TV frequency to 203 MHz and then switching to 96.6 MHz FM radio. The result was static unless the control byte was sent first. h](j)}(h``cb_first_if_lower_freq``h]j)}(hjk h]hcb_first_if_lower_freq}(hjm hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKRhje ubj)}(hhh]jG)}(hXMany Philips-based tuners have a comment in their datasheet like "For channel selection involving band switching, and to ensure smooth tuning to the desired channel without causing unnecessary charge pump action, it is recommended to consider the difference between wanted channel frequency and the current channel frequency. Unnecessary charge pump action will result in very low tuning voltage which may drive the oscillator to extreme conditions". Set cb_first_if_lower_freq to 1, if this check is required for this tuner. I tested this for PAL by first setting the TV frequency to 203 MHz and then switching to 96.6 MHz FM radio. The result was static unless the control byte was sent first.h]hXMany Philips-based tuners have a comment in their datasheet like “For channel selection involving band switching, and to ensure smooth tuning to the desired channel without causing unnecessary charge pump action, it is recommended to consider the difference between wanted channel frequency and the current channel frequency. Unnecessary charge pump action will result in very low tuning voltage which may drive the oscillator to extreme conditions”. Set cb_first_if_lower_freq to 1, if this check is required for this tuner. I tested this for PAL by first setting the TV frequency to 203 MHz and then switching to 96.6 MHz FM radio. The result was static unless the control byte was sent first.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKBhj ubah}(h]h ]h"]h$]h&]uh1jhje ubeh}(h]h ]h"]h$]h&]uh1jhj hKRhj( ubj)}(h6``has_tda9887`` Set to 1 if this tuner uses a tda9887 h](j)}(h``has_tda9887``h]j)}(hj h]h has_tda9887}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKShj ubj)}(hhh]jG)}(h%Set to 1 if this tuner uses a tda9887h]h%Set to 1 if this tuner uses a tda9887}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhj hKShj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKShj( ubj)}(h``port1_fm_high_sensitivity`` Many Philips tuners use tda9887 PORT1 to select the FM radio sensitivity. If this setting is 1, then set PORT1 to 1 to get proper FM reception. h](j)}(h``port1_fm_high_sensitivity``h]j)}(hj h]hport1_fm_high_sensitivity}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKVhj ubj)}(hhh]jG)}(hMany Philips tuners use tda9887 PORT1 to select the FM radio sensitivity. If this setting is 1, then set PORT1 to 1 to get proper FM reception.h]hMany Philips tuners use tda9887 PORT1 to select the FM radio sensitivity. If this setting is 1, then set PORT1 to 1 to get proper FM reception.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKThj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKVhj( ubj)}(h``port2_fm_high_sensitivity`` Some Philips tuners use tda9887 PORT2 to select the FM radio sensitivity. If this setting is 1, then set PORT2 to 1 to get proper FM reception. h](j)}(h``port2_fm_high_sensitivity``h]j)}(hj h]hport2_fm_high_sensitivity}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKYhj ubj)}(hhh]jG)}(hSome Philips tuners use tda9887 PORT2 to select the FM radio sensitivity. If this setting is 1, then set PORT2 to 1 to get proper FM reception.h]hSome Philips tuners use tda9887 PORT2 to select the FM radio sensitivity. If this setting is 1, then set PORT2 to 1 to get proper FM reception.}(hj1 hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKWhj. ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj- hKYhj( ubj)}(h``fm_gain_normal`` Some Philips tuners use tda9887 cGainNormal to select the FM radio sensitivity. If this setting is 1, e register will use cGainNormal instead of cGainLow. h](j)}(h``fm_gain_normal``h]j)}(hjR h]hfm_gain_normal}(hjT hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK]hjL ubj)}(hhh]jG)}(hSome Philips tuners use tda9887 cGainNormal to select the FM radio sensitivity. If this setting is 1, e register will use cGainNormal instead of cGainLow.h]hSome Philips tuners use tda9887 cGainNormal to select the FM radio sensitivity. If this setting is 1, e register will use cGainNormal instead of cGainLow.}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKZhjh ubah}(h]h ]h"]h$]h&]uh1jhjL ubeh}(h]h ]h"]h$]h&]uh1jhjg hK]hj( ubj)}(h``intercarrier_mode`` Most tuners with a tda9887 use QSS mode. Some (cheaper) tuners use Intercarrier mode. If this setting is 1, then the tuner needs to be set to intercarrier mode. h](j)}(h``intercarrier_mode``h]j)}(hj h]hintercarrier_mode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKahj ubj)}(hhh]jG)}(hMost tuners with a tda9887 use QSS mode. Some (cheaper) tuners use Intercarrier mode. If this setting is 1, then the tuner needs to be set to intercarrier mode.h]hMost tuners with a tda9887 use QSS mode. Some (cheaper) tuners use Intercarrier mode. If this setting is 1, then the tuner needs to be set to intercarrier mode.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK^hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKahj( ubj)}(h``port1_active`` This setting sets the default value for PORT1. 0 means inactive, 1 means active. Note: the actual bit value written to the tda9887 is inverted. So a 0 here means a 1 in the B6 bit. h](j)}(h``port1_active``h]j)}(hj h]h port1_active}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKehj ubj)}(hhh]jG)}(hThis setting sets the default value for PORT1. 0 means inactive, 1 means active. Note: the actual bit value written to the tda9887 is inverted. So a 0 here means a 1 in the B6 bit.h]hThis setting sets the default value for PORT1. 0 means inactive, 1 means active. Note: the actual bit value written to the tda9887 is inverted. So a 0 here means a 1 in the B6 bit.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKbhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKehj( ubj)}(h``port2_active`` This setting sets the default value for PORT2. 0 means inactive, 1 means active. Note: the actual bit value written to the tda9887 is inverted. So a 0 here means a 1 in the B7 bit. h](j)}(h``port2_active``h]j)}(hj h]h port2_active}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKihj ubj)}(hhh]jG)}(hThis setting sets the default value for PORT2. 0 means inactive, 1 means active. Note: the actual bit value written to the tda9887 is inverted. So a 0 here means a 1 in the B7 bit.h]hThis setting sets the default value for PORT2. 0 means inactive, 1 means active. Note: the actual bit value written to the tda9887 is inverted. So a 0 here means a 1 in the B7 bit.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKfhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKihj( ubj)}(h``port1_invert_for_secam_lc`` Sometimes PORT1 is inverted when the SECAM-L' standard is selected. Set this bit to 1 if this is needed. h](j)}(h``port1_invert_for_secam_lc``h]j)}(hj: h]hport1_invert_for_secam_lc}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8 ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKlhj4 ubj)}(hhh]jG)}(hhSometimes PORT1 is inverted when the SECAM-L' standard is selected. Set this bit to 1 if this is needed.h]hjSometimes PORT1 is inverted when the SECAM-L’ standard is selected. Set this bit to 1 if this is needed.}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKjhjP ubah}(h]h ]h"]h$]h&]uh1jhj4 ubeh}(h]h ]h"]h$]h&]uh1jhjO hKlhj( ubj)}(h``port2_invert_for_secam_lc`` Sometimes PORT2 is inverted when the SECAM-L' standard is selected. Set this bit to 1 if this is needed. h](j)}(h``port2_invert_for_secam_lc``h]j)}(hjt h]hport2_invert_for_secam_lc}(hjv hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKohjn ubj)}(hhh]jG)}(hhSometimes PORT2 is inverted when the SECAM-L' standard is selected. Set this bit to 1 if this is needed.h]hjSometimes PORT2 is inverted when the SECAM-L’ standard is selected. Set this bit to 1 if this is needed.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKmhj ubah}(h]h ]h"]h$]h&]uh1jhjn ubeh}(h]h ]h"]h$]h&]uh1jhj hKohj( ubj)}(h_``port1_set_for_fm_mono`` Some cards require PORT1 to be 1 for mono Radio FM and 0 for stereo. h](j)}(h``port1_set_for_fm_mono``h]j)}(hj h]hport1_set_for_fm_mono}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKqhj ubj)}(hhh]jG)}(hDSome cards require PORT1 to be 1 for mono Radio FM and 0 for stereo.h]hDSome cards require PORT1 to be 1 for mono Radio FM and 0 for stereo.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKphj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKqhj( ubj)}(hy``default_pll_gating_18`` Select 18% (or according to datasheet 0%) L standard PLL gating, vs the driver default of 36%. h](j)}(h``default_pll_gating_18``h]j)}(hj h]hdefault_pll_gating_18}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKthj ubj)}(hhh]jG)}(h^Select 18% (or according to datasheet 0%) L standard PLL gating, vs the driver default of 36%.h]h^Select 18% (or according to datasheet 0%) L standard PLL gating, vs the driver default of 36%.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKrhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKthj( ubj)}(h``radio_if`` IF to use in radio mode. Tuners with a separate radio IF filter seem to use 10.7, while those without use 33.3 for PAL/SECAM tuners and 41.3 for NTSC tuners. 0 = 10.7, 1 = 33.3, 2 = 41.3 h](j)}(h ``radio_if``h]j)}(hj" h]hradio_if}(hj$ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKyhj ubj)}(hhh]jG)}(hIF to use in radio mode. Tuners with a separate radio IF filter seem to use 10.7, while those without use 33.3 for PAL/SECAM tuners and 41.3 for NTSC tuners. 0 = 10.7, 1 = 33.3, 2 = 41.3h]hIF to use in radio mode. Tuners with a separate radio IF filter seem to use 10.7, while those without use 33.3 for PAL/SECAM tuners and 41.3 for NTSC tuners. 0 = 10.7, 1 = 33.3, 2 = 41.3}(hj; hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKuhj8 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj7 hKyhj( ubj)}(hc``default_top_low`` Default tda9887 TOP value in dB for the low band. Default is 0. Range: -16:+15 h](j)}(h``default_top_low``h]j)}(hj\ h]hdefault_top_low}(hj^ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK{hjV ubj)}(hhh]jG)}(hNDefault tda9887 TOP value in dB for the low band. Default is 0. Range: -16:+15h]hNDefault tda9887 TOP value in dB for the low band. Default is 0. Range: -16:+15}(hju hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKzhjr ubah}(h]h ]h"]h$]h&]uh1jhjV ubeh}(h]h ]h"]h$]h&]uh1jhjq hK{hj( ubj)}(hc``default_top_mid`` Default tda9887 TOP value in dB for the mid band. Default is 0. Range: -16:+15 h](j)}(h``default_top_mid``h]j)}(hj h]hdefault_top_mid}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK}hj ubj)}(hhh]jG)}(hNDefault tda9887 TOP value in dB for the mid band. Default is 0. Range: -16:+15h]hNDefault tda9887 TOP value in dB for the mid band. Default is 0. Range: -16:+15}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK|hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hK}hj( ubj)}(he``default_top_high`` Default tda9887 TOP value in dB for the high band. Default is 0. Range: -16:+15 h](j)}(h``default_top_high``h]j)}(hj h]hdefault_top_high}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhj ubj)}(hhh]jG)}(hODefault tda9887 TOP value in dB for the high band. Default is 0. Range: -16:+15h]hODefault tda9887 TOP value in dB for the high band. Default is 0. Range: -16:+15}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhK~hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj( ubj)}(h``default_top_secam_low`` Default tda9887 TOP value in dB for SECAM-L/L' for the low band. Default is 0. Several tuners require a different TOP value for the SECAM-L/L' standards. Range: -16:+15 h](j)}(h``default_top_secam_low``h]j)}(hj h]hdefault_top_secam_low}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhj ubj)}(hhh]jG)}(hDefault tda9887 TOP value in dB for SECAM-L/L' for the low band. Default is 0. Several tuners require a different TOP value for the SECAM-L/L' standards. Range: -16:+15h]hDefault tda9887 TOP value in dB for SECAM-L/L’ for the low band. Default is 0. Several tuners require a different TOP value for the SECAM-L/L’ standards. Range: -16:+15}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj( ubj)}(h``default_top_secam_mid`` Default tda9887 TOP value in dB for SECAM-L/L' for the mid band. Default is 0. Several tuners require a different TOP value for the SECAM-L/L' standards. Range: -16:+15 h](j)}(h``default_top_secam_mid``h]j)}(hjD h]hdefault_top_secam_mid}(hjF hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhj> ubj)}(hhh]jG)}(hDefault tda9887 TOP value in dB for SECAM-L/L' for the mid band. Default is 0. Several tuners require a different TOP value for the SECAM-L/L' standards. Range: -16:+15h]hDefault tda9887 TOP value in dB for SECAM-L/L’ for the mid band. Default is 0. Several tuners require a different TOP value for the SECAM-L/L’ standards. Range: -16:+15}(hj] hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjZ ubah}(h]h ]h"]h$]h&]uh1jhj> ubeh}(h]h ]h"]h$]h&]uh1jhjY hKhj( ubj)}(h``default_top_secam_high`` Default tda9887 TOP value in dB for SECAM-L/L' for the high band. Default is 0. Several tuners require a different TOP value for the SECAM-L/L' standards. Range: -16:+15 h](j)}(h``default_top_secam_high``h]j)}(hj~ h]hdefault_top_secam_high}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj| ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjx ubj)}(hhh]jG)}(hDefault tda9887 TOP value in dB for SECAM-L/L' for the high band. Default is 0. Several tuners require a different TOP value for the SECAM-L/L' standards. Range: -16:+15h]hDefault tda9887 TOP value in dB for SECAM-L/L’ for the high band. Default is 0. Several tuners require a different TOP value for the SECAM-L/L’ standards. Range: -16:+15}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhj ubah}(h]h ]h"]h$]h&]uh1jhjx ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj( ubj)}(hJ``iffreq`` Intermediate frequency (IF) used by the tuner on digital mode. h](j)}(h ``iffreq``h]j)}(hj h]hiffreq}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhj ubj)}(hhh]jG)}(h>Intermediate frequency (IF) used by the tuner on digital mode.h]h>Intermediate frequency (IF) used by the tuner on digital mode.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhj ubah}(h]h ]h"]h$]h&]uh1j6hj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj( ubj)}(h$``count`` Size of the ranges array. h](j)}(h ``count``h]j)}(hj h]hcount}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhj ubj)}(hhh]jG)}(hSize of the ranges array.h]hSize of the ranges array.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhKhj( ubj)}(hB``ranges`` Array with the frequency ranges supported by the tuner.h](j)}(h ``ranges``h]j)}(hj+h]hranges}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhj%ubj)}(hhh]jG)}(h7Array with the frequency ranges supported by the tuner.h]h7Array with the frequency ranges supported by the tuner.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhj@hKhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hKhj( ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jkhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h֌tunertype (C struct) c.tunertypehNtauh1hhhhhhNhNubh)}(hhh](h)}(h tunertypeh]h)}(hstruct tunertypeh](h)}(hjZh]hstruct}(hjhhhNhNubah}(h]h ]hah"]h$]h&]uh1hhjhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKubh)}(h h]h }(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1hhjhhhjhKubj)}(h tunertypeh]j)}(hj~h]h tunertype}(hjhhhNhNubah}(h]h ]j!ah"]h$]h&]uh1jhjubah}(h]h ](j(j)eh"]h$]h&]hhuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]hhj3uh1hj4j5hj|hhhjhKubah}(h]jwah ](j9j:eh"]h$]h&]j>j?)j@huh1hhjhKhjyhhubjB)}(hhh]jG)}(hdescribes the known tuners.h]hdescribes the known tuners.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jAhjyhhhjhKubeh}(h]h ](j`structeh"]h$]h&]jej`jfjjgjjhjijjuh1hhhhhhNhNubjl)}(hX**Definition**:: struct tunertype { char *name; unsigned int count; const struct tuner_params *params; u16 min; u16 max; u32 stepsize; u8 *initdata; u8 *sleepdata; }; **Members** ``name`` string with the tuner's name. ``count`` size of :c:type:`struct tuner_params ` array. ``params`` pointer to :c:type:`struct tuner_params ` array. ``min`` minimal tuner frequency, in 62.5 kHz step. should be multiplied to 16 to convert to MHz. ``max`` minimal tuner frequency, in 62.5 kHz step. Should be multiplied to 16 to convert to MHz. ``stepsize`` frequency step, in Hz. ``initdata`` optional byte sequence to initialize the tuner. ``sleepdata`` optional byte sequence to power down the tuner.h](jG)}(h**Definition**::h](jv)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1juhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjubj)}(hstruct tunertype { char *name; unsigned int count; const struct tuner_params *params; u16 min; u16 max; u32 stepsize; u8 *initdata; u8 *sleepdata; };h]hstruct tunertype { char *name; unsigned int count; const struct tuner_params *params; u16 min; u16 max; u32 stepsize; u8 *initdata; u8 *sleepdata; };}hjsbah}(h]h ]h"]h$]h&]hhuh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjubjG)}(h **Members**h]jv)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1juhjubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjubj)}(hhh](j)}(h'``name`` string with the tuner's name. h](j)}(h``name``h]j)}(hj3h]hname}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhj-ubj)}(hhh]jG)}(hstring with the tuner's name.h]hstring with the tuner’s name.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhjHhKhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhKhj*ubj)}(hF``count`` size of :c:type:`struct tuner_params ` array. h](j)}(h ``count``h]j)}(hjlh]hcount}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjfubj)}(hhh]jG)}(h;size of :c:type:`struct tuner_params ` array.h](hsize of }(hjhhhNhNubh)}(h,:c:type:`struct tuner_params `h]j)}(hjh]hstruct tuner_params}(hjhhhNhNubah}(h]h ](xrefj`c-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocdriver-api/media/v4l2-tuner refdomainj`reftypetype refexplicitrefwarn c:parent_keysphinx.domains.c LookupKey)}data]sb reftarget tuner_paramsuh1hhjhKhjubh array.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jFhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhKhj*ubj)}(hJ``params`` pointer to :c:type:`struct tuner_params ` array. h](j)}(h ``params``h]j)}(hjh]hparams}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjubj)}(hhh]jG)}(h>pointer to :c:type:`struct tuner_params ` array.h](h pointer to }(hjhhhNhNubh)}(h,:c:type:`struct tuner_params `h]j)}(hjh]hstruct tuner_params}(hjhhhNhNubah}(h]h ](jj`c-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainj`reftypetype refexplicitrefwarnjjj tuner_paramsuh1hhjhKhjubh array.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jFhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj*ubj)}(ha``min`` minimal tuner frequency, in 62.5 kHz step. should be multiplied to 16 to convert to MHz. h](j)}(h``min``h]j)}(hj/h]hmin}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhj)ubj)}(hhh]jG)}(hXminimal tuner frequency, in 62.5 kHz step. should be multiplied to 16 to convert to MHz.h]hXminimal tuner frequency, in 62.5 kHz step. should be multiplied to 16 to convert to MHz.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhKhj*ubj)}(ha``max`` minimal tuner frequency, in 62.5 kHz step. Should be multiplied to 16 to convert to MHz. h](j)}(h``max``h]j)}(hjih]hmax}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjcubj)}(hhh]jG)}(hXminimal tuner frequency, in 62.5 kHz step. Should be multiplied to 16 to convert to MHz.h]hXminimal tuner frequency, in 62.5 kHz step. Should be multiplied to 16 to convert to MHz.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hKhj*ubj)}(h$``stepsize`` frequency step, in Hz. h](j)}(h ``stepsize``h]j)}(hjh]hstepsize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjubj)}(hhh]jG)}(hfrequency step, in Hz.h]hfrequency step, in Hz.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj*ubj)}(h=``initdata`` optional byte sequence to initialize the tuner. h](j)}(h ``initdata``h]j)}(hjh]hinitdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjubj)}(hhh]jG)}(h/optional byte sequence to initialize the tuner.h]h/optional byte sequence to initialize the tuner.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jFhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj*ubj)}(h=``sleepdata`` optional byte sequence to power down the tuner.h](j)}(h ``sleepdata``h]j)}(hjh]h sleepdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhjubj)}(hhh]jG)}(h/optional byte sequence to power down the tuner.h]h/optional byte sequence to power down the tuner.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jFhf/var/lib/git/docbuild/linux/Documentation/driver-api/media/v4l2-tuner:8: ./include/media/tuner-types.hhKhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hKhj*ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jkhhhhhNhNubeh}(h]#tuner-functions-and-data-structuresah ]h"]#tuner functions and data structuresah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_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_handlerjerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}j[jXs nametypes}j[sh}(jXhhhjKjPjjjDjIjujzjwj|u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.