tcp: take care of truncations done by sk_filter()
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / media / tveeprom.h
CommitLineData
ac19ecc6 1/*
ac19ecc6
MCC
2 */
3
1da177e4
LT
4struct tveeprom {
5 u32 has_radio;
b654fcdc
HV
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 */
11 u32 has_ir;
3ca0ea98 12 u32 has_MAC_address; /* 0: no MAC, 1: MAC present, 2: unknown */
1da177e4
LT
13
14 u32 tuner_type;
15 u32 tuner_formats;
f95006f8 16 u32 tuner_hauppauge_model;
1da177e4 17
0f97a931
MCC
18 u32 tuner2_type;
19 u32 tuner2_formats;
f95006f8 20 u32 tuner2_hauppauge_model;
0f97a931 21
1da177e4
LT
22 u32 digitizer;
23 u32 digitizer_formats;
24
25 u32 audio_processor;
0f97a931 26 u32 decoder_processor;
1da177e4
LT
27
28 u32 model;
29 u32 revision;
30 u32 serial_number;
31 char rev_str[5];
3ca0ea98 32 u8 MAC_address[6];
1da177e4
LT
33};
34
0f97a931 35void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee,
1da177e4
LT
36 unsigned char *eeprom_data);
37
38int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len);