diff options
Diffstat (limited to 'include/media/tuner.h')
-rw-r--r-- | include/media/tuner.h | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/include/media/tuner.h b/include/media/tuner.h index cb75f4809c4d..2dd8310901e8 100644 --- a/include/media/tuner.h +++ b/include/media/tuner.h | |||
@@ -25,6 +25,8 @@ | |||
25 | 25 | ||
26 | #include "id.h" | 26 | #include "id.h" |
27 | 27 | ||
28 | #define ADDR_UNSET (255) | ||
29 | |||
28 | #define TUNER_TEMIC_PAL 0 /* 4002 FH5 (3X 7756, 9483) */ | 30 | #define TUNER_TEMIC_PAL 0 /* 4002 FH5 (3X 7756, 9483) */ |
29 | #define TUNER_PHILIPS_PAL_I 1 | 31 | #define TUNER_PHILIPS_PAL_I 1 |
30 | #define TUNER_PHILIPS_NTSC 2 | 32 | #define TUNER_PHILIPS_NTSC 2 |
@@ -100,6 +102,11 @@ | |||
100 | 102 | ||
101 | #define TUNER_YMEC_TVF_8531MF 58 | 103 | #define TUNER_YMEC_TVF_8531MF 58 |
102 | #define TUNER_YMEC_TVF_5533MF 59 /* Pixelview Pro Ultra NTSC */ | 104 | #define TUNER_YMEC_TVF_5533MF 59 /* Pixelview Pro Ultra NTSC */ |
105 | #define TUNER_THOMSON_DTT7611 60 | ||
106 | #define TUNER_TENA_9533_DI 61 | ||
107 | #define TUNER_TEA5767 62 /* Only FM Radio Tuner */ | ||
108 | |||
109 | #define TEA5767_TUNER_NAME "Philips TEA5767HN FM Radio" | ||
103 | 110 | ||
104 | #define TUNER_THOMSON_DTT7611 60 | 111 | #define TUNER_THOMSON_DTT7611 60 |
105 | 112 | ||
@@ -109,6 +116,7 @@ | |||
109 | #define NTSC 3 | 116 | #define NTSC 3 |
110 | #define SECAM 4 | 117 | #define SECAM 4 |
111 | #define ATSC 5 | 118 | #define ATSC 5 |
119 | #define RADIO 6 | ||
112 | 120 | ||
113 | #define NoTuner 0 | 121 | #define NoTuner 0 |
114 | #define Philips 1 | 122 | #define Philips 1 |
@@ -124,9 +132,17 @@ | |||
124 | #define TCL 11 | 132 | #define TCL 11 |
125 | #define THOMSON 12 | 133 | #define THOMSON 12 |
126 | 134 | ||
135 | enum v4l_radio_tuner { | ||
136 | TEA5767_LOW_LO_32768 = 0, | ||
137 | TEA5767_HIGH_LO_32768 = 1, | ||
* cgroup code forces css_set_lock to be taken before task->alloc_lock * * freezer_create(), freezer_destroy(): * cgroup_mutex [ by cgroup core ] * * can_attach(): * cgroup_mutex * * cgroup_frozen(): * task->alloc_lock (to get task's cgroup) * * freezer_fork() (preserving fork() performance means can't take cgroup_mutex): * task->alloc_lock (to get task's cgroup) * freezer->lock * sighand->siglock (if the cgroup is freezing) * * freezer_read(): * cgroup_mutex * freezer->lock * read_lock css_set_lock (cgroup iterator start) * * freezer_write() (freeze): * cgroup_mutex * freezer->lock * read_lock css_set_lock (cgroup iterator start) * sighand->siglock * * freezer_write() (unfreeze): * cgroup_mutex * freezer->lock * read_lock css_set_lock (cgroup iterator start) * task->alloc_lock (to prevent races with freeze_task()) * sighand->siglock */ static struct cgroup_subsys_state *freezer_create(struct cgroup_subsys *ss, struct cgroup *cgroup) { struct freezer *freezer; an class='del'>s tuner I2C address */ | 145 | #define TUNER_SET_TYPE_ADDR _IOW('T',3,int) /* set tuner type and I2C addr */ | |
130 | 146 | ||
131 | #define TDA9887_SET_CONFIG _IOW('t',5,int) | 147 | #define TDA9887_SET_CONFIG _IOW('t',5,int) |
132 | 148 | ||
@@ -151,8 +167,9 @@ | |||
151 | #define I2C_ADDR_TDA8275 0x61 | 167 | #define I2C_ADDR_TDA8275 0x61 |
152 | 168 | ||
153 | struct tuner_addr { | 169 | struct tuner_addr { |
154 | enum v4l2_tuner_type type; | 170 | enum v4l2_tuner_type v4l2_tuner; |
155 | unsigned short addr; | 171 | unsigned int type; |
172 | unsigned short addr; | ||
156 | }; | 173 | }; |
157 | 174 | ||
158 | struct tuner { | 175 | struct tuner { |