mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 15:58:47 +00:00
8f0bb9c069
- Tda988x parameters should be defined per tuner_param_type, for each tuner_params array member. Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
38 lines
640 B
C
38 lines
640 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 int tda988x;
|
|
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;
|
|
struct tuner_params *params;
|
|
};
|
|
|
|
extern struct tunertype tuners[];
|
|
extern unsigned const int tuner_count;
|
|
|
|
#endif
|