summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-04-22 14:45:52 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 14:07:49 -0300
commit62325497db6ef3b13cae41d5038e2693997d7d3e (patch)
treeedd38f653b28734ea22864a652ce17abebe84209 /include/media
parentac8b63b30a320699e602a18af6101528b408d41d (diff)
downloadlinux-3.10-62325497db6ef3b13cae41d5038e2693997d7d3e.tar.gz
linux-3.10-62325497db6ef3b13cae41d5038e2693997d7d3e.tar.bz2
linux-3.10-62325497db6ef3b13cae41d5038e2693997d7d3e.zip
V4L/DVB (7347): tuner-simple: add basic support for digital tuning of hybrid devices
Add entry points used for digital tuning via the dvb_frontend. Share state data between multiple instances of the driver for hybrid tuners. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/tuner-types.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/include/media/tuner-types.h b/include/media/tuner-types.h
index b201371416a..4b5e5cf780c 100644
--- a/include/media/tuner-types.h
+++ b/include/media/tuner-types.h
@@ -6,10 +6,11 @@
#define __TUNER_TYPES_H__
enum param_type {
- TUNER_PARAM_TYPE_RADIO, \
- TUNER_PARAM_TYPE_PAL, \
- TUNER_PARAM_TYPE_SECAM, \
- TUNER_PARAM_TYPE_NTSC
+ TUNER_PARAM_TYPE_RADIO,
+ TUNER_PARAM_TYPE_PAL,
+ TUNER_PARAM_TYPE_SECAM,
+ TUNER_PARAM_TYPE_NTSC,
+ TUNER_PARAM_TYPE_DIGITAL,
};
struct tuner_range {
@@ -105,6 +106,7 @@ struct tuner_params {
the SECAM-L/L' standards. Range: -16:+15 */
signed int default_top_secam_high:5;
+ u16 iffreq;
unsigned int count;
struct tuner_range *ranges;
@@ -114,6 +116,10 @@ struct tunertype {
char *name;
unsigned int count;
struct tuner_params *params;
+
+ u16 min;
+ u16 max;
+ u16 stepsize;
};
extern struct tunertype tuners[];