]> Pileus Git - ~andy/linux/blob - include/media/tuner-types.h
756693188991c65210983b049fe7ad11b1b26202
[~andy/linux] / include / media / tuner-types.h
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, \
12         TUNER_PARAM_TYPE_NTSC
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 int tda988x;
23         unsigned char config; /* to be moved into struct tuner_range for dvb-pll merge */
24
25         unsigned int count;
26         struct tuner_range *ranges;
27 };
28
29 struct tunertype {
30         char *name;
31         struct tuner_params *params;
32 };
33
34 extern struct tunertype tuners[];
35 extern unsigned const int tuner_count;
36
37 #endif