diff options
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/audiochip.h | 4 | ||||
-rw-r--r-- | include/media/id.h | 4 | ||||
-rw-r--r-- | include/media/ir-common.h | 3 | ||||
-rw-r--r-- | include/media/tuner.h | 29 | ||||
-rw-r--r-- | include/media/tveeprom.h | 4 |
5 files changed, 43 insertions, 1 deletions
diff --git a/include/media/audiochip.h b/include/media/audiochip.h index d3e9e30608dc..f345a61c3bdb 100644 --- a/include/media/audiochip.h +++ b/include/media/audiochip.h | |||
@@ -1,3 +1,7 @@ | |||
1 | /* | ||
2 | * $Id: audiochip.h,v 1.3 2005/06/12 04:19:19 mchehab Exp $ | ||
3 | */ | ||
4 | |||
1 | #ifndef AUDIOCHIP_H | 5 | #ifndef AUDIOCHIP_H |
2 | #define AUDIOCHIP_H | 6 | #define AUDIOCHIP_H |
3 | 7 | ||
diff --git a/include/media/id.h b/include/media/id.h index 1b0320dc8f73..a39a6423914b 100644 --- a/include/media/id.h +++ b/include/media/id.h | |||
@@ -1,3 +1,7 @@ | |||
1 | /* | ||
2 | * $Id: id.h,v 1.4 2005/06/12 04:19:19 mchehab Exp $ | ||
3 | */ | ||
4 | |||
1 | /* FIXME: this temporarely, until these are included in linux/i2c-id.h */ | 5 | /* FIXME: this temporarely, until these are included in linux/i2c-id.h */ |
2 | 6 | ||
3 | /* drivers */ | 7 | /* drivers */ |
diff --git a/include/media/ir-common.h b/include/media/ir-common.h index 62c963a52d86..698670547f16 100644 --- a/include/media/ir-common.h +++ b/include/media/ir-common.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * $Id: ir-common.h,v 1.8 2005/02/22 12:28:40 kraxel Exp $ | 2 | * $Id: ir-common.h,v 1.9 2005/05/15 19:01:26 mchehab Exp $ |
3 | * | 3 | * |
4 | * some common structs and functions to handle infrared remotes via | 4 | * some common structs and functions to handle infrared remotes via |
5 | * input layer ... | 5 | * input layer ... |
@@ -50,6 +50,7 @@ extern IR_KEYTAB_TYPE ir_codes_rc5_tv[IR_KEYTAB_SIZE]; | |||
50 | extern IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTAB_SIZE]; | 50 | extern IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTAB_SIZE]; |
51 | extern IR_KEYTAB_TYPE ir_codes_empty[IR_KEYTAB_SIZE]; | 51 | extern IR_KEYTAB_TYPE ir_codes_empty[IR_KEYTAB_SIZE]; |
52 | extern IR_KEYTAB_TYPE ir_codes_hauppauge_new[IR_KEYTAB_SIZE]; | 52 | extern IR_KEYTAB_TYPE ir_codes_hauppauge_new[IR_KEYTAB_SIZE]; |
53 | extern IR_KEYTAB_TYPE ir_codes_pixelview[IR_KEYTAB_SIZE]; | ||
53 | 54 | ||
54 | void ir_input_init(struct input_dev *dev, struct ir_input_state *ir, | 55 | void ir_input_init(struct input_dev *dev, struct ir_input_state *ir, |
55 | int ir_type, IR_KEYTAB_TYPE *ir_codes); | 56 | int ir_type, IR_KEYTAB_TYPE *ir_codes); |
diff --git a/include/media/tuner.h b/include/media/tuner.h index 156a9c51ffec..2dd8310901e8 100644 --- a/include/media/tuner.h +++ b/include/media/tuner.h | |||
@@ -25,6 +25,8 @@ | |||
25 | 25 | ||
26 | #include "id.h" | 26 | #include "id.h" |
27 | 27 | ||
28 | #define ADDR_UNSET (255) | ||
29 | |||
28 | #define TUNER_TEMIC_PAL 0 /* 4002 FH5 (3X 7756, 9483) */ | 30 | #define TUNER_TEMIC_PAL 0 /* 4002 FH5 (3X 7756, 9483) */ |
29 | #define TUNER_PHILIPS_PAL_I 1 | 31 | #define TUNER_PHILIPS_PAL_I 1 |
30 | #define TUNER_PHILIPS_NTSC 2 | 32 | #define TUNER_PHILIPS_NTSC 2 |
@@ -98,12 +100,23 @@ | |||
98 | #define TUNER_PHILIPS_FQ1216AME_MK4 56 /* Hauppauge PVR-150 PAL */ | 100 | #define TUNER_PHILIPS_FQ1216AME_MK4 56 /* Hauppauge PVR-150 PAL */ |
99 | #define TUNER_PHILIPS_FQ1236A_MK4 57 /* Hauppauge PVR-500MCE NTSC */ | 101 | #define TUNER_PHILIPS_FQ1236A_MK4 57 /* Hauppauge PVR-500MCE NTSC */ |
100 | 102 | ||
103 | #define TUNER_YMEC_TVF_8531MF 58 | ||
104 | #define TUNER_YMEC_TVF_5533MF 59 /* Pixelview Pro Ultra NTSC */ | ||
105 | #define TUNER_THOMSON_DTT7611 60 | ||
106 | #define TUNER_TENA_9533_DI 61 | ||
107 | #define TUNER_TEA5767 62 /* Only FM Radio Tuner */ | ||
108 | |||
109 | #define TEA5767_TUNER_NAME "Philips TEA5767HN FM Radio" | ||
110 | |||
111 | #define TUNER_THOMSON_DTT7611 60 | ||
112 | |||
101 | #define NOTUNER 0 | 113 | #define NOTUNER 0 |
102 | #define PAL 1 /* PAL_BG */ | 114 | #define PAL 1 /* PAL_BG */ |
103 | #define PAL_I 2 | 115 | #define PAL_I 2 |
104 | #define NTSC 3 | 116 | #define NTSC 3 |
105 | #define SECAM 4 | 117 | #define SECAM 4 |
106 | #define ATSC 5 | 118 | #define ATSC 5 |
119 | #define RADIO 6 | ||
107 | 120 | ||
108 | #define NoTuner 0 | 121 | #define NoTuner 0 |
109 | #define Philips 1 | 122 | #define Philips 1 |
@@ -119,10 +132,20 @@ | |||
119 | #define TCL 11 | 132 | #define TCL 11 |
120 | #define THOMSON 12 | 133 | #define THOMSON 12 |
121 | 134 | ||
135 | enum v4l_radio_tuner { | ||
136 | TEA5767_LOW_LO_32768 = 0, | ||
137 | TEA5767_HIGH_LO_32768 = 1, | ||
138 | TEA5767_LOW_LO_13MHz = 2, | ||
139 | TEA5767_HIGH_LO_13MHz = 3, | ||
140 | }; | ||
141 | |||
142 | |||
122 | #define TUNER_SET_TYPE _IOW('t',1,int) /* set tuner type */ | 143 | #define TUNER_SET_TYPE _IOW('t',1,int) /* set tuner type */ |
123 | #define TUNER_SET_TVFREQ _IOW('t',2,int) /* set tv freq */ | 144 | #define TUNER_SET_TVFREQ _IOW('t',2,int) /* set tv freq */ |
145 | #define TUNER_SET_TYPE_ADDR _IOW('T',3,int) /* set tuner type and I2C addr */ | ||
124 | 146 | ||
125 | #define TDA9887_SET_CONFIG _IOW('t',5,int) | 147 | #define TDA9887_SET_CONFIG _IOW('t',5,int) |
148 | |||
126 | /* tv card specific */ | 149 | /* tv card specific */ |
127 | # define TDA9887_PRESENT (1<<0) | 150 | # define TDA9887_PRESENT (1<<0) |
128 | # define TDA9887_PORT1_INACTIVE (1<<1) | 151 | # define TDA9887_PORT1_INACTIVE (1<<1) |
@@ -143,6 +166,12 @@ | |||
143 | #define I2C_ADDR_TDA8290 0x4b | 166 | #define I2C_ADDR_TDA8290 0x4b |
144 | #define I2C_ADDR_TDA8275 0x61 | 167 | #define I2C_ADDR_TDA8275 0x61 |
145 | 168 | ||
169 | struct tuner_addr { | ||
170 | enum v4l2_tuner_type v4l2_tuner; | ||
171 | unsigned int type; | ||
172 | unsigned short addr; | ||
173 | }; | ||
174 | |||
146 | struct tuner { | 175 | struct tuner { |
147 | /* device */ | 176 | /* device */ |
148 | struct i2c_client i2c; | 177 | struct i2c_client i2c; |
diff --git a/include/media/tveeprom.h b/include/media/tveeprom.h index 627603e561a6..5c4fe30e8d1d 100644 --- a/include/media/tveeprom.h +++ b/include/media/tveeprom.h | |||
@@ -1,3 +1,7 @@ | |||
1 | /* | ||
2 | * $Id: tveeprom.h,v 1.2 2005/06/12 04:19:19 mchehab Exp $ | ||
3 | */ | ||
4 | |||
1 | struct tveeprom { | 5 | struct tveeprom { |
2 | u32 has_radio; | 6 | u32 has_radio; |
3 | 7 | ||