Lines Matching +full:0 +full:x00000064
52 "Radio deemphasis time constant, 0=None, 1=50us (elsewhere), 2=75us (USA)");
58 } while (0)
96 for (i = 0; l[i].reg; i++) { in set_audio_registers()
120 cx_write(AUD_INIT_LD, 0x0001); in set_audio_start()
121 cx_write(AUD_SOFT_RESET, 0x0001); in set_audio_start()
130 cx_write(AUD_RATE_THRES_DMD, 0x000000C0); in set_audio_finish()
142 cx_write(AUD_I2SCNTL, 0); in set_audio_finish()
143 /* cx_write(AUD_APB_IN_RATE_ADJ, 0); */ in set_audio_finish()
151 cx_write(AUD_SOFT_RESET, 0x0000); in set_audio_finish()
166 {AUD_AFE_12DB_EN, 0x00000001}, in set_audio_standard_BTSC()
167 {AUD_OUT1_SEL, 0x00000013}, in set_audio_standard_BTSC()
168 {AUD_OUT1_SHIFT, 0x00000000}, in set_audio_standard_BTSC()
169 {AUD_POLY0_DDS_CONSTANT, 0x0012010c}, in set_audio_standard_BTSC()
170 {AUD_DMD_RA_DDS, 0x00c3e7aa}, in set_audio_standard_BTSC()
171 {AUD_DBX_IN_GAIN, 0x00004734}, in set_audio_standard_BTSC()
172 {AUD_DBX_WBE_GAIN, 0x00004640}, in set_audio_standard_BTSC()
173 {AUD_DBX_SE_GAIN, 0x00008d31}, in set_audio_standard_BTSC()
174 {AUD_DCOC_0_SRC, 0x0000001a}, in set_audio_standard_BTSC()
175 {AUD_IIR1_4_SEL, 0x00000021}, in set_audio_standard_BTSC()
176 {AUD_DCOC_PASS_IN, 0x00000003}, in set_audio_standard_BTSC()
177 {AUD_DCOC_0_SHIFT_IN0, 0x0000000a}, in set_audio_standard_BTSC()
178 {AUD_DCOC_0_SHIFT_IN1, 0x00000008}, in set_audio_standard_BTSC()
179 {AUD_DCOC_1_SHIFT_IN0, 0x0000000a}, in set_audio_standard_BTSC()
180 {AUD_DCOC_1_SHIFT_IN1, 0x00000008}, in set_audio_standard_BTSC()
181 {AUD_DN0_FREQ, 0x0000283b}, in set_audio_standard_BTSC()
182 {AUD_DN2_SRC_SEL, 0x00000008}, in set_audio_standard_BTSC()
183 {AUD_DN2_FREQ, 0x00003000}, in set_audio_standard_BTSC()
184 {AUD_DN2_AFC, 0x00000002}, in set_audio_standard_BTSC()
185 {AUD_DN2_SHFT, 0x00000000}, in set_audio_standard_BTSC()
186 {AUD_IIR2_2_SEL, 0x00000020}, in set_audio_standard_BTSC()
187 {AUD_IIR2_2_SHIFT, 0x00000000}, in set_audio_standard_BTSC()
188 {AUD_IIR2_3_SEL, 0x0000001f}, in set_audio_standard_BTSC()
189 {AUD_IIR2_3_SHIFT, 0x00000000}, in set_audio_standard_BTSC()
190 {AUD_CRDC1_SRC_SEL, 0x000003ce}, in set_audio_standard_BTSC()
191 {AUD_CRDC1_SHIFT, 0x00000000}, in set_audio_standard_BTSC()
192 {AUD_CORDIC_SHIFT_1, 0x00000007}, in set_audio_standard_BTSC()
193 {AUD_DCOC_1_SRC, 0x0000001b}, in set_audio_standard_BTSC()
194 {AUD_DCOC1_SHIFT, 0x00000000}, in set_audio_standard_BTSC()
195 {AUD_RDSI_SEL, 0x00000008}, in set_audio_standard_BTSC()
196 {AUD_RDSQ_SEL, 0x00000008}, in set_audio_standard_BTSC()
197 {AUD_RDSI_SHIFT, 0x00000000}, in set_audio_standard_BTSC()
198 {AUD_RDSQ_SHIFT, 0x00000000}, in set_audio_standard_BTSC()
199 {AUD_POLYPH80SCALEFAC, 0x00000003}, in set_audio_standard_BTSC()
203 {AUD_AFE_12DB_EN, 0x00000001}, in set_audio_standard_BTSC()
204 {AUD_DBX_IN_GAIN, 0x00007200}, in set_audio_standard_BTSC()
205 {AUD_DBX_WBE_GAIN, 0x00006200}, in set_audio_standard_BTSC()
206 {AUD_DBX_SE_GAIN, 0x00006200}, in set_audio_standard_BTSC()
207 {AUD_IIR1_1_SEL, 0x00000000}, in set_audio_standard_BTSC()
208 {AUD_IIR1_3_SEL, 0x00000001}, in set_audio_standard_BTSC()
209 {AUD_DN1_SRC_SEL, 0x00000007}, in set_audio_standard_BTSC()
210 {AUD_IIR1_4_SHIFT, 0x00000006}, in set_audio_standard_BTSC()
211 {AUD_IIR2_1_SHIFT, 0x00000000}, in set_audio_standard_BTSC()
212 {AUD_IIR2_2_SHIFT, 0x00000000}, in set_audio_standard_BTSC()
213 {AUD_IIR3_0_SHIFT, 0x00000000}, in set_audio_standard_BTSC()
214 {AUD_IIR3_1_SHIFT, 0x00000000}, in set_audio_standard_BTSC()
215 {AUD_IIR3_0_SEL, 0x0000000d}, in set_audio_standard_BTSC()
216 {AUD_IIR3_1_SEL, 0x0000000e}, in set_audio_standard_BTSC()
217 {AUD_DEEMPH1_SRC_SEL, 0x00000014}, in set_audio_standard_BTSC()
218 {AUD_DEEMPH1_SHIFT, 0x00000000}, in set_audio_standard_BTSC()
219 {AUD_DEEMPH1_G0, 0x00004000}, in set_audio_standard_BTSC()
220 {AUD_DEEMPH1_A0, 0x00000000}, in set_audio_standard_BTSC()
221 {AUD_DEEMPH1_B0, 0x00000000}, in set_audio_standard_BTSC()
222 {AUD_DEEMPH1_A1, 0x00000000}, in set_audio_standard_BTSC()
223 {AUD_DEEMPH1_B1, 0x00000000}, in set_audio_standard_BTSC()
224 {AUD_OUT0_SEL, 0x0000003f}, in set_audio_standard_BTSC()
225 {AUD_OUT1_SEL, 0x0000003f}, in set_audio_standard_BTSC()
226 {AUD_DN1_AFC, 0x00000002}, in set_audio_standard_BTSC()
227 {AUD_DCOC_0_SHIFT_IN0, 0x0000000a}, in set_audio_standard_BTSC()
228 {AUD_DCOC_0_SHIFT_IN1, 0x00000008}, in set_audio_standard_BTSC()
229 {AUD_DCOC_1_SHIFT_IN0, 0x0000000a}, in set_audio_standard_BTSC()
230 {AUD_DCOC_1_SHIFT_IN1, 0x00000008}, in set_audio_standard_BTSC()
231 {AUD_IIR1_0_SEL, 0x0000001d}, in set_audio_standard_BTSC()
232 {AUD_IIR1_2_SEL, 0x0000001e}, in set_audio_standard_BTSC()
233 {AUD_IIR2_1_SEL, 0x00000002}, in set_audio_standard_BTSC()
234 {AUD_IIR2_2_SEL, 0x00000004}, in set_audio_standard_BTSC()
235 {AUD_IIR3_2_SEL, 0x0000000f}, in set_audio_standard_BTSC()
236 {AUD_DCOC2_SHIFT, 0x00000001}, in set_audio_standard_BTSC()
237 {AUD_IIR3_2_SHIFT, 0x00000001}, in set_audio_standard_BTSC()
238 {AUD_DEEMPH0_SRC_SEL, 0x00000014}, in set_audio_standard_BTSC()
239 {AUD_CORDIC_SHIFT_1, 0x00000006}, in set_audio_standard_BTSC()
240 {AUD_POLY0_DDS_CONSTANT, 0x000e4db2}, in set_audio_standard_BTSC()
241 {AUD_DMD_RA_DDS, 0x00f696e6}, in set_audio_standard_BTSC()
242 {AUD_IIR2_3_SEL, 0x00000025}, in set_audio_standard_BTSC()
243 {AUD_IIR1_4_SEL, 0x00000021}, in set_audio_standard_BTSC()
244 {AUD_DN1_FREQ, 0x0000c965}, in set_audio_standard_BTSC()
245 {AUD_DCOC_PASS_IN, 0x00000003}, in set_audio_standard_BTSC()
246 {AUD_DCOC_0_SRC, 0x0000001a}, in set_audio_standard_BTSC()
247 {AUD_DCOC_1_SRC, 0x0000001b}, in set_audio_standard_BTSC()
248 {AUD_DCOC1_SHIFT, 0x00000000}, in set_audio_standard_BTSC()
249 {AUD_RDSI_SEL, 0x00000009}, in set_audio_standard_BTSC()
250 {AUD_RDSQ_SEL, 0x00000009}, in set_audio_standard_BTSC()
251 {AUD_RDSI_SHIFT, 0x00000000}, in set_audio_standard_BTSC()
252 {AUD_RDSQ_SHIFT, 0x00000000}, in set_audio_standard_BTSC()
253 {AUD_POLYPH80SCALEFAC, 0x00000003}, in set_audio_standard_BTSC()
275 {AUD_AFE_12DB_EN, 0x00000001}, in set_audio_standard_NICAM()
276 {AUD_RATE_ADJ1, 0x00000060}, in set_audio_standard_NICAM()
277 {AUD_RATE_ADJ2, 0x000000F9}, in set_audio_standard_NICAM()
278 {AUD_RATE_ADJ3, 0x000001CC}, in set_audio_standard_NICAM()
279 {AUD_RATE_ADJ4, 0x000002B3}, in set_audio_standard_NICAM()
280 {AUD_RATE_ADJ5, 0x00000726}, in set_audio_standard_NICAM()
281 {AUD_DEEMPHDENOM1_R, 0x0000F3D0}, in set_audio_standard_NICAM()
282 {AUD_DEEMPHDENOM2_R, 0x00000000}, in set_audio_standard_NICAM()
283 {AUD_ERRLOGPERIOD_R, 0x00000064}, in set_audio_standard_NICAM()
284 {AUD_ERRINTRPTTHSHLD1_R, 0x00000FFF}, in set_audio_standard_NICAM()
285 {AUD_ERRINTRPTTHSHLD2_R, 0x0000001F}, in set_audio_standard_NICAM()
286 {AUD_ERRINTRPTTHSHLD3_R, 0x0000000F}, in set_audio_standard_NICAM()
287 {AUD_POLYPH80SCALEFAC, 0x00000003}, in set_audio_standard_NICAM()
288 {AUD_DMD_RA_DDS, 0x00C00000}, in set_audio_standard_NICAM()
289 {AUD_PLL_INT, 0x0000001E}, in set_audio_standard_NICAM()
290 {AUD_PLL_DDS, 0x00000000}, in set_audio_standard_NICAM()
291 {AUD_PLL_FRAC, 0x0000E542}, in set_audio_standard_NICAM()
292 {AUD_START_TIMER, 0x00000000}, in set_audio_standard_NICAM()
293 {AUD_DEEMPHNUMER1_R, 0x000353DE}, in set_audio_standard_NICAM()
294 {AUD_DEEMPHNUMER2_R, 0x000001B1}, in set_audio_standard_NICAM()
295 {AUD_PDF_DDS_CNST_BYTE2, 0x06}, in set_audio_standard_NICAM()
296 {AUD_PDF_DDS_CNST_BYTE1, 0x82}, in set_audio_standard_NICAM()
297 {AUD_PDF_DDS_CNST_BYTE0, 0x12}, in set_audio_standard_NICAM()
298 {AUD_QAM_MODE, 0x05}, in set_audio_standard_NICAM()
299 {AUD_PHACC_FREQ_8MSB, 0x34}, in set_audio_standard_NICAM()
300 {AUD_PHACC_FREQ_8LSB, 0x4C}, in set_audio_standard_NICAM()
301 {AUD_DEEMPHGAIN_R, 0x00006680}, in set_audio_standard_NICAM()
302 {AUD_RATE_THRES_DMD, 0x000000C0}, in set_audio_standard_NICAM()
307 {AUD_AFE_12DB_EN, 0x00000001}, in set_audio_standard_NICAM()
308 {AUD_RATE_ADJ1, 0x00000010}, in set_audio_standard_NICAM()
309 {AUD_RATE_ADJ2, 0x00000040}, in set_audio_standard_NICAM()
310 {AUD_RATE_ADJ3, 0x00000100}, in set_audio_standard_NICAM()
311 {AUD_RATE_ADJ4, 0x00000400}, in set_audio_standard_NICAM()
312 {AUD_RATE_ADJ5, 0x00001000}, in set_audio_standard_NICAM()
313 {AUD_ERRLOGPERIOD_R, 0x00000fff}, in set_audio_standard_NICAM()
314 {AUD_ERRINTRPTTHSHLD1_R, 0x000003ff}, in set_audio_standard_NICAM()
315 {AUD_ERRINTRPTTHSHLD2_R, 0x000000ff}, in set_audio_standard_NICAM()
316 {AUD_ERRINTRPTTHSHLD3_R, 0x0000003f}, in set_audio_standard_NICAM()
317 {AUD_POLYPH80SCALEFAC, 0x00000003}, in set_audio_standard_NICAM()
318 {AUD_DEEMPHGAIN_R, 0x000023c2}, in set_audio_standard_NICAM()
319 {AUD_DEEMPHNUMER1_R, 0x0002a7bc}, in set_audio_standard_NICAM()
320 {AUD_DEEMPHNUMER2_R, 0x0003023e}, in set_audio_standard_NICAM()
321 {AUD_DEEMPHDENOM1_R, 0x0000f3d0}, in set_audio_standard_NICAM()
322 {AUD_DEEMPHDENOM2_R, 0x00000000}, in set_audio_standard_NICAM()
323 {AUD_PDF_DDS_CNST_BYTE2, 0x06}, in set_audio_standard_NICAM()
324 {AUD_PDF_DDS_CNST_BYTE1, 0x82}, in set_audio_standard_NICAM()
325 {AUD_QAM_MODE, 0x05}, in set_audio_standard_NICAM()
330 {AUD_PDF_DDS_CNST_BYTE0, 0x12}, in set_audio_standard_NICAM()
331 {AUD_PHACC_FREQ_8MSB, 0x3a}, in set_audio_standard_NICAM()
332 {AUD_PHACC_FREQ_8LSB, 0x93}, in set_audio_standard_NICAM()
337 {AUD_PDF_DDS_CNST_BYTE0, 0x16}, in set_audio_standard_NICAM()
338 {AUD_PHACC_FREQ_8MSB, 0x34}, in set_audio_standard_NICAM()
339 {AUD_PHACC_FREQ_8LSB, 0x4c}, in set_audio_standard_NICAM()
376 {AUD_ERRLOGPERIOD_R, 0x00000064}, in set_audio_standard_A2()
377 {AUD_ERRINTRPTTHSHLD1_R, 0x00000fff}, in set_audio_standard_A2()
378 {AUD_ERRINTRPTTHSHLD2_R, 0x0000001f}, in set_audio_standard_A2()
379 {AUD_ERRINTRPTTHSHLD3_R, 0x0000000f}, in set_audio_standard_A2()
380 {AUD_PDF_DDS_CNST_BYTE2, 0x06}, in set_audio_standard_A2()
381 {AUD_PDF_DDS_CNST_BYTE1, 0x82}, in set_audio_standard_A2()
382 {AUD_PDF_DDS_CNST_BYTE0, 0x12}, in set_audio_standard_A2()
383 {AUD_QAM_MODE, 0x05}, in set_audio_standard_A2()
384 {AUD_PHACC_FREQ_8MSB, 0x34}, in set_audio_standard_A2()
385 {AUD_PHACC_FREQ_8LSB, 0x4c}, in set_audio_standard_A2()
386 {AUD_RATE_ADJ1, 0x00000100}, in set_audio_standard_A2()
387 {AUD_RATE_ADJ2, 0x00000200}, in set_audio_standard_A2()
388 {AUD_RATE_ADJ3, 0x00000300}, in set_audio_standard_A2()
389 {AUD_RATE_ADJ4, 0x00000400}, in set_audio_standard_A2()
390 {AUD_RATE_ADJ5, 0x00000500}, in set_audio_standard_A2()
391 {AUD_THR_FR, 0x00000000}, in set_audio_standard_A2()
392 {AAGC_HYST, 0x0000001a}, in set_audio_standard_A2()
393 {AUD_PILOT_BQD_1_K0, 0x0000755b}, in set_audio_standard_A2()
394 {AUD_PILOT_BQD_1_K1, 0x00551340}, in set_audio_standard_A2()
395 {AUD_PILOT_BQD_1_K2, 0x006d30be}, in set_audio_standard_A2()
396 {AUD_PILOT_BQD_1_K3, 0xffd394af}, in set_audio_standard_A2()
397 {AUD_PILOT_BQD_1_K4, 0x00400000}, in set_audio_standard_A2()
398 {AUD_PILOT_BQD_2_K0, 0x00040000}, in set_audio_standard_A2()
399 {AUD_PILOT_BQD_2_K1, 0x002a4841}, in set_audio_standard_A2()
400 {AUD_PILOT_BQD_2_K2, 0x00400000}, in set_audio_standard_A2()
401 {AUD_PILOT_BQD_2_K3, 0x00000000}, in set_audio_standard_A2()
402 {AUD_PILOT_BQD_2_K4, 0x00000000}, in set_audio_standard_A2()
403 {AUD_MODE_CHG_TIMER, 0x00000040}, in set_audio_standard_A2()
404 {AUD_AFE_12DB_EN, 0x00000001}, in set_audio_standard_A2()
405 {AUD_CORDIC_SHIFT_0, 0x00000007}, in set_audio_standard_A2()
406 {AUD_CORDIC_SHIFT_1, 0x00000007}, in set_audio_standard_A2()
407 {AUD_DEEMPH0_G0, 0x00000380}, in set_audio_standard_A2()
408 {AUD_DEEMPH1_G0, 0x00000380}, in set_audio_standard_A2()
409 {AUD_DCOC_0_SRC, 0x0000001a}, in set_audio_standard_A2()
410 {AUD_DCOC0_SHIFT, 0x00000000}, in set_audio_standard_A2()
411 {AUD_DCOC_0_SHIFT_IN0, 0x0000000a}, in set_audio_standard_A2()
412 {AUD_DCOC_0_SHIFT_IN1, 0x00000008}, in set_audio_standard_A2()
413 {AUD_DCOC_PASS_IN, 0x00000003}, in set_audio_standard_A2()
414 {AUD_IIR3_0_SEL, 0x00000021}, in set_audio_standard_A2()
415 {AUD_DN2_AFC, 0x00000002}, in set_audio_standard_A2()
416 {AUD_DCOC_1_SRC, 0x0000001b}, in set_audio_standard_A2()
417 {AUD_DCOC1_SHIFT, 0x00000000}, in set_audio_standard_A2()
418 {AUD_DCOC_1_SHIFT_IN0, 0x0000000a}, in set_audio_standard_A2()
419 {AUD_DCOC_1_SHIFT_IN1, 0x00000008}, in set_audio_standard_A2()
420 {AUD_IIR3_1_SEL, 0x00000023}, in set_audio_standard_A2()
421 {AUD_RDSI_SEL, 0x00000017}, in set_audio_standard_A2()
422 {AUD_RDSI_SHIFT, 0x00000000}, in set_audio_standard_A2()
423 {AUD_RDSQ_SEL, 0x00000017}, in set_audio_standard_A2()
424 {AUD_RDSQ_SHIFT, 0x00000000}, in set_audio_standard_A2()
425 {AUD_PLL_INT, 0x0000001e}, in set_audio_standard_A2()
426 {AUD_PLL_DDS, 0x00000000}, in set_audio_standard_A2()
427 {AUD_PLL_FRAC, 0x0000e542}, in set_audio_standard_A2()
428 {AUD_POLYPH80SCALEFAC, 0x00000001}, in set_audio_standard_A2()
429 {AUD_START_TIMER, 0x00000000}, in set_audio_standard_A2()
434 {AUD_DMD_RA_DDS, 0x002a4f2f}, in set_audio_standard_A2()
435 {AUD_C1_UP_THR, 0x00007000}, in set_audio_standard_A2()
436 {AUD_C1_LO_THR, 0x00005400}, in set_audio_standard_A2()
437 {AUD_C2_UP_THR, 0x00005400}, in set_audio_standard_A2()
438 {AUD_C2_LO_THR, 0x00003000}, in set_audio_standard_A2()
443 {AUD_DMD_RA_DDS, 0x002a4f2f}, in set_audio_standard_A2()
444 {AUD_C1_UP_THR, 0x00007000}, in set_audio_standard_A2()
445 {AUD_C1_LO_THR, 0x00005400}, in set_audio_standard_A2()
446 {AUD_C2_UP_THR, 0x00005400}, in set_audio_standard_A2()
447 {AUD_C2_LO_THR, 0x00003000}, in set_audio_standard_A2()
448 {AUD_DN0_FREQ, 0x00003a1c}, in set_audio_standard_A2()
449 {AUD_DN2_FREQ, 0x0000d2e0}, in set_audio_standard_A2()
454 {AUD_ERRLOGPERIOD_R, 0x00000064}, in set_audio_standard_A2()
455 {AUD_ERRINTRPTTHSHLD1_R, 0x00000fff}, in set_audio_standard_A2()
456 {AUD_ERRINTRPTTHSHLD2_R, 0x0000001f}, in set_audio_standard_A2()
457 {AUD_ERRINTRPTTHSHLD3_R, 0x0000000f}, in set_audio_standard_A2()
458 {AUD_PDF_DDS_CNST_BYTE2, 0x06}, in set_audio_standard_A2()
459 {AUD_PDF_DDS_CNST_BYTE1, 0x82}, in set_audio_standard_A2()
460 {AUD_PDF_DDS_CNST_BYTE0, 0x12}, in set_audio_standard_A2()
461 {AUD_QAM_MODE, 0x05}, in set_audio_standard_A2()
462 {AUD_PHACC_FREQ_8MSB, 0x3a}, in set_audio_standard_A2()
463 {AUD_PHACC_FREQ_8LSB, 0x93}, in set_audio_standard_A2()
464 {AUD_DMD_RA_DDS, 0x002a4f2f}, in set_audio_standard_A2()
465 {AUD_PLL_INT, 0x0000001e}, in set_audio_standard_A2()
466 {AUD_PLL_DDS, 0x00000004}, in set_audio_standard_A2()
467 {AUD_PLL_FRAC, 0x0000e542}, in set_audio_standard_A2()
468 {AUD_RATE_ADJ1, 0x00000100}, in set_audio_standard_A2()
469 {AUD_RATE_ADJ2, 0x00000200}, in set_audio_standard_A2()
470 {AUD_RATE_ADJ3, 0x00000300}, in set_audio_standard_A2()
471 {AUD_RATE_ADJ4, 0x00000400}, in set_audio_standard_A2()
472 {AUD_RATE_ADJ5, 0x00000500}, in set_audio_standard_A2()
473 {AUD_THR_FR, 0x00000000}, in set_audio_standard_A2()
474 {AUD_PILOT_BQD_1_K0, 0x0000755b}, in set_audio_standard_A2()
475 {AUD_PILOT_BQD_1_K1, 0x00551340}, in set_audio_standard_A2()
476 {AUD_PILOT_BQD_1_K2, 0x006d30be}, in set_audio_standard_A2()
477 {AUD_PILOT_BQD_1_K3, 0xffd394af}, in set_audio_standard_A2()
478 {AUD_PILOT_BQD_1_K4, 0x00400000}, in set_audio_standard_A2()
479 {AUD_PILOT_BQD_2_K0, 0x00040000}, in set_audio_standard_A2()
480 {AUD_PILOT_BQD_2_K1, 0x002a4841}, in set_audio_standard_A2()
481 {AUD_PILOT_BQD_2_K2, 0x00400000}, in set_audio_standard_A2()
482 {AUD_PILOT_BQD_2_K3, 0x00000000}, in set_audio_standard_A2()
483 {AUD_PILOT_BQD_2_K4, 0x00000000}, in set_audio_standard_A2()
484 {AUD_MODE_CHG_TIMER, 0x00000060}, in set_audio_standard_A2()
485 {AUD_AFE_12DB_EN, 0x00000001}, in set_audio_standard_A2()
486 {AAGC_HYST, 0x0000000a}, in set_audio_standard_A2()
487 {AUD_CORDIC_SHIFT_0, 0x00000007}, in set_audio_standard_A2()
488 {AUD_CORDIC_SHIFT_1, 0x00000007}, in set_audio_standard_A2()
489 {AUD_C1_UP_THR, 0x00007000}, in set_audio_standard_A2()
490 {AUD_C1_LO_THR, 0x00005400}, in set_audio_standard_A2()
491 {AUD_C2_UP_THR, 0x00005400}, in set_audio_standard_A2()
492 {AUD_C2_LO_THR, 0x00003000}, in set_audio_standard_A2()
493 {AUD_DCOC_0_SRC, 0x0000001a}, in set_audio_standard_A2()
494 {AUD_DCOC0_SHIFT, 0x00000000}, in set_audio_standard_A2()
495 {AUD_DCOC_0_SHIFT_IN0, 0x0000000a}, in set_audio_standard_A2()
496 {AUD_DCOC_0_SHIFT_IN1, 0x00000008}, in set_audio_standard_A2()
497 {AUD_DCOC_PASS_IN, 0x00000003}, in set_audio_standard_A2()
498 {AUD_IIR3_0_SEL, 0x00000021}, in set_audio_standard_A2()
499 {AUD_DN2_AFC, 0x00000002}, in set_audio_standard_A2()
500 {AUD_DCOC_1_SRC, 0x0000001b}, in set_audio_standard_A2()
501 {AUD_DCOC1_SHIFT, 0x00000000}, in set_audio_standard_A2()
502 {AUD_DCOC_1_SHIFT_IN0, 0x0000000a}, in set_audio_standard_A2()
503 {AUD_DCOC_1_SHIFT_IN1, 0x00000008}, in set_audio_standard_A2()
504 {AUD_IIR3_1_SEL, 0x00000023}, in set_audio_standard_A2()
505 {AUD_DN0_FREQ, 0x000035a3}, in set_audio_standard_A2()
506 {AUD_DN2_FREQ, 0x000029c7}, in set_audio_standard_A2()
507 {AUD_CRDC0_SRC_SEL, 0x00000511}, in set_audio_standard_A2()
508 {AUD_IIR1_0_SEL, 0x00000001}, in set_audio_standard_A2()
509 {AUD_IIR1_1_SEL, 0x00000000}, in set_audio_standard_A2()
510 {AUD_IIR3_2_SEL, 0x00000003}, in set_audio_standard_A2()
511 {AUD_IIR3_2_SHIFT, 0x00000000}, in set_audio_standard_A2()
512 {AUD_IIR3_0_SEL, 0x00000002}, in set_audio_standard_A2()
513 {AUD_IIR2_0_SEL, 0x00000021}, in set_audio_standard_A2()
514 {AUD_IIR2_0_SHIFT, 0x00000002}, in set_audio_standard_A2()
515 {AUD_DEEMPH0_SRC_SEL, 0x0000000b}, in set_audio_standard_A2()
516 {AUD_DEEMPH1_SRC_SEL, 0x0000000b}, in set_audio_standard_A2()
517 {AUD_POLYPH80SCALEFAC, 0x00000001}, in set_audio_standard_A2()
518 {AUD_START_TIMER, 0x00000000}, in set_audio_standard_A2()
523 {AUD_ERRLOGPERIOD_R, 0x00000064}, in set_audio_standard_A2()
524 {AUD_ERRINTRPTTHSHLD1_R, 0x00000FFF}, in set_audio_standard_A2()
525 {AUD_ERRINTRPTTHSHLD2_R, 0x0000001F}, in set_audio_standard_A2()
526 {AUD_ERRINTRPTTHSHLD3_R, 0x0000000F}, in set_audio_standard_A2()
527 {AUD_PDF_DDS_CNST_BYTE2, 0x48}, in set_audio_standard_A2()
528 {AUD_PDF_DDS_CNST_BYTE1, 0x3D}, in set_audio_standard_A2()
529 {AUD_QAM_MODE, 0x00}, in set_audio_standard_A2()
530 {AUD_PDF_DDS_CNST_BYTE0, 0xf5}, in set_audio_standard_A2()
531 {AUD_PHACC_FREQ_8MSB, 0x3a}, in set_audio_standard_A2()
532 {AUD_PHACC_FREQ_8LSB, 0x4a}, in set_audio_standard_A2()
533 {AUD_DEEMPHGAIN_R, 0x00006680}, in set_audio_standard_A2()
534 {AUD_DEEMPHNUMER1_R, 0x000353DE}, in set_audio_standard_A2()
535 {AUD_DEEMPHNUMER2_R, 0x000001B1}, in set_audio_standard_A2()
536 {AUD_DEEMPHDENOM1_R, 0x0000F3D0}, in set_audio_standard_A2()
537 {AUD_DEEMPHDENOM2_R, 0x00000000}, in set_audio_standard_A2()
538 {AUD_FM_MODE_ENABLE, 0x00000007}, in set_audio_standard_A2()
539 {AUD_POLYPH80SCALEFAC, 0x00000003}, in set_audio_standard_A2()
540 {AUD_AFE_12DB_EN, 0x00000001}, in set_audio_standard_A2()
541 {AAGC_GAIN, 0x00000000}, in set_audio_standard_A2()
542 {AAGC_HYST, 0x00000018}, in set_audio_standard_A2()
543 {AAGC_DEF, 0x00000020}, in set_audio_standard_A2()
544 {AUD_DN0_FREQ, 0x00000000}, in set_audio_standard_A2()
545 {AUD_POLY0_DDS_CONSTANT, 0x000E4DB2}, in set_audio_standard_A2()
546 {AUD_DCOC_0_SRC, 0x00000021}, in set_audio_standard_A2()
547 {AUD_IIR1_0_SEL, 0x00000000}, in set_audio_standard_A2()
548 {AUD_IIR1_0_SHIFT, 0x00000007}, in set_audio_standard_A2()
549 {AUD_IIR1_1_SEL, 0x00000002}, in set_audio_standard_A2()
550 {AUD_IIR1_1_SHIFT, 0x00000000}, in set_audio_standard_A2()
551 {AUD_DCOC_1_SRC, 0x00000003}, in set_audio_standard_A2()
552 {AUD_DCOC1_SHIFT, 0x00000000}, in set_audio_standard_A2()
553 {AUD_DCOC_PASS_IN, 0x00000000}, in set_audio_standard_A2()
554 {AUD_IIR1_2_SEL, 0x00000023}, in set_audio_standard_A2()
555 {AUD_IIR1_2_SHIFT, 0x00000000}, in set_audio_standard_A2()
556 {AUD_IIR1_3_SEL, 0x00000004}, in set_audio_standard_A2()
557 {AUD_IIR1_3_SHIFT, 0x00000007}, in set_audio_standard_A2()
558 {AUD_IIR1_4_SEL, 0x00000005}, in set_audio_standard_A2()
559 {AUD_IIR1_4_SHIFT, 0x00000007}, in set_audio_standard_A2()
560 {AUD_IIR3_0_SEL, 0x00000007}, in set_audio_standard_A2()
561 {AUD_IIR3_0_SHIFT, 0x00000000}, in set_audio_standard_A2()
562 {AUD_DEEMPH0_SRC_SEL, 0x00000011}, in set_audio_standard_A2()
563 {AUD_DEEMPH0_SHIFT, 0x00000000}, in set_audio_standard_A2()
564 {AUD_DEEMPH0_G0, 0x00007000}, in set_audio_standard_A2()
565 {AUD_DEEMPH0_A0, 0x00000000}, in set_audio_standard_A2()
566 {AUD_DEEMPH0_B0, 0x00000000}, in set_audio_standard_A2()
567 {AUD_DEEMPH0_A1, 0x00000000}, in set_audio_standard_A2()
568 {AUD_DEEMPH0_B1, 0x00000000}, in set_audio_standard_A2()
569 {AUD_DEEMPH1_SRC_SEL, 0x00000011}, in set_audio_standard_A2()
570 {AUD_DEEMPH1_SHIFT, 0x00000000}, in set_audio_standard_A2()
571 {AUD_DEEMPH1_G0, 0x00007000}, in set_audio_standard_A2()
572 {AUD_DEEMPH1_A0, 0x00000000}, in set_audio_standard_A2()
573 {AUD_DEEMPH1_B0, 0x00000000}, in set_audio_standard_A2()
574 {AUD_DEEMPH1_A1, 0x00000000}, in set_audio_standard_A2()
575 {AUD_DEEMPH1_B1, 0x00000000}, in set_audio_standard_A2()
576 {AUD_OUT0_SEL, 0x0000003F}, in set_audio_standard_A2()
577 {AUD_OUT1_SEL, 0x0000003F}, in set_audio_standard_A2()
578 {AUD_DMD_RA_DDS, 0x00F5C285}, in set_audio_standard_A2()
579 {AUD_PLL_INT, 0x0000001E}, in set_audio_standard_A2()
580 {AUD_PLL_DDS, 0x00000000}, in set_audio_standard_A2()
581 {AUD_PLL_FRAC, 0x0000E542}, in set_audio_standard_A2()
582 {AUD_RATE_ADJ1, 0x00000100}, in set_audio_standard_A2()
583 {AUD_RATE_ADJ2, 0x00000200}, in set_audio_standard_A2()
584 {AUD_RATE_ADJ3, 0x00000300}, in set_audio_standard_A2()
585 {AUD_RATE_ADJ4, 0x00000400}, in set_audio_standard_A2()
586 {AUD_RATE_ADJ5, 0x00000500}, in set_audio_standard_A2()
587 {AUD_RATE_THRES_DMD, 0x000000C0}, in set_audio_standard_A2()
592 {AUD_DEEMPH0_G0, 0x00000380}, in set_audio_standard_A2()
593 {AUD_DEEMPH1_G0, 0x00000380}, in set_audio_standard_A2()
594 {AUD_DEEMPHGAIN_R, 0x000011e1}, in set_audio_standard_A2()
595 {AUD_DEEMPHNUMER1_R, 0x0002a7bc}, in set_audio_standard_A2()
596 {AUD_DEEMPHNUMER2_R, 0x0003023c}, in set_audio_standard_A2()
656 {AUD_DEEMPH0_G0, 0x0C45}, in set_audio_standard_FM()
657 {AUD_DEEMPH0_A0, 0x6262}, in set_audio_standard_FM()
658 {AUD_DEEMPH0_B0, 0x1C29}, in set_audio_standard_FM()
659 {AUD_DEEMPH0_A1, 0x3FC66}, in set_audio_standard_FM()
660 {AUD_DEEMPH0_B1, 0x399A}, in set_audio_standard_FM()
662 {AUD_DEEMPH1_G0, 0x0D80}, in set_audio_standard_FM()
663 {AUD_DEEMPH1_A0, 0x6262}, in set_audio_standard_FM()
664 {AUD_DEEMPH1_B0, 0x1C29}, in set_audio_standard_FM()
665 {AUD_DEEMPH1_A1, 0x3FC66}, in set_audio_standard_FM()
666 {AUD_DEEMPH1_B1, 0x399A}, in set_audio_standard_FM()
668 {AUD_POLYPH80SCALEFAC, 0x0003}, in set_audio_standard_FM()
672 {AUD_DEEMPH0_G0, 0x091B}, in set_audio_standard_FM()
673 {AUD_DEEMPH0_A0, 0x6B68}, in set_audio_standard_FM()
674 {AUD_DEEMPH0_B0, 0x11EC}, in set_audio_standard_FM()
675 {AUD_DEEMPH0_A1, 0x3FC66}, in set_audio_standard_FM()
676 {AUD_DEEMPH0_B1, 0x399A}, in set_audio_standard_FM()
678 {AUD_DEEMPH1_G0, 0x0AA0}, in set_audio_standard_FM()
679 {AUD_DEEMPH1_A0, 0x6B68}, in set_audio_standard_FM()
680 {AUD_DEEMPH1_B0, 0x11EC}, in set_audio_standard_FM()
681 {AUD_DEEMPH1_A1, 0x3FC66}, in set_audio_standard_FM()
682 {AUD_DEEMPH1_B1, 0x399A}, in set_audio_standard_FM()
684 {AUD_POLYPH80SCALEFAC, 0x0003}, in set_audio_standard_FM()
697 {AUD_POLYPH80SCALEFAC, 0x0003}, in set_audio_standard_FM()
726 int i, j = 0; in cx88_detect_nicam()
730 for (i = 0; i < 6; i++) { in cx88_detect_nicam()
732 j += ((cx_read(AUD_NICAM_STATUS2) & 0x02) >> 1); in cx88_detect_nicam()
744 return 0; in cx88_detect_nicam()
751 set_audio_standard_BTSC(core, 0, EN_BTSC_AUTO_STEREO); in cx88_set_tvaudio()
766 if (cx88_detect_nicam(core) == 0) { in cx88_set_tvaudio()
770 core->use_nicam = 0; in cx88_set_tvaudio()
782 set_audio_start(core, 0x01); in cx88_set_tvaudio()
786 * 0= Sony, 1=Philips in cx88_set_tvaudio()
790 cx_write(AUD_I2SCNTL, 0x1); in cx88_set_tvaudio()
817 mode = reg & 0x03; in cx88_get_stereo()
818 pilot = (reg >> 2) & 0x03; in cx88_get_stereo()
821 dprintk("AUD_STATUS: 0x%x [%s/%s] ctl=%s\n", in cx88_get_stereo()
832 case 0: in cx88_get_stereo()
898 set_audio_standard_BTSC(core, 0, EN_BTSC_FORCE_MONO); in cx88_set_stereo()
901 set_audio_standard_BTSC(core, 0, EN_BTSC_AUTO_STEREO); in cx88_set_stereo()
908 set_audio_standard_BTSC(core, 0, EN_BTSC_FORCE_STEREO); in cx88_set_stereo()
941 mask = 0x3f; in cx88_set_stereo()
962 mask = 0x3f; in cx88_set_stereo()
966 mask = 0x3f; in cx88_set_stereo()
979 dprintk("cx88_set_stereo: mask 0x%x, ctl 0x%x [status=0x%x,ctl=0x%x,vol=0x%x]\n", in cx88_set_stereo()
991 u32 mode = 0; in cx88_audio_thread()
1011 memset(&t, 0, sizeof(t)); in cx88_audio_thread()
1026 cx88_set_stereo(core, mode, 0); in cx88_audio_thread()
1044 return 0; in cx88_audio_thread()