Lines Matching +full:0 +full:x00aa

25 	} while (0)
34 { 0, 270 },
68 { 15, 0 },
149 { 15, 0 },
221 for (i = 0; i < sz; i++) { in au8522_mse2snr_lookup()
224 ret = 0; in au8522_mse2snr_lookup()
241 r0b5 = 0x00; in au8522_set_if()
242 r0b6 = 0x3d; in au8522_set_if()
243 r0b7 = 0xa0; in au8522_set_if()
247 r0b5 = 0x00; in au8522_set_if()
248 r0b6 = 0x4b; in au8522_set_if()
249 r0b7 = 0xd9; in au8522_set_if()
253 r0b5 = 0xfb; in au8522_set_if()
254 r0b6 = 0x8e; in au8522_set_if()
255 r0b7 = 0x39; in au8522_set_if()
262 au8522_writereg(state, 0x00b5, r0b5); in au8522_set_if()
263 au8522_writereg(state, 0x00b6, r0b6); in au8522_set_if()
264 au8522_writereg(state, 0x00b7, r0b7); in au8522_set_if()
266 return 0; in au8522_set_if()
274 { 0x0090, 0x84 },
275 { 0x2005, 0x00 },
276 { 0x0091, 0x80 },
277 { 0x00a3, 0x0c },
278 { 0x00a4, 0xe8 },
279 { 0x0081, 0xc4 },
280 { 0x00a5, 0x40 },
281 { 0x00a7, 0x40 },
282 { 0x00a6, 0x67 },
283 { 0x0262, 0x20 },
284 { 0x021c, 0x30 },
285 { 0x00d8, 0x1a },
286 { 0x0227, 0xa0 },
287 { 0x0121, 0xff },
288 { 0x00a8, 0xf0 },
289 { 0x00a9, 0x05 },
290 { 0x00aa, 0x77 },
291 { 0x00ab, 0xf0 },
292 { 0x00ac, 0x05 },
293 { 0x00ad, 0x77 },
294 { 0x00ae, 0x41 },
295 { 0x00af, 0x66 },
296 { 0x021b, 0xcc },
297 { 0x021d, 0x80 },
298 { 0x00a4, 0xe8 },
299 { 0x0231, 0x13 },
307 { 0x00a3, 0x09 },
308 { 0x00a4, 0x00 },
309 { 0x0081, 0xc4 },
310 { 0x00a5, 0x40 },
311 { 0x00aa, 0x77 },
312 { 0x00ad, 0x77 },
313 { 0x00a6, 0x67 },
314 { 0x0262, 0x20 },
315 { 0x021c, 0x30 },
316 { 0x00b8, 0x3e },
317 { 0x00b9, 0xf0 },
318 { 0x00ba, 0x01 },
319 { 0x00bb, 0x18 },
320 { 0x00bc, 0x50 },
321 { 0x00bd, 0x00 },
322 { 0x00be, 0xea },
323 { 0x00bf, 0xef },
324 { 0x00c0, 0xfc },
325 { 0x00c1, 0xbd },
326 { 0x00c2, 0x1f },
327 { 0x00c3, 0xfc },
328 { 0x00c4, 0xdd },
329 { 0x00c5, 0xaf },
330 { 0x00c6, 0x00 },
331 { 0x00c7, 0x38 },
332 { 0x00c8, 0x30 },
333 { 0x00c9, 0x05 },
334 { 0x00ca, 0x4a },
335 { 0x00cb, 0xd0 },
336 { 0x00cc, 0x01 },
337 { 0x00cd, 0xd9 },
338 { 0x00ce, 0x6f },
339 { 0x00cf, 0xf9 },
340 { 0x00d0, 0x70 },
341 { 0x00d1, 0xdf },
342 { 0x00d2, 0xf7 },
343 { 0x00d3, 0xc2 },
344 { 0x00d4, 0xdf },
345 { 0x00d5, 0x02 },
346 { 0x00d6, 0x9a },
347 { 0x00d7, 0xd0 },
348 { 0x0250, 0x0d },
349 { 0x0251, 0xcd },
350 { 0x0252, 0xe0 },
351 { 0x0253, 0x05 },
352 { 0x0254, 0xa7 },
353 { 0x0255, 0xff },
354 { 0x0256, 0xed },
355 { 0x0257, 0x5b },
356 { 0x0258, 0xae },
357 { 0x0259, 0xe6 },
358 { 0x025a, 0x3d },
359 { 0x025b, 0x0f },
360 { 0x025c, 0x0d },
361 { 0x025d, 0xea },
362 { 0x025e, 0xf2 },
363 { 0x025f, 0x51 },
364 { 0x0260, 0xf5 },
365 { 0x0261, 0x06 },
366 { 0x021a, 0x00 },
367 { 0x0546, 0x40 },
368 { 0x0210, 0xc7 },
369 { 0x0211, 0xaa },
370 { 0x0212, 0xab },
371 { 0x0213, 0x02 },
372 { 0x0502, 0x00 },
373 { 0x0121, 0x04 },
374 { 0x0122, 0x04 },
375 { 0x052e, 0x10 },
376 { 0x00a4, 0xca },
377 { 0x00a7, 0x40 },
378 { 0x0526, 0x01 },
386 { 0x00a3, 0x09 },
387 { 0x00a4, 0x00 },
388 { 0x0081, 0xc4 },
389 { 0x00a5, 0x40 },
390 { 0x00aa, 0x77 },
391 { 0x00ad, 0x77 },
392 { 0x00a6, 0x67 },
393 { 0x0262, 0x20 },
394 { 0x021c, 0x30 },
395 { 0x00b8, 0x3e },
396 { 0x00b9, 0xf0 },
397 { 0x00ba, 0x01 },
398 { 0x00bb, 0x18 },
399 { 0x00bc, 0x50 },
400 { 0x00bd, 0x00 },
401 { 0x00be, 0xea },
402 { 0x00bf, 0xef },
403 { 0x00c0, 0xfc },
404 { 0x00c1, 0xbd },
405 { 0x00c2, 0x1f },
406 { 0x00c3, 0xfc },
407 { 0x00c4, 0xdd },
408 { 0x00c5, 0xaf },
409 { 0x00c6, 0x00 },
410 { 0x00c7, 0x38 },
411 { 0x00c8, 0x30 },
412 { 0x00c9, 0x05 },
413 { 0x00ca, 0x4a },
414 { 0x00cb, 0xd0 },
415 { 0x00cc, 0x01 },
416 { 0x00cd, 0xd9 },
417 { 0x00ce, 0x6f },
418 { 0x00cf, 0xf9 },
419 { 0x00d0, 0x70 },
420 { 0x00d1, 0xdf },
421 { 0x00d2, 0xf7 },
422 { 0x00d3, 0xc2 },
423 { 0x00d4, 0xdf },
424 { 0x00d5, 0x02 },
425 { 0x00d6, 0x9a },
426 { 0x00d7, 0xd0 },
427 { 0x0250, 0x0d },
428 { 0x0251, 0xcd },
429 { 0x0252, 0xe0 },
430 { 0x0253, 0x05 },
431 { 0x0254, 0xa7 },
432 { 0x0255, 0xff },
433 { 0x0256, 0xed },
434 { 0x0257, 0x5b },
435 { 0x0258, 0xae },
436 { 0x0259, 0xe6 },
437 { 0x025a, 0x3d },
438 { 0x025b, 0x0f },
439 { 0x025c, 0x0d },
440 { 0x025d, 0xea },
441 { 0x025e, 0xf2 },
442 { 0x025f, 0x51 },
443 { 0x0260, 0xf5 },
444 { 0x0261, 0x06 },
445 { 0x021a, 0x00 },
446 { 0x0546, 0x40 },
447 { 0x0210, 0x26 },
448 { 0x0211, 0xf6 },
449 { 0x0212, 0x84 },
450 { 0x0213, 0x02 },
451 { 0x0502, 0x01 },
452 { 0x0121, 0x04 },
453 { 0x0122, 0x04 },
454 { 0x052e, 0x10 },
455 { 0x00a4, 0xca },
456 { 0x00a7, 0x40 },
457 { 0x0526, 0x01 },
464 { 0x80a3, 0x09 },
465 { 0x80a4, 0x00 },
466 { 0x8081, 0xc4 },
467 { 0x80a5, 0x40 },
468 { 0x80b5, 0xfb },
469 { 0x80b6, 0x8e },
470 { 0x80b7, 0x39 },
471 { 0x80aa, 0x77 },
472 { 0x80ad, 0x77 },
473 { 0x80a6, 0x67 },
474 { 0x8262, 0x20 },
475 { 0x821c, 0x30 },
476 { 0x80b8, 0x3e },
477 { 0x80b9, 0xf0 },
478 { 0x80ba, 0x01 },
479 { 0x80bb, 0x18 },
480 { 0x80bc, 0x50 },
481 { 0x80bd, 0x00 },
482 { 0x80be, 0xea },
483 { 0x80bf, 0xef },
484 { 0x80c0, 0xfc },
485 { 0x80c1, 0xbd },
486 { 0x80c2, 0x1f },
487 { 0x80c3, 0xfc },
488 { 0x80c4, 0xdd },
489 { 0x80c5, 0xaf },
490 { 0x80c6, 0x00 },
491 { 0x80c7, 0x38 },
492 { 0x80c8, 0x30 },
493 { 0x80c9, 0x05 },
494 { 0x80ca, 0x4a },
495 { 0x80cb, 0xd0 },
496 { 0x80cc, 0x01 },
497 { 0x80cd, 0xd9 },
498 { 0x80ce, 0x6f },
499 { 0x80cf, 0xf9 },
500 { 0x80d0, 0x70 },
501 { 0x80d1, 0xdf },
502 { 0x80d2, 0xf7 },
503 { 0x80d3, 0xc2 },
504 { 0x80d4, 0xdf },
505 { 0x80d5, 0x02 },
506 { 0x80d6, 0x9a },
507 { 0x80d7, 0xd0 },
508 { 0x8250, 0x0d },
509 { 0x8251, 0xcd },
510 { 0x8252, 0xe0 },
511 { 0x8253, 0x05 },
512 { 0x8254, 0xa7 },
513 { 0x8255, 0xff },
514 { 0x8256, 0xed },
515 { 0x8257, 0x5b },
516 { 0x8258, 0xae },
517 { 0x8259, 0xe6 },
518 { 0x825a, 0x3d },
519 { 0x825b, 0x0f },
520 { 0x825c, 0x0d },
521 { 0x825d, 0xea },
522 { 0x825e, 0xf2 },
523 { 0x825f, 0x51 },
524 { 0x8260, 0xf5 },
525 { 0x8261, 0x06 },
526 { 0x821a, 0x01 },
527 { 0x8546, 0x40 },
528 { 0x8210, 0x26 },
529 { 0x8211, 0xf6 },
530 { 0x8212, 0x84 },
531 { 0x8213, 0x02 },
532 { 0x8502, 0x01 },
533 { 0x8121, 0x04 },
534 { 0x8122, 0x04 },
535 { 0x852e, 0x10 },
536 { 0x80a4, 0xca },
537 { 0x80a7, 0x40 },
538 { 0x8526, 0x01 },
547 dprintk("%s(0x%08x)\n", __func__, m); in au8522_enable_modulation()
552 for (i = 0; i < ARRAY_SIZE(VSB_mod_tab); i++) in au8522_enable_modulation()
560 for (i = 0; i < ARRAY_SIZE(QAM64_mod_tab); i++) in au8522_enable_modulation()
569 for (i = 0; i < ARRAY_SIZE(QAM256_mod_tab_zv_mode); i++) in au8522_enable_modulation()
575 au8522_writereg(state, 0x821a, 0x00); in au8522_enable_modulation()
578 for (i = 0; i < ARRAY_SIZE(QAM256_mod_tab); i++) in au8522_enable_modulation()
592 return 0; in au8522_enable_modulation()
606 return 0; in au8522_set_frontend()
613 fe->ops.i2c_gate_ctrl(fe, 0); in au8522_set_frontend()
616 if (ret < 0) in au8522_set_frontend()
631 return 0; in au8522_set_frontend()
638 u32 tuner_status = 0; in au8522_read_status()
640 *status = 0; in au8522_read_status()
644 reg = au8522_readreg(state, 0x0088); in au8522_read_status()
645 if ((reg & 0x03) == 0x03) in au8522_read_status()
649 reg = au8522_readreg(state, 0x0541); in au8522_read_status()
650 if (reg & 0x80) in au8522_read_status()
652 if (reg & 0x20) in au8522_read_status()
672 fe->ops.i2c_gate_ctrl(fe, 0); in au8522_read_status()
685 au8522_led_ctrl(state, 0); in au8522_read_status()
687 dprintk("%s() status 0x%08x\n", __func__, *status); in au8522_read_status()
689 return 0; in au8522_read_status()
700 return 0; in au8522_led_status()
702 if (0 == (state->fe_status & FE_HAS_LOCK)) in au8522_led_status()
703 return au8522_led_ctrl(state, 0); in au8522_led_status()
720 return 0; in au8522_led_status()
735 au8522_readreg(state, 0x0522), in au8522_read_snr()
740 au8522_readreg(state, 0x0522), in au8522_read_snr()
745 au8522_readreg(state, 0x0311), in au8522_read_snr()
768 *signal_strength = 0; in au8522_read_signal_strength()
770 if (0 == ret) { in au8522_read_signal_strength()
779 * scale the range 0 - 35*2^24 into 0 - 65535*/ in au8522_read_signal_strength()
780 if (tmp >= 8960 * 0x10000) in au8522_read_signal_strength()
781 *signal_strength = 0xffff; in au8522_read_signal_strength()
794 *ucblocks = au8522_readreg(state, 0x0087); in au8522_read_ucblocks()
796 *ucblocks = au8522_readreg(state, 0x0543); in au8522_read_ucblocks()
798 return 0; in au8522_read_ucblocks()
814 return 0; in au8522_get_frontend()
821 return 0; in au8522_get_tune_settings()
842 case 0: in au8522_attach()
867 if (au8522_init(&state->frontend) != 0) { in au8522_attach()