diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-30 18:36:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-30 18:36:19 -0400 |
commit | 1cfef5ed631dedc55ca3c57a5fcfd01c77db3b59 (patch) | |
tree | a2e9e10518c677071ed6c5c5b4df478d548901dd /include | |
parent | 3e8d6ad9bf1f02fdb9fd119c3c266d4b73b7175d (diff) | |
parent | 00819f87d883bb4aff97aecc7cc722ba27bd183a (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb
* master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb:
V4L/DVB (4290): Add support for the TCL M2523_3DB_E tuner.
V4L/DVB (4289): Missing statement in drivers/media/dvb/frontends/cx22700.c
V4L/DVB (4288): Clean out a zillion sparse warnings in pvrusb2
V4L/DVB (4287): Pvrusb2/: possible cleanups
V4L/DVB (4285): Cx88: add support for Geniatech Digistar / Digiwave 103g
V4L/DVB (4284): Cx24123: fix set_voltage function according to the specs
V4L/DVB (4282): Fix: use swzigzag for swalgo
V4L/DVB (4281): TDA9887_SET_CONFIG should only be handled by the tda9887.
V4L/DVB (4277): Fix CI interface on PRO KNC1 cards
V4L/DVB (4276): Fix CI on old KNC1 DVBC cards
V4L/DVB (4275): The FE_SET_FRONTEND_TUNE_MODE ioctl always returns EOPNOTSUPP
V4L/DVB (4274): Eliminate use of tda9887 from pvrusb2 driver
V4L/DVB (4273): Always log pvrusb2 device register / unregister events
V4L/DVB (4272): Fix tveeprom supported standards
V4L/DVB (4270): Add tda9887-specific tuner configuration
V4L/DVB (4269): Subject: videocodec: make 1-bit fields unsigned
V4L/DVB (4267): Remove all instances of request_module("tda9887")
V4L/DVB (4264): Cx88-blackbird: implement VIDIOC_QUERYCTRL and VIDIOC_QUERYMENU
Diffstat (limited to 'include')
-rw-r--r-- | include/media/tuner-types.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/include/media/tuner-types.h b/include/media/tuner-types.h index ad9c171bfa07..3c43b95f4c0d 100644 --- a/include/media/tuner-types.h +++ b/include/media/tuner-types.h | |||
@@ -20,6 +20,7 @@ struct tuner_range { | |||
20 | 20 | ||
21 | struct tuner_params { | 21 | struct tuner_params { |
22 | enum param_type type; | 22 | enum param_type type; |
23 | |||
23 | /* Many Philips based tuners have a comment like this in their | 24 | /* Many Philips based tuners have a comment like this in their |
24 | * datasheet: | 25 | * datasheet: |
25 | * | 26 | * |
@@ -39,6 +40,60 @@ struct tuner_params { | |||
39 | * static unless the control byte was sent first. | 40 | * static unless the control byte was sent first. |
40 | */ | 41 | */ |
41 | unsigned int cb_first_if_lower_freq:1; | 42 | unsigned int cb_first_if_lower_freq:1; |
43 | /* Set to 1 if this tuner uses a tda9887 */ | ||
44 | unsigned int has_tda9887:1; | ||
45 | /* Many Philips tuners use tda9887 PORT1 to select the FM radio | ||
46 | sensitivity. If this setting is 1, then set PORT1 to 1 to | ||
47 | get proper FM reception. */ | ||
48 | unsigned int port1_fm_high_sensitivity:1; | ||
49 | /* Some Philips tuners use tda9887 PORT2 to select the FM radio | ||
50 | sensitivity. If this setting is 1, then set PORT2 to 1 to | ||
51 | get proper FM reception. */ | ||
52 | unsigned int port2_fm_high_sensitivity:1; | ||
53 | /* Most tuners with a tda9887 use QSS mode. Some (cheaper) tuners | ||
54 | use Intercarrier mode. If this setting is 1, then the tuner | ||
55 | needs to be set to intercarrier mode. */ | ||
56 | unsigned int intercarrier_mode:1; | ||
57 | /* This setting sets the default value for PORT1. | ||
58 | 0 means inactive, 1 means active. Note: the actual bit | ||
59 | value written to the tda9887 is inverted. So a 0 here | ||
60 | means a 1 in the B6 bit. */ | ||
61 | unsigned int port1_active:1; | ||
62 | /* This setting sets the default value for PORT2. | ||
63 | 0 means inactive, 1 means active. Note: the actual bit | ||
64 | value written to the tda9887 is inverted. So a 0 here | ||
65 | means a 1 in the B7 bit. */ | ||
66 | unsigned int port2_active:1; | ||
67 | /* Sometimes PORT1 is inverted when the SECAM-L' standard is selected. | ||
68 | Set this bit to 1 if this is needed. */ | ||
69 | unsigned int port1_invert_for_secam_lc:1; | ||
70 | /* Sometimes PORT2 is inverted when the SECAM-L' standard is selected. | ||
71 | Set this bit to 1 if this is needed. */ | ||
72 | unsigned int port2_invert_for_secam_lc:1; | ||
73 | /* Some cards require PORT1 to be 1 for mono Radio FM and 0 for stereo. */ | ||
74 | unsigned int port1_set_for_fm_mono:1; | ||
75 | /* Default tda9887 TOP value in dB for the low band. Default is 0. | ||
76 | Range: -16:+15 */ | ||
77 | signed int default_top_low:5; | ||
78 | /* Default tda9887 TOP value in dB for the mid band. Default is 0. | ||
79 | Range: -16:+15 */ | ||
80 | signed int default_top_mid:5; | ||
81 | /* Default tda9887 TOP value in dB for the high band. Default is 0. | ||
82 | Range: -16:+15 */ | ||
83 | signed int default_top_high:5; | ||
84 | /* Default tda9887 TOP value in dB for SECAM-L/L' for the low band. | ||
85 | Default is 0. Several tuners require a different TOP value for | ||
86 | the SECAM-L/L' standards. Range: -16:+15 */ | ||
87 | signed int default_top_secam_low:5; | ||
88 | /* Default tda9887 TOP value in dB for SECAM-L/L' for the mid band. | ||
89 | Default is 0. Several tuners require a different TOP value for | ||
90 | the SECAM-L/L' standards. Range: -16:+15 */ | ||
91 | signed int default_top_secam_mid:5; | ||
92 | /* Default tda9887 TOP value in dB for SECAM-L/L' for the high band. | ||
93 | Default is 0. Several tuners require a different TOP value for | ||
94 | the SECAM-L/L' standards. Range: -16:+15 */ | ||
95 | signed int default_top_secam_high:5; | ||
96 | |||
42 | 97 | ||
43 | unsigned int count; | 98 | unsigned int count; |
44 | struct tuner_range *ranges; | 99 | struct tuner_range *ranges; |