Blame view
include/media/tveeprom.h
828 Bytes
ac19ecc6f
|
1 |
/* |
ac19ecc6f
|
2 |
*/ |
1da177e4c
|
3 4 |
struct tveeprom { u32 has_radio; |
b654fcdc0
|
5 6 7 8 9 10 |
/* If has_ir == 0, then it is unknown what the IR capabilities are, otherwise: bit 0: 1 (= IR capabilities are known) bit 1: IR receiver present bit 2: IR transmitter (blaster) present */ u32 has_ir; |
3ca0ea980
|
11 |
u32 has_MAC_address; /* 0: no MAC, 1: MAC present, 2: unknown */ |
1da177e4c
|
12 13 14 |
u32 tuner_type; u32 tuner_formats; |
f95006f89
|
15 |
u32 tuner_hauppauge_model; |
1da177e4c
|
16 |
|
0f97a931b
|
17 18 |
u32 tuner2_type; u32 tuner2_formats; |
f95006f89
|
19 |
u32 tuner2_hauppauge_model; |
0f97a931b
|
20 |
|
1da177e4c
|
21 22 23 24 |
u32 digitizer; u32 digitizer_formats; u32 audio_processor; |
0f97a931b
|
25 |
u32 decoder_processor; |
1da177e4c
|
26 27 28 29 30 |
u32 model; u32 revision; u32 serial_number; char rev_str[5]; |
3ca0ea980
|
31 |
u8 MAC_address[6]; |
1da177e4c
|
32 |
}; |
0f97a931b
|
33 |
void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee, |
1da177e4c
|
34 35 36 |
unsigned char *eeprom_data); int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len); |