Blame view

include/media/tveeprom.h 716 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;
f2520106e   Hans Verkuil   V4L/DVB (4812): D...
5
  	u32 has_ir;     /* bit 0: IR receiver present, bit 1: IR transmitter (blaster) present. -1 == unknown */
3ca0ea980   Steven Toth   [PATCH] V4L: tvee...
6
  	u32 has_MAC_address; /* 0: no MAC, 1: MAC present, 2: unknown */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
7
8
9
  
  	u32 tuner_type;
  	u32 tuner_formats;
f95006f89   Hans Verkuil   [PATCH] V4L: Add ...
10
  	u32 tuner_hauppauge_model;
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
11

0f97a931b   Mauro Carvalho Chehab   [PATCH] v4l: tvee...
12
13
  	u32 tuner2_type;
  	u32 tuner2_formats;
f95006f89   Hans Verkuil   [PATCH] V4L: Add ...
14
  	u32 tuner2_hauppauge_model;
0f97a931b   Mauro Carvalho Chehab   [PATCH] v4l: tvee...
15

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