diff options
Diffstat (limited to 'include/media/tuner.h')
-rw-r--r-- | include/media/tuner.h | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/include/media/tuner.h b/include/media/tuner.h index 4ad08e24a1aa..faa0f8e3091b 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,10 @@ | |||
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 */ | ||
116 | #define TUNER_TNF_5335MF 69 /* Sabrent Bt848 */ | ||
113 | 117 | ||
114 | #define NOTUNER 0 | 118 | #define NOTUNER 0 |
115 | #define PAL 1 /* PAL_BG */ | 119 | #define PAL 1 /* PAL_BG */ |
@@ -145,6 +149,7 @@ | |||
145 | # define TDA9887_INTERCARRIER (1<<4) | 149 | # define TDA9887_INTERCARRIER (1<<4) |
146 | # define TDA9887_PORT1_ACTIVE (1<<5) | 150 | # define TDA9887_PORT1_ACTIVE (1<<5) |
147 | # define TDA9887_PORT2_ACTIVE (1<<6) | 151 | # define TDA9887_PORT2_ACTIVE (1<<6) |
152 | # define TDA9887_INTERCARRIER_NTSC (1<<7) | ||
148 | /* config options */ | 153 | /* config options */ |
149 | # define TDA9887_DEEMPHASIS_MASK (3<<16) | 154 | # define TDA9887_DEEMPHASIS_MASK (3<<16) |
150 | # define TDA9887_DEEMPHASIS_NONE (1<<16) | 155 | # define TDA9887_DEEMPHASIS_NONE (1<<16) |
@@ -188,8 +193,11 @@ struct tuner { | |||
188 | unsigned int radio_if2; | 193 | unsigned int radio_if2; |
189 | 194 | ||
190 | /* used by tda8290 */ | 195 | /* used by tda8290 */ |
191 | unsigned char i2c_easy_mode[2]; | 196 | unsigned char tda8290_easy_mode; |
192 | unsigned char i2c_set_freq[8]; | 197 | unsigned char tda827x_lpsel; |
198 | unsigned char tda827x_addr; | ||
199 | unsigned char tda827x_ver; | ||
200 | unsigned int sgIF; | ||
193 | 201 | ||
194 | /* function ptrs */ | 202 | /* function ptrs */ |
195 | void (*tv_freq)(struct i2c_client *c, unsigned int freq); | 203 | void (*tv_freq)(struct i2c_client *c, unsigned int freq); |
@@ -204,20 +212,21 @@ extern unsigned const int tuner_count; | |||
204 | 212 | ||
205 | extern int microtune_init(struct i2c_client *c); | 213 | extern int microtune_init(struct i2c_client *c); |
206 | extern int tda8290_init(struct i2c_client *c); | 214 | extern int tda8290_init(struct i2c_client *c); |
215 | extern int tda8290_probe(struct i2c_client *c); | ||
207 | extern int tea5767_tuner_init(struct i2c_client *c); | 216 | extern int tea5767_tuner_init(struct i2c_client *c); |
208 | extern int default_tuner_init(struct i2c_client *c); | 217 | extern int default_tuner_init(struct i2c_client *c); |
209 | extern int tea5767_autodetection(struct i2c_client *c); | 218 | extern int tea5767_autodetection(struct i2c_client *c); |
210 | 219 | ||
211 | #define tuner_warn(fmt, arg...) do {\ | 220 | #define tuner_warn(fmt, arg...) do {\ |
212 | printk(KERN_WARNING "%s %d-%04x: " fmt, t->i2c.driver->name, \ | 221 | printk(KERN_WARNING "%s %d-%04x: " fmt, t->i2c.driver->name, \ |
213 | t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0) | 222 | t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0) |
214 | #define tuner_info(fmt, arg...) do {\ | 223 | #define tuner_info(fmt, arg...) do {\ |
215 | printk(KERN_INFO "%s %d-%04x: " fmt, t->i2c.driver->name, \ | 224 | printk(KERN_INFO "%s %d-%04x: " fmt, t->i2c.driver->name, \ |
216 | t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0) | 225 | t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0) |
217 | #define tuner_dbg(fmt, arg...) do {\ | 226 | #define tuner_dbg(fmt, arg...) do {\ |
218 | if (tuner_debug) \ | 227 | if (tuner_debug) \ |
219 | printk(KERN_DEBUG "%s %d-%04x: " fmt, t->i2c.driver->name, \ | 228 | printk(KERN_DEBUG "%s %d-%04x: " fmt, t->i2c.driver->name, \ |
220 | t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0) | 229 | t->i2c.adapter->nr, t->i2c.addr , ##arg); } while (0) |
221 | 230 | ||
222 | #endif /* __KERNEL__ */ | 231 | #endif /* __KERNEL__ */ |
223 | 232 | ||