aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/dvb/frontends/dib8000.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/drivers/media/dvb/frontends/dib8000.c b/drivers/media/dvb/frontends/dib8000.c
index 335c6c03003c..6f6fa29d9ea4 100644
--- a/drivers/media/dvb/frontends/dib8000.c
+++ b/drivers/media/dvb/frontends/dib8000.c
@@ -121,104 +121,104 @@ static int dib8000_write_word(struct dib8000_state *state, u16 reg, u16 val)
121 return dib8000_i2c_write16(&state->i2c, reg, val); 121 return dib8000_i2c_write16(&state->i2c, reg, val);
122} 122}
123 123
124const int16_t coeff_2k_sb_1seg_dqpsk[8] = { 124static const int16_t coeff_2k_sb_1seg_dqpsk[8] = {
125 (769 << 5) | 0x0a, (745 << 5) | 0x03, (595 << 5) | 0x0d, (769 << 5) | 0x0a, (920 << 5) | 0x09, (784 << 5) | 0x02, (519 << 5) | 0x0c, 125 (769 << 5) | 0x0a, (745 << 5) | 0x03, (595 << 5) | 0x0d, (769 << 5) | 0x0a, (920 << 5) | 0x09, (784 << 5) | 0x02, (519 << 5) | 0x0c,
126 (920 << 5) | 0x09 126 (920 << 5) | 0x09
127}; 127};
128 128
129const int16_t coeff_2k_sb_1seg[8] = { 129static const int16_t coeff_2k_sb_1seg[8] = {
130 (692 << 5) | 0x0b, (683 << 5) | 0x01, (519 << 5) | 0x09, (692 << 5) | 0x0b, 0 | 0x1f, 0 | 0x1f, 0 | 0x1f, 0 | 0x1f 130 (692 << 5) | 0x0b, (683 << 5) | 0x01, (519 << 5) | 0x09, (692 << 5) | 0x0b, 0 | 0x1f, 0 | 0x1f, 0 | 0x1f, 0 | 0x1f
131}; 131};
132 132
133const int16_t coeff_2k_sb_3seg_0dqpsk_1dqpsk[8] = { 133static const int16_t coeff_2k_sb_3seg_0dqpsk_1dqpsk[8] = {
134 (832 << 5) | 0x10, (912 << 5) | 0x05, (900 << 5) | 0x12, (832 << 5) | 0x10, (-931 << 5) | 0x0f, (912 << 5) | 0x04, (807 << 5) | 0x11, 134 (832 << 5) | 0x10, (912 << 5) | 0x05, (900 << 5) | 0x12, (832 << 5) | 0x10, (-931 << 5) | 0x0f, (912 << 5) | 0x04, (807 << 5) | 0x11,
135 (-931 << 5) | 0x0f 135 (-931 << 5) | 0x0f
136}; 136};
137 137
138const int16_t coeff_2k_sb_3seg_0dqpsk[8] = { 138static const int16_t coeff_2k_sb_3seg_0dqpsk[8] = {
139 (622 << 5) | 0x0c, (941 << 5) | 0x04, (796 << 5) | 0x10, (622 << 5) | 0x0c, (982 << 5) | 0x0c, (519 << 5) | 0x02, (572 << 5) | 0x0e, 139 (622 << 5) | 0x0c, (941 << 5) | 0x04, (796 << 5) | 0x10, (622 << 5) | 0x0c, (982 << 5) | 0x0c, (519 << 5) | 0x02, (572 << 5) | 0x0e,
140 (982 << 5) | 0x0c 140 (982 << 5) | 0x0c
141}; 141};
142 142
143const int16_t coeff_2k_sb_3seg_1dqpsk[8] = { 143static const int16_t coeff_2k_sb_3seg_1dqpsk[8] = {
144 (699 << 5) | 0x14, (607 << 5) | 0x04, (944 << 5) | 0x13, (699 << 5) | 0x14, (-720 << 5) | 0x0d, (640 << 5) | 0x03, (866 << 5) | 0x12, 144 (699 << 5) | 0x14, (607 << 5) | 0x04, (944 << 5) | 0x13, (699 << 5) | 0x14, (-720 << 5) | 0x0d, (640 << 5) | 0x03, (866 << 5) | 0x12,
145 (-720 << 5) | 0x0d 145 (-720 << 5) | 0x0d
146}; 146};
147 147
148const int16_t coeff_2k_sb_3seg[8] = { 148static const int16_t coeff_2k_sb_3seg[8] = {
149 (664 << 5) | 0x0c, (925 << 5) | 0x03, (937 << 5) | 0x10, (664 << 5) | 0x0c, (-610 << 5) | 0x0a, (697 << 5) | 0x01, (836 << 5) | 0x0e, 149 (664 << 5) | 0x0c, (925 << 5) | 0x03, (937 << 5) | 0x10, (664 << 5) | 0x0c, (-610 << 5) | 0x0a, (697 << 5) | 0x01, (836 << 5) | 0x0e,
150 (-610 << 5) | 0x0a 150 (-610 << 5) | 0x0a
151}; 151};
152 152
153const int16_t coeff_4k_sb_1seg_dqpsk[8] = { 153static const int16_t coeff_4k_sb_1seg_dqpsk[8] = {
154 (-955 << 5) | 0x0e, (687 << 5) | 0x04, (818 << 5) | 0x10, (-955 << 5) | 0x0e, (-922 << 5) | 0x0d, (750 << 5) | 0x03, (665 << 5) | 0x0f, 154 (-955 << 5) | 0x0e, (687 << 5) | 0x04, (818 << 5) | 0x10, (-955 << 5) | 0x0e, (-922 << 5) | 0x0d, (750 << 5) | 0x03, (665 << 5) | 0x0f,
155 (-922 << 5) | 0x0d 155 (-922 << 5) | 0x0d
156}; 156};
157 157
158const int16_t coeff_4k_sb_1seg[8] = { 158static const int16_t coeff_4k_sb_1seg[8] = {
159 (638 << 5) | 0x0d, (683 << 5) | 0x02, (638 << 5) | 0x0d, (638 << 5) | 0x0d, (-655 << 5) | 0x0a, (517 << 5) | 0x00, (698 << 5) | 0x0d, 159 (638 << 5) | 0x0d, (683 << 5) | 0x02, (638 << 5) | 0x0d, (638 << 5) | 0x0d, (-655 << 5) | 0x0a, (517 << 5) | 0x00, (698 << 5) | 0x0d,
160 (-655 << 5) | 0x0a 160 (-655 << 5) | 0x0a
161}; 161};
162 162
163const int16_t coeff_4k_sb_3seg_0dqpsk_1dqpsk[8] = { 163static const int16_t coeff_4k_sb_3seg_0dqpsk_1dqpsk[8] = {
164 (-707 << 5) | 0x14, (910 << 5) | 0x06, (889 << 5) | 0x16, (-707 << 5) | 0x14, (-958 << 5) | 0x13, (993 << 5) | 0x05, (523 << 5) | 0x14, 164 (-707 << 5) | 0x14, (910 << 5) | 0x06, (889 << 5) | 0x16, (-707 << 5) | 0x14, (-958 << 5) | 0x13, (993 << 5) | 0x05, (523 << 5) | 0x14,
165 (-958 << 5) | 0x13 165 (-958 << 5) | 0x13
166}; 166};
167 167
168const int16_t coeff_4k_sb_3seg_0dqpsk[8] = { 168static const int16_t coeff_4k_sb_3seg_0dqpsk[8] = {
169 (-723 << 5) | 0x13, (910 << 5) | 0x05, (777 << 5) | 0x14, (-723 << 5) | 0x13, (-568 << 5) | 0x0f, (547 << 5) | 0x03, (696 << 5) | 0x12, 169 (-723 << 5) | 0x13, (910 << 5) | 0x05, (777 << 5) | 0x14, (-723 << 5) | 0x13, (-568 << 5) | 0x0f, (547 << 5) | 0x03, (696 << 5) | 0x12,
170 (-568 << 5) | 0x0f 170 (-568 << 5) | 0x0f
171}; 171};
172 172
173const int16_t coeff_4k_sb_3seg_1dqpsk[8] = { 173static const int16_t coeff_4k_sb_3seg_1dqpsk[8] = {
174 (-940 << 5) | 0x15, (607 << 5) | 0x05, (915 << 5) | 0x16, (-940 << 5) | 0x15, (-848 << 5) | 0x13, (683 << 5) | 0x04, (543 << 5) | 0x14, 174 (-940 << 5) | 0x15, (607 << 5) | 0x05, (915 << 5) | 0x16, (-940 << 5) | 0x15, (-848 << 5) | 0x13, (683 << 5) | 0x04, (543 << 5) | 0x14,
175 (-848 << 5) | 0x13 175 (-848 << 5) | 0x13
176}; 176};
177 177
178const int16_t coeff_4k_sb_3seg[8] = { 178static const int16_t coeff_4k_sb_3seg[8] = {
179 (612 << 5) | 0x12, (910 << 5) | 0x04, (864 << 5) | 0x14, (612 << 5) | 0x12, (-869 << 5) | 0x13, (683 << 5) | 0x02, (869 << 5) | 0x12, 179 (612 << 5) | 0x12, (910 << 5) | 0x04, (864 << 5) | 0x14, (612 << 5) | 0x12, (-869 << 5) | 0x13, (683 << 5) | 0x02, (869 << 5) | 0x12,
180 (-869 << 5) | 0x13 180 (-869 << 5) | 0x13
181}; 181};
182 182
183const int16_t coeff_8k_sb_1seg_dqpsk[8] = { 183static const int16_t coeff_8k_sb_1seg_dqpsk[8] = {
184 (-835 << 5) | 0x12, (684 << 5) | 0x05, (735 << 5) | 0x14, (-835 << 5) | 0x12, (-598 << 5) | 0x10, (781 << 5) | 0x04, (739 << 5) | 0x13, 184 (-835 << 5) | 0x12, (684 << 5) | 0x05, (735 << 5) | 0x14, (-835 << 5) | 0x12, (-598 << 5) | 0x10, (781 << 5) | 0x04, (739 << 5) | 0x13,
185 (-598 << 5) | 0x10 185 (-598 << 5) | 0x10
186}; 186};
187 187
188const int16_t coeff_8k_sb_1seg[8] = { 188static const int16_t coeff_8k_sb_1seg[8] = {
189 (673 << 5) | 0x0f, (683 << 5) | 0x03, (808 << 5) | 0x12, (673 << 5) | 0x0f, (585 << 5) | 0x0f, (512 << 5) | 0x01, (780 << 5) | 0x0f, 189 (673 << 5) | 0x0f, (683 << 5) | 0x03, (808 << 5) | 0x12, (673 << 5) | 0x0f, (585 << 5) | 0x0f, (512 << 5) | 0x01, (780 << 5) | 0x0f,
190 (585 << 5) | 0x0f 190 (585 << 5) | 0x0f
191}; 191};
192 192
193const int16_t coeff_8k_sb_3seg_0dqpsk_1dqpsk[8] = { 193static const int16_t coeff_8k_sb_3seg_0dqpsk_1dqpsk[8] = {
194 (863 << 5) | 0x17, (930 << 5) | 0x07, (878 << 5) | 0x19, (863 << 5) | 0x17, (0 << 5) | 0x14, (521 << 5) | 0x05, (980 << 5) | 0x18, 194 (863 << 5) | 0x17, (930 << 5) | 0x07, (878 << 5) | 0x19, (863 << 5) | 0x17, (0 << 5) | 0x14, (521 << 5) | 0x05, (980 << 5) | 0x18,
195 (0 << 5) | 0x14 195 (0 << 5) | 0x14
196}; 196};
197 197
198const int16_t coeff_8k_sb_3seg_0dqpsk[8] = { 198static const int16_t coeff_8k_sb_3seg_0dqpsk[8] = {
199 (-924 << 5) | 0x17, (910 << 5) | 0x06, (774 << 5) | 0x17, (-924 << 5) | 0x17, (-877 << 5) | 0x15, (565 << 5) | 0x04, (553 << 5) | 0x15, 199 (-924 << 5) | 0x17, (910 << 5) | 0x06, (774 << 5) | 0x17, (-924 << 5) | 0x17, (-877 << 5) | 0x15, (565 << 5) | 0x04, (553 << 5) | 0x15,
200 (-877 << 5) | 0x15 200 (-877 << 5) | 0x15
201}; 201};
202 202
203const int16_t coeff_8k_sb_3seg_1dqpsk[8] = { 203static const int16_t coeff_8k_sb_3seg_1dqpsk[8] = {
204 (-921 << 5) | 0x19, (607 << 5) | 0x06, (881 << 5) | 0x19, (-921 << 5) | 0x19, (-921 << 5) | 0x14, (713 << 5) | 0x05, (1018 << 5) | 0x18, 204 (-921 << 5) | 0x19, (607 << 5) | 0x06, (881 << 5) | 0x19, (-921 << 5) | 0x19, (-921 << 5) | 0x14, (713 << 5) | 0x05, (1018 << 5) | 0x18,
205 (-921 << 5) | 0x14 205 (-921 << 5) | 0x14
206}; 206};
207 207
208const int16_t coeff_8k_sb_3seg[8] = { 208static const int16_t coeff_8k_sb_3seg[8] = {
209 (514 << 5) | 0x14, (910 << 5) | 0x05, (861 << 5) | 0x17, (514 << 5) | 0x14, (690 << 5) | 0x14, (683 << 5) | 0x03, (662 << 5) | 0x15, 209 (514 << 5) | 0x14, (910 << 5) | 0x05, (861 << 5) | 0x17, (514 << 5) | 0x14, (690 << 5) | 0x14, (683 << 5) | 0x03, (662 << 5) | 0x15,
210 (690 << 5) | 0x14 210 (690 << 5) | 0x14
211}; 211};
212 212
213const int16_t ana_fe_coeff_3seg[24] = { 213static const int16_t ana_fe_coeff_3seg[24] = {
214 81, 80, 78, 74, 68, 61, 54, 45, 37, 28, 19, 11, 4, 1022, 1017, 1013, 1010, 1008, 1008, 1008, 1008, 1010, 1014, 1017 214 81, 80, 78, 74, 68, 61, 54, 45, 37, 28, 19, 11, 4, 1022, 1017, 1013, 1010, 1008, 1008, 1008, 1008, 1010, 1014, 1017
215}; 215};
216 216
217const int16_t ana_fe_coeff_1seg[24] = { 217static const int16_t ana_fe_coeff_1seg[24] = {
218 249, 226, 164, 82, 5, 981, 970, 988, 1018, 20, 31, 26, 8, 1012, 1000, 1018, 1012, 8, 15, 14, 9, 3, 1017, 1003 218 249, 226, 164, 82, 5, 981, 970, 988, 1018, 20, 31, 26, 8, 1012, 1000, 1018, 1012, 8, 15, 14, 9, 3, 1017, 1003
219}; 219};
220 220
221const int16_t ana_fe_coeff_13seg[24] = { 221static const int16_t ana_fe_coeff_13seg[24] = {
222 396, 305, 105, -51, -77, -12, 41, 31, -11, -30, -11, 14, 15, -2, -13, -7, 5, 8, 1, -6, -7, -3, 0, 1 222 396, 305, 105, -51, -77, -12, 41, 31, -11, -30, -11, 14, 15, -2, -13, -7, 5, 8, 1, -6, -7, -3, 0, 1
223}; 223};
224 224