aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/tuner.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/tuner.h')
-rw-r--r--include/media/tuner.h31
1 files changed, 18 insertions, 13 deletions
diff --git a/include/media/tuner.h b/include/media/tuner.h
index e224722a7ff7..567f05549e3a 100644
--- a/include/media/tuner.h
+++ b/include/media/tuner.h
@@ -120,20 +120,25 @@
120#define TDA9887_SET_CONFIG _IOW('t',5,int) 120#define TDA9887_SET_CONFIG _IOW('t',5,int)
121 121
122/* tv card specific */ 122/* tv card specific */
123# define TDA9887_PRESENT (1<<0) 123#define TDA9887_PRESENT (1<<0)
124# define TDA9887_PORT1_INACTIVE (1<<1) 124#define TDA9887_PORT1_INACTIVE (1<<1)
125# define TDA9887_PORT2_INACTIVE (1<<2) 125#define TDA9887_PORT2_INACTIVE (1<<2)
126# define TDA9887_QSS (1<<3) 126#define TDA9887_QSS (1<<3)
127# define TDA9887_INTERCARRIER (1<<4) 127#define TDA9887_INTERCARRIER (1<<4)
128# define TDA9887_PORT1_ACTIVE (1<<5) 128#define TDA9887_PORT1_ACTIVE (1<<5)
129# define TDA9887_PORT2_ACTIVE (1<<6) 129#define TDA9887_PORT2_ACTIVE (1<<6)
130# define TDA9887_INTERCARRIER_NTSC (1<<7) 130#define TDA9887_INTERCARRIER_NTSC (1<<7)
131/* Tuner takeover point adjustment, in dB, -16 <= top <= 15 */
132#define TDA9887_TOP_MASK (0x3f << 8)
133#define TDA9887_TOP_SET (1 << 13)
134#define TDA9887_TOP(top) (TDA9887_TOP_SET | (((16 + (top)) & 0x1f) << 8))
135
131/* config options */ 136/* config options */
132# define TDA9887_DEEMPHASIS_MASK (3<<16) 137#define TDA9887_DEEMPHASIS_MASK (3<<16)
133# define TDA9887_DEEMPHASIS_NONE (1<<16) 138#define TDA9887_DEEMPHASIS_NONE (1<<16)
134# define TDA9887_DEEMPHASIS_50 (2<<16) 139#define TDA9887_DEEMPHASIS_50 (2<<16)
135# define TDA9887_DEEMPHASIS_75 (3<<16) 140#define TDA9887_DEEMPHASIS_75 (3<<16)
136# define TDA9887_AUTOMUTE (1<<18) 141#define TDA9887_AUTOMUTE (1<<18)
137 142
138#ifdef __KERNEL__ 143#ifdef __KERNEL__
139 144