xref: /linux/include/media/tveeprom.h (revision 54a8a2220c936a47840c9a3d74910c5a56fae2ed)
1 /*
2  */
3 
4 struct tveeprom {
5 	u32 has_radio;
6 	u32 has_ir;     /* 0: no IR, 1: IR present, 2: unknown */
7 
8 	u32 tuner_type;
9 	u32 tuner_formats;
10 
11 	u32 tuner2_type;
12 	u32 tuner2_formats;
13 
14 	u32 digitizer;
15 	u32 digitizer_formats;
16 
17 	u32 audio_processor;
18 	u32 decoder_processor;
19 
20 	u32 model;
21 	u32 revision;
22 	u32 serial_number;
23 	char rev_str[5];
24 };
25 
26 void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee,
27 			       unsigned char *eeprom_data);
28 
29 int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len);
30