sched: cleanup: refactor common code of sleep_on / wait_for_completion
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / media / tveeprom.h
blob5660ea24996b42f0634c5fb0a6267131d36fca25
1 /*
2 */
4 struct tveeprom {
5 u32 has_radio;
6 u32 has_ir; /* bit 0: IR receiver present, bit 1: IR transmitter (blaster) present. -1 == unknown */
7 u32 has_MAC_address; /* 0: no MAC, 1: MAC present, 2: unknown */
9 u32 tuner_type;
10 u32 tuner_formats;
11 u32 tuner_hauppauge_model;
13 u32 tuner2_type;
14 u32 tuner2_formats;
15 u32 tuner2_hauppauge_model;
17 u32 digitizer;
18 u32 digitizer_formats;
20 u32 audio_processor;
21 u32 decoder_processor;
23 u32 model;
24 u32 revision;
25 u32 serial_number;
26 char rev_str[5];
27 u8 MAC_address[6];
30 void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee,
31 unsigned char *eeprom_data);
33 int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len);