net: fec: fix the error to get the previous BD entry
[deliverable/linux.git] / include / media / tveeprom.h
CommitLineData
ac19ecc6 1/*
ac19ecc6
MCC
2 */
3
33001010
HV
4enum tveeprom_audio_processor {
5 /* No audio processor present */
6 TVEEPROM_AUDPROC_NONE,
7 /* The audio processor is internal to the video processor */
8 TVEEPROM_AUDPROC_INTERNAL,
9 /* The audio processor is a MSPXXXX device */
10 TVEEPROM_AUDPROC_MSP,
11 /* The audio processor is another device */
12 TVEEPROM_AUDPROC_OTHER,
13};
14
1da177e4
LT
15struct tveeprom {
16 u32 has_radio;
b654fcdc
HV
17 /* If has_ir == 0, then it is unknown what the IR capabilities are,
18 otherwise:
19 bit 0: 1 (= IR capabilities are known)
20 bit 1: IR receiver present
21 bit 2: IR transmitter (blaster) present */
22 u32 has_ir;
3ca0ea98 23 u32 has_MAC_address; /* 0: no MAC, 1: MAC present, 2: unknown */
1da177e4
LT
24
25 u32 tuner_type;
26 u32 tuner_formats;
f95006f8 27 u32 tuner_hauppauge_model;
1da177e4 28
0f97a931
MCC
29 u32 tuner2_type;
30 u32 tuner2_formats;
f95006f8 31 u32 tuner2_hauppauge_model;
0f97a931 32
1da177e4
LT
33 u32 digitizer;
34 u32 digitizer_formats;
35
36 u32 audio_processor;
0f97a931 37 u32 decoder_processor;
1da177e4
LT
38
39 u32 model;
40 u32 revision;
41 u32 serial_number;
42 char rev_str[5];
3ca0ea98 43 u8 MAC_address[6];
1da177e4
LT
44};
45
0f97a931 46void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee,
1da177e4
LT
47 unsigned char *eeprom_data);
48
49int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len);
This page took 0.58798 seconds and 5 git commands to generate.