tda18271c2dd_maps.h 20 KB

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