~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to include/media/tuner.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#ifndef _TUNER_H
23
23
#define _TUNER_H
 
24
#ifdef __KERNEL__
24
25
 
25
26
#include <linux/videodev2.h>
26
27
 
131
132
#define TUNER_NXP_TDA18271              83
132
133
#define TUNER_SONY_BTF_PXN01Z           84
133
134
#define TUNER_PHILIPS_FQ1236_MK5        85      /* NTSC, TDA9885, no FM radio */
 
135
#define TUNER_TENA_TNF_5337             86
134
136
 
135
137
/* tv card specific */
136
138
#define TDA9887_PRESENT                 (1<<0)
156
158
#define TDA9887_GAIN_NORMAL             (1<<20)
157
159
#define TDA9887_RIF_41_3                (1<<21)  /* radio IF1 41.3 vs 33.3 */
158
160
 
159
 
#ifdef __KERNEL__
160
 
 
161
161
enum tuner_mode {
162
 
        T_UNINITIALIZED = 0,
163
162
        T_RADIO         = 1 << V4L2_TUNER_RADIO,
164
163
        T_ANALOG_TV     = 1 << V4L2_TUNER_ANALOG_TV,
165
 
        T_DIGITAL_TV    = 1 << V4L2_TUNER_DIGITAL_TV,
166
 
        T_STANDBY       = 1 << 31
 
164
        /* Don't need to map V4L2_TUNER_DIGITAL_TV, as tuner-core won't use it */
167
165
};
168
166
 
169
167
/* Older boards only had a single tuner device. Nowadays multiple tuner
193
191
#endif /* __KERNEL__ */
194
192
 
195
193
#endif /* _TUNER_H */
196
 
 
197
 
/*
198
 
 * Overrides for Emacs so that we follow Linus's tabbing style.
199
 
 * ---------------------------------------------------------------------------
200
 
 * Local variables:
201
 
 * c-basic-offset: 8
202
 
 * End:
203
 
 */