Blame view

include/media/tveeprom.h 828 Bytes
ac19ecc6f   Mauro Carvalho Chehab   [PATCH] v4l: upda...
1
  /*
ac19ecc6f   Mauro Carvalho Chehab   [PATCH] v4l: upda...
2
   */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
3
4
  struct tveeprom {
  	u32 has_radio;
b654fcdc0   Hans Verkuil   V4L/DVB (8479): t...
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   Steven Toth   [PATCH] V4L: tvee...
11
  	u32 has_MAC_address; /* 0: no MAC, 1: MAC present, 2: unknown */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
12
13
14
  
  	u32 tuner_type;
  	u32 tuner_formats;
f95006f89   Hans Verkuil   [PATCH] V4L: Add ...
15
  	u32 tuner_hauppauge_model;
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
16

0f97a931b   Mauro Carvalho Chehab   [PATCH] v4l: tvee...
17
18
  	u32 tuner2_type;
  	u32 tuner2_formats;
f95006f89   Hans Verkuil   [PATCH] V4L: Add ...
19
  	u32 tuner2_hauppauge_model;
0f97a931b   Mauro Carvalho Chehab   [PATCH] v4l: tvee...
20

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
21
22
23
24
  	u32 digitizer;
  	u32 digitizer_formats;
  
  	u32 audio_processor;
0f97a931b   Mauro Carvalho Chehab   [PATCH] v4l: tvee...
25
  	u32 decoder_processor;
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
26
27
28
29
30
  
  	u32 model;
  	u32 revision;
  	u32 serial_number;
  	char rev_str[5];
3ca0ea980   Steven Toth   [PATCH] V4L: tvee...
31
  	u8 MAC_address[6];
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
32
  };
0f97a931b   Mauro Carvalho Chehab   [PATCH] v4l: tvee...
33
  void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee,
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
34
35
36
  			       unsigned char *eeprom_data);
  
  int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len);