tveeprom.h 526 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. */
  3. struct tveeprom {
  4. u32 has_radio;
  5. u32 has_ir; /* 0: no IR, 1: IR present, 2: unknown */
  6. u32 tuner_type;
  7. u32 tuner_formats;
  8. u32 tuner2_type;
  9. u32 tuner2_formats;
  10. u32 digitizer;
  11. u32 digitizer_formats;
  12. u32 audio_processor;
  13. u32 decoder_processor;
  14. u32 model;
  15. u32 revision;
  16. u32 serial_number;
  17. char rev_str[5];
  18. };
  19. void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee,
  20. unsigned char *eeprom_data);
  21. int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len);