1 /* SPDX-License-Identifier: GPL-2.0 */
3 HF_None
= 0, HF_B
, HF_DK
, HF_G
, HF_I
, HF_L
, HF_L1
, HF_MN
, HF_FM_Radio
,
4 HF_AnalogMax
, HF_DVBT_6MHZ
, HF_DVBT_7MHZ
, HF_DVBT_8MHZ
,
5 HF_DVBT
, HF_ATSC
, HF_DVBC_6MHZ
, HF_DVBC_7MHZ
,
9 static struct SStandardParam m_StandardTable
[] = {
10 { 0, 0, 0x00, 0x00 }, /* HF_None */
11 { 6000000, 7000000, 0x1D, 0x2C }, /* HF_B, */
12 { 6900000, 8000000, 0x1E, 0x2C }, /* HF_DK, */
13 { 7100000, 8000000, 0x1E, 0x2C }, /* HF_G, */
14 { 7250000, 8000000, 0x1E, 0x2C }, /* HF_I, */
15 { 6900000, 8000000, 0x1E, 0x2C }, /* HF_L, */
16 { 1250000, 8000000, 0x1E, 0x2C }, /* HF_L1, */
17 { 5400000, 6000000, 0x1C, 0x2C }, /* HF_MN, */
18 { 1250000, 500000, 0x18, 0x2C }, /* HF_FM_Radio, */
19 { 0, 0, 0x00, 0x00 }, /* HF_AnalogMax (Unused) */
20 { 3300000, 6000000, 0x1C, 0x58 }, /* HF_DVBT_6MHZ */
21 { 3500000, 7000000, 0x1C, 0x37 }, /* HF_DVBT_7MHZ */
22 { 4000000, 8000000, 0x1D, 0x37 }, /* HF_DVBT_8MHZ */
23 { 0, 0, 0x00, 0x00 }, /* HF_DVBT (Unused) */
24 { 5000000, 6000000, 0x1C, 0x37 }, /* HF_ATSC (center = 3.25 MHz) */
25 { 4000000, 6000000, 0x1D, 0x58 }, /* HF_DVBC_6MHZ (Chicago) */
26 { 4500000, 7000000, 0x1E, 0x37 }, /* HF_DVBC_7MHZ (not documented by NXP) */
27 { 5000000, 8000000, 0x1F, 0x37 }, /* HF_DVBC_8MHZ */
28 { 0, 0, 0x00, 0x00 }, /* HF_DVBC (Unused) */
31 static struct SMap m_BP_Filter_Map
[] = {
39 { 0, 0x00 }, /* Table End */
42 static struct SMapI m_RF_Cal_Map
[] = {
480 { 0, 0x00 }, /* Table End */
484 static struct SMap2 m_KM_Map
[] = {
490 { 0, 0x00 }, /* Table End */
493 static struct SMap2 m_Main_PLL_Map
[] = {
494 { 33125000, 0x57, 0xF0 },
495 { 35500000, 0x56, 0xE0 },
496 { 38188000, 0x55, 0xD0 },
497 { 41375000, 0x54, 0xC0 },
498 { 45125000, 0x53, 0xB0 },
499 { 49688000, 0x52, 0xA0 },
500 { 55188000, 0x51, 0x90 },
501 { 62125000, 0x50, 0x80 },
502 { 66250000, 0x47, 0x78 },
503 { 71000000, 0x46, 0x70 },
504 { 76375000, 0x45, 0x68 },
505 { 82750000, 0x44, 0x60 },
506 { 90250000, 0x43, 0x58 },
507 { 99375000, 0x42, 0x50 },
508 { 110375000, 0x41, 0x48 },
509 { 124250000, 0x40, 0x40 },
510 { 132500000, 0x37, 0x3C },
511 { 142000000, 0x36, 0x38 },
512 { 152750000, 0x35, 0x34 },
513 { 165500000, 0x34, 0x30 },
514 { 180500000, 0x33, 0x2C },
515 { 198750000, 0x32, 0x28 },
516 { 220750000, 0x31, 0x24 },
517 { 248500000, 0x30, 0x20 },
518 { 265000000, 0x27, 0x1E },
519 { 284000000, 0x26, 0x1C },
520 { 305500000, 0x25, 0x1A },
521 { 331000000, 0x24, 0x18 },
522 { 361000000, 0x23, 0x16 },
523 { 397500000, 0x22, 0x14 },
524 { 441500000, 0x21, 0x12 },
525 { 497000000, 0x20, 0x10 },
526 { 530000000, 0x17, 0x0F },
527 { 568000000, 0x16, 0x0E },
528 { 611000000, 0x15, 0x0D },
529 { 662000000, 0x14, 0x0C },
530 { 722000000, 0x13, 0x0B },
531 { 795000000, 0x12, 0x0A },
532 { 883000000, 0x11, 0x09 },
533 { 994000000, 0x10, 0x08 },
534 { 0, 0x00, 0x00 }, /* Table End */
537 static struct SMap2 m_Cal_PLL_Map
[] = {
538 { 33813000, 0xDD, 0xD0 },
539 { 36625000, 0xDC, 0xC0 },
540 { 39938000, 0xDB, 0xB0 },
541 { 43938000, 0xDA, 0xA0 },
542 { 48813000, 0xD9, 0x90 },
543 { 54938000, 0xD8, 0x80 },
544 { 62813000, 0xD3, 0x70 },
545 { 67625000, 0xCD, 0x68 },
546 { 73250000, 0xCC, 0x60 },
547 { 79875000, 0xCB, 0x58 },
548 { 87875000, 0xCA, 0x50 },
549 { 97625000, 0xC9, 0x48 },
550 { 109875000, 0xC8, 0x40 },
551 { 125625000, 0xC3, 0x38 },
552 { 135250000, 0xBD, 0x34 },
553 { 146500000, 0xBC, 0x30 },
554 { 159750000, 0xBB, 0x2C },
555 { 175750000, 0xBA, 0x28 },
556 { 195250000, 0xB9, 0x24 },
557 { 219750000, 0xB8, 0x20 },
558 { 251250000, 0xB3, 0x1C },
559 { 270500000, 0xAD, 0x1A },
560 { 293000000, 0xAC, 0x18 },
561 { 319500000, 0xAB, 0x16 },
562 { 351500000, 0xAA, 0x14 },
563 { 390500000, 0xA9, 0x12 },
564 { 439500000, 0xA8, 0x10 },
565 { 502500000, 0xA3, 0x0E },
566 { 541000000, 0x9D, 0x0D },
567 { 586000000, 0x9C, 0x0C },
568 { 639000000, 0x9B, 0x0B },
569 { 703000000, 0x9A, 0x0A },
570 { 781000000, 0x99, 0x09 },
571 { 879000000, 0x98, 0x08 },
572 { 0, 0x00, 0x00 }, /* Table End */
575 static struct SMap m_GainTaper_Map
[] = {
661 { 0, 0x00 }, /* Table End */
664 static struct SMap m_RF_Cal_DC_Over_DT_Map
[] = {
766 { 0, 0x00 }, /* Table End */
770 static struct SMap m_IR_Meas_Map
[] = {
774 { 0, 0x00 }, /* Table End */
777 static struct SMap2 m_CID_Target_Map
[] = {
778 { 46000000, 0x04, 18 },
779 { 52200000, 0x0A, 15 },
780 { 70100000, 0x01, 40 },
781 { 136800000, 0x18, 40 },
782 { 156700000, 0x18, 40 },
783 { 186250000, 0x0A, 40 },
784 { 230000000, 0x0A, 40 },
785 { 345000000, 0x18, 40 },
786 { 426000000, 0x0E, 40 },
787 { 489500000, 0x1E, 40 },
788 { 697500000, 0x32, 40 },
789 { 842000000, 0x3A, 40 },
790 { 0, 0x00, 0 }, /* Table End */
793 static struct SRFBandMap m_RF_Band_Map
[7] = {
794 { 47900000, 46000000, 0, 0},
795 { 61100000, 52200000, 0, 0},
796 { 152600000, 70100000, 136800000, 0},
797 { 164700000, 156700000, 0, 0},
798 { 203500000, 186250000, 0, 0},
799 { 457800000, 230000000, 345000000, 426000000},
800 { 865000000, 489500000, 697500000, 842000000},
803 static u8 m_Thermometer_Map_1
[16] = {
810 static u8 m_Thermometer_Map_2
[16] = {