blob: e2035c7da09480551a93555ab8cd36524a8982d7 [file] [log] [blame]
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001/*
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07002 */
3
Linus Torvalds1da177e2005-04-16 15:20:36 -07004struct tveeprom {
5 u32 has_radio;
Mauro Carvalho Chehab0f97a932005-09-09 13:04:05 -07006 u32 has_ir; /* 0: no IR, 1: IR present, 2: unknown */
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
8 u32 tuner_type;
9 u32 tuner_formats;
10
Mauro Carvalho Chehab0f97a932005-09-09 13:04:05 -070011 u32 tuner2_type;
12 u32 tuner2_formats;
13
Linus Torvalds1da177e2005-04-16 15:20:36 -070014 u32 digitizer;
15 u32 digitizer_formats;
16
17 u32 audio_processor;
Mauro Carvalho Chehab0f97a932005-09-09 13:04:05 -070018 u32 decoder_processor;
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
20 u32 model;
21 u32 revision;
22 u32 serial_number;
23 char rev_str[5];
24};
25
Mauro Carvalho Chehab0f97a932005-09-09 13:04:05 -070026void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee,
Linus Torvalds1da177e2005-04-16 15:20:36 -070027 unsigned char *eeprom_data);
28
29int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len);