Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tveeprom.h
Go to the documentation of this file.
1 /*
2  */
3 
4 struct tveeprom {
6  /* If has_ir == 0, then it is unknown what the IR capabilities are,
7  otherwise:
8  bit 0: 1 (= IR capabilities are known)
9  bit 1: IR receiver present
10  bit 2: IR transmitter (blaster) present */
12  u32 has_MAC_address; /* 0: no MAC, 1: MAC present, 2: unknown */
13 
17 
21 
24 
27 
31  char rev_str[5];
33 };
34 
35 void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee,
36  unsigned char *eeprom_data);
37 
38 int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len);