Commit | Line | Data |
---|---|---|
7b0ac9cd MK |
1 | /* |
2 | * descriptions for simple tuners. | |
3 | */ | |
4 | ||
5 | #ifndef __TUNER_TYPES_H__ | |
6 | #define __TUNER_TYPES_H__ | |
7 | ||
8 | enum param_type { | |
9 | TUNER_PARAM_TYPE_RADIO, \ | |
10 | TUNER_PARAM_TYPE_PAL, \ | |
11 | TUNER_PARAM_TYPE_SECAM, \ | |
c943aa85 | 12 | TUNER_PARAM_TYPE_NTSC |
7b0ac9cd MK |
13 | }; |
14 | ||
15 | struct tuner_range { | |
16 | unsigned short limit; | |
17 | unsigned char cb; | |
18 | }; | |
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 | ||
24 | unsigned int count; | |
25 | struct tuner_range *ranges; | |
26 | }; | |
27 | ||
28 | struct tunertype { | |
29 | char *name; | |
30 | unsigned int has_tda988x:1; | |
31 | struct tuner_params *params; | |
32 | }; | |
33 | ||
34 | extern struct tunertype tuners[]; | |
35 | extern unsigned const int tuner_count; | |
36 | ||
37 | #endif |