Searched refs:TunerRegs (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/media/tuners/
H A Dmxl5005s.c286 TunerRegs[TUNER_REGS_NUM]; /* Tuner Register Array Pointer */ member in struct:mxl5005s_state
407 state->TunerRegs[0].Reg_Num = 9 ; MXL5005_RegisterInit()
408 state->TunerRegs[0].Reg_Val = 0x40 ; MXL5005_RegisterInit()
410 state->TunerRegs[1].Reg_Num = 11 ; MXL5005_RegisterInit()
411 state->TunerRegs[1].Reg_Val = 0x19 ; MXL5005_RegisterInit()
413 state->TunerRegs[2].Reg_Num = 12 ; MXL5005_RegisterInit()
414 state->TunerRegs[2].Reg_Val = 0x60 ; MXL5005_RegisterInit()
416 state->TunerRegs[3].Reg_Num = 13 ; MXL5005_RegisterInit()
417 state->TunerRegs[3].Reg_Val = 0x00 ; MXL5005_RegisterInit()
419 state->TunerRegs[4].Reg_Num = 14 ; MXL5005_RegisterInit()
420 state->TunerRegs[4].Reg_Val = 0x00 ; MXL5005_RegisterInit()
422 state->TunerRegs[5].Reg_Num = 15 ; MXL5005_RegisterInit()
423 state->TunerRegs[5].Reg_Val = 0xC0 ; MXL5005_RegisterInit()
425 state->TunerRegs[6].Reg_Num = 16 ; MXL5005_RegisterInit()
426 state->TunerRegs[6].Reg_Val = 0x00 ; MXL5005_RegisterInit()
428 state->TunerRegs[7].Reg_Num = 17 ; MXL5005_RegisterInit()
429 state->TunerRegs[7].Reg_Val = 0x00 ; MXL5005_RegisterInit()
431 state->TunerRegs[8].Reg_Num = 18 ; MXL5005_RegisterInit()
432 state->TunerRegs[8].Reg_Val = 0x00 ; MXL5005_RegisterInit()
434 state->TunerRegs[9].Reg_Num = 19 ; MXL5005_RegisterInit()
435 state->TunerRegs[9].Reg_Val = 0x34 ; MXL5005_RegisterInit()
437 state->TunerRegs[10].Reg_Num = 21 ; MXL5005_RegisterInit()
438 state->TunerRegs[10].Reg_Val = 0x00 ; MXL5005_RegisterInit()
440 state->TunerRegs[11].Reg_Num = 22 ; MXL5005_RegisterInit()
441 state->TunerRegs[11].Reg_Val = 0x6B ; MXL5005_RegisterInit()
443 state->TunerRegs[12].Reg_Num = 23 ; MXL5005_RegisterInit()
444 state->TunerRegs[12].Reg_Val = 0x35 ; MXL5005_RegisterInit()
446 state->TunerRegs[13].Reg_Num = 24 ; MXL5005_RegisterInit()
447 state->TunerRegs[13].Reg_Val = 0x70 ; MXL5005_RegisterInit()
449 state->TunerRegs[14].Reg_Num = 25 ; MXL5005_RegisterInit()
450 state->TunerRegs[14].Reg_Val = 0x3E ; MXL5005_RegisterInit()
452 state->TunerRegs[15].Reg_Num = 26 ; MXL5005_RegisterInit()
453 state->TunerRegs[15].Reg_Val = 0x82 ; MXL5005_RegisterInit()
455 state->TunerRegs[16].Reg_Num = 31 ; MXL5005_RegisterInit()
456 state->TunerRegs[16].Reg_Val = 0x00 ; MXL5005_RegisterInit()
458 state->TunerRegs[17].Reg_Num = 32 ; MXL5005_RegisterInit()
459 state->TunerRegs[17].Reg_Val = 0x40 ; MXL5005_RegisterInit()
461 state->TunerRegs[18].Reg_Num = 33 ; MXL5005_RegisterInit()
462 state->TunerRegs[18].Reg_Val = 0x53 ; MXL5005_RegisterInit()
464 state->TunerRegs[19].Reg_Num = 34 ; MXL5005_RegisterInit()
465 state->TunerRegs[19].Reg_Val = 0x81 ; MXL5005_RegisterInit()
467 state->TunerRegs[20].Reg_Num = 35 ; MXL5005_RegisterInit()
468 state->TunerRegs[20].Reg_Val = 0xC9 ; MXL5005_RegisterInit()
470 state->TunerRegs[21].Reg_Num = 36 ; MXL5005_RegisterInit()
471 state->TunerRegs[21].Reg_Val = 0x01 ; MXL5005_RegisterInit()
473 state->TunerRegs[22].Reg_Num = 37 ; MXL5005_RegisterInit()
474 state->TunerRegs[22].Reg_Val = 0x00 ; MXL5005_RegisterInit()
476 state->TunerRegs[23].Reg_Num = 41 ; MXL5005_RegisterInit()
477 state->TunerRegs[23].Reg_Val = 0x00 ; MXL5005_RegisterInit()
479 state->TunerRegs[24].Reg_Num = 42 ; MXL5005_RegisterInit()
480 state->TunerRegs[24].Reg_Val = 0xF8 ; MXL5005_RegisterInit()
482 state->TunerRegs[25].Reg_Num = 43 ; MXL5005_RegisterInit()
483 state->TunerRegs[25].Reg_Val = 0x43 ; MXL5005_RegisterInit()
485 state->TunerRegs[26].Reg_Num = 44 ; MXL5005_RegisterInit()
486 state->TunerRegs[26].Reg_Val = 0x20 ; MXL5005_RegisterInit()
488 state->TunerRegs[27].Reg_Num = 45 ; MXL5005_RegisterInit()
489 state->TunerRegs[27].Reg_Val = 0x80 ; MXL5005_RegisterInit()
491 state->TunerRegs[28].Reg_Num = 46 ; MXL5005_RegisterInit()
492 state->TunerRegs[28].Reg_Val = 0x88 ; MXL5005_RegisterInit()
494 state->TunerRegs[29].Reg_Num = 47 ; MXL5005_RegisterInit()
495 state->TunerRegs[29].Reg_Val = 0x86 ; MXL5005_RegisterInit()
497 state->TunerRegs[30].Reg_Num = 48 ; MXL5005_RegisterInit()
498 state->TunerRegs[30].Reg_Val = 0x00 ; MXL5005_RegisterInit()
500 state->TunerRegs[31].Reg_Num = 49 ; MXL5005_RegisterInit()
501 state->TunerRegs[31].Reg_Val = 0x00 ; MXL5005_RegisterInit()
503 state->TunerRegs[32].Reg_Num = 53 ; MXL5005_RegisterInit()
504 state->TunerRegs[32].Reg_Val = 0x94 ; MXL5005_RegisterInit()
506 state->TunerRegs[33].Reg_Num = 54 ; MXL5005_RegisterInit()
507 state->TunerRegs[33].Reg_Val = 0xFA ; MXL5005_RegisterInit()
509 state->TunerRegs[34].Reg_Num = 55 ; MXL5005_RegisterInit()
510 state->TunerRegs[34].Reg_Val = 0x92 ; MXL5005_RegisterInit()
512 state->TunerRegs[35].Reg_Num = 56 ; MXL5005_RegisterInit()
513 state->TunerRegs[35].Reg_Val = 0x80 ; MXL5005_RegisterInit()
515 state->TunerRegs[36].Reg_Num = 57 ; MXL5005_RegisterInit()
516 state->TunerRegs[36].Reg_Val = 0x41 ; MXL5005_RegisterInit()
518 state->TunerRegs[37].Reg_Num = 58 ; MXL5005_RegisterInit()
519 state->TunerRegs[37].Reg_Val = 0xDB ; MXL5005_RegisterInit()
521 state->TunerRegs[38].Reg_Num = 59 ; MXL5005_RegisterInit()
522 state->TunerRegs[38].Reg_Val = 0x00 ; MXL5005_RegisterInit()
524 state->TunerRegs[39].Reg_Num = 60 ; MXL5005_RegisterInit()
525 state->TunerRegs[39].Reg_Val = 0x00 ; MXL5005_RegisterInit()
527 state->TunerRegs[40].Reg_Num = 61 ; MXL5005_RegisterInit()
528 state->TunerRegs[40].Reg_Val = 0x00 ; MXL5005_RegisterInit()
530 state->TunerRegs[41].Reg_Num = 62 ; MXL5005_RegisterInit()
531 state->TunerRegs[41].Reg_Val = 0x00 ; MXL5005_RegisterInit()
533 state->TunerRegs[42].Reg_Num = 65 ; MXL5005_RegisterInit()
534 state->TunerRegs[42].Reg_Val = 0xF8 ; MXL5005_RegisterInit()
536 state->TunerRegs[43].Reg_Num = 66 ; MXL5005_RegisterInit()
537 state->TunerRegs[43].Reg_Val = 0xE4 ; MXL5005_RegisterInit()
539 state->TunerRegs[44].Reg_Num = 67 ; MXL5005_RegisterInit()
540 state->TunerRegs[44].Reg_Val = 0x90 ; MXL5005_RegisterInit()
542 state->TunerRegs[45].Reg_Num = 68 ; MXL5005_RegisterInit()
543 state->TunerRegs[45].Reg_Val = 0xC0 ; MXL5005_RegisterInit()
545 state->TunerRegs[46].Reg_Num = 69 ; MXL5005_RegisterInit()
546 state->TunerRegs[46].Reg_Val = 0x01 ; MXL5005_RegisterInit()
548 state->TunerRegs[47].Reg_Num = 70 ; MXL5005_RegisterInit()
549 state->TunerRegs[47].Reg_Val = 0x50 ; MXL5005_RegisterInit()
551 state->TunerRegs[48].Reg_Num = 71 ; MXL5005_RegisterInit()
552 state->TunerRegs[48].Reg_Val = 0x06 ; MXL5005_RegisterInit()
554 state->TunerRegs[49].Reg_Num = 72 ; MXL5005_RegisterInit()
555 state->TunerRegs[49].Reg_Val = 0x00 ; MXL5005_RegisterInit()
557 state->TunerRegs[50].Reg_Num = 73 ; MXL5005_RegisterInit()
558 state->TunerRegs[50].Reg_Val = 0x20 ; MXL5005_RegisterInit()
560 state->TunerRegs[51].Reg_Num = 76 ; MXL5005_RegisterInit()
561 state->TunerRegs[51].Reg_Val = 0xBB ; MXL5005_RegisterInit()
563 state->TunerRegs[52].Reg_Num = 77 ; MXL5005_RegisterInit()
564 state->TunerRegs[52].Reg_Val = 0x13 ; MXL5005_RegisterInit()
566 state->TunerRegs[53].Reg_Num = 81 ; MXL5005_RegisterInit()
567 state->TunerRegs[53].Reg_Val = 0x04 ; MXL5005_RegisterInit()
569 state->TunerRegs[54].Reg_Num = 82 ; MXL5005_RegisterInit()
570 state->TunerRegs[54].Reg_Val = 0x75 ; MXL5005_RegisterInit()
572 state->TunerRegs[55].Reg_Num = 83 ; MXL5005_RegisterInit()
573 state->TunerRegs[55].Reg_Val = 0x00 ; MXL5005_RegisterInit()
575 state->TunerRegs[56].Reg_Num = 84 ; MXL5005_RegisterInit()
576 state->TunerRegs[56].Reg_Val = 0x00 ; MXL5005_RegisterInit()
578 state->TunerRegs[57].Reg_Num = 85 ; MXL5005_RegisterInit()
579 state->TunerRegs[57].Reg_Val = 0x00 ; MXL5005_RegisterInit()
581 state->TunerRegs[58].Reg_Num = 91 ; MXL5005_RegisterInit()
582 state->TunerRegs[58].Reg_Val = 0x70 ; MXL5005_RegisterInit()
584 state->TunerRegs[59].Reg_Num = 92 ; MXL5005_RegisterInit()
585 state->TunerRegs[59].Reg_Val = 0x00 ; MXL5005_RegisterInit()
587 state->TunerRegs[60].Reg_Num = 93 ; MXL5005_RegisterInit()
588 state->TunerRegs[60].Reg_Val = 0x00 ; MXL5005_RegisterInit()
590 state->TunerRegs[61].Reg_Num = 94 ; MXL5005_RegisterInit()
591 state->TunerRegs[61].Reg_Val = 0x00 ; MXL5005_RegisterInit()
593 state->TunerRegs[62].Reg_Num = 95 ; MXL5005_RegisterInit()
594 state->TunerRegs[62].Reg_Val = 0x0C ; MXL5005_RegisterInit()
596 state->TunerRegs[63].Reg_Num = 96 ; MXL5005_RegisterInit()
597 state->TunerRegs[63].Reg_Val = 0x00 ; MXL5005_RegisterInit()
599 state->TunerRegs[64].Reg_Num = 97 ; MXL5005_RegisterInit()
600 state->TunerRegs[64].Reg_Val = 0x00 ; MXL5005_RegisterInit()
602 state->TunerRegs[65].Reg_Num = 98 ; MXL5005_RegisterInit()
603 state->TunerRegs[65].Reg_Val = 0xE2 ; MXL5005_RegisterInit()
605 state->TunerRegs[66].Reg_Num = 99 ; MXL5005_RegisterInit()
606 state->TunerRegs[66].Reg_Val = 0x00 ; MXL5005_RegisterInit()
608 state->TunerRegs[67].Reg_Num = 100 ; MXL5005_RegisterInit()
609 state->TunerRegs[67].Reg_Val = 0x00 ; MXL5005_RegisterInit()
611 state->TunerRegs[68].Reg_Num = 101 ; MXL5005_RegisterInit()
612 state->TunerRegs[68].Reg_Val = 0x12 ; MXL5005_RegisterInit()
614 state->TunerRegs[69].Reg_Num = 102 ; MXL5005_RegisterInit()
615 state->TunerRegs[69].Reg_Val = 0x80 ; MXL5005_RegisterInit()
617 state->TunerRegs[70].Reg_Num = 103 ; MXL5005_RegisterInit()
618 state->TunerRegs[70].Reg_Val = 0x32 ; MXL5005_RegisterInit()
620 state->TunerRegs[71].Reg_Num = 104 ; MXL5005_RegisterInit()
621 state->TunerRegs[71].Reg_Val = 0xB4 ; MXL5005_RegisterInit()
623 state->TunerRegs[72].Reg_Num = 105 ; MXL5005_RegisterInit()
624 state->TunerRegs[72].Reg_Val = 0x60 ; MXL5005_RegisterInit()
626 state->TunerRegs[73].Reg_Num = 106 ; MXL5005_RegisterInit()
627 state->TunerRegs[73].Reg_Val = 0x83 ; MXL5005_RegisterInit()
629 state->TunerRegs[74].Reg_Num = 107 ; MXL5005_RegisterInit()
630 state->TunerRegs[74].Reg_Val = 0x84 ; MXL5005_RegisterInit()
632 state->TunerRegs[75].Reg_Num = 108 ; MXL5005_RegisterInit()
633 state->TunerRegs[75].Reg_Val = 0x9C ; MXL5005_RegisterInit()
635 state->TunerRegs[76].Reg_Num = 109 ; MXL5005_RegisterInit()
636 state->TunerRegs[76].Reg_Val = 0x02 ; MXL5005_RegisterInit()
638 state->TunerRegs[77].Reg_Num = 110 ; MXL5005_RegisterInit()
639 state->TunerRegs[77].Reg_Val = 0x81 ; MXL5005_RegisterInit()
641 state->TunerRegs[78].Reg_Num = 111 ; MXL5005_RegisterInit()
642 state->TunerRegs[78].Reg_Val = 0xC0 ; MXL5005_RegisterInit()
644 state->TunerRegs[79].Reg_Num = 112 ; MXL5005_RegisterInit()
645 state->TunerRegs[79].Reg_Val = 0x10 ; MXL5005_RegisterInit()
647 state->TunerRegs[80].Reg_Num = 131 ; MXL5005_RegisterInit()
648 state->TunerRegs[80].Reg_Val = 0x8A ; MXL5005_RegisterInit()
650 state->TunerRegs[81].Reg_Num = 132 ; MXL5005_RegisterInit()
651 state->TunerRegs[81].Reg_Val = 0x10 ; MXL5005_RegisterInit()
653 state->TunerRegs[82].Reg_Num = 133 ; MXL5005_RegisterInit()
654 state->TunerRegs[82].Reg_Val = 0x24 ; MXL5005_RegisterInit()
656 state->TunerRegs[83].Reg_Num = 134 ; MXL5005_RegisterInit()
657 state->TunerRegs[83].Reg_Val = 0x00 ; MXL5005_RegisterInit()
659 state->TunerRegs[84].Reg_Num = 135 ; MXL5005_RegisterInit()
660 state->TunerRegs[84].Reg_Val = 0x00 ; MXL5005_RegisterInit()
662 state->TunerRegs[85].Reg_Num = 136 ; MXL5005_RegisterInit()
663 state->TunerRegs[85].Reg_Val = 0x7E ; MXL5005_RegisterInit()
665 state->TunerRegs[86].Reg_Num = 137 ; MXL5005_RegisterInit()
666 state->TunerRegs[86].Reg_Val = 0x40 ; MXL5005_RegisterInit()
668 state->TunerRegs[87].Reg_Num = 138 ; MXL5005_RegisterInit()
669 state->TunerRegs[87].Reg_Val = 0x38 ; MXL5005_RegisterInit()
671 state->TunerRegs[88].Reg_Num = 146 ; MXL5005_RegisterInit()
672 state->TunerRegs[88].Reg_Val = 0xF6 ; MXL5005_RegisterInit()
674 state->TunerRegs[89].Reg_Num = 147 ; MXL5005_RegisterInit()
675 state->TunerRegs[89].Reg_Val = 0x1A ; MXL5005_RegisterInit()
677 state->TunerRegs[90].Reg_Num = 148 ; MXL5005_RegisterInit()
678 state->TunerRegs[90].Reg_Val = 0x62 ; MXL5005_RegisterInit()
680 state->TunerRegs[91].Reg_Num = 149 ; MXL5005_RegisterInit()
681 state->TunerRegs[91].Reg_Val = 0x33 ; MXL5005_RegisterInit()
683 state->TunerRegs[92].Reg_Num = 150 ; MXL5005_RegisterInit()
684 state->TunerRegs[92].Reg_Val = 0x80 ; MXL5005_RegisterInit()
686 state->TunerRegs[93].Reg_Num = 156 ; MXL5005_RegisterInit()
687 state->TunerRegs[93].Reg_Val = 0x56 ; MXL5005_RegisterInit()
689 state->TunerRegs[94].Reg_Num = 157 ; MXL5005_RegisterInit()
690 state->TunerRegs[94].Reg_Val = 0x17 ; MXL5005_RegisterInit()
692 state->TunerRegs[95].Reg_Num = 158 ; MXL5005_RegisterInit()
693 state->TunerRegs[95].Reg_Val = 0xA9 ; MXL5005_RegisterInit()
695 state->TunerRegs[96].Reg_Num = 159 ; MXL5005_RegisterInit()
696 state->TunerRegs[96].Reg_Val = 0x00 ; MXL5005_RegisterInit()
698 state->TunerRegs[97].Reg_Num = 160 ; MXL5005_RegisterInit()
699 state->TunerRegs[97].Reg_Val = 0x00 ; MXL5005_RegisterInit()
701 state->TunerRegs[98].Reg_Num = 161 ; MXL5005_RegisterInit()
702 state->TunerRegs[98].Reg_Val = 0x00 ; MXL5005_RegisterInit()
704 state->TunerRegs[99].Reg_Num = 162 ; MXL5005_RegisterInit()
705 state->TunerRegs[99].Reg_Val = 0x40 ; MXL5005_RegisterInit()
707 state->TunerRegs[100].Reg_Num = 166 ; MXL5005_RegisterInit()
708 state->TunerRegs[100].Reg_Val = 0xAE ; MXL5005_RegisterInit()
710 state->TunerRegs[101].Reg_Num = 167 ; MXL5005_RegisterInit()
711 state->TunerRegs[101].Reg_Val = 0x1B ; MXL5005_RegisterInit()
713 state->TunerRegs[102].Reg_Num = 168 ; MXL5005_RegisterInit()
714 state->TunerRegs[102].Reg_Val = 0xF2 ; MXL5005_RegisterInit()
716 state->TunerRegs[103].Reg_Num = 195 ; MXL5005_RegisterInit()
717 state->TunerRegs[103].Reg_Val = 0x00 ; MXL5005_RegisterInit()
3502 if (RegNum == state->TunerRegs[i].Reg_Num) { MXL_RegRead()
3503 *RegVal = (u8)(state->TunerRegs[i].Reg_Val); MXL_RegRead()
3574 if (state->TunerRegs[i].Reg_Num == address) { MXL_RegWriteBit()
3576 state->TunerRegs[i].Reg_Val |= OR_MAP[bit]; MXL_RegWriteBit()
3578 state->TunerRegs[i].Reg_Val &= AND_MAP[bit]; MXL_RegWriteBit()

Completed in 135 milliseconds