xref: /linux/include/media/tveeprom.h (revision d67b569f5f620c0fb95d5212642746b7ba9d29e4)
1 /*
2  * $Id: tveeprom.h,v 1.2 2005/06/12 04:19:19 mchehab Exp $
3  */
4 
5 struct tveeprom {
6 	u32 has_radio;
7 
8 	u32 tuner_type;
9 	u32 tuner_formats;
10 
11 	u32 digitizer;
12 	u32 digitizer_formats;
13 
14 	u32 audio_processor;
15 	/* a_p_fmts? */
16 
17 	u32 model;
18 	u32 revision;
19 	u32 serial_number;
20 	char rev_str[5];
21 };
22 
23 void tveeprom_hauppauge_analog(struct tveeprom *tvee,
24 			       unsigned char *eeprom_data);
25 
26 int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len);
27 int tveeprom_dump(unsigned char *eedata, int len);
28