diff options
| author | Michael Krufky <mkrufky@linuxtv.org> | 2008-04-22 13:45:52 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:49 -0400 |
| commit | 62325497db6ef3b13cae41d5038e2693997d7d3e (patch) | |
| tree | edd38f653b28734ea22864a652ce17abebe84209 /include/media | |
| parent | ac8b63b30a320699e602a18af6101528b408d41d (diff) | |
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.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/include/media/tuner-types.h b/include/media/tuner-types.h index b201371416a0..4b5e5cf780c8 100644 --- a/include/media/tuner-types.h +++ b/include/media/tuner-types.h | |||
| @@ -6,10 +6,11 @@ | |||
| 6 | #define __TUNER_TYPES_H__ | 6 | #define __TUNER_TYPES_H__ |
| 7 | 7 | ||
| 8 | enum param_type { | 8 | enum param_type { |
| 9 | TUNER_PARAM_TYPE_RADIO, \ | 9 | TUNER_PARAM_TYPE_RADIO, |
| 10 | TUNER_PARAM_TYPE_PAL, \ | 10 | TUNER_PARAM_TYPE_PAL, |
| 11 | TUNER_PARAM_TYPE_SECAM, \ | 11 | TUNER_PARAM_TYPE_SECAM, |
| 12 | TUNER_PARAM_TYPE_NTSC | 12 | TUNER_PARAM_TYPE_NTSC, |
| 13 | TUNER_PARAM_TYPE_DIGITAL, | ||
| 13 | }; | 14 | }; |
| 14 | 15 | ||
| 15 | struct tuner_range { | 16 | struct tuner_range { |
| @@ -105,6 +106,7 @@ struct tuner_params { | |||
| 105 | the SECAM-L/L' standards. Range: -16:+15 */ | 106 | the SECAM-L/L' standards. Range: -16:+15 */ |
| 106 | signed int default_top_secam_high:5; | 107 | signed int default_top_secam_high:5; |
| 107 | 108 | ||
| 109 | u16 iffreq; | ||
| 108 | 110 | ||
| 109 | unsigned int count; | 111 | unsigned int count; |
| 110 | struct tuner_range *ranges; | 112 | struct tuner_range *ranges; |
| @@ -114,6 +116,10 @@ struct tunertype { | |||
| 114 | char *name; | 116 | char *name; |
| 115 | unsigned int count; | 117 | unsigned int count; |
| 116 | struct tuner_params *params; | 118 | struct tuner_params *params; |
| 119 | |||
| 120 | u16 min; | ||
| 121 | u16 max; | ||
| 122 | u16 stepsize; | ||
| 117 | }; | 123 | }; |
| 118 | 124 | ||
| 119 | extern struct tunertype tuners[]; | 125 | extern struct tunertype tuners[]; |
