radio_2056.h 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef B43_RADIO_2056_H_
  3. #define B43_RADIO_2056_H_
  4. #include <linux/types.h>
  5. #include "tables_nphy.h"
  6. #define B2056_SYN (0x0 << 12)
  7. #define B2056_TX0 (0x2 << 12)
  8. #define B2056_TX1 (0x3 << 12)
  9. #define B2056_RX0 (0x6 << 12)
  10. #define B2056_RX1 (0x7 << 12)
  11. #define B2056_ALLTX (0xE << 12)
  12. #define B2056_ALLRX (0xF << 12)
  13. #define B2056_SYN_RESERVED_ADDR0 0x00
  14. #define B2056_SYN_IDCODE 0x01
  15. #define B2056_SYN_RESERVED_ADDR2 0x02
  16. #define B2056_SYN_RESERVED_ADDR3 0x03
  17. #define B2056_SYN_RESERVED_ADDR4 0x04
  18. #define B2056_SYN_RESERVED_ADDR5 0x05
  19. #define B2056_SYN_RESERVED_ADDR6 0x06
  20. #define B2056_SYN_RESERVED_ADDR7 0x07
  21. #define B2056_SYN_COM_CTRL 0x08
  22. #define B2056_SYN_COM_PU 0x09
  23. #define B2056_SYN_COM_OVR 0x0A
  24. #define B2056_SYN_COM_RESET 0x0B
  25. #define B2056_SYN_COM_RCAL 0x0C
  26. #define B2056_SYN_COM_RC_RXLPF 0x0D
  27. #define B2056_SYN_COM_RC_TXLPF 0x0E
  28. #define B2056_SYN_COM_RC_RXHPF 0x0F
  29. #define B2056_SYN_RESERVED_ADDR16 0x10
  30. #define B2056_SYN_RESERVED_ADDR17 0x11
  31. #define B2056_SYN_RESERVED_ADDR18 0x12
  32. #define B2056_SYN_RESERVED_ADDR19 0x13
  33. #define B2056_SYN_RESERVED_ADDR20 0x14
  34. #define B2056_SYN_RESERVED_ADDR21 0x15
  35. #define B2056_SYN_RESERVED_ADDR22 0x16
  36. #define B2056_SYN_RESERVED_ADDR23 0x17
  37. #define B2056_SYN_RESERVED_ADDR24 0x18
  38. #define B2056_SYN_RESERVED_ADDR25 0x19
  39. #define B2056_SYN_RESERVED_ADDR26 0x1A
  40. #define B2056_SYN_RESERVED_ADDR27 0x1B
  41. #define B2056_SYN_RESERVED_ADDR28 0x1C
  42. #define B2056_SYN_RESERVED_ADDR29 0x1D
  43. #define B2056_SYN_RESERVED_ADDR30 0x1E
  44. #define B2056_SYN_RESERVED_ADDR31 0x1F
  45. #define B2056_SYN_GPIO_MASTER1 0x20
  46. #define B2056_SYN_GPIO_MASTER2 0x21
  47. #define B2056_SYN_TOPBIAS_MASTER 0x22
  48. #define B2056_SYN_TOPBIAS_RCAL 0x23
  49. #define B2056_SYN_AFEREG 0x24
  50. #define B2056_SYN_TEMPPROCSENSE 0x25
  51. #define B2056_SYN_TEMPPROCSENSEIDAC 0x26
  52. #define B2056_SYN_TEMPPROCSENSERCAL 0x27
  53. #define B2056_SYN_LPO 0x28
  54. #define B2056_SYN_VDDCAL_MASTER 0x29
  55. #define B2056_SYN_VDDCAL_IDAC 0x2A
  56. #define B2056_SYN_VDDCAL_STATUS 0x2B
  57. #define B2056_SYN_RCAL_MASTER 0x2C
  58. #define B2056_SYN_RCAL_CODE_OUT 0x2D
  59. #define B2056_SYN_RCCAL_CTRL0 0x2E
  60. #define B2056_SYN_RCCAL_CTRL1 0x2F
  61. #define B2056_SYN_RCCAL_CTRL2 0x30
  62. #define B2056_SYN_RCCAL_CTRL3 0x31
  63. #define B2056_SYN_RCCAL_CTRL4 0x32
  64. #define B2056_SYN_RCCAL_CTRL5 0x33
  65. #define B2056_SYN_RCCAL_CTRL6 0x34
  66. #define B2056_SYN_RCCAL_CTRL7 0x35
  67. #define B2056_SYN_RCCAL_CTRL8 0x36
  68. #define B2056_SYN_RCCAL_CTRL9 0x37
  69. #define B2056_SYN_RCCAL_CTRL10 0x38
  70. #define B2056_SYN_RCCAL_CTRL11 0x39
  71. #define B2056_SYN_ZCAL_SPARE1 0x3A
  72. #define B2056_SYN_ZCAL_SPARE2 0x3B
  73. #define B2056_SYN_PLL_MAST1 0x3C
  74. #define B2056_SYN_PLL_MAST2 0x3D
  75. #define B2056_SYN_PLL_MAST3 0x3E
  76. #define B2056_SYN_PLL_BIAS_RESET 0x3F
  77. #define B2056_SYN_PLL_XTAL0 0x40
  78. #define B2056_SYN_PLL_XTAL1 0x41
  79. #define B2056_SYN_PLL_XTAL3 0x42
  80. #define B2056_SYN_PLL_XTAL4 0x43
  81. #define B2056_SYN_PLL_XTAL5 0x44
  82. #define B2056_SYN_PLL_XTAL6 0x45
  83. #define B2056_SYN_PLL_REFDIV 0x46
  84. #define B2056_SYN_PLL_PFD 0x47
  85. #define B2056_SYN_PLL_CP1 0x48
  86. #define B2056_SYN_PLL_CP2 0x49
  87. #define B2056_SYN_PLL_CP3 0x4A
  88. #define B2056_SYN_PLL_LOOPFILTER1 0x4B
  89. #define B2056_SYN_PLL_LOOPFILTER2 0x4C
  90. #define B2056_SYN_PLL_LOOPFILTER3 0x4D
  91. #define B2056_SYN_PLL_LOOPFILTER4 0x4E
  92. #define B2056_SYN_PLL_LOOPFILTER5 0x4F
  93. #define B2056_SYN_PLL_MMD1 0x50
  94. #define B2056_SYN_PLL_MMD2 0x51
  95. #define B2056_SYN_PLL_VCO1 0x52
  96. #define B2056_SYN_PLL_VCO2 0x53
  97. #define B2056_SYN_PLL_MONITOR1 0x54
  98. #define B2056_SYN_PLL_MONITOR2 0x55
  99. #define B2056_SYN_PLL_VCOCAL1 0x56
  100. #define B2056_SYN_PLL_VCOCAL2 0x57
  101. #define B2056_SYN_PLL_VCOCAL4 0x58
  102. #define B2056_SYN_PLL_VCOCAL5 0x59
  103. #define B2056_SYN_PLL_VCOCAL6 0x5A
  104. #define B2056_SYN_PLL_VCOCAL7 0x5B
  105. #define B2056_SYN_PLL_VCOCAL8 0x5C
  106. #define B2056_SYN_PLL_VCOCAL9 0x5D
  107. #define B2056_SYN_PLL_VCOCAL10 0x5E
  108. #define B2056_SYN_PLL_VCOCAL11 0x5F
  109. #define B2056_SYN_PLL_VCOCAL12 0x60
  110. #define B2056_SYN_PLL_VCOCAL13 0x61
  111. #define B2056_SYN_PLL_VREG 0x62
  112. #define B2056_SYN_PLL_STATUS1 0x63
  113. #define B2056_SYN_PLL_STATUS2 0x64
  114. #define B2056_SYN_PLL_STATUS3 0x65
  115. #define B2056_SYN_LOGEN_PU0 0x66
  116. #define B2056_SYN_LOGEN_PU1 0x67
  117. #define B2056_SYN_LOGEN_PU2 0x68
  118. #define B2056_SYN_LOGEN_PU3 0x69
  119. #define B2056_SYN_LOGEN_PU5 0x6A
  120. #define B2056_SYN_LOGEN_PU6 0x6B
  121. #define B2056_SYN_LOGEN_PU7 0x6C
  122. #define B2056_SYN_LOGEN_PU8 0x6D
  123. #define B2056_SYN_LOGEN_BIAS_RESET 0x6E
  124. #define B2056_SYN_LOGEN_RCCR1 0x6F
  125. #define B2056_SYN_LOGEN_VCOBUF1 0x70
  126. #define B2056_SYN_LOGEN_MIXER1 0x71
  127. #define B2056_SYN_LOGEN_MIXER2 0x72
  128. #define B2056_SYN_LOGEN_BUF1 0x73
  129. #define B2056_SYN_LOGENBUF2 0x74
  130. #define B2056_SYN_LOGEN_BUF3 0x75
  131. #define B2056_SYN_LOGEN_BUF4 0x76
  132. #define B2056_SYN_LOGEN_DIV1 0x77
  133. #define B2056_SYN_LOGEN_DIV2 0x78
  134. #define B2056_SYN_LOGEN_DIV3 0x79
  135. #define B2056_SYN_LOGEN_ACL1 0x7A
  136. #define B2056_SYN_LOGEN_ACL2 0x7B
  137. #define B2056_SYN_LOGEN_ACL3 0x7C
  138. #define B2056_SYN_LOGEN_ACL4 0x7D
  139. #define B2056_SYN_LOGEN_ACL5 0x7E
  140. #define B2056_SYN_LOGEN_ACL6 0x7F
  141. #define B2056_SYN_LOGEN_ACLOUT 0x80
  142. #define B2056_SYN_LOGEN_ACLCAL1 0x81
  143. #define B2056_SYN_LOGEN_ACLCAL2 0x82
  144. #define B2056_SYN_LOGEN_ACLCAL3 0x83
  145. #define B2056_SYN_CALEN 0x84
  146. #define B2056_SYN_LOGEN_PEAKDET1 0x85
  147. #define B2056_SYN_LOGEN_CORE_ACL_OVR 0x86
  148. #define B2056_SYN_LOGEN_RX_DIFF_ACL_OVR 0x87
  149. #define B2056_SYN_LOGEN_TX_DIFF_ACL_OVR 0x88
  150. #define B2056_SYN_LOGEN_RX_CMOS_ACL_OVR 0x89
  151. #define B2056_SYN_LOGEN_TX_CMOS_ACL_OVR 0x8A
  152. #define B2056_SYN_LOGEN_VCOBUF2 0x8B
  153. #define B2056_SYN_LOGEN_MIXER3 0x8C
  154. #define B2056_SYN_LOGEN_BUF5 0x8D
  155. #define B2056_SYN_LOGEN_BUF6 0x8E
  156. #define B2056_SYN_LOGEN_CBUFRX1 0x8F
  157. #define B2056_SYN_LOGEN_CBUFRX2 0x90
  158. #define B2056_SYN_LOGEN_CBUFRX3 0x91
  159. #define B2056_SYN_LOGEN_CBUFRX4 0x92
  160. #define B2056_SYN_LOGEN_CBUFTX1 0x93
  161. #define B2056_SYN_LOGEN_CBUFTX2 0x94
  162. #define B2056_SYN_LOGEN_CBUFTX3 0x95
  163. #define B2056_SYN_LOGEN_CBUFTX4 0x96
  164. #define B2056_SYN_LOGEN_CMOSRX1 0x97
  165. #define B2056_SYN_LOGEN_CMOSRX2 0x98
  166. #define B2056_SYN_LOGEN_CMOSRX3 0x99
  167. #define B2056_SYN_LOGEN_CMOSRX4 0x9A
  168. #define B2056_SYN_LOGEN_CMOSTX1 0x9B
  169. #define B2056_SYN_LOGEN_CMOSTX2 0x9C
  170. #define B2056_SYN_LOGEN_CMOSTX3 0x9D
  171. #define B2056_SYN_LOGEN_CMOSTX4 0x9E
  172. #define B2056_SYN_LOGEN_VCOBUF2_OVRVAL 0x9F
  173. #define B2056_SYN_LOGEN_MIXER3_OVRVAL 0xA0
  174. #define B2056_SYN_LOGEN_BUF5_OVRVAL 0xA1
  175. #define B2056_SYN_LOGEN_BUF6_OVRVAL 0xA2
  176. #define B2056_SYN_LOGEN_CBUFRX1_OVRVAL 0xA3
  177. #define B2056_SYN_LOGEN_CBUFRX2_OVRVAL 0xA4
  178. #define B2056_SYN_LOGEN_CBUFRX3_OVRVAL 0xA5
  179. #define B2056_SYN_LOGEN_CBUFRX4_OVRVAL 0xA6
  180. #define B2056_SYN_LOGEN_CBUFTX1_OVRVAL 0xA7
  181. #define B2056_SYN_LOGEN_CBUFTX2_OVRVAL 0xA8
  182. #define B2056_SYN_LOGEN_CBUFTX3_OVRVAL 0xA9
  183. #define B2056_SYN_LOGEN_CBUFTX4_OVRVAL 0xAA
  184. #define B2056_SYN_LOGEN_CMOSRX1_OVRVAL 0xAB
  185. #define B2056_SYN_LOGEN_CMOSRX2_OVRVAL 0xAC
  186. #define B2056_SYN_LOGEN_CMOSRX3_OVRVAL 0xAD
  187. #define B2056_SYN_LOGEN_CMOSRX4_OVRVAL 0xAE
  188. #define B2056_SYN_LOGEN_CMOSTX1_OVRVAL 0xAF
  189. #define B2056_SYN_LOGEN_CMOSTX2_OVRVAL 0xB0
  190. #define B2056_SYN_LOGEN_CMOSTX3_OVRVAL 0xB1
  191. #define B2056_SYN_LOGEN_CMOSTX4_OVRVAL 0xB2
  192. #define B2056_SYN_LOGEN_ACL_WAITCNT 0xB3
  193. #define B2056_SYN_LOGEN_CORE_CALVALID 0xB4
  194. #define B2056_SYN_LOGEN_RX_CMOS_CALVALID 0xB5
  195. #define B2056_SYN_LOGEN_TX_CMOS_VALID 0xB6
  196. #define B2056_TX_RESERVED_ADDR0 0x00
  197. #define B2056_TX_IDCODE 0x01
  198. #define B2056_TX_RESERVED_ADDR2 0x02
  199. #define B2056_TX_RESERVED_ADDR3 0x03
  200. #define B2056_TX_RESERVED_ADDR4 0x04
  201. #define B2056_TX_RESERVED_ADDR5 0x05
  202. #define B2056_TX_RESERVED_ADDR6 0x06
  203. #define B2056_TX_RESERVED_ADDR7 0x07
  204. #define B2056_TX_COM_CTRL 0x08
  205. #define B2056_TX_COM_PU 0x09
  206. #define B2056_TX_COM_OVR 0x0A
  207. #define B2056_TX_COM_RESET 0x0B
  208. #define B2056_TX_COM_RCAL 0x0C
  209. #define B2056_TX_COM_RC_RXLPF 0x0D
  210. #define B2056_TX_COM_RC_TXLPF 0x0E
  211. #define B2056_TX_COM_RC_RXHPF 0x0F
  212. #define B2056_TX_RESERVED_ADDR16 0x10
  213. #define B2056_TX_RESERVED_ADDR17 0x11
  214. #define B2056_TX_RESERVED_ADDR18 0x12
  215. #define B2056_TX_RESERVED_ADDR19 0x13
  216. #define B2056_TX_RESERVED_ADDR20 0x14
  217. #define B2056_TX_RESERVED_ADDR21 0x15
  218. #define B2056_TX_RESERVED_ADDR22 0x16
  219. #define B2056_TX_RESERVED_ADDR23 0x17
  220. #define B2056_TX_RESERVED_ADDR24 0x18
  221. #define B2056_TX_RESERVED_ADDR25 0x19
  222. #define B2056_TX_RESERVED_ADDR26 0x1A
  223. #define B2056_TX_RESERVED_ADDR27 0x1B
  224. #define B2056_TX_RESERVED_ADDR28 0x1C
  225. #define B2056_TX_RESERVED_ADDR29 0x1D
  226. #define B2056_TX_RESERVED_ADDR30 0x1E
  227. #define B2056_TX_RESERVED_ADDR31 0x1F
  228. #define B2056_TX_IQCAL_GAIN_BW 0x20
  229. #define B2056_TX_LOFT_FINE_I 0x21
  230. #define B2056_TX_LOFT_FINE_Q 0x22
  231. #define B2056_TX_LOFT_COARSE_I 0x23
  232. #define B2056_TX_LOFT_COARSE_Q 0x24
  233. #define B2056_TX_TX_COM_MASTER1 0x25
  234. #define B2056_TX_TX_COM_MASTER2 0x26
  235. #define B2056_TX_RXIQCAL_TXMUX 0x27
  236. #define B2056_TX_TX_SSI_MASTER 0x28
  237. #define B2056_TX_IQCAL_VCM_HG 0x29
  238. #define B2056_TX_IQCAL_IDAC 0x2A
  239. #define B2056_TX_TSSI_VCM 0x2B
  240. #define B2056_TX_TX_AMP_DET 0x2C
  241. #define B2056_TX_TX_SSI_MUX 0x2D
  242. #define B2056_TX_TSSIA 0x2E
  243. #define B2056_TX_TSSIG 0x2F
  244. #define B2056_TX_TSSI_MISC1 0x30
  245. #define B2056_TX_TSSI_MISC2 0x31
  246. #define B2056_TX_TSSI_MISC3 0x32
  247. #define B2056_TX_PA_SPARE1 0x33
  248. #define B2056_TX_PA_SPARE2 0x34
  249. #define B2056_TX_INTPAA_MASTER 0x35
  250. #define B2056_TX_INTPAA_GAIN 0x36
  251. #define B2056_TX_INTPAA_BOOST_TUNE 0x37
  252. #define B2056_TX_INTPAA_IAUX_STAT 0x38
  253. #define B2056_TX_INTPAA_IAUX_DYN 0x39
  254. #define B2056_TX_INTPAA_IMAIN_STAT 0x3A
  255. #define B2056_TX_INTPAA_IMAIN_DYN 0x3B
  256. #define B2056_TX_INTPAA_CASCBIAS 0x3C
  257. #define B2056_TX_INTPAA_PASLOPE 0x3D
  258. #define B2056_TX_INTPAA_PA_MISC 0x3E
  259. #define B2056_TX_INTPAG_MASTER 0x3F
  260. #define B2056_TX_INTPAG_GAIN 0x40
  261. #define B2056_TX_INTPAG_BOOST_TUNE 0x41
  262. #define B2056_TX_INTPAG_IAUX_STAT 0x42
  263. #define B2056_TX_INTPAG_IAUX_DYN 0x43
  264. #define B2056_TX_INTPAG_IMAIN_STAT 0x44
  265. #define B2056_TX_INTPAG_IMAIN_DYN 0x45
  266. #define B2056_TX_INTPAG_CASCBIAS 0x46
  267. #define B2056_TX_INTPAG_PASLOPE 0x47
  268. #define B2056_TX_INTPAG_PA_MISC 0x48
  269. #define B2056_TX_PADA_MASTER 0x49
  270. #define B2056_TX_PADA_IDAC 0x4A
  271. #define B2056_TX_PADA_CASCBIAS 0x4B
  272. #define B2056_TX_PADA_GAIN 0x4C
  273. #define B2056_TX_PADA_BOOST_TUNE 0x4D
  274. #define B2056_TX_PADA_SLOPE 0x4E
  275. #define B2056_TX_PADG_MASTER 0x4F
  276. #define B2056_TX_PADG_IDAC 0x50
  277. #define B2056_TX_PADG_CASCBIAS 0x51
  278. #define B2056_TX_PADG_GAIN 0x52
  279. #define B2056_TX_PADG_BOOST_TUNE 0x53
  280. #define B2056_TX_PADG_SLOPE 0x54
  281. #define B2056_TX_PGAA_MASTER 0x55
  282. #define B2056_TX_PGAA_IDAC 0x56
  283. #define B2056_TX_PGAA_GAIN 0x57
  284. #define B2056_TX_PGAA_BOOST_TUNE 0x58
  285. #define B2056_TX_PGAA_SLOPE 0x59
  286. #define B2056_TX_PGAA_MISC 0x5A
  287. #define B2056_TX_PGAG_MASTER 0x5B
  288. #define B2056_TX_PGAG_IDAC 0x5C
  289. #define B2056_TX_PGAG_GAIN 0x5D
  290. #define B2056_TX_PGAG_BOOST_TUNE 0x5E
  291. #define B2056_TX_PGAG_SLOPE 0x5F
  292. #define B2056_TX_PGAG_MISC 0x60
  293. #define B2056_TX_MIXA_MASTER 0x61
  294. #define B2056_TX_MIXA_BOOST_TUNE 0x62
  295. #define B2056_TX_MIXG 0x63
  296. #define B2056_TX_MIXG_BOOST_TUNE 0x64
  297. #define B2056_TX_BB_GM_MASTER 0x65
  298. #define B2056_TX_GMBB_GM 0x66
  299. #define B2056_TX_GMBB_IDAC 0x67
  300. #define B2056_TX_TXLPF_MASTER 0x68
  301. #define B2056_TX_TXLPF_RCCAL 0x69
  302. #define B2056_TX_TXLPF_RCCAL_OFF0 0x6A
  303. #define B2056_TX_TXLPF_RCCAL_OFF1 0x6B
  304. #define B2056_TX_TXLPF_RCCAL_OFF2 0x6C
  305. #define B2056_TX_TXLPF_RCCAL_OFF3 0x6D
  306. #define B2056_TX_TXLPF_RCCAL_OFF4 0x6E
  307. #define B2056_TX_TXLPF_RCCAL_OFF5 0x6F
  308. #define B2056_TX_TXLPF_RCCAL_OFF6 0x70
  309. #define B2056_TX_TXLPF_BW 0x71
  310. #define B2056_TX_TXLPF_GAIN 0x72
  311. #define B2056_TX_TXLPF_IDAC 0x73
  312. #define B2056_TX_TXLPF_IDAC_0 0x74
  313. #define B2056_TX_TXLPF_IDAC_1 0x75
  314. #define B2056_TX_TXLPF_IDAC_2 0x76
  315. #define B2056_TX_TXLPF_IDAC_3 0x77
  316. #define B2056_TX_TXLPF_IDAC_4 0x78
  317. #define B2056_TX_TXLPF_IDAC_5 0x79
  318. #define B2056_TX_TXLPF_IDAC_6 0x7A
  319. #define B2056_TX_TXLPF_OPAMP_IDAC 0x7B
  320. #define B2056_TX_TXLPF_MISC 0x7C
  321. #define B2056_TX_TXSPARE1 0x7D
  322. #define B2056_TX_TXSPARE2 0x7E
  323. #define B2056_TX_TXSPARE3 0x7F
  324. #define B2056_TX_TXSPARE4 0x80
  325. #define B2056_TX_TXSPARE5 0x81
  326. #define B2056_TX_TXSPARE6 0x82
  327. #define B2056_TX_TXSPARE7 0x83
  328. #define B2056_TX_TXSPARE8 0x84
  329. #define B2056_TX_TXSPARE9 0x85
  330. #define B2056_TX_TXSPARE10 0x86
  331. #define B2056_TX_TXSPARE11 0x87
  332. #define B2056_TX_TXSPARE12 0x88
  333. #define B2056_TX_TXSPARE13 0x89
  334. #define B2056_TX_TXSPARE14 0x8A
  335. #define B2056_TX_TXSPARE15 0x8B
  336. #define B2056_TX_TXSPARE16 0x8C
  337. #define B2056_TX_STATUS_INTPA_GAIN 0x8D
  338. #define B2056_TX_STATUS_PAD_GAIN 0x8E
  339. #define B2056_TX_STATUS_PGA_GAIN 0x8F
  340. #define B2056_TX_STATUS_GM_TXLPF_GAIN 0x90
  341. #define B2056_TX_STATUS_TXLPF_BW 0x91
  342. #define B2056_TX_STATUS_TXLPF_RC 0x92
  343. #define B2056_TX_GMBB_IDAC0 0x93
  344. #define B2056_TX_GMBB_IDAC1 0x94
  345. #define B2056_TX_GMBB_IDAC2 0x95
  346. #define B2056_TX_GMBB_IDAC3 0x96
  347. #define B2056_TX_GMBB_IDAC4 0x97
  348. #define B2056_TX_GMBB_IDAC5 0x98
  349. #define B2056_TX_GMBB_IDAC6 0x99
  350. #define B2056_TX_GMBB_IDAC7 0x9A
  351. #define B2056_RX_RESERVED_ADDR0 0x00
  352. #define B2056_RX_IDCODE 0x01
  353. #define B2056_RX_RESERVED_ADDR2 0x02
  354. #define B2056_RX_RESERVED_ADDR3 0x03
  355. #define B2056_RX_RESERVED_ADDR4 0x04
  356. #define B2056_RX_RESERVED_ADDR5 0x05
  357. #define B2056_RX_RESERVED_ADDR6 0x06
  358. #define B2056_RX_RESERVED_ADDR7 0x07
  359. #define B2056_RX_COM_CTRL 0x08
  360. #define B2056_RX_COM_PU 0x09
  361. #define B2056_RX_COM_OVR 0x0A
  362. #define B2056_RX_COM_RESET 0x0B
  363. #define B2056_RX_COM_RCAL 0x0C
  364. #define B2056_RX_COM_RC_RXLPF 0x0D
  365. #define B2056_RX_COM_RC_TXLPF 0x0E
  366. #define B2056_RX_COM_RC_RXHPF 0x0F
  367. #define B2056_RX_RESERVED_ADDR16 0x10
  368. #define B2056_RX_RESERVED_ADDR17 0x11
  369. #define B2056_RX_RESERVED_ADDR18 0x12
  370. #define B2056_RX_RESERVED_ADDR19 0x13
  371. #define B2056_RX_RESERVED_ADDR20 0x14
  372. #define B2056_RX_RESERVED_ADDR21 0x15
  373. #define B2056_RX_RESERVED_ADDR22 0x16
  374. #define B2056_RX_RESERVED_ADDR23 0x17
  375. #define B2056_RX_RESERVED_ADDR24 0x18
  376. #define B2056_RX_RESERVED_ADDR25 0x19
  377. #define B2056_RX_RESERVED_ADDR26 0x1A
  378. #define B2056_RX_RESERVED_ADDR27 0x1B
  379. #define B2056_RX_RESERVED_ADDR28 0x1C
  380. #define B2056_RX_RESERVED_ADDR29 0x1D
  381. #define B2056_RX_RESERVED_ADDR30 0x1E
  382. #define B2056_RX_RESERVED_ADDR31 0x1F
  383. #define B2056_RX_RXIQCAL_RXMUX 0x20
  384. #define B2056_RX_RSSI_PU 0x21
  385. #define B2056_RX_RSSI_SEL 0x22
  386. #define B2056_RX_RSSI_GAIN 0x23
  387. #define B2056_RX_RSSI_NB_IDAC 0x24
  388. #define B2056_RX_RSSI_WB2I_IDAC_1 0x25
  389. #define B2056_RX_RSSI_WB2I_IDAC_2 0x26
  390. #define B2056_RX_RSSI_WB2Q_IDAC_1 0x27
  391. #define B2056_RX_RSSI_WB2Q_IDAC_2 0x28
  392. #define B2056_RX_RSSI_POLE 0x29
  393. #define B2056_RX_RSSI_WB1_IDAC 0x2A
  394. #define B2056_RX_RSSI_MISC 0x2B
  395. #define B2056_RX_LNAA_MASTER 0x2C
  396. #define B2056_RX_LNAA_TUNE 0x2D
  397. #define B2056_RX_LNAA_GAIN 0x2E
  398. #define B2056_RX_LNA_A_SLOPE 0x2F
  399. #define B2056_RX_BIASPOLE_LNAA1_IDAC 0x30
  400. #define B2056_RX_LNAA2_IDAC 0x31
  401. #define B2056_RX_LNA1A_MISC 0x32
  402. #define B2056_RX_LNAG_MASTER 0x33
  403. #define B2056_RX_LNAG_TUNE 0x34
  404. #define B2056_RX_LNAG_GAIN 0x35
  405. #define B2056_RX_LNA_G_SLOPE 0x36
  406. #define B2056_RX_BIASPOLE_LNAG1_IDAC 0x37
  407. #define B2056_RX_LNAG2_IDAC 0x38
  408. #define B2056_RX_LNA1G_MISC 0x39
  409. #define B2056_RX_MIXA_MASTER 0x3A
  410. #define B2056_RX_MIXA_VCM 0x3B
  411. #define B2056_RX_MIXA_CTRLPTAT 0x3C
  412. #define B2056_RX_MIXA_LOB_BIAS 0x3D
  413. #define B2056_RX_MIXA_CORE_IDAC 0x3E
  414. #define B2056_RX_MIXA_CMFB_IDAC 0x3F
  415. #define B2056_RX_MIXA_BIAS_AUX 0x40
  416. #define B2056_RX_MIXA_BIAS_MAIN 0x41
  417. #define B2056_RX_MIXA_BIAS_MISC 0x42
  418. #define B2056_RX_MIXA_MAST_BIAS 0x43
  419. #define B2056_RX_MIXG_MASTER 0x44
  420. #define B2056_RX_MIXG_VCM 0x45
  421. #define B2056_RX_MIXG_CTRLPTAT 0x46
  422. #define B2056_RX_MIXG_LOB_BIAS 0x47
  423. #define B2056_RX_MIXG_CORE_IDAC 0x48
  424. #define B2056_RX_MIXG_CMFB_IDAC 0x49
  425. #define B2056_RX_MIXG_BIAS_AUX 0x4A
  426. #define B2056_RX_MIXG_BIAS_MAIN 0x4B
  427. #define B2056_RX_MIXG_BIAS_MISC 0x4C
  428. #define B2056_RX_MIXG_MAST_BIAS 0x4D
  429. #define B2056_RX_TIA_MASTER 0x4E
  430. #define B2056_RX_TIA_IOPAMP 0x4F
  431. #define B2056_RX_TIA_QOPAMP 0x50
  432. #define B2056_RX_TIA_IMISC 0x51
  433. #define B2056_RX_TIA_QMISC 0x52
  434. #define B2056_RX_TIA_GAIN 0x53
  435. #define B2056_RX_TIA_SPARE1 0x54
  436. #define B2056_RX_TIA_SPARE2 0x55
  437. #define B2056_RX_BB_LPF_MASTER 0x56
  438. #define B2056_RX_AACI_MASTER 0x57
  439. #define B2056_RX_RXLPF_IDAC 0x58
  440. #define B2056_RX_RXLPF_OPAMPBIAS_LOWQ 0x59
  441. #define B2056_RX_RXLPF_OPAMPBIAS_HIGHQ 0x5A
  442. #define B2056_RX_RXLPF_BIAS_DCCANCEL 0x5B
  443. #define B2056_RX_RXLPF_OUTVCM 0x5C
  444. #define B2056_RX_RXLPF_INVCM_BODY 0x5D
  445. #define B2056_RX_RXLPF_CC_OP 0x5E
  446. #define B2056_RX_RXLPF_GAIN 0x5F
  447. #define B2056_RX_RXLPF_Q_BW 0x60
  448. #define B2056_RX_RXLPF_HP_CORNER_BW 0x61
  449. #define B2056_RX_RXLPF_RCCAL_HPC 0x62
  450. #define B2056_RX_RXHPF_OFF0 0x63
  451. #define B2056_RX_RXHPF_OFF1 0x64
  452. #define B2056_RX_RXHPF_OFF2 0x65
  453. #define B2056_RX_RXHPF_OFF3 0x66
  454. #define B2056_RX_RXHPF_OFF4 0x67
  455. #define B2056_RX_RXHPF_OFF5 0x68
  456. #define B2056_RX_RXHPF_OFF6 0x69
  457. #define B2056_RX_RXHPF_OFF7 0x6A
  458. #define B2056_RX_RXLPF_RCCAL_LPC 0x6B
  459. #define B2056_RX_RXLPF_OFF_0 0x6C
  460. #define B2056_RX_RXLPF_OFF_1 0x6D
  461. #define B2056_RX_RXLPF_OFF_2 0x6E
  462. #define B2056_RX_RXLPF_OFF_3 0x6F
  463. #define B2056_RX_RXLPF_OFF_4 0x70
  464. #define B2056_RX_UNUSED 0x71
  465. #define B2056_RX_VGA_MASTER 0x72
  466. #define B2056_RX_VGA_BIAS 0x73
  467. #define B2056_RX_VGA_BIAS_DCCANCEL 0x74
  468. #define B2056_RX_VGA_GAIN 0x75
  469. #define B2056_RX_VGA_HP_CORNER_BW 0x76
  470. #define B2056_RX_VGABUF_BIAS 0x77
  471. #define B2056_RX_VGABUF_GAIN_BW 0x78
  472. #define B2056_RX_TXFBMIX_A 0x79
  473. #define B2056_RX_TXFBMIX_G 0x7A
  474. #define B2056_RX_RXSPARE1 0x7B
  475. #define B2056_RX_RXSPARE2 0x7C
  476. #define B2056_RX_RXSPARE3 0x7D
  477. #define B2056_RX_RXSPARE4 0x7E
  478. #define B2056_RX_RXSPARE5 0x7F
  479. #define B2056_RX_RXSPARE6 0x80
  480. #define B2056_RX_RXSPARE7 0x81
  481. #define B2056_RX_RXSPARE8 0x82
  482. #define B2056_RX_RXSPARE9 0x83
  483. #define B2056_RX_RXSPARE10 0x84
  484. #define B2056_RX_RXSPARE11 0x85
  485. #define B2056_RX_RXSPARE12 0x86
  486. #define B2056_RX_RXSPARE13 0x87
  487. #define B2056_RX_RXSPARE14 0x88
  488. #define B2056_RX_RXSPARE15 0x89
  489. #define B2056_RX_RXSPARE16 0x8A
  490. #define B2056_RX_STATUS_LNAA_GAIN 0x8B
  491. #define B2056_RX_STATUS_LNAG_GAIN 0x8C
  492. #define B2056_RX_STATUS_MIXTIA_GAIN 0x8D
  493. #define B2056_RX_STATUS_RXLPF_GAIN 0x8E
  494. #define B2056_RX_STATUS_VGA_BUF_GAIN 0x8F
  495. #define B2056_RX_STATUS_RXLPF_Q 0x90
  496. #define B2056_RX_STATUS_RXLPF_BUF_BW 0x91
  497. #define B2056_RX_STATUS_RXLPF_VGA_HPC 0x92
  498. #define B2056_RX_STATUS_RXLPF_RC 0x93
  499. #define B2056_RX_STATUS_HPC_RC 0x94
  500. #define B2056_LNA1_A_PU 0x01
  501. #define B2056_LNA2_A_PU 0x02
  502. #define B2056_LNA1_G_PU 0x01
  503. #define B2056_LNA2_G_PU 0x02
  504. #define B2056_MIXA_PU_I 0x01
  505. #define B2056_MIXA_PU_Q 0x02
  506. #define B2056_MIXA_PU_GM 0x10
  507. #define B2056_MIXG_PU_I 0x01
  508. #define B2056_MIXG_PU_Q 0x02
  509. #define B2056_MIXG_PU_GM 0x10
  510. #define B2056_TIA_PU 0x01
  511. #define B2056_BB_LPF_PU 0x20
  512. #define B2056_W1_PU 0x02
  513. #define B2056_W2_PU 0x04
  514. #define B2056_NB_PU 0x08
  515. #define B2056_RSSI_W1_SEL 0x02
  516. #define B2056_RSSI_W2_SEL 0x04
  517. #define B2056_RSSI_NB_SEL 0x08
  518. #define B2056_VCM_MASK 0x1C
  519. #define B2056_RSSI_VCM_SHIFT 0x02
  520. #define B2056_SYN (0x0 << 12)
  521. #define B2056_TX0 (0x2 << 12)
  522. #define B2056_TX1 (0x3 << 12)
  523. #define B2056_RX0 (0x6 << 12)
  524. #define B2056_RX1 (0x7 << 12)
  525. #define B2056_ALLTX (0xE << 12)
  526. #define B2056_ALLRX (0xF << 12)
  527. #define B2056_SYN_RESERVED_ADDR0 0x00
  528. #define B2056_SYN_IDCODE 0x01
  529. #define B2056_SYN_RESERVED_ADDR2 0x02
  530. #define B2056_SYN_RESERVED_ADDR3 0x03
  531. #define B2056_SYN_RESERVED_ADDR4 0x04
  532. #define B2056_SYN_RESERVED_ADDR5 0x05
  533. #define B2056_SYN_RESERVED_ADDR6 0x06
  534. #define B2056_SYN_RESERVED_ADDR7 0x07
  535. #define B2056_SYN_COM_CTRL 0x08
  536. #define B2056_SYN_COM_PU 0x09
  537. #define B2056_SYN_COM_OVR 0x0A
  538. #define B2056_SYN_COM_RESET 0x0B
  539. #define B2056_SYN_COM_RCAL 0x0C
  540. #define B2056_SYN_COM_RC_RXLPF 0x0D
  541. #define B2056_SYN_COM_RC_TXLPF 0x0E
  542. #define B2056_SYN_COM_RC_RXHPF 0x0F
  543. #define B2056_SYN_RESERVED_ADDR16 0x10
  544. #define B2056_SYN_RESERVED_ADDR17 0x11
  545. #define B2056_SYN_RESERVED_ADDR18 0x12
  546. #define B2056_SYN_RESERVED_ADDR19 0x13
  547. #define B2056_SYN_RESERVED_ADDR20 0x14
  548. #define B2056_SYN_RESERVED_ADDR21 0x15
  549. #define B2056_SYN_RESERVED_ADDR22 0x16
  550. #define B2056_SYN_RESERVED_ADDR23 0x17
  551. #define B2056_SYN_RESERVED_ADDR24 0x18
  552. #define B2056_SYN_RESERVED_ADDR25 0x19
  553. #define B2056_SYN_RESERVED_ADDR26 0x1A
  554. #define B2056_SYN_RESERVED_ADDR27 0x1B
  555. #define B2056_SYN_RESERVED_ADDR28 0x1C
  556. #define B2056_SYN_RESERVED_ADDR29 0x1D
  557. #define B2056_SYN_RESERVED_ADDR30 0x1E
  558. #define B2056_SYN_RESERVED_ADDR31 0x1F
  559. #define B2056_SYN_GPIO_MASTER1 0x20
  560. #define B2056_SYN_GPIO_MASTER2 0x21
  561. #define B2056_SYN_TOPBIAS_MASTER 0x22
  562. #define B2056_SYN_TOPBIAS_RCAL 0x23
  563. #define B2056_SYN_AFEREG 0x24
  564. #define B2056_SYN_TEMPPROCSENSE 0x25
  565. #define B2056_SYN_TEMPPROCSENSEIDAC 0x26
  566. #define B2056_SYN_TEMPPROCSENSERCAL 0x27
  567. #define B2056_SYN_LPO 0x28
  568. #define B2056_SYN_VDDCAL_MASTER 0x29
  569. #define B2056_SYN_VDDCAL_IDAC 0x2A
  570. #define B2056_SYN_VDDCAL_STATUS 0x2B
  571. #define B2056_SYN_RCAL_MASTER 0x2C
  572. #define B2056_SYN_RCAL_CODE_OUT 0x2D
  573. #define B2056_SYN_RCCAL_CTRL0 0x2E
  574. #define B2056_SYN_RCCAL_CTRL1 0x2F
  575. #define B2056_SYN_RCCAL_CTRL2 0x30
  576. #define B2056_SYN_RCCAL_CTRL3 0x31
  577. #define B2056_SYN_RCCAL_CTRL4 0x32
  578. #define B2056_SYN_RCCAL_CTRL5 0x33
  579. #define B2056_SYN_RCCAL_CTRL6 0x34
  580. #define B2056_SYN_RCCAL_CTRL7 0x35
  581. #define B2056_SYN_RCCAL_CTRL8 0x36
  582. #define B2056_SYN_RCCAL_CTRL9 0x37
  583. #define B2056_SYN_RCCAL_CTRL10 0x38
  584. #define B2056_SYN_RCCAL_CTRL11 0x39
  585. #define B2056_SYN_ZCAL_SPARE1 0x3A
  586. #define B2056_SYN_ZCAL_SPARE2 0x3B
  587. #define B2056_SYN_PLL_MAST1 0x3C
  588. #define B2056_SYN_PLL_MAST2 0x3D
  589. #define B2056_SYN_PLL_MAST3 0x3E
  590. #define B2056_SYN_PLL_BIAS_RESET 0x3F
  591. #define B2056_SYN_PLL_XTAL0 0x40
  592. #define B2056_SYN_PLL_XTAL1 0x41
  593. #define B2056_SYN_PLL_XTAL3 0x42
  594. #define B2056_SYN_PLL_XTAL4 0x43
  595. #define B2056_SYN_PLL_XTAL5 0x44
  596. #define B2056_SYN_PLL_XTAL6 0x45
  597. #define B2056_SYN_PLL_REFDIV 0x46
  598. #define B2056_SYN_PLL_PFD 0x47
  599. #define B2056_SYN_PLL_CP1 0x48
  600. #define B2056_SYN_PLL_CP2 0x49
  601. #define B2056_SYN_PLL_CP3 0x4A
  602. #define B2056_SYN_PLL_LOOPFILTER1 0x4B
  603. #define B2056_SYN_PLL_LOOPFILTER2 0x4C
  604. #define B2056_SYN_PLL_LOOPFILTER3 0x4D
  605. #define B2056_SYN_PLL_LOOPFILTER4 0x4E
  606. #define B2056_SYN_PLL_LOOPFILTER5 0x4F
  607. #define B2056_SYN_PLL_MMD1 0x50
  608. #define B2056_SYN_PLL_MMD2 0x51
  609. #define B2056_SYN_PLL_VCO1 0x52
  610. #define B2056_SYN_PLL_VCO2 0x53
  611. #define B2056_SYN_PLL_MONITOR1 0x54
  612. #define B2056_SYN_PLL_MONITOR2 0x55
  613. #define B2056_SYN_PLL_VCOCAL1 0x56
  614. #define B2056_SYN_PLL_VCOCAL2 0x57
  615. #define B2056_SYN_PLL_VCOCAL4 0x58
  616. #define B2056_SYN_PLL_VCOCAL5 0x59
  617. #define B2056_SYN_PLL_VCOCAL6 0x5A
  618. #define B2056_SYN_PLL_VCOCAL7 0x5B
  619. #define B2056_SYN_PLL_VCOCAL8 0x5C
  620. #define B2056_SYN_PLL_VCOCAL9 0x5D
  621. #define B2056_SYN_PLL_VCOCAL10 0x5E
  622. #define B2056_SYN_PLL_VCOCAL11 0x5F
  623. #define B2056_SYN_PLL_VCOCAL12 0x60
  624. #define B2056_SYN_PLL_VCOCAL13 0x61
  625. #define B2056_SYN_PLL_VREG 0x62
  626. #define B2056_SYN_PLL_STATUS1 0x63
  627. #define B2056_SYN_PLL_STATUS2 0x64
  628. #define B2056_SYN_PLL_STATUS3 0x65
  629. #define B2056_SYN_LOGEN_PU0 0x66
  630. #define B2056_SYN_LOGEN_PU1 0x67
  631. #define B2056_SYN_LOGEN_PU2 0x68
  632. #define B2056_SYN_LOGEN_PU3 0x69
  633. #define B2056_SYN_LOGEN_PU5 0x6A
  634. #define B2056_SYN_LOGEN_PU6 0x6B
  635. #define B2056_SYN_LOGEN_PU7 0x6C
  636. #define B2056_SYN_LOGEN_PU8 0x6D
  637. #define B2056_SYN_LOGEN_BIAS_RESET 0x6E
  638. #define B2056_SYN_LOGEN_RCCR1 0x6F
  639. #define B2056_SYN_LOGEN_VCOBUF1 0x70
  640. #define B2056_SYN_LOGEN_MIXER1 0x71
  641. #define B2056_SYN_LOGEN_MIXER2 0x72
  642. #define B2056_SYN_LOGEN_BUF1 0x73
  643. #define B2056_SYN_LOGENBUF2 0x74
  644. #define B2056_SYN_LOGEN_BUF3 0x75
  645. #define B2056_SYN_LOGEN_BUF4 0x76
  646. #define B2056_SYN_LOGEN_DIV1 0x77
  647. #define B2056_SYN_LOGEN_DIV2 0x78
  648. #define B2056_SYN_LOGEN_DIV3 0x79
  649. #define B2056_SYN_LOGEN_ACL1 0x7A
  650. #define B2056_SYN_LOGEN_ACL2 0x7B
  651. #define B2056_SYN_LOGEN_ACL3 0x7C
  652. #define B2056_SYN_LOGEN_ACL4 0x7D
  653. #define B2056_SYN_LOGEN_ACL5 0x7E
  654. #define B2056_SYN_LOGEN_ACL6 0x7F
  655. #define B2056_SYN_LOGEN_ACLOUT 0x80
  656. #define B2056_SYN_LOGEN_ACLCAL1 0x81
  657. #define B2056_SYN_LOGEN_ACLCAL2 0x82
  658. #define B2056_SYN_LOGEN_ACLCAL3 0x83
  659. #define B2056_SYN_CALEN 0x84
  660. #define B2056_SYN_LOGEN_PEAKDET1 0x85
  661. #define B2056_SYN_LOGEN_CORE_ACL_OVR 0x86
  662. #define B2056_SYN_LOGEN_RX_DIFF_ACL_OVR 0x87
  663. #define B2056_SYN_LOGEN_TX_DIFF_ACL_OVR 0x88
  664. #define B2056_SYN_LOGEN_RX_CMOS_ACL_OVR 0x89
  665. #define B2056_SYN_LOGEN_TX_CMOS_ACL_OVR 0x8A
  666. #define B2056_SYN_LOGEN_VCOBUF2 0x8B
  667. #define B2056_SYN_LOGEN_MIXER3 0x8C
  668. #define B2056_SYN_LOGEN_BUF5 0x8D
  669. #define B2056_SYN_LOGEN_BUF6 0x8E
  670. #define B2056_SYN_LOGEN_CBUFRX1 0x8F
  671. #define B2056_SYN_LOGEN_CBUFRX2 0x90
  672. #define B2056_SYN_LOGEN_CBUFRX3 0x91
  673. #define B2056_SYN_LOGEN_CBUFRX4 0x92
  674. #define B2056_SYN_LOGEN_CBUFTX1 0x93
  675. #define B2056_SYN_LOGEN_CBUFTX2 0x94
  676. #define B2056_SYN_LOGEN_CBUFTX3 0x95
  677. #define B2056_SYN_LOGEN_CBUFTX4 0x96
  678. #define B2056_SYN_LOGEN_CMOSRX1 0x97
  679. #define B2056_SYN_LOGEN_CMOSRX2 0x98
  680. #define B2056_SYN_LOGEN_CMOSRX3 0x99
  681. #define B2056_SYN_LOGEN_CMOSRX4 0x9A
  682. #define B2056_SYN_LOGEN_CMOSTX1 0x9B
  683. #define B2056_SYN_LOGEN_CMOSTX2 0x9C
  684. #define B2056_SYN_LOGEN_CMOSTX3 0x9D
  685. #define B2056_SYN_LOGEN_CMOSTX4 0x9E
  686. #define B2056_SYN_LOGEN_VCOBUF2_OVRVAL 0x9F
  687. #define B2056_SYN_LOGEN_MIXER3_OVRVAL 0xA0
  688. #define B2056_SYN_LOGEN_BUF5_OVRVAL 0xA1
  689. #define B2056_SYN_LOGEN_BUF6_OVRVAL 0xA2
  690. #define B2056_SYN_LOGEN_CBUFRX1_OVRVAL 0xA3
  691. #define B2056_SYN_LOGEN_CBUFRX2_OVRVAL 0xA4
  692. #define B2056_SYN_LOGEN_CBUFRX3_OVRVAL 0xA5
  693. #define B2056_SYN_LOGEN_CBUFRX4_OVRVAL 0xA6
  694. #define B2056_SYN_LOGEN_CBUFTX1_OVRVAL 0xA7
  695. #define B2056_SYN_LOGEN_CBUFTX2_OVRVAL 0xA8
  696. #define B2056_SYN_LOGEN_CBUFTX3_OVRVAL 0xA9
  697. #define B2056_SYN_LOGEN_CBUFTX4_OVRVAL 0xAA
  698. #define B2056_SYN_LOGEN_CMOSRX1_OVRVAL 0xAB
  699. #define B2056_SYN_LOGEN_CMOSRX2_OVRVAL 0xAC
  700. #define B2056_SYN_LOGEN_CMOSRX3_OVRVAL 0xAD
  701. #define B2056_SYN_LOGEN_CMOSRX4_OVRVAL 0xAE
  702. #define B2056_SYN_LOGEN_CMOSTX1_OVRVAL 0xAF
  703. #define B2056_SYN_LOGEN_CMOSTX2_OVRVAL 0xB0
  704. #define B2056_SYN_LOGEN_CMOSTX3_OVRVAL 0xB1
  705. #define B2056_SYN_LOGEN_CMOSTX4_OVRVAL 0xB2
  706. #define B2056_SYN_LOGEN_ACL_WAITCNT 0xB3
  707. #define B2056_SYN_LOGEN_CORE_CALVALID 0xB4
  708. #define B2056_SYN_LOGEN_RX_CMOS_CALVALID 0xB5
  709. #define B2056_SYN_LOGEN_TX_CMOS_VALID 0xB6
  710. #define B2056_TX_RESERVED_ADDR0 0x00
  711. #define B2056_TX_IDCODE 0x01
  712. #define B2056_TX_RESERVED_ADDR2 0x02
  713. #define B2056_TX_RESERVED_ADDR3 0x03
  714. #define B2056_TX_RESERVED_ADDR4 0x04
  715. #define B2056_TX_RESERVED_ADDR5 0x05
  716. #define B2056_TX_RESERVED_ADDR6 0x06
  717. #define B2056_TX_RESERVED_ADDR7 0x07
  718. #define B2056_TX_COM_CTRL 0x08
  719. #define B2056_TX_COM_PU 0x09
  720. #define B2056_TX_COM_OVR 0x0A
  721. #define B2056_TX_COM_RESET 0x0B
  722. #define B2056_TX_COM_RCAL 0x0C
  723. #define B2056_TX_COM_RC_RXLPF 0x0D
  724. #define B2056_TX_COM_RC_TXLPF 0x0E
  725. #define B2056_TX_COM_RC_RXHPF 0x0F
  726. #define B2056_TX_RESERVED_ADDR16 0x10
  727. #define B2056_TX_RESERVED_ADDR17 0x11
  728. #define B2056_TX_RESERVED_ADDR18 0x12
  729. #define B2056_TX_RESERVED_ADDR19 0x13
  730. #define B2056_TX_RESERVED_ADDR20 0x14
  731. #define B2056_TX_RESERVED_ADDR21 0x15
  732. #define B2056_TX_RESERVED_ADDR22 0x16
  733. #define B2056_TX_RESERVED_ADDR23 0x17
  734. #define B2056_TX_RESERVED_ADDR24 0x18
  735. #define B2056_TX_RESERVED_ADDR25 0x19
  736. #define B2056_TX_RESERVED_ADDR26 0x1A
  737. #define B2056_TX_RESERVED_ADDR27 0x1B
  738. #define B2056_TX_RESERVED_ADDR28 0x1C
  739. #define B2056_TX_RESERVED_ADDR29 0x1D
  740. #define B2056_TX_RESERVED_ADDR30 0x1E
  741. #define B2056_TX_RESERVED_ADDR31 0x1F
  742. #define B2056_TX_IQCAL_GAIN_BW 0x20
  743. #define B2056_TX_LOFT_FINE_I 0x21
  744. #define B2056_TX_LOFT_FINE_Q 0x22
  745. #define B2056_TX_LOFT_COARSE_I 0x23
  746. #define B2056_TX_LOFT_COARSE_Q 0x24
  747. #define B2056_TX_TX_COM_MASTER1 0x25
  748. #define B2056_TX_TX_COM_MASTER2 0x26
  749. #define B2056_TX_RXIQCAL_TXMUX 0x27
  750. #define B2056_TX_TX_SSI_MASTER 0x28
  751. #define B2056_TX_IQCAL_VCM_HG 0x29
  752. #define B2056_TX_IQCAL_IDAC 0x2A
  753. #define B2056_TX_TSSI_VCM 0x2B
  754. #define B2056_TX_TX_AMP_DET 0x2C
  755. #define B2056_TX_TX_SSI_MUX 0x2D
  756. #define B2056_TX_TSSIA 0x2E
  757. #define B2056_TX_TSSIG 0x2F
  758. #define B2056_TX_TSSI_MISC1 0x30
  759. #define B2056_TX_TSSI_MISC2 0x31
  760. #define B2056_TX_TSSI_MISC3 0x32
  761. #define B2056_TX_PA_SPARE1 0x33
  762. #define B2056_TX_PA_SPARE2 0x34
  763. #define B2056_TX_INTPAA_MASTER 0x35
  764. #define B2056_TX_INTPAA_GAIN 0x36
  765. #define B2056_TX_INTPAA_BOOST_TUNE 0x37
  766. #define B2056_TX_INTPAA_IAUX_STAT 0x38
  767. #define B2056_TX_INTPAA_IAUX_DYN 0x39
  768. #define B2056_TX_INTPAA_IMAIN_STAT 0x3A
  769. #define B2056_TX_INTPAA_IMAIN_DYN 0x3B
  770. #define B2056_TX_INTPAA_CASCBIAS 0x3C
  771. #define B2056_TX_INTPAA_PASLOPE 0x3D
  772. #define B2056_TX_INTPAA_PA_MISC 0x3E
  773. #define B2056_TX_INTPAG_MASTER 0x3F
  774. #define B2056_TX_INTPAG_GAIN 0x40
  775. #define B2056_TX_INTPAG_BOOST_TUNE 0x41
  776. #define B2056_TX_INTPAG_IAUX_STAT 0x42
  777. #define B2056_TX_INTPAG_IAUX_DYN 0x43
  778. #define B2056_TX_INTPAG_IMAIN_STAT 0x44
  779. #define B2056_TX_INTPAG_IMAIN_DYN 0x45
  780. #define B2056_TX_INTPAG_CASCBIAS 0x46
  781. #define B2056_TX_INTPAG_PASLOPE 0x47
  782. #define B2056_TX_INTPAG_PA_MISC 0x48
  783. #define B2056_TX_PADA_MASTER 0x49
  784. #define B2056_TX_PADA_IDAC 0x4A
  785. #define B2056_TX_PADA_CASCBIAS 0x4B
  786. #define B2056_TX_PADA_GAIN 0x4C
  787. #define B2056_TX_PADA_BOOST_TUNE 0x4D
  788. #define B2056_TX_PADA_SLOPE 0x4E
  789. #define B2056_TX_PADG_MASTER 0x4F
  790. #define B2056_TX_PADG_IDAC 0x50
  791. #define B2056_TX_PADG_CASCBIAS 0x51
  792. #define B2056_TX_PADG_GAIN 0x52
  793. #define B2056_TX_PADG_BOOST_TUNE 0x53
  794. #define B2056_TX_PADG_SLOPE 0x54
  795. #define B2056_TX_PGAA_MASTER 0x55
  796. #define B2056_TX_PGAA_IDAC 0x56
  797. #define B2056_TX_PGAA_GAIN 0x57
  798. #define B2056_TX_PGAA_BOOST_TUNE 0x58
  799. #define B2056_TX_PGAA_SLOPE 0x59
  800. #define B2056_TX_PGAA_MISC 0x5A
  801. #define B2056_TX_PGAG_MASTER 0x5B
  802. #define B2056_TX_PGAG_IDAC 0x5C
  803. #define B2056_TX_PGAG_GAIN 0x5D
  804. #define B2056_TX_PGAG_BOOST_TUNE 0x5E
  805. #define B2056_TX_PGAG_SLOPE 0x5F
  806. #define B2056_TX_PGAG_MISC 0x60
  807. #define B2056_TX_MIXA_MASTER 0x61
  808. #define B2056_TX_MIXA_BOOST_TUNE 0x62
  809. #define B2056_TX_MIXG 0x63
  810. #define B2056_TX_MIXG_BOOST_TUNE 0x64
  811. #define B2056_TX_BB_GM_MASTER 0x65
  812. #define B2056_TX_GMBB_GM 0x66
  813. #define B2056_TX_GMBB_IDAC 0x67
  814. #define B2056_TX_TXLPF_MASTER 0x68
  815. #define B2056_TX_TXLPF_RCCAL 0x69
  816. #define B2056_TX_TXLPF_RCCAL_OFF0 0x6A
  817. #define B2056_TX_TXLPF_RCCAL_OFF1 0x6B
  818. #define B2056_TX_TXLPF_RCCAL_OFF2 0x6C
  819. #define B2056_TX_TXLPF_RCCAL_OFF3 0x6D
  820. #define B2056_TX_TXLPF_RCCAL_OFF4 0x6E
  821. #define B2056_TX_TXLPF_RCCAL_OFF5 0x6F
  822. #define B2056_TX_TXLPF_RCCAL_OFF6 0x70
  823. #define B2056_TX_TXLPF_BW 0x71
  824. #define B2056_TX_TXLPF_GAIN 0x72
  825. #define B2056_TX_TXLPF_IDAC 0x73
  826. #define B2056_TX_TXLPF_IDAC_0 0x74
  827. #define B2056_TX_TXLPF_IDAC_1 0x75
  828. #define B2056_TX_TXLPF_IDAC_2 0x76
  829. #define B2056_TX_TXLPF_IDAC_3 0x77
  830. #define B2056_TX_TXLPF_IDAC_4 0x78
  831. #define B2056_TX_TXLPF_IDAC_5 0x79
  832. #define B2056_TX_TXLPF_IDAC_6 0x7A
  833. #define B2056_TX_TXLPF_OPAMP_IDAC 0x7B
  834. #define B2056_TX_TXLPF_MISC 0x7C
  835. #define B2056_TX_TXSPARE1 0x7D
  836. #define B2056_TX_TXSPARE2 0x7E
  837. #define B2056_TX_TXSPARE3 0x7F
  838. #define B2056_TX_TXSPARE4 0x80
  839. #define B2056_TX_TXSPARE5 0x81
  840. #define B2056_TX_TXSPARE6 0x82
  841. #define B2056_TX_TXSPARE7 0x83
  842. #define B2056_TX_TXSPARE8 0x84
  843. #define B2056_TX_TXSPARE9 0x85
  844. #define B2056_TX_TXSPARE10 0x86
  845. #define B2056_TX_TXSPARE11 0x87
  846. #define B2056_TX_TXSPARE12 0x88
  847. #define B2056_TX_TXSPARE13 0x89
  848. #define B2056_TX_TXSPARE14 0x8A
  849. #define B2056_TX_TXSPARE15 0x8B
  850. #define B2056_TX_TXSPARE16 0x8C
  851. #define B2056_TX_STATUS_INTPA_GAIN 0x8D
  852. #define B2056_TX_STATUS_PAD_GAIN 0x8E
  853. #define B2056_TX_STATUS_PGA_GAIN 0x8F
  854. #define B2056_TX_STATUS_GM_TXLPF_GAIN 0x90
  855. #define B2056_TX_STATUS_TXLPF_BW 0x91
  856. #define B2056_TX_STATUS_TXLPF_RC 0x92
  857. #define B2056_TX_GMBB_IDAC0 0x93
  858. #define B2056_TX_GMBB_IDAC1 0x94
  859. #define B2056_TX_GMBB_IDAC2 0x95
  860. #define B2056_TX_GMBB_IDAC3 0x96
  861. #define B2056_TX_GMBB_IDAC4 0x97
  862. #define B2056_TX_GMBB_IDAC5 0x98
  863. #define B2056_TX_GMBB_IDAC6 0x99
  864. #define B2056_TX_GMBB_IDAC7 0x9A
  865. #define B2056_RX_RESERVED_ADDR0 0x00
  866. #define B2056_RX_IDCODE 0x01
  867. #define B2056_RX_RESERVED_ADDR2 0x02
  868. #define B2056_RX_RESERVED_ADDR3 0x03
  869. #define B2056_RX_RESERVED_ADDR4 0x04
  870. #define B2056_RX_RESERVED_ADDR5 0x05
  871. #define B2056_RX_RESERVED_ADDR6 0x06
  872. #define B2056_RX_RESERVED_ADDR7 0x07
  873. #define B2056_RX_COM_CTRL 0x08
  874. #define B2056_RX_COM_PU 0x09
  875. #define B2056_RX_COM_OVR 0x0A
  876. #define B2056_RX_COM_RESET 0x0B
  877. #define B2056_RX_COM_RCAL 0x0C
  878. #define B2056_RX_COM_RC_RXLPF 0x0D
  879. #define B2056_RX_COM_RC_TXLPF 0x0E
  880. #define B2056_RX_COM_RC_RXHPF 0x0F
  881. #define B2056_RX_RESERVED_ADDR16 0x10
  882. #define B2056_RX_RESERVED_ADDR17 0x11
  883. #define B2056_RX_RESERVED_ADDR18 0x12
  884. #define B2056_RX_RESERVED_ADDR19 0x13
  885. #define B2056_RX_RESERVED_ADDR20 0x14
  886. #define B2056_RX_RESERVED_ADDR21 0x15
  887. #define B2056_RX_RESERVED_ADDR22 0x16
  888. #define B2056_RX_RESERVED_ADDR23 0x17
  889. #define B2056_RX_RESERVED_ADDR24 0x18
  890. #define B2056_RX_RESERVED_ADDR25 0x19
  891. #define B2056_RX_RESERVED_ADDR26 0x1A
  892. #define B2056_RX_RESERVED_ADDR27 0x1B
  893. #define B2056_RX_RESERVED_ADDR28 0x1C
  894. #define B2056_RX_RESERVED_ADDR29 0x1D
  895. #define B2056_RX_RESERVED_ADDR30 0x1E
  896. #define B2056_RX_RESERVED_ADDR31 0x1F
  897. #define B2056_RX_RXIQCAL_RXMUX 0x20
  898. #define B2056_RX_RSSI_PU 0x21
  899. #define B2056_RX_RSSI_SEL 0x22
  900. #define B2056_RX_RSSI_GAIN 0x23
  901. #define B2056_RX_RSSI_NB_IDAC 0x24
  902. #define B2056_RX_RSSI_WB2I_IDAC_1 0x25
  903. #define B2056_RX_RSSI_WB2I_IDAC_2 0x26
  904. #define B2056_RX_RSSI_WB2Q_IDAC_1 0x27
  905. #define B2056_RX_RSSI_WB2Q_IDAC_2 0x28
  906. #define B2056_RX_RSSI_POLE 0x29
  907. #define B2056_RX_RSSI_WB1_IDAC 0x2A
  908. #define B2056_RX_RSSI_MISC 0x2B
  909. #define B2056_RX_LNAA_MASTER 0x2C
  910. #define B2056_RX_LNAA_TUNE 0x2D
  911. #define B2056_RX_LNAA_GAIN 0x2E
  912. #define B2056_RX_LNA_A_SLOPE 0x2F
  913. #define B2056_RX_BIASPOLE_LNAA1_IDAC 0x30
  914. #define B2056_RX_LNAA2_IDAC 0x31
  915. #define B2056_RX_LNA1A_MISC 0x32
  916. #define B2056_RX_LNAG_MASTER 0x33
  917. #define B2056_RX_LNAG_TUNE 0x34
  918. #define B2056_RX_LNAG_GAIN 0x35
  919. #define B2056_RX_LNA_G_SLOPE 0x36
  920. #define B2056_RX_BIASPOLE_LNAG1_IDAC 0x37
  921. #define B2056_RX_LNAG2_IDAC 0x38
  922. #define B2056_RX_LNA1G_MISC 0x39
  923. #define B2056_RX_MIXA_MASTER 0x3A
  924. #define B2056_RX_MIXA_VCM 0x3B
  925. #define B2056_RX_MIXA_CTRLPTAT 0x3C
  926. #define B2056_RX_MIXA_LOB_BIAS 0x3D
  927. #define B2056_RX_MIXA_CORE_IDAC 0x3E
  928. #define B2056_RX_MIXA_CMFB_IDAC 0x3F
  929. #define B2056_RX_MIXA_BIAS_AUX 0x40
  930. #define B2056_RX_MIXA_BIAS_MAIN 0x41
  931. #define B2056_RX_MIXA_BIAS_MISC 0x42
  932. #define B2056_RX_MIXA_MAST_BIAS 0x43
  933. #define B2056_RX_MIXG_MASTER 0x44
  934. #define B2056_RX_MIXG_VCM 0x45
  935. #define B2056_RX_MIXG_CTRLPTAT 0x46
  936. #define B2056_RX_MIXG_LOB_BIAS 0x47
  937. #define B2056_RX_MIXG_CORE_IDAC 0x48
  938. #define B2056_RX_MIXG_CMFB_IDAC 0x49
  939. #define B2056_RX_MIXG_BIAS_AUX 0x4A
  940. #define B2056_RX_MIXG_BIAS_MAIN 0x4B
  941. #define B2056_RX_MIXG_BIAS_MISC 0x4C
  942. #define B2056_RX_MIXG_MAST_BIAS 0x4D
  943. #define B2056_RX_TIA_MASTER 0x4E
  944. #define B2056_RX_TIA_IOPAMP 0x4F
  945. #define B2056_RX_TIA_QOPAMP 0x50
  946. #define B2056_RX_TIA_IMISC 0x51
  947. #define B2056_RX_TIA_QMISC 0x52
  948. #define B2056_RX_TIA_GAIN 0x53
  949. #define B2056_RX_TIA_SPARE1 0x54
  950. #define B2056_RX_TIA_SPARE2 0x55
  951. #define B2056_RX_BB_LPF_MASTER 0x56
  952. #define B2056_RX_AACI_MASTER 0x57
  953. #define B2056_RX_RXLPF_IDAC 0x58
  954. #define B2056_RX_RXLPF_OPAMPBIAS_LOWQ 0x59
  955. #define B2056_RX_RXLPF_OPAMPBIAS_HIGHQ 0x5A
  956. #define B2056_RX_RXLPF_BIAS_DCCANCEL 0x5B
  957. #define B2056_RX_RXLPF_OUTVCM 0x5C
  958. #define B2056_RX_RXLPF_INVCM_BODY 0x5D
  959. #define B2056_RX_RXLPF_CC_OP 0x5E
  960. #define B2056_RX_RXLPF_GAIN 0x5F
  961. #define B2056_RX_RXLPF_Q_BW 0x60
  962. #define B2056_RX_RXLPF_HP_CORNER_BW 0x61
  963. #define B2056_RX_RXLPF_RCCAL_HPC 0x62
  964. #define B2056_RX_RXHPF_OFF0 0x63
  965. #define B2056_RX_RXHPF_OFF1 0x64
  966. #define B2056_RX_RXHPF_OFF2 0x65
  967. #define B2056_RX_RXHPF_OFF3 0x66
  968. #define B2056_RX_RXHPF_OFF4 0x67
  969. #define B2056_RX_RXHPF_OFF5 0x68
  970. #define B2056_RX_RXHPF_OFF6 0x69
  971. #define B2056_RX_RXHPF_OFF7 0x6A
  972. #define B2056_RX_RXLPF_RCCAL_LPC 0x6B
  973. #define B2056_RX_RXLPF_OFF_0 0x6C
  974. #define B2056_RX_RXLPF_OFF_1 0x6D
  975. #define B2056_RX_RXLPF_OFF_2 0x6E
  976. #define B2056_RX_RXLPF_OFF_3 0x6F
  977. #define B2056_RX_RXLPF_OFF_4 0x70
  978. #define B2056_RX_UNUSED 0x71
  979. #define B2056_RX_VGA_MASTER 0x72
  980. #define B2056_RX_VGA_BIAS 0x73
  981. #define B2056_RX_VGA_BIAS_DCCANCEL 0x74
  982. #define B2056_RX_VGA_GAIN 0x75
  983. #define B2056_RX_VGA_HP_CORNER_BW 0x76
  984. #define B2056_RX_VGABUF_BIAS 0x77
  985. #define B2056_RX_VGABUF_GAIN_BW 0x78
  986. #define B2056_RX_TXFBMIX_A 0x79
  987. #define B2056_RX_TXFBMIX_G 0x7A
  988. #define B2056_RX_RXSPARE1 0x7B
  989. #define B2056_RX_RXSPARE2 0x7C
  990. #define B2056_RX_RXSPARE3 0x7D
  991. #define B2056_RX_RXSPARE4 0x7E
  992. #define B2056_RX_RXSPARE5 0x7F
  993. #define B2056_RX_RXSPARE6 0x80
  994. #define B2056_RX_RXSPARE7 0x81
  995. #define B2056_RX_RXSPARE8 0x82
  996. #define B2056_RX_RXSPARE9 0x83
  997. #define B2056_RX_RXSPARE10 0x84
  998. #define B2056_RX_RXSPARE11 0x85
  999. #define B2056_RX_RXSPARE12 0x86
  1000. #define B2056_RX_RXSPARE13 0x87
  1001. #define B2056_RX_RXSPARE14 0x88
  1002. #define B2056_RX_RXSPARE15 0x89
  1003. #define B2056_RX_RXSPARE16 0x8A
  1004. #define B2056_RX_STATUS_LNAA_GAIN 0x8B
  1005. #define B2056_RX_STATUS_LNAG_GAIN 0x8C
  1006. #define B2056_RX_STATUS_MIXTIA_GAIN 0x8D
  1007. #define B2056_RX_STATUS_RXLPF_GAIN 0x8E
  1008. #define B2056_RX_STATUS_VGA_BUF_GAIN 0x8F
  1009. #define B2056_RX_STATUS_RXLPF_Q 0x90
  1010. #define B2056_RX_STATUS_RXLPF_BUF_BW 0x91
  1011. #define B2056_RX_STATUS_RXLPF_VGA_HPC 0x92
  1012. #define B2056_RX_STATUS_RXLPF_RC 0x93
  1013. #define B2056_RX_STATUS_HPC_RC 0x94
  1014. #define B2056_LNA1_A_PU 0x01
  1015. #define B2056_LNA2_A_PU 0x02
  1016. #define B2056_LNA1_G_PU 0x01
  1017. #define B2056_LNA2_G_PU 0x02
  1018. #define B2056_MIXA_PU_I 0x01
  1019. #define B2056_MIXA_PU_Q 0x02
  1020. #define B2056_MIXA_PU_GM 0x10
  1021. #define B2056_MIXG_PU_I 0x01
  1022. #define B2056_MIXG_PU_Q 0x02
  1023. #define B2056_MIXG_PU_GM 0x10
  1024. #define B2056_TIA_PU 0x01
  1025. #define B2056_BB_LPF_PU 0x20
  1026. #define B2056_W1_PU 0x02
  1027. #define B2056_W2_PU 0x04
  1028. #define B2056_NB_PU 0x08
  1029. #define B2056_RSSI_W1_SEL 0x02
  1030. #define B2056_RSSI_W2_SEL 0x04
  1031. #define B2056_RSSI_NB_SEL 0x08
  1032. #define B2056_VCM_MASK 0x1C
  1033. #define B2056_RSSI_VCM_SHIFT 0x02
  1034. struct b43_nphy_channeltab_entry_rev3 {
  1035. /* The channel frequency in MHz */
  1036. u16 freq;
  1037. /* Radio register values on channelswitch */
  1038. u8 radio_syn_pll_vcocal1;
  1039. u8 radio_syn_pll_vcocal2;
  1040. u8 radio_syn_pll_refdiv;
  1041. u8 radio_syn_pll_mmd2;
  1042. u8 radio_syn_pll_mmd1;
  1043. u8 radio_syn_pll_loopfilter1;
  1044. u8 radio_syn_pll_loopfilter2;
  1045. u8 radio_syn_pll_loopfilter3;
  1046. u8 radio_syn_pll_loopfilter4;
  1047. u8 radio_syn_pll_loopfilter5;
  1048. u8 radio_syn_reserved_addr27;
  1049. u8 radio_syn_reserved_addr28;
  1050. u8 radio_syn_reserved_addr29;
  1051. u8 radio_syn_logen_vcobuf1;
  1052. u8 radio_syn_logen_mixer2;
  1053. u8 radio_syn_logen_buf3;
  1054. u8 radio_syn_logen_buf4;
  1055. u8 radio_rx0_lnaa_tune;
  1056. u8 radio_rx0_lnag_tune;
  1057. u8 radio_tx0_intpaa_boost_tune;
  1058. u8 radio_tx0_intpag_boost_tune;
  1059. u8 radio_tx0_pada_boost_tune;
  1060. u8 radio_tx0_padg_boost_tune;
  1061. u8 radio_tx0_pgaa_boost_tune;
  1062. u8 radio_tx0_pgag_boost_tune;
  1063. u8 radio_tx0_mixa_boost_tune;
  1064. u8 radio_tx0_mixg_boost_tune;
  1065. u8 radio_rx1_lnaa_tune;
  1066. u8 radio_rx1_lnag_tune;
  1067. u8 radio_tx1_intpaa_boost_tune;
  1068. u8 radio_tx1_intpag_boost_tune;
  1069. u8 radio_tx1_pada_boost_tune;
  1070. u8 radio_tx1_padg_boost_tune;
  1071. u8 radio_tx1_pgaa_boost_tune;
  1072. u8 radio_tx1_pgag_boost_tune;
  1073. u8 radio_tx1_mixa_boost_tune;
  1074. u8 radio_tx1_mixg_boost_tune;
  1075. /* PHY register values on channelswitch */
  1076. struct b43_phy_n_sfo_cfg phy_regs;
  1077. };
  1078. void b2056_upload_inittabs(struct b43_wldev *dev,
  1079. bool ghz5, bool ignore_uploadflag);
  1080. void b2056_upload_syn_pll_cp2(struct b43_wldev *dev, bool ghz5);
  1081. /* Get the NPHY Channel Switch Table entry for a channel.
  1082. * Returns NULL on failure to find an entry. */
  1083. const struct b43_nphy_channeltab_entry_rev3 *
  1084. b43_nphy_get_chantabent_rev3(struct b43_wldev *dev, u16 freq);
  1085. #endif /* B43_RADIO_2056_H_ */