enum HF_S {
HF_None = 0, HF_B, HF_DK, HF_G, HF_I, HF_L, HF_L1, HF_MN, HF_FM_Radio,
HF_AnalogMax, HF_DVBT_6MHZ, HF_DVBT_7MHZ, HF_DVBT_8MHZ,
HF_DVBT, HF_ATSC, HF_DVBC_6MHZ, HF_DVBC_7MHZ,
HF_DVBC_8MHZ, HF_DVBC
};
struct SStandardParam m_StandardTable[] = {
{ 0, 0, 0x00, 0x00 }, /* HF_None */
{ 6000000, 7000000, 0x1D, 0x2C }, /* HF_B, */
{ 6900000, 8000000, 0x1E, 0x2C }, /* HF_DK, */
{ 7100000, 8000000, 0x1E, 0x2C }, /* HF_G, */
{ 7250000, 8000000, 0x1E, 0x2C }, /* HF_I, */
{ 6900000, 8000000, 0x1E, 0x2C }, /* HF_L, */
{ 1250000, 8000000, 0x1E, 0x2C }, /* HF_L1, */
{ 5400000, 6000000, 0x1C, 0x2C }, /* HF_MN, */
{ 1250000, 500000, 0x18, 0x2C }, /* HF_FM_Radio, */
{ 0, 0, 0x00, 0x00 }, /* HF_AnalogMax (Unused) */
{ 3300000, 6000000, 0x1C, 0x58 }, /* HF_DVBT_6MHZ */
{ 3500000, 7000000, 0x1C, 0x37 }, /* HF_DVBT_7MHZ */
{ 4000000, 8000000, 0x1D, 0x37 }, /* HF_DVBT_8MHZ */
{ 0, 0, 0x00, 0x00 }, /* HF_DVBT (Unused) */
{ 5000000, 6000000, 0x1C, 0x37 }, /* HF_ATSC (center = 3.25 MHz) */
{ 4000000, 6000000, 0x1D, 0x58 }, /* HF_DVBC_6MHZ (Chicago) */
{ 4500000, 7000000, 0x1E, 0x37 }, /* HF_DVBC_7MHZ (not documented by NXP) */
{ 5000000, 8000000, 0x1F, 0x37 }, /* HF_DVBC_8MHZ */
{ 0, 0, 0x00, 0x00 }, /* HF_DVBC (Unused) */
};
struct SMap m_BP_Filter_Map[] = {
{ 62000000, 0x00 },
{ 84000000, 0x01 },
{ 100000000, 0x02 },
{ 140000000, 0x03 },
{ 170000000, 0x04 },
{ 180000000, 0x05 },
{ 865000000, 0x06 },
{ 0, 0x00 }, /* Table End */
};
static struct SMapI m_RF_Cal_Map[] = {
{ 41000000, 0x0F },
{ 43000000, 0x1C },
{ 45000000, 0x2F },
{ 46000000, 0x39 },
{ 47000000, 0x40 },
{ 47900000, 0x50 },
{ 49100000, 0x16 },
{ 50000000, 0x18 },
{ 51000000, 0x20 },
{ 53000000, 0x28 },
{ 55000000, 0x2B },
{ 56000000, 0x32 },
{ 57000000, 0x35 },
{ 58000000, 0x3E },
{ 59000000, 0x43 },
{ 60000000, 0x4E },
{ 61100000, 0x55 },
{ 63000000, 0x0F },
{ 64000000, 0x11 },
{ 65000000, 0x12 },
{ 66000000, 0x15 },
{ 67000000, 0x16 },
{ 68000000, 0x17 },
{ 70000000, 0x19 },
{ 71000000, 0x1C },
{ 72000000, 0x1D },
{ 73000000, 0x1F },
{ 74000000, 0x20 },
{ 75000000, 0x21 },
{ 76000000, 0x24 },
{ 77000000, 0x25 },
{ 78000000, 0x27 },
{ 80000000, 0x28 },
{ 81000000, 0x29 },
{ 82000000, 0x2D },
{ 83000000, 0x2E },
{ 84000000, 0x2F },
{ 85000000, 0x31 },
{ 86000000, 0x33 },
{ 87000000, 0x34 },
{ 88000000, 0x35 },
{ 89000000, 0x37 },
{ 90000000, 0x38 },
{ 91000000, 0x39 },
{ 93000000, 0x3C },
{ 94000000, 0x3E },
{ 95000000, 0x3F },
{ 96000000, 0x40 },
{ 97000000, 0x42 },
{ 99000000, 0x45 },
{ 100000000, 0x46 },
{ 102000000, 0x48 },
{ 103000000, 0x4A },
{ 105000000, 0x4D },
{ 106000000, 0x4E },
{ 107000000, 0x50 },
{ 108000000, 0x51 },
{ 110000000, 0x54 },
{ 111000000, 0x56 },
{ 112000000, 0x57 },
{ 113000000, 0x58 },
{ 114000000, 0x59 },
{ 115000000, 0x5C },
{ 116000000, 0x5D },
{ 117000000, 0x5F },
{ 119000000, 0x60 },
{ 120000000, 0x64 },
{ 121000000, 0x65 },
{ 122000000,