mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 14:14:01 +08:00
c943aa859c
- Add param_type dvbs2 - disable all dvb param_types, which will not be needed until we merge dvb-pll. Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
38 lines
646 B
C
38 lines
646 B
C
/*
|
|
* descriptions for simple tuners.
|
|
*/
|
|
|
|
#ifndef __TUNER_TYPES_H__
|
|
#define __TUNER_TYPES_H__
|
|
|
|
enum param_type {
|
|
TUNER_PARAM_TYPE_RADIO, \
|
|
TUNER_PARAM_TYPE_PAL, \
|
|
TUNER_PARAM_TYPE_SECAM, \
|
|
TUNER_PARAM_TYPE_NTSC
|
|
};
|
|
|
|
struct tuner_range {
|
|
unsigned short limit;
|
|
unsigned char cb;
|
|
};
|
|
|
|
struct tuner_params {
|
|
enum param_type type;
|
|
unsigned char config; /* to be moved into struct tuner_range for dvb-pll merge */
|
|
|
|
unsigned int count;
|
|
struct tuner_range *ranges;
|
|
};
|
|
|
|
struct tunertype {
|
|
char *name;
|
|
unsigned int has_tda988x:1;
|
|
struct tuner_params *params;
|
|
};
|
|
|
|
extern struct tunertype tuners[];
|
|
extern unsigned const int tuner_count;
|
|
|
|
#endif
|