aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/tveeprom.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/tveeprom.h')
-rw-r--r--include/media/tveeprom.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/media/tveeprom.h b/include/media/tveeprom.h
new file mode 100644
index 000000000000..627603e561a6
--- /dev/null
+++ b/include/media/tveeprom.h
@@ -0,0 +1,23 @@
1struct tveeprom {
2 u32 has_radio;
3
4 u32 tuner_type;
5 u32 tuner_formats;
6
7 u32 digitizer;
8 u32 digitizer_formats;
9
10 u32 audio_processor;
11 /* a_p_fmts? */
12
13 u32 model;
14 u32 revision;
15 u32 serial_number;
16 char rev_str[5];
17};
18
19void tveeprom_hauppauge_analog(struct tveeprom *tvee,
20 unsigned char *eeprom_data);
21
22int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len);
23int tveeprom_dump(unsigned char *eedata, int len);