diff options
Diffstat (limited to 'include/media/tuner.h')
-rw-r--r-- | include/media/tuner.h | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/include/media/tuner.h b/include/media/tuner.h index 4ad08e24a1aa..9184e534b7ef 100644 --- a/include/media/tuner.h +++ b/include/media/tuner.h | |||
@@ -95,7 +95,7 @@ | |||
95 | #define TUNER_THOMSON_DTT7610 52 | 95 | #define TUNER_THOMSON_DTT7610 52 |
96 | #define TUNER_PHILIPS_FQ1286 53 | 96 | #define TUNER_PHILIPS_FQ1286 53 |
97 | #define TUNER_PHILIPS_TDA8290 54 | 97 | #define TUNER_PHILIPS_TDA8290 54 |
98 | #define TUNER_LG_PAL_TAPE 55 /* Hauppauge PVR-150 PAL */ | 98 | #define TUNER_TCL_2002MB 55 /* Hauppauge PVR-150 PAL */ |
99 | 99 | ||
100 | #define TUNER_PHILIPS_FQ1216AME_MK4 56 /* Hauppauge PVR-150 PAL */ | 100 | #define TUNER_PHILIPS_FQ1216AME_MK4 56 /* Hauppauge PVR-150 PAL */ |
101 | #define TUNER_PHILIPS_FQ1236A_MK4 57 /* Hauppauge PVR-500MCE NTSC */ | 101 | #define TUNER_PHILIPS_FQ1236A_MK4 57 /* Hauppauge PVR-500MCE NTSC */ |
@@ -110,6 +110,9 @@ | |||
110 | #define TUNER_LG_TDVS_H062F 64 /* DViCO FusionHDTV 5 */ | 110 | #define TUNER_LG_TDVS_H062F 64 /* DViCO FusionHDTV 5 */ |
111 | #define TUNER_YMEC_TVF66T5_B_DFF 65 /* Acorp Y878F */ | 111 | #define TUNER_YMEC_TVF66T5_B_DFF 65 /* Acorp Y878F */ |
112 | #define TUNER_LG_NTSC_TALN_MINI 66 | 112 | #define TUNER_LG_NTSC_TALN_MINI 66 |
113 | #define TUNER_PHILIPS_TD1316 67 | ||
114 | |||
115 | #define TUNER_PHILIPS_TUV1236D 68 /* ATI HDTV Wonder */ | ||
113 | 116 | ||
114 | #define NOTUNER 0 | 117 | #define NOTUNER 0 |
115 | #define PAL 1 /* PAL_BG */ | 118 | #define PAL 1 /* PAL_BG */ |
@@ -145,6 +148,7 @@ | |||
145 | # define TDA9887_INTERCARRIER (1<<4) | 148 | # define TDA9887_INTERCARRIER (1<<4) |
146 | # define TDA9887_PORT1_ACTIVE (1<<5) | 149 | # define TDA9887_PORT1_ACTIVE (1<<5) |
147 | # define TDA9887_PORT2_ACTIVE (1<<6) | 150 | # define TDA9887_PORT2_ACTIVE (1<<6) |
151 | # define TDA9887_INTERCARRIER_NTSC (1<<7) | ||
148 | /* config options */ | 152 | /* config options */ |
149 | # define TDA9887_DEEMPHASIS_MASK (3<<16) | 153 | # define TDA9887_DEEMPHASIS_MASK (3<<16) |
150 | # define TDA9887_DEEMPHASIS_NONE (1<<16) | 154 | # define TDA9887_DEEMPHASIS_NONE (1<<16) |
@@ -188,8 +192,11 @@ struct tuner { | |||
188 | unsigned int radio_if2; | 192 | unsigned int radio_if2; |
189 | 193 | ||
190 | /* used by tda8290 */ | 194 | /* used by tda8290 */ |
191 | unsigned char i2c_easy_mode[2]; | 195 | unsigned char tda8290_easy_mode; |
192 | unsigned char i2c_set_freq[8]; | 196 | unsigned char tda827x_lpsel; |
197 | unsigned char tda827x_addr; | ||
198 | unsigned char tda827x_ver; | ||
199 | unsigned int sgIF; | ||
193 | 200 | ||
194 | /* function ptrs */ | 201 | /* function ptrs */ |
195 | void (*tv_freq)(struct i2c_client *c, unsigned int freq); | 202 | void (*tv_freq)(struct i2c_client *c, unsigned int freq); |
@@ -204,20 +211,21 @@ extern unsigned const int tuner_count; | |||
204 | 211 | ||
205 | extern int microtune_init(struct i2c_client *c); | 212 | extern int microtune_init(struct i2c_client *c); |
206 | extern int tda8290_init(struct i2c_client *c); | 213 | extern int tda8290_init(struct i2c_client *c); |
214 | extern int tda8290_probe(struct i2c_client *c); | ||
207 | extern int tea5767_tuner_init(struct i2c_client *c); | 215 | extern int tea5767_tuner_init(struct i2c_client *c); |
208 | extern int default_tuner_init(struct i2c_client *c); | 216 | extern int default_tuner_init(struct i2c_client *c); |
209 | extern int tea5767_autodetection(struct i2c_client *c); | 217 | extern int tea5767_autodetection(struct i2c_client *c); |
210 | 218 | ||
211 | #define tuner_warn(fmt, arg...) do {\ | 219 | #define tuner_warn(fmt, arg...) do {\ |
212 | printk(KERN_WARNING "%s %d-%04x: " fmt, t->i2c.driver->name, \ | 220 | printk(KERN_WARNING "%s %d-%04x: " fmt, t->i2c.driver->name, \ |
213 | t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0) | 221 | t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0) |
214 | #define tuner_info(fmt, arg...) do {\ | 222 | #define tuner_info(fmt, arg...) do {\ |
215 | printk(KERN_INFO "%s %d-%04x: " fmt, t->i2c.driver->name, \ | 223 | printk(KERN_INFO "%s %d-%04x: " fmt, t->i2c.driver->name, \ |
216 | t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0) | 224 | t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0) |
217 | #define tuner_dbg(fmt, arg...) do {\ | 225 | #define tuner_dbg(fmt, arg...) do {\ |
218 | if (tuner_debug) \ | 226 | if (tuner_debug) \ |
219 | printk(KERN_DEBUG "%s %d-%04x: " fmt, t->i2c.driver->name, \ | 227 | printk(KERN_DEBUG "%s %d-%04x: " fmt, t->i2c.driver->name, \ |
220 | t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0) | 228 | t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0) |
221 | 229 | ||
222 | #endif /* __KERNEL__ */ | 230 | #endif /* __KERNEL__ */ |
223 | 231 | ||