tuner-types.h 640 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * descriptions for simple tuners.
  3. */
  4. #ifndef __TUNER_TYPES_H__
  5. #define __TUNER_TYPES_H__
  6. enum param_type {
  7. TUNER_PARAM_TYPE_RADIO, \
  8. TUNER_PARAM_TYPE_PAL, \
  9. TUNER_PARAM_TYPE_SECAM, \
  10. TUNER_PARAM_TYPE_NTSC
  11. };
  12. struct tuner_range {
  13. unsigned short limit;
  14. unsigned char cb;
  15. };
  16. struct tuner_params {
  17. enum param_type type;
  18. unsigned int tda988x;
  19. unsigned char config; /* to be moved into struct tuner_range for dvb-pll merge */
  20. unsigned int count;
  21. struct tuner_range *ranges;
  22. };
  23. struct tunertype {
  24. char *name;
  25. struct tuner_params *params;
  26. };
  27. extern struct tunertype tuners[];
  28. extern unsigned const int tuner_count;
  29. #endif