1 /* SPDX-License-Identifier: GPL-2.0 */ 2 enum HF_S { 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, 6 HF_DVBC_8MHZ, HF_DVBC 7 }; 8 9 static const 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) */ 29 }; 30 31 static const struct SMap m_BP_Filter_Map[] = { 32 { 62000000, 0x00 }, 33 { 84000000, 0x01 }, 34 { 100000000, 0x02 }, 35 { 140000000, 0x03 }, 36 { 170000000, 0x04 }, 37 { 180000000, 0x05 }, 38 { 865000000, 0x06 }, 39 { 0, 0x00 }, /* Table End */ 40 }; 41 42 static const struct SMapI m_RF_Cal_Map[] = { 43 { 41000000, 0x0F }, 44 { 43000000, 0x1C }, 45 { 45000000, 0x2F }, 46 { 46000000, 0x39 }, 47 { 47000000, 0x40 }, 48 { 47900000, 0x50 }, 49 { 49100000, 0x16 }, 50 { 50000000, 0x18 }, 51 { 51000000, 0x20 }, 52 { 53000000, 0x28 }, 53 { 55000000, 0x2B }, 54 { 56000000, 0x32 }, 55 { 57000000, 0x35 }, 56 { 58000000, 0x3E }, 57 { 59000000, 0x43 }, 58 { 60000000, 0x4E }, 59 { 61100000, 0x55 }, 60 { 63000000, 0x0F }, 61 { 64000000, 0x11 }, 62 { 65000000, 0x12 }, 63 { 66000000, 0x15 }, 64 { 67000000, 0x16 }, 65 { 68000000, 0x17 }, 66 { 70000000, 0x19 }, 67 { 71000000, 0x1C }, 68 { 72000000, 0x1D }, 69 { 73000000, 0x1F }, 70 { 74000000, 0x20 }, 71 { 75000000, 0x21 }, 72 { 76000000, 0x24 }, 73 { 77000000, 0x25 }, 74 { 78000000, 0x27 }, 75 { 80000000, 0x28 }, 76 { 81000000, 0x29 }, 77 { 82000000, 0x2D }, 78 { 83000000, 0x2E }, 79 { 84000000, 0x2F }, 80 { 85000000, 0x31 }, 81 { 86000000, 0x33 }, 82 { 87000000, 0x34 }, 83 { 88000000, 0x35 }, 84 { 89000000, 0x37 }, 85 { 90000000, 0x38 }, 86 { 91000000, 0x39 }, 87 { 93000000, 0x3C }, 88 { 94000000, 0x3E }, 89 { 95000000, 0x3F }, 90 { 96000000, 0x40 }, 91 { 97000000, 0x42 }, 92 { 99000000, 0x45 }, 93 { 100000000, 0x46 }, 94 { 102000000, 0x48 }, 95 { 103000000, 0x4A }, 96 { 105000000, 0x4D }, 97 { 106000000, 0x4E }, 98 { 107000000, 0x50 }, 99 { 108000000, 0x51 }, 100 { 110000000, 0x54 }, 101 { 111000000, 0x56 }, 102 { 112000000, 0x57 }, 103 { 113000000, 0x58 }, 104 { 114000000, 0x59 }, 105 { 115000000, 0x5C }, 106 { 116000000, 0x5D }, 107 { 117000000, 0x5F }, 108 { 119000000, 0x60 }, 109 { 120000000, 0x64 }, 110 { 121000000, 0x65 }, 111 { 122000000, 0x66 }, 112 { 123000000, 0x68 }, 113 { 124000000, 0x69 }, 114 { 125000000, 0x6C }, 115 { 126000000, 0x6D }, 116 { 127000000, 0x6E }, 117 { 128000000, 0x70 }, 118 { 129000000, 0x71 }, 119 { 130000000, 0x75 }, 120 { 131000000, 0x77 }, 121 { 132000000, 0x78 }, 122 { 133000000, 0x7B }, 123 { 134000000, 0x7E }, 124 { 135000000, 0x81 }, 125 { 136000000, 0x82 }, 126 { 137000000, 0x87 }, 127 { 138000000, 0x88 }, 128 { 139000000, 0x8D }, 129 { 140000000, 0x8E }, 130 { 141000000, 0x91 }, 131 { 142000000, 0x95 }, 132 { 143000000, 0x9A }, 133 { 144000000, 0x9D }, 134 { 145000000, 0xA1 }, 135 { 146000000, 0xA2 }, 136 { 147000000, 0xA4 }, 137 { 148000000, 0xA9 }, 138 { 149000000, 0xAE }, 139 { 150000000, 0xB0 }, 140 { 151000000, 0xB1 }, 141 { 152000000, 0xB7 }, 142 { 152600000, 0xBD }, 143 { 154000000, 0x20 }, 144 { 155000000, 0x22 }, 145 { 156000000, 0x24 }, 146 { 157000000, 0x25 }, 147 { 158000000, 0x27 }, 148 { 159000000, 0x29 }, 149 { 160000000, 0x2C }, 150 { 161000000, 0x2D }, 151 { 163000000, 0x2E }, 152 { 164000000, 0x2F }, 153 { 164700000, 0x30 }, 154 { 166000000, 0x11 }, 155 { 167000000, 0x12 }, 156 { 168000000, 0x13 }, 157 { 169000000, 0x14 }, 158 { 170000000, 0x15 }, 159 { 172000000, 0x16 }, 160 { 173000000, 0x17 }, 161 { 174000000, 0x18 }, 162 { 175000000, 0x1A }, 163 { 176000000, 0x1B }, 164 { 178000000, 0x1D }, 165 { 179000000, 0x1E }, 166 { 180000000, 0x1F }, 167 { 181000000, 0x20 }, 168 { 182000000, 0x21 }, 169 { 183000000, 0x22 }, 170 { 184000000, 0x24 }, 171 { 185000000, 0x25 }, 172 { 186000000, 0x26 }, 173 { 187000000, 0x27 }, 174 { 188000000, 0x29 }, 175 { 189000000, 0x2A }, 176 { 190000000, 0x2C }, 177 { 191000000, 0x2D }, 178 { 192000000, 0x2E }, 179 { 193000000, 0x2F }, 180 { 194000000, 0x30 }, 181 { 195000000, 0x33 }, 182 { 196000000, 0x35 }, 183 { 198000000, 0x36 }, 184 { 200000000, 0x38 }, 185 { 201000000, 0x3C }, 186 { 202000000, 0x3D }, 187 { 203500000, 0x3E }, 188 { 206000000, 0x0E }, 189 { 208000000, 0x0F }, 190 { 212000000, 0x10 }, 191 { 216000000, 0x11 }, 192 { 217000000, 0x12 }, 193 { 218000000, 0x13 }, 194 { 220000000, 0x14 }, 195 { 222000000, 0x15 }, 196 { 225000000, 0x16 }, 197 { 228000000, 0x17 }, 198 { 231000000, 0x18 }, 199 { 234000000, 0x19 }, 200 { 235000000, 0x1A }, 201 { 236000000, 0x1B }, 202 { 237000000, 0x1C }, 203 { 240000000, 0x1D }, 204 { 242000000, 0x1E }, 205 { 244000000, 0x1F }, 206 { 247000000, 0x20 }, 207 { 249000000, 0x21 }, 208 { 252000000, 0x22 }, 209 { 253000000, 0x23 }, 210 { 254000000, 0x24 }, 211 { 256000000, 0x25 }, 212 { 259000000, 0x26 }, 213 { 262000000, 0x27 }, 214 { 264000000, 0x28 }, 215 { 267000000, 0x29 }, 216 { 269000000, 0x2A }, 217 { 271000000, 0x2B }, 218 { 273000000, 0x2C }, 219 { 275000000, 0x2D }, 220 { 277000000, 0x2E }, 221 { 279000000, 0x2F }, 222 { 282000000, 0x30 }, 223 { 284000000, 0x31 }, 224 { 286000000, 0x32 }, 225 { 287000000, 0x33 }, 226 { 290000000, 0x34 }, 227 { 293000000, 0x35 }, 228 { 295000000, 0x36 }, 229 { 297000000, 0x37 }, 230 { 300000000, 0x38 }, 231 { 303000000, 0x39 }, 232 { 305000000, 0x3A }, 233 { 306000000, 0x3B }, 234 { 307000000, 0x3C }, 235 { 310000000, 0x3D }, 236 { 312000000, 0x3E }, 237 { 315000000, 0x3F }, 238 { 318000000, 0x40 }, 239 { 320000000, 0x41 }, 240 { 323000000, 0x42 }, 241 { 324000000, 0x43 }, 242 { 325000000, 0x44 }, 243 { 327000000, 0x45 }, 244 { 331000000, 0x46 }, 245 { 334000000, 0x47 }, 246 { 337000000, 0x48 }, 247 { 339000000, 0x49 }, 248 { 340000000, 0x4A }, 249 { 341000000, 0x4B }, 250 { 343000000, 0x4C }, 251 { 345000000, 0x4D }, 252 { 349000000, 0x4E }, 253 { 352000000, 0x4F }, 254 { 353000000, 0x50 }, 255 { 355000000, 0x51 }, 256 { 357000000, 0x52 }, 257 { 359000000, 0x53 }, 258 { 361000000, 0x54 }, 259 { 362000000, 0x55 }, 260 { 364000000, 0x56 }, 261 { 368000000, 0x57 }, 262 { 370000000, 0x58 }, 263 { 372000000, 0x59 }, 264 { 375000000, 0x5A }, 265 { 376000000, 0x5B }, 266 { 377000000, 0x5C }, 267 { 379000000, 0x5D }, 268 { 382000000, 0x5E }, 269 { 384000000, 0x5F }, 270 { 385000000, 0x60 }, 271 { 386000000, 0x61 }, 272 { 388000000, 0x62 }, 273 { 390000000, 0x63 }, 274 { 393000000, 0x64 }, 275 { 394000000, 0x65 }, 276 { 396000000, 0x66 }, 277 { 397000000, 0x67 }, 278 { 398000000, 0x68 }, 279 { 400000000, 0x69 }, 280 { 402000000, 0x6A }, 281 { 403000000, 0x6B }, 282 { 407000000, 0x6C }, 283 { 408000000, 0x6D }, 284 { 409000000, 0x6E }, 285 { 410000000, 0x6F }, 286 { 411000000, 0x70 }, 287 { 412000000, 0x71 }, 288 { 413000000, 0x72 }, 289 { 414000000, 0x73 }, 290 { 417000000, 0x74 }, 291 { 418000000, 0x75 }, 292 { 420000000, 0x76 }, 293 { 422000000, 0x77 }, 294 { 423000000, 0x78 }, 295 { 424000000, 0x79 }, 296 { 427000000, 0x7A }, 297 { 428000000, 0x7B }, 298 { 429000000, 0x7D }, 299 { 432000000, 0x7F }, 300 { 434000000, 0x80 }, 301 { 435000000, 0x81 }, 302 { 436000000, 0x83 }, 303 { 437000000, 0x84 }, 304 { 438000000, 0x85 }, 305 { 439000000, 0x86 }, 306 { 440000000, 0x87 }, 307 { 441000000, 0x88 }, 308 { 442000000, 0x89 }, 309 { 445000000, 0x8A }, 310 { 446000000, 0x8B }, 311 { 447000000, 0x8C }, 312 { 448000000, 0x8E }, 313 { 449000000, 0x8F }, 314 { 450000000, 0x90 }, 315 { 452000000, 0x91 }, 316 { 453000000, 0x93 }, 317 { 454000000, 0x94 }, 318 { 456000000, 0x96 }, 319 { 457800000, 0x98 }, 320 { 461000000, 0x11 }, 321 { 468000000, 0x12 }, 322 { 472000000, 0x13 }, 323 { 473000000, 0x14 }, 324 { 474000000, 0x15 }, 325 { 481000000, 0x16 }, 326 { 486000000, 0x17 }, 327 { 491000000, 0x18 }, 328 { 498000000, 0x19 }, 329 { 499000000, 0x1A }, 330 { 501000000, 0x1B }, 331 { 506000000, 0x1C }, 332 { 511000000, 0x1D }, 333 { 516000000, 0x1E }, 334 { 520000000, 0x1F }, 335 { 521000000, 0x20 }, 336 { 525000000, 0x21 }, 337 { 529000000, 0x22 }, 338 { 533000000, 0x23 }, 339 { 539000000, 0x24 }, 340 { 541000000, 0x25 }, 341 { 547000000, 0x26 }, 342 { 549000000, 0x27 }, 343 { 551000000, 0x28 }, 344 { 556000000, 0x29 }, 345 { 561000000, 0x2A }, 346 { 563000000, 0x2B }, 347 { 565000000, 0x2C }, 348 { 569000000, 0x2D }, 349 { 571000000, 0x2E }, 350 { 577000000, 0x2F }, 351 { 580000000, 0x30 }, 352 { 582000000, 0x31 }, 353 { 584000000, 0x32 }, 354 { 588000000, 0x33 }, 355 { 591000000, 0x34 }, 356 { 596000000, 0x35 }, 357 { 598000000, 0x36 }, 358 { 603000000, 0x37 }, 359 { 604000000, 0x38 }, 360 { 606000000, 0x39 }, 361 { 612000000, 0x3A }, 362 { 615000000, 0x3B }, 363 { 617000000, 0x3C }, 364 { 621000000, 0x3D }, 365 { 622000000, 0x3E }, 366 { 625000000, 0x3F }, 367 { 632000000, 0x40 }, 368 { 633000000, 0x41 }, 369 { 634000000, 0x42 }, 370 { 642000000, 0x43 }, 371 { 643000000, 0x44 }, 372 { 647000000, 0x45 }, 373 { 650000000, 0x46 }, 374 { 652000000, 0x47 }, 375 { 657000000, 0x48 }, 376 { 661000000, 0x49 }, 377 { 662000000, 0x4A }, 378 { 665000000, 0x4B }, 379 { 667000000, 0x4C }, 380 { 670000000, 0x4D }, 381 { 673000000, 0x4E }, 382 { 676000000, 0x4F }, 383 { 677000000, 0x50 }, 384 { 681000000, 0x51 }, 385 { 683000000, 0x52 }, 386 { 686000000, 0x53 }, 387 { 688000000, 0x54 }, 388 { 689000000, 0x55 }, 389 { 691000000, 0x56 }, 390 { 695000000, 0x57 }, 391 { 698000000, 0x58 }, 392 { 703000000, 0x59 }, 393 { 704000000, 0x5A }, 394 { 705000000, 0x5B }, 395 { 707000000, 0x5C }, 396 { 710000000, 0x5D }, 397 { 712000000, 0x5E }, 398 { 717000000, 0x5F }, 399 { 718000000, 0x60 }, 400 { 721000000, 0x61 }, 401 { 722000000, 0x62 }, 402 { 723000000, 0x63 }, 403 { 725000000, 0x64 }, 404 { 727000000, 0x65 }, 405 { 730000000, 0x66 }, 406 { 732000000, 0x67 }, 407 { 735000000, 0x68 }, 408 { 740000000, 0x69 }, 409 { 741000000, 0x6A }, 410 { 742000000, 0x6B }, 411 { 743000000, 0x6C }, 412 { 745000000, 0x6D }, 413 { 747000000, 0x6E }, 414 { 748000000, 0x6F }, 415 { 750000000, 0x70 }, 416 { 752000000, 0x71 }, 417 { 754000000, 0x72 }, 418 { 757000000, 0x73 }, 419 { 758000000, 0x74 }, 420 { 760000000, 0x75 }, 421 { 763000000, 0x76 }, 422 { 764000000, 0x77 }, 423 { 766000000, 0x78 }, 424 { 767000000, 0x79 }, 425 { 768000000, 0x7A }, 426 { 773000000, 0x7B }, 427 { 774000000, 0x7C }, 428 { 776000000, 0x7D }, 429 { 777000000, 0x7E }, 430 { 778000000, 0x7F }, 431 { 779000000, 0x80 }, 432 { 781000000, 0x81 }, 433 { 783000000, 0x82 }, 434 { 784000000, 0x83 }, 435 { 785000000, 0x84 }, 436 { 786000000, 0x85 }, 437 { 793000000, 0x86 }, 438 { 794000000, 0x87 }, 439 { 795000000, 0x88 }, 440 { 797000000, 0x89 }, 441 { 799000000, 0x8A }, 442 { 801000000, 0x8B }, 443 { 802000000, 0x8C }, 444 { 803000000, 0x8D }, 445 { 804000000, 0x8E }, 446 { 810000000, 0x90 }, 447 { 811000000, 0x91 }, 448 { 812000000, 0x92 }, 449 { 814000000, 0x93 }, 450 { 816000000, 0x94 }, 451 { 817000000, 0x96 }, 452 { 818000000, 0x97 }, 453 { 820000000, 0x98 }, 454 { 821000000, 0x99 }, 455 { 822000000, 0x9A }, 456 { 828000000, 0x9B }, 457 { 829000000, 0x9D }, 458 { 830000000, 0x9F }, 459 { 831000000, 0xA0 }, 460 { 833000000, 0xA1 }, 461 { 835000000, 0xA2 }, 462 { 836000000, 0xA3 }, 463 { 837000000, 0xA4 }, 464 { 838000000, 0xA6 }, 465 { 840000000, 0xA8 }, 466 { 842000000, 0xA9 }, 467 { 845000000, 0xAA }, 468 { 846000000, 0xAB }, 469 { 847000000, 0xAD }, 470 { 848000000, 0xAE }, 471 { 852000000, 0xAF }, 472 { 853000000, 0xB0 }, 473 { 858000000, 0xB1 }, 474 { 860000000, 0xB2 }, 475 { 861000000, 0xB3 }, 476 { 862000000, 0xB4 }, 477 { 863000000, 0xB6 }, 478 { 864000000, 0xB8 }, 479 { 865000000, 0xB9 }, 480 { 0, 0x00 }, /* Table End */ 481 }; 482 483 484 static const struct SMap2 m_KM_Map[] = { 485 { 47900000, 3, 2 }, 486 { 61100000, 3, 1 }, 487 { 350000000, 3, 0 }, 488 { 720000000, 2, 1 }, 489 { 865000000, 3, 3 }, 490 { 0, 0x00 }, /* Table End */ 491 }; 492 493 static const 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 */ 535 }; 536 537 static const 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 */ 573 }; 574 575 static const struct SMap m_GainTaper_Map[] = { 576 { 45400000, 0x1F }, 577 { 45800000, 0x1E }, 578 { 46200000, 0x1D }, 579 { 46700000, 0x1C }, 580 { 47100000, 0x1B }, 581 { 47500000, 0x1A }, 582 { 47900000, 0x19 }, 583 { 49600000, 0x17 }, 584 { 51200000, 0x16 }, 585 { 52900000, 0x15 }, 586 { 54500000, 0x14 }, 587 { 56200000, 0x13 }, 588 { 57800000, 0x12 }, 589 { 59500000, 0x11 }, 590 { 61100000, 0x10 }, 591 { 67600000, 0x0D }, 592 { 74200000, 0x0C }, 593 { 80700000, 0x0B }, 594 { 87200000, 0x0A }, 595 { 93800000, 0x09 }, 596 { 100300000, 0x08 }, 597 { 106900000, 0x07 }, 598 { 113400000, 0x06 }, 599 { 119900000, 0x05 }, 600 { 126500000, 0x04 }, 601 { 133000000, 0x03 }, 602 { 139500000, 0x02 }, 603 { 146100000, 0x01 }, 604 { 152600000, 0x00 }, 605 { 154300000, 0x1F }, 606 { 156100000, 0x1E }, 607 { 157800000, 0x1D }, 608 { 159500000, 0x1C }, 609 { 161200000, 0x1B }, 610 { 163000000, 0x1A }, 611 { 164700000, 0x19 }, 612 { 170200000, 0x17 }, 613 { 175800000, 0x16 }, 614 { 181300000, 0x15 }, 615 { 186900000, 0x14 }, 616 { 192400000, 0x13 }, 617 { 198000000, 0x12 }, 618 { 203500000, 0x11 }, 619 { 216200000, 0x14 }, 620 { 228900000, 0x13 }, 621 { 241600000, 0x12 }, 622 { 254400000, 0x11 }, 623 { 267100000, 0x10 }, 624 { 279800000, 0x0F }, 625 { 292500000, 0x0E }, 626 { 305200000, 0x0D }, 627 { 317900000, 0x0C }, 628 { 330700000, 0x0B }, 629 { 343400000, 0x0A }, 630 { 356100000, 0x09 }, 631 { 368800000, 0x08 }, 632 { 381500000, 0x07 }, 633 { 394200000, 0x06 }, 634 { 406900000, 0x05 }, 635 { 419700000, 0x04 }, 636 { 432400000, 0x03 }, 637 { 445100000, 0x02 }, 638 { 457800000, 0x01 }, 639 { 476300000, 0x19 }, 640 { 494800000, 0x18 }, 641 { 513300000, 0x17 }, 642 { 531800000, 0x16 }, 643 { 550300000, 0x15 }, 644 { 568900000, 0x14 }, 645 { 587400000, 0x13 }, 646 { 605900000, 0x12 }, 647 { 624400000, 0x11 }, 648 { 642900000, 0x10 }, 649 { 661400000, 0x0F }, 650 { 679900000, 0x0E }, 651 { 698400000, 0x0D }, 652 { 716900000, 0x0C }, 653 { 735400000, 0x0B }, 654 { 753900000, 0x0A }, 655 { 772500000, 0x09 }, 656 { 791000000, 0x08 }, 657 { 809500000, 0x07 }, 658 { 828000000, 0x06 }, 659 { 846500000, 0x05 }, 660 { 865000000, 0x04 }, 661 { 0, 0x00 }, /* Table End */ 662 }; 663 664 static const struct SMap m_RF_Cal_DC_Over_DT_Map[] = { 665 { 47900000, 0x00 }, 666 { 55000000, 0x00 }, 667 { 61100000, 0x0A }, 668 { 64000000, 0x0A }, 669 { 82000000, 0x14 }, 670 { 84000000, 0x19 }, 671 { 119000000, 0x1C }, 672 { 124000000, 0x20 }, 673 { 129000000, 0x2A }, 674 { 134000000, 0x32 }, 675 { 139000000, 0x39 }, 676 { 144000000, 0x3E }, 677 { 149000000, 0x3F }, 678 { 152600000, 0x40 }, 679 { 154000000, 0x40 }, 680 { 164700000, 0x41 }, 681 { 203500000, 0x32 }, 682 { 353000000, 0x19 }, 683 { 356000000, 0x1A }, 684 { 359000000, 0x1B }, 685 { 363000000, 0x1C }, 686 { 366000000, 0x1D }, 687 { 369000000, 0x1E }, 688 { 373000000, 0x1F }, 689 { 376000000, 0x20 }, 690 { 379000000, 0x21 }, 691 { 383000000, 0x22 }, 692 { 386000000, 0x23 }, 693 { 389000000, 0x24 }, 694 { 393000000, 0x25 }, 695 { 396000000, 0x26 }, 696 { 399000000, 0x27 }, 697 { 402000000, 0x28 }, 698 { 404000000, 0x29 }, 699 { 407000000, 0x2A }, 700 { 409000000, 0x2B }, 701 { 412000000, 0x2C }, 702 { 414000000, 0x2D }, 703 { 417000000, 0x2E }, 704 { 419000000, 0x2F }, 705 { 422000000, 0x30 }, 706 { 424000000, 0x31 }, 707 { 427000000, 0x32 }, 708 { 429000000, 0x33 }, 709 { 432000000, 0x34 }, 710 { 434000000, 0x35 }, 711 { 437000000, 0x36 }, 712 { 439000000, 0x37 }, 713 { 442000000, 0x38 }, 714 { 444000000, 0x39 }, 715 { 447000000, 0x3A }, 716 { 449000000, 0x3B }, 717 { 457800000, 0x3C }, 718 { 465000000, 0x0F }, 719 { 477000000, 0x12 }, 720 { 483000000, 0x14 }, 721 { 502000000, 0x19 }, 722 { 508000000, 0x1B }, 723 { 519000000, 0x1C }, 724 { 522000000, 0x1D }, 725 { 524000000, 0x1E }, 726 { 534000000, 0x1F }, 727 { 549000000, 0x20 }, 728 { 554000000, 0x22 }, 729 { 584000000, 0x24 }, 730 { 589000000, 0x26 }, 731 { 658000000, 0x27 }, 732 { 664000000, 0x2C }, 733 { 669000000, 0x2D }, 734 { 699000000, 0x2E }, 735 { 704000000, 0x30 }, 736 { 709000000, 0x31 }, 737 { 714000000, 0x32 }, 738 { 724000000, 0x33 }, 739 { 729000000, 0x36 }, 740 { 739000000, 0x38 }, 741 { 744000000, 0x39 }, 742 { 749000000, 0x3B }, 743 { 754000000, 0x3C }, 744 { 759000000, 0x3D }, 745 { 764000000, 0x3E }, 746 { 769000000, 0x3F }, 747 { 774000000, 0x40 }, 748 { 779000000, 0x41 }, 749 { 784000000, 0x43 }, 750 { 789000000, 0x46 }, 751 { 794000000, 0x48 }, 752 { 799000000, 0x4B }, 753 { 804000000, 0x4F }, 754 { 809000000, 0x54 }, 755 { 814000000, 0x59 }, 756 { 819000000, 0x5D }, 757 { 824000000, 0x61 }, 758 { 829000000, 0x68 }, 759 { 834000000, 0x6E }, 760 { 839000000, 0x75 }, 761 { 844000000, 0x7E }, 762 { 849000000, 0x82 }, 763 { 854000000, 0x84 }, 764 { 859000000, 0x8F }, 765 { 865000000, 0x9A }, 766 { 0, 0x00 }, /* Table End */ 767 }; 768 769 770 static const struct SMap m_IR_Meas_Map[] = { 771 { 200000000, 0x05 }, 772 { 400000000, 0x06 }, 773 { 865000000, 0x07 }, 774 { 0, 0x00 }, /* Table End */ 775 }; 776 777 static const 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 */ 791 }; 792 793 static const 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}, 801 }; 802 803 static u8 m_Thermometer_Map_1[16] = { 804 60, 62, 66, 64, 805 74, 72, 68, 70, 806 90, 88, 84, 86, 807 76, 78, 82, 80, 808 }; 809 810 static u8 m_Thermometer_Map_2[16] = { 811 92, 94, 98, 96, 812 106, 104, 100, 102, 813 122, 120, 116, 118, 814 108, 110, 114, 112, 815 }; 816