tuner-types.h 750 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. TUNER_PARAM_TYPE_ATSC, \
  12. TUNER_PARAM_TYPE_DVBT, \
  13. TUNER_PARAM_TYPE_DVBS, \
  14. TUNER_PARAM_TYPE_DVBC
  15. };
  16. struct tuner_range {
  17. unsigned short limit;
  18. unsigned char cb;
  19. };
  20. struct tuner_params {
  21. enum param_type type;
  22. unsigned char config; /* to be moved into struct tuner_range for dvb-pll merge */
  23. unsigned int count;
  24. struct tuner_range *ranges;
  25. };
  26. struct tunertype {
  27. char *name;
  28. unsigned int has_tda988x:1;
  29. struct tuner_params *params;
  30. };
  31. extern struct tunertype tuners[];
  32. extern unsigned const int tuner_count;
  33. #endif