qib_6120_regs.h 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978
  1. /*
  2. * Copyright (c) 2008, 2009, 2010 QLogic Corporation. All rights reserved.
  3. *
  4. * This software is available to you under a choice of one of two
  5. * licenses. You may choose to be licensed under the terms of the GNU
  6. * General Public License (GPL) Version 2, available from the file
  7. * COPYING in the main directory of this source tree, or the
  8. * OpenIB.org BSD license below:
  9. *
  10. * Redistribution and use in source and binary forms, with or
  11. * without modification, are permitted provided that the following
  12. * conditions are met:
  13. *
  14. * - Redistributions of source code must retain the above
  15. * copyright notice, this list of conditions and the following
  16. * disclaimer.
  17. *
  18. * - Redistributions in binary form must reproduce the above
  19. * copyright notice, this list of conditions and the following
  20. * disclaimer in the documentation and/or other materials
  21. * provided with the distribution.
  22. *
  23. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  24. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  25. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  26. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
  27. * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  28. * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  29. * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  30. * SOFTWARE.
  31. */
  32. /* This file is mechanically generated from RTL. Any hand-edits will be lost! */
  33. #define QIB_6120_Revision_OFFS 0x0
  34. #define QIB_6120_Revision_R_Simulator_LSB 0x3F
  35. #define QIB_6120_Revision_R_Simulator_RMASK 0x1
  36. #define QIB_6120_Revision_Reserved_LSB 0x28
  37. #define QIB_6120_Revision_Reserved_RMASK 0x7FFFFF
  38. #define QIB_6120_Revision_BoardID_LSB 0x20
  39. #define QIB_6120_Revision_BoardID_RMASK 0xFF
  40. #define QIB_6120_Revision_R_SW_LSB 0x18
  41. #define QIB_6120_Revision_R_SW_RMASK 0xFF
  42. #define QIB_6120_Revision_R_Arch_LSB 0x10
  43. #define QIB_6120_Revision_R_Arch_RMASK 0xFF
  44. #define QIB_6120_Revision_R_ChipRevMajor_LSB 0x8
  45. #define QIB_6120_Revision_R_ChipRevMajor_RMASK 0xFF
  46. #define QIB_6120_Revision_R_ChipRevMinor_LSB 0x0
  47. #define QIB_6120_Revision_R_ChipRevMinor_RMASK 0xFF
  48. #define QIB_6120_Control_OFFS 0x8
  49. #define QIB_6120_Control_TxLatency_LSB 0x4
  50. #define QIB_6120_Control_TxLatency_RMASK 0x1
  51. #define QIB_6120_Control_PCIERetryBufDiagEn_LSB 0x3
  52. #define QIB_6120_Control_PCIERetryBufDiagEn_RMASK 0x1
  53. #define QIB_6120_Control_LinkEn_LSB 0x2
  54. #define QIB_6120_Control_LinkEn_RMASK 0x1
  55. #define QIB_6120_Control_FreezeMode_LSB 0x1
  56. #define QIB_6120_Control_FreezeMode_RMASK 0x1
  57. #define QIB_6120_Control_SyncReset_LSB 0x0
  58. #define QIB_6120_Control_SyncReset_RMASK 0x1
  59. #define QIB_6120_PageAlign_OFFS 0x10
  60. #define QIB_6120_PortCnt_OFFS 0x18
  61. #define QIB_6120_SendRegBase_OFFS 0x30
  62. #define QIB_6120_UserRegBase_OFFS 0x38
  63. #define QIB_6120_CntrRegBase_OFFS 0x40
  64. #define QIB_6120_Scratch_OFFS 0x48
  65. #define QIB_6120_Scratch_TopHalf_LSB 0x20
  66. #define QIB_6120_Scratch_TopHalf_RMASK 0xFFFFFFFF
  67. #define QIB_6120_Scratch_BottomHalf_LSB 0x0
  68. #define QIB_6120_Scratch_BottomHalf_RMASK 0xFFFFFFFF
  69. #define QIB_6120_IntBlocked_OFFS 0x60
  70. #define QIB_6120_IntBlocked_ErrorIntBlocked_LSB 0x1F
  71. #define QIB_6120_IntBlocked_ErrorIntBlocked_RMASK 0x1
  72. #define QIB_6120_IntBlocked_PioSetIntBlocked_LSB 0x1E
  73. #define QIB_6120_IntBlocked_PioSetIntBlocked_RMASK 0x1
  74. #define QIB_6120_IntBlocked_PioBufAvailIntBlocked_LSB 0x1D
  75. #define QIB_6120_IntBlocked_PioBufAvailIntBlocked_RMASK 0x1
  76. #define QIB_6120_IntBlocked_assertGPIOIntBlocked_LSB 0x1C
  77. #define QIB_6120_IntBlocked_assertGPIOIntBlocked_RMASK 0x1
  78. #define QIB_6120_IntBlocked_Reserved_LSB 0xF
  79. #define QIB_6120_IntBlocked_Reserved_RMASK 0x1FFF
  80. #define QIB_6120_IntBlocked_RcvAvail4IntBlocked_LSB 0x10
  81. #define QIB_6120_IntBlocked_RcvAvail4IntBlocked_RMASK 0x1
  82. #define QIB_6120_IntBlocked_RcvAvail3IntBlocked_LSB 0xF
  83. #define QIB_6120_IntBlocked_RcvAvail3IntBlocked_RMASK 0x1
  84. #define QIB_6120_IntBlocked_RcvAvail2IntBlocked_LSB 0xE
  85. #define QIB_6120_IntBlocked_RcvAvail2IntBlocked_RMASK 0x1
  86. #define QIB_6120_IntBlocked_RcvAvail1IntBlocked_LSB 0xD
  87. #define QIB_6120_IntBlocked_RcvAvail1IntBlocked_RMASK 0x1
  88. #define QIB_6120_IntBlocked_RcvAvail0IntBlocked_LSB 0xC
  89. #define QIB_6120_IntBlocked_RcvAvail0IntBlocked_RMASK 0x1
  90. #define QIB_6120_IntBlocked_Reserved1_LSB 0x5
  91. #define QIB_6120_IntBlocked_Reserved1_RMASK 0x7F
  92. #define QIB_6120_IntBlocked_RcvUrg4IntBlocked_LSB 0x4
  93. #define QIB_6120_IntBlocked_RcvUrg4IntBlocked_RMASK 0x1
  94. #define QIB_6120_IntBlocked_RcvUrg3IntBlocked_LSB 0x3
  95. #define QIB_6120_IntBlocked_RcvUrg3IntBlocked_RMASK 0x1
  96. #define QIB_6120_IntBlocked_RcvUrg2IntBlocked_LSB 0x2
  97. #define QIB_6120_IntBlocked_RcvUrg2IntBlocked_RMASK 0x1
  98. #define QIB_6120_IntBlocked_RcvUrg1IntBlocked_LSB 0x1
  99. #define QIB_6120_IntBlocked_RcvUrg1IntBlocked_RMASK 0x1
  100. #define QIB_6120_IntBlocked_RcvUrg0IntBlocked_LSB 0x0
  101. #define QIB_6120_IntBlocked_RcvUrg0IntBlocked_RMASK 0x1
  102. #define QIB_6120_IntMask_OFFS 0x68
  103. #define QIB_6120_IntMask_ErrorIntMask_LSB 0x1F
  104. #define QIB_6120_IntMask_ErrorIntMask_RMASK 0x1
  105. #define QIB_6120_IntMask_PioSetIntMask_LSB 0x1E
  106. #define QIB_6120_IntMask_PioSetIntMask_RMASK 0x1
  107. #define QIB_6120_IntMask_PioBufAvailIntMask_LSB 0x1D
  108. #define QIB_6120_IntMask_PioBufAvailIntMask_RMASK 0x1
  109. #define QIB_6120_IntMask_assertGPIOIntMask_LSB 0x1C
  110. #define QIB_6120_IntMask_assertGPIOIntMask_RMASK 0x1
  111. #define QIB_6120_IntMask_Reserved_LSB 0x11
  112. #define QIB_6120_IntMask_Reserved_RMASK 0x7FF
  113. #define QIB_6120_IntMask_RcvAvail4IntMask_LSB 0x10
  114. #define QIB_6120_IntMask_RcvAvail4IntMask_RMASK 0x1
  115. #define QIB_6120_IntMask_RcvAvail3IntMask_LSB 0xF
  116. #define QIB_6120_IntMask_RcvAvail3IntMask_RMASK 0x1
  117. #define QIB_6120_IntMask_RcvAvail2IntMask_LSB 0xE
  118. #define QIB_6120_IntMask_RcvAvail2IntMask_RMASK 0x1
  119. #define QIB_6120_IntMask_RcvAvail1IntMask_LSB 0xD
  120. #define QIB_6120_IntMask_RcvAvail1IntMask_RMASK 0x1
  121. #define QIB_6120_IntMask_RcvAvail0IntMask_LSB 0xC
  122. #define QIB_6120_IntMask_RcvAvail0IntMask_RMASK 0x1
  123. #define QIB_6120_IntMask_Reserved1_LSB 0x5
  124. #define QIB_6120_IntMask_Reserved1_RMASK 0x7F
  125. #define QIB_6120_IntMask_RcvUrg4IntMask_LSB 0x4
  126. #define QIB_6120_IntMask_RcvUrg4IntMask_RMASK 0x1
  127. #define QIB_6120_IntMask_RcvUrg3IntMask_LSB 0x3
  128. #define QIB_6120_IntMask_RcvUrg3IntMask_RMASK 0x1
  129. #define QIB_6120_IntMask_RcvUrg2IntMask_LSB 0x2
  130. #define QIB_6120_IntMask_RcvUrg2IntMask_RMASK 0x1
  131. #define QIB_6120_IntMask_RcvUrg1IntMask_LSB 0x1
  132. #define QIB_6120_IntMask_RcvUrg1IntMask_RMASK 0x1
  133. #define QIB_6120_IntMask_RcvUrg0IntMask_LSB 0x0
  134. #define QIB_6120_IntMask_RcvUrg0IntMask_RMASK 0x1
  135. #define QIB_6120_IntStatus_OFFS 0x70
  136. #define QIB_6120_IntStatus_Error_LSB 0x1F
  137. #define QIB_6120_IntStatus_Error_RMASK 0x1
  138. #define QIB_6120_IntStatus_PioSent_LSB 0x1E
  139. #define QIB_6120_IntStatus_PioSent_RMASK 0x1
  140. #define QIB_6120_IntStatus_PioBufAvail_LSB 0x1D
  141. #define QIB_6120_IntStatus_PioBufAvail_RMASK 0x1
  142. #define QIB_6120_IntStatus_assertGPIO_LSB 0x1C
  143. #define QIB_6120_IntStatus_assertGPIO_RMASK 0x1
  144. #define QIB_6120_IntStatus_Reserved_LSB 0xF
  145. #define QIB_6120_IntStatus_Reserved_RMASK 0x1FFF
  146. #define QIB_6120_IntStatus_RcvAvail4_LSB 0x10
  147. #define QIB_6120_IntStatus_RcvAvail4_RMASK 0x1
  148. #define QIB_6120_IntStatus_RcvAvail3_LSB 0xF
  149. #define QIB_6120_IntStatus_RcvAvail3_RMASK 0x1
  150. #define QIB_6120_IntStatus_RcvAvail2_LSB 0xE
  151. #define QIB_6120_IntStatus_RcvAvail2_RMASK 0x1
  152. #define QIB_6120_IntStatus_RcvAvail1_LSB 0xD
  153. #define QIB_6120_IntStatus_RcvAvail1_RMASK 0x1
  154. #define QIB_6120_IntStatus_RcvAvail0_LSB 0xC
  155. #define QIB_6120_IntStatus_RcvAvail0_RMASK 0x1
  156. #define QIB_6120_IntStatus_Reserved1_LSB 0x5
  157. #define QIB_6120_IntStatus_Reserved1_RMASK 0x7F
  158. #define QIB_6120_IntStatus_RcvUrg4_LSB 0x4
  159. #define QIB_6120_IntStatus_RcvUrg4_RMASK 0x1
  160. #define QIB_6120_IntStatus_RcvUrg3_LSB 0x3
  161. #define QIB_6120_IntStatus_RcvUrg3_RMASK 0x1
  162. #define QIB_6120_IntStatus_RcvUrg2_LSB 0x2
  163. #define QIB_6120_IntStatus_RcvUrg2_RMASK 0x1
  164. #define QIB_6120_IntStatus_RcvUrg1_LSB 0x1
  165. #define QIB_6120_IntStatus_RcvUrg1_RMASK 0x1
  166. #define QIB_6120_IntStatus_RcvUrg0_LSB 0x0
  167. #define QIB_6120_IntStatus_RcvUrg0_RMASK 0x1
  168. #define QIB_6120_IntClear_OFFS 0x78
  169. #define QIB_6120_IntClear_ErrorIntClear_LSB 0x1F
  170. #define QIB_6120_IntClear_ErrorIntClear_RMASK 0x1
  171. #define QIB_6120_IntClear_PioSetIntClear_LSB 0x1E
  172. #define QIB_6120_IntClear_PioSetIntClear_RMASK 0x1
  173. #define QIB_6120_IntClear_PioBufAvailIntClear_LSB 0x1D
  174. #define QIB_6120_IntClear_PioBufAvailIntClear_RMASK 0x1
  175. #define QIB_6120_IntClear_assertGPIOIntClear_LSB 0x1C
  176. #define QIB_6120_IntClear_assertGPIOIntClear_RMASK 0x1
  177. #define QIB_6120_IntClear_Reserved_LSB 0xF
  178. #define QIB_6120_IntClear_Reserved_RMASK 0x1FFF
  179. #define QIB_6120_IntClear_RcvAvail4IntClear_LSB 0x10
  180. #define QIB_6120_IntClear_RcvAvail4IntClear_RMASK 0x1
  181. #define QIB_6120_IntClear_RcvAvail3IntClear_LSB 0xF
  182. #define QIB_6120_IntClear_RcvAvail3IntClear_RMASK 0x1
  183. #define QIB_6120_IntClear_RcvAvail2IntClear_LSB 0xE
  184. #define QIB_6120_IntClear_RcvAvail2IntClear_RMASK 0x1
  185. #define QIB_6120_IntClear_RcvAvail1IntClear_LSB 0xD
  186. #define QIB_6120_IntClear_RcvAvail1IntClear_RMASK 0x1
  187. #define QIB_6120_IntClear_RcvAvail0IntClear_LSB 0xC
  188. #define QIB_6120_IntClear_RcvAvail0IntClear_RMASK 0x1
  189. #define QIB_6120_IntClear_Reserved1_LSB 0x5
  190. #define QIB_6120_IntClear_Reserved1_RMASK 0x7F
  191. #define QIB_6120_IntClear_RcvUrg4IntClear_LSB 0x4
  192. #define QIB_6120_IntClear_RcvUrg4IntClear_RMASK 0x1
  193. #define QIB_6120_IntClear_RcvUrg3IntClear_LSB 0x3
  194. #define QIB_6120_IntClear_RcvUrg3IntClear_RMASK 0x1
  195. #define QIB_6120_IntClear_RcvUrg2IntClear_LSB 0x2
  196. #define QIB_6120_IntClear_RcvUrg2IntClear_RMASK 0x1
  197. #define QIB_6120_IntClear_RcvUrg1IntClear_LSB 0x1
  198. #define QIB_6120_IntClear_RcvUrg1IntClear_RMASK 0x1
  199. #define QIB_6120_IntClear_RcvUrg0IntClear_LSB 0x0
  200. #define QIB_6120_IntClear_RcvUrg0IntClear_RMASK 0x1
  201. #define QIB_6120_ErrMask_OFFS 0x80
  202. #define QIB_6120_ErrMask_Reserved_LSB 0x34
  203. #define QIB_6120_ErrMask_Reserved_RMASK 0xFFF
  204. #define QIB_6120_ErrMask_HardwareErrMask_LSB 0x33
  205. #define QIB_6120_ErrMask_HardwareErrMask_RMASK 0x1
  206. #define QIB_6120_ErrMask_ResetNegatedMask_LSB 0x32
  207. #define QIB_6120_ErrMask_ResetNegatedMask_RMASK 0x1
  208. #define QIB_6120_ErrMask_InvalidAddrErrMask_LSB 0x31
  209. #define QIB_6120_ErrMask_InvalidAddrErrMask_RMASK 0x1
  210. #define QIB_6120_ErrMask_IBStatusChangedMask_LSB 0x30
  211. #define QIB_6120_ErrMask_IBStatusChangedMask_RMASK 0x1
  212. #define QIB_6120_ErrMask_Reserved1_LSB 0x26
  213. #define QIB_6120_ErrMask_Reserved1_RMASK 0x3FF
  214. #define QIB_6120_ErrMask_SendUnsupportedVLErrMask_LSB 0x25
  215. #define QIB_6120_ErrMask_SendUnsupportedVLErrMask_RMASK 0x1
  216. #define QIB_6120_ErrMask_SendUnexpectedPktNumErrMask_LSB 0x24
  217. #define QIB_6120_ErrMask_SendUnexpectedPktNumErrMask_RMASK 0x1
  218. #define QIB_6120_ErrMask_SendPioArmLaunchErrMask_LSB 0x23
  219. #define QIB_6120_ErrMask_SendPioArmLaunchErrMask_RMASK 0x1
  220. #define QIB_6120_ErrMask_SendDroppedDataPktErrMask_LSB 0x22
  221. #define QIB_6120_ErrMask_SendDroppedDataPktErrMask_RMASK 0x1
  222. #define QIB_6120_ErrMask_SendDroppedSmpPktErrMask_LSB 0x21
  223. #define QIB_6120_ErrMask_SendDroppedSmpPktErrMask_RMASK 0x1
  224. #define QIB_6120_ErrMask_SendPktLenErrMask_LSB 0x20
  225. #define QIB_6120_ErrMask_SendPktLenErrMask_RMASK 0x1
  226. #define QIB_6120_ErrMask_SendUnderRunErrMask_LSB 0x1F
  227. #define QIB_6120_ErrMask_SendUnderRunErrMask_RMASK 0x1
  228. #define QIB_6120_ErrMask_SendMaxPktLenErrMask_LSB 0x1E
  229. #define QIB_6120_ErrMask_SendMaxPktLenErrMask_RMASK 0x1
  230. #define QIB_6120_ErrMask_SendMinPktLenErrMask_LSB 0x1D
  231. #define QIB_6120_ErrMask_SendMinPktLenErrMask_RMASK 0x1
  232. #define QIB_6120_ErrMask_Reserved2_LSB 0x12
  233. #define QIB_6120_ErrMask_Reserved2_RMASK 0x7FF
  234. #define QIB_6120_ErrMask_RcvIBLostLinkErrMask_LSB 0x11
  235. #define QIB_6120_ErrMask_RcvIBLostLinkErrMask_RMASK 0x1
  236. #define QIB_6120_ErrMask_RcvHdrErrMask_LSB 0x10
  237. #define QIB_6120_ErrMask_RcvHdrErrMask_RMASK 0x1
  238. #define QIB_6120_ErrMask_RcvHdrLenErrMask_LSB 0xF
  239. #define QIB_6120_ErrMask_RcvHdrLenErrMask_RMASK 0x1
  240. #define QIB_6120_ErrMask_RcvBadTidErrMask_LSB 0xE
  241. #define QIB_6120_ErrMask_RcvBadTidErrMask_RMASK 0x1
  242. #define QIB_6120_ErrMask_RcvHdrFullErrMask_LSB 0xD
  243. #define QIB_6120_ErrMask_RcvHdrFullErrMask_RMASK 0x1
  244. #define QIB_6120_ErrMask_RcvEgrFullErrMask_LSB 0xC
  245. #define QIB_6120_ErrMask_RcvEgrFullErrMask_RMASK 0x1
  246. #define QIB_6120_ErrMask_RcvBadVersionErrMask_LSB 0xB
  247. #define QIB_6120_ErrMask_RcvBadVersionErrMask_RMASK 0x1
  248. #define QIB_6120_ErrMask_RcvIBFlowErrMask_LSB 0xA
  249. #define QIB_6120_ErrMask_RcvIBFlowErrMask_RMASK 0x1
  250. #define QIB_6120_ErrMask_RcvEBPErrMask_LSB 0x9
  251. #define QIB_6120_ErrMask_RcvEBPErrMask_RMASK 0x1
  252. #define QIB_6120_ErrMask_RcvUnsupportedVLErrMask_LSB 0x8
  253. #define QIB_6120_ErrMask_RcvUnsupportedVLErrMask_RMASK 0x1
  254. #define QIB_6120_ErrMask_RcvUnexpectedCharErrMask_LSB 0x7
  255. #define QIB_6120_ErrMask_RcvUnexpectedCharErrMask_RMASK 0x1
  256. #define QIB_6120_ErrMask_RcvShortPktLenErrMask_LSB 0x6
  257. #define QIB_6120_ErrMask_RcvShortPktLenErrMask_RMASK 0x1
  258. #define QIB_6120_ErrMask_RcvLongPktLenErrMask_LSB 0x5
  259. #define QIB_6120_ErrMask_RcvLongPktLenErrMask_RMASK 0x1
  260. #define QIB_6120_ErrMask_RcvMaxPktLenErrMask_LSB 0x4
  261. #define QIB_6120_ErrMask_RcvMaxPktLenErrMask_RMASK 0x1
  262. #define QIB_6120_ErrMask_RcvMinPktLenErrMask_LSB 0x3
  263. #define QIB_6120_ErrMask_RcvMinPktLenErrMask_RMASK 0x1
  264. #define QIB_6120_ErrMask_RcvICRCErrMask_LSB 0x2
  265. #define QIB_6120_ErrMask_RcvICRCErrMask_RMASK 0x1
  266. #define QIB_6120_ErrMask_RcvVCRCErrMask_LSB 0x1
  267. #define QIB_6120_ErrMask_RcvVCRCErrMask_RMASK 0x1
  268. #define QIB_6120_ErrMask_RcvFormatErrMask_LSB 0x0
  269. #define QIB_6120_ErrMask_RcvFormatErrMask_RMASK 0x1
  270. #define QIB_6120_ErrStatus_OFFS 0x88
  271. #define QIB_6120_ErrStatus_Reserved_LSB 0x34
  272. #define QIB_6120_ErrStatus_Reserved_RMASK 0xFFF
  273. #define QIB_6120_ErrStatus_HardwareErr_LSB 0x33
  274. #define QIB_6120_ErrStatus_HardwareErr_RMASK 0x1
  275. #define QIB_6120_ErrStatus_ResetNegated_LSB 0x32
  276. #define QIB_6120_ErrStatus_ResetNegated_RMASK 0x1
  277. #define QIB_6120_ErrStatus_InvalidAddrErr_LSB 0x31
  278. #define QIB_6120_ErrStatus_InvalidAddrErr_RMASK 0x1
  279. #define QIB_6120_ErrStatus_IBStatusChanged_LSB 0x30
  280. #define QIB_6120_ErrStatus_IBStatusChanged_RMASK 0x1
  281. #define QIB_6120_ErrStatus_Reserved1_LSB 0x26
  282. #define QIB_6120_ErrStatus_Reserved1_RMASK 0x3FF
  283. #define QIB_6120_ErrStatus_SendUnsupportedVLErr_LSB 0x25
  284. #define QIB_6120_ErrStatus_SendUnsupportedVLErr_RMASK 0x1
  285. #define QIB_6120_ErrStatus_SendUnexpectedPktNumErr_LSB 0x24
  286. #define QIB_6120_ErrStatus_SendUnexpectedPktNumErr_RMASK 0x1
  287. #define QIB_6120_ErrStatus_SendPioArmLaunchErr_LSB 0x23
  288. #define QIB_6120_ErrStatus_SendPioArmLaunchErr_RMASK 0x1
  289. #define QIB_6120_ErrStatus_SendDroppedDataPktErr_LSB 0x22
  290. #define QIB_6120_ErrStatus_SendDroppedDataPktErr_RMASK 0x1
  291. #define QIB_6120_ErrStatus_SendDroppedSmpPktErr_LSB 0x21
  292. #define QIB_6120_ErrStatus_SendDroppedSmpPktErr_RMASK 0x1
  293. #define QIB_6120_ErrStatus_SendPktLenErr_LSB 0x20
  294. #define QIB_6120_ErrStatus_SendPktLenErr_RMASK 0x1
  295. #define QIB_6120_ErrStatus_SendUnderRunErr_LSB 0x1F
  296. #define QIB_6120_ErrStatus_SendUnderRunErr_RMASK 0x1
  297. #define QIB_6120_ErrStatus_SendMaxPktLenErr_LSB 0x1E
  298. #define QIB_6120_ErrStatus_SendMaxPktLenErr_RMASK 0x1
  299. #define QIB_6120_ErrStatus_SendMinPktLenErr_LSB 0x1D
  300. #define QIB_6120_ErrStatus_SendMinPktLenErr_RMASK 0x1
  301. #define QIB_6120_ErrStatus_Reserved2_LSB 0x12
  302. #define QIB_6120_ErrStatus_Reserved2_RMASK 0x7FF
  303. #define QIB_6120_ErrStatus_RcvIBLostLinkErr_LSB 0x11
  304. #define QIB_6120_ErrStatus_RcvIBLostLinkErr_RMASK 0x1
  305. #define QIB_6120_ErrStatus_RcvHdrErr_LSB 0x10
  306. #define QIB_6120_ErrStatus_RcvHdrErr_RMASK 0x1
  307. #define QIB_6120_ErrStatus_RcvHdrLenErr_LSB 0xF
  308. #define QIB_6120_ErrStatus_RcvHdrLenErr_RMASK 0x1
  309. #define QIB_6120_ErrStatus_RcvBadTidErr_LSB 0xE
  310. #define QIB_6120_ErrStatus_RcvBadTidErr_RMASK 0x1
  311. #define QIB_6120_ErrStatus_RcvHdrFullErr_LSB 0xD
  312. #define QIB_6120_ErrStatus_RcvHdrFullErr_RMASK 0x1
  313. #define QIB_6120_ErrStatus_RcvEgrFullErr_LSB 0xC
  314. #define QIB_6120_ErrStatus_RcvEgrFullErr_RMASK 0x1
  315. #define QIB_6120_ErrStatus_RcvBadVersionErr_LSB 0xB
  316. #define QIB_6120_ErrStatus_RcvBadVersionErr_RMASK 0x1
  317. #define QIB_6120_ErrStatus_RcvIBFlowErr_LSB 0xA
  318. #define QIB_6120_ErrStatus_RcvIBFlowErr_RMASK 0x1
  319. #define QIB_6120_ErrStatus_RcvEBPErr_LSB 0x9
  320. #define QIB_6120_ErrStatus_RcvEBPErr_RMASK 0x1
  321. #define QIB_6120_ErrStatus_RcvUnsupportedVLErr_LSB 0x8
  322. #define QIB_6120_ErrStatus_RcvUnsupportedVLErr_RMASK 0x1
  323. #define QIB_6120_ErrStatus_RcvUnexpectedCharErr_LSB 0x7
  324. #define QIB_6120_ErrStatus_RcvUnexpectedCharErr_RMASK 0x1
  325. #define QIB_6120_ErrStatus_RcvShortPktLenErr_LSB 0x6
  326. #define QIB_6120_ErrStatus_RcvShortPktLenErr_RMASK 0x1
  327. #define QIB_6120_ErrStatus_RcvLongPktLenErr_LSB 0x5
  328. #define QIB_6120_ErrStatus_RcvLongPktLenErr_RMASK 0x1
  329. #define QIB_6120_ErrStatus_RcvMaxPktLenErr_LSB 0x4
  330. #define QIB_6120_ErrStatus_RcvMaxPktLenErr_RMASK 0x1
  331. #define QIB_6120_ErrStatus_RcvMinPktLenErr_LSB 0x3
  332. #define QIB_6120_ErrStatus_RcvMinPktLenErr_RMASK 0x1
  333. #define QIB_6120_ErrStatus_RcvICRCErr_LSB 0x2
  334. #define QIB_6120_ErrStatus_RcvICRCErr_RMASK 0x1
  335. #define QIB_6120_ErrStatus_RcvVCRCErr_LSB 0x1
  336. #define QIB_6120_ErrStatus_RcvVCRCErr_RMASK 0x1
  337. #define QIB_6120_ErrStatus_RcvFormatErr_LSB 0x0
  338. #define QIB_6120_ErrStatus_RcvFormatErr_RMASK 0x1
  339. #define QIB_6120_ErrClear_OFFS 0x90
  340. #define QIB_6120_ErrClear_Reserved_LSB 0x34
  341. #define QIB_6120_ErrClear_Reserved_RMASK 0xFFF
  342. #define QIB_6120_ErrClear_HardwareErrClear_LSB 0x33
  343. #define QIB_6120_ErrClear_HardwareErrClear_RMASK 0x1
  344. #define QIB_6120_ErrClear_ResetNegatedClear_LSB 0x32
  345. #define QIB_6120_ErrClear_ResetNegatedClear_RMASK 0x1
  346. #define QIB_6120_ErrClear_InvalidAddrErrClear_LSB 0x31
  347. #define QIB_6120_ErrClear_InvalidAddrErrClear_RMASK 0x1
  348. #define QIB_6120_ErrClear_IBStatusChangedClear_LSB 0x30
  349. #define QIB_6120_ErrClear_IBStatusChangedClear_RMASK 0x1
  350. #define QIB_6120_ErrClear_Reserved1_LSB 0x26
  351. #define QIB_6120_ErrClear_Reserved1_RMASK 0x3FF
  352. #define QIB_6120_ErrClear_SendUnsupportedVLErrClear_LSB 0x25
  353. #define QIB_6120_ErrClear_SendUnsupportedVLErrClear_RMASK 0x1
  354. #define QIB_6120_ErrClear_SendUnexpectedPktNumErrClear_LSB 0x24
  355. #define QIB_6120_ErrClear_SendUnexpectedPktNumErrClear_RMASK 0x1
  356. #define QIB_6120_ErrClear_SendPioArmLaunchErrClear_LSB 0x23
  357. #define QIB_6120_ErrClear_SendPioArmLaunchErrClear_RMASK 0x1
  358. #define QIB_6120_ErrClear_SendDroppedDataPktErrClear_LSB 0x22
  359. #define QIB_6120_ErrClear_SendDroppedDataPktErrClear_RMASK 0x1
  360. #define QIB_6120_ErrClear_SendDroppedSmpPktErrClear_LSB 0x21
  361. #define QIB_6120_ErrClear_SendDroppedSmpPktErrClear_RMASK 0x1
  362. #define QIB_6120_ErrClear_SendPktLenErrClear_LSB 0x20
  363. #define QIB_6120_ErrClear_SendPktLenErrClear_RMASK 0x1
  364. #define QIB_6120_ErrClear_SendUnderRunErrClear_LSB 0x1F
  365. #define QIB_6120_ErrClear_SendUnderRunErrClear_RMASK 0x1
  366. #define QIB_6120_ErrClear_SendMaxPktLenErrClear_LSB 0x1E
  367. #define QIB_6120_ErrClear_SendMaxPktLenErrClear_RMASK 0x1
  368. #define QIB_6120_ErrClear_SendMinPktLenErrClear_LSB 0x1D
  369. #define QIB_6120_ErrClear_SendMinPktLenErrClear_RMASK 0x1
  370. #define QIB_6120_ErrClear_Reserved2_LSB 0x12
  371. #define QIB_6120_ErrClear_Reserved2_RMASK 0x7FF
  372. #define QIB_6120_ErrClear_RcvIBLostLinkErrClear_LSB 0x11
  373. #define QIB_6120_ErrClear_RcvIBLostLinkErrClear_RMASK 0x1
  374. #define QIB_6120_ErrClear_RcvHdrErrClear_LSB 0x10
  375. #define QIB_6120_ErrClear_RcvHdrErrClear_RMASK 0x1
  376. #define QIB_6120_ErrClear_RcvHdrLenErrClear_LSB 0xF
  377. #define QIB_6120_ErrClear_RcvHdrLenErrClear_RMASK 0x1
  378. #define QIB_6120_ErrClear_RcvBadTidErrClear_LSB 0xE
  379. #define QIB_6120_ErrClear_RcvBadTidErrClear_RMASK 0x1
  380. #define QIB_6120_ErrClear_RcvHdrFullErrClear_LSB 0xD
  381. #define QIB_6120_ErrClear_RcvHdrFullErrClear_RMASK 0x1
  382. #define QIB_6120_ErrClear_RcvEgrFullErrClear_LSB 0xC
  383. #define QIB_6120_ErrClear_RcvEgrFullErrClear_RMASK 0x1
  384. #define QIB_6120_ErrClear_RcvBadVersionErrClear_LSB 0xB
  385. #define QIB_6120_ErrClear_RcvBadVersionErrClear_RMASK 0x1
  386. #define QIB_6120_ErrClear_RcvIBFlowErrClear_LSB 0xA
  387. #define QIB_6120_ErrClear_RcvIBFlowErrClear_RMASK 0x1
  388. #define QIB_6120_ErrClear_RcvEBPErrClear_LSB 0x9
  389. #define QIB_6120_ErrClear_RcvEBPErrClear_RMASK 0x1
  390. #define QIB_6120_ErrClear_RcvUnsupportedVLErrClear_LSB 0x8
  391. #define QIB_6120_ErrClear_RcvUnsupportedVLErrClear_RMASK 0x1
  392. #define QIB_6120_ErrClear_RcvUnexpectedCharErrClear_LSB 0x7
  393. #define QIB_6120_ErrClear_RcvUnexpectedCharErrClear_RMASK 0x1
  394. #define QIB_6120_ErrClear_RcvShortPktLenErrClear_LSB 0x6
  395. #define QIB_6120_ErrClear_RcvShortPktLenErrClear_RMASK 0x1
  396. #define QIB_6120_ErrClear_RcvLongPktLenErrClear_LSB 0x5
  397. #define QIB_6120_ErrClear_RcvLongPktLenErrClear_RMASK 0x1
  398. #define QIB_6120_ErrClear_RcvMaxPktLenErrClear_LSB 0x4
  399. #define QIB_6120_ErrClear_RcvMaxPktLenErrClear_RMASK 0x1
  400. #define QIB_6120_ErrClear_RcvMinPktLenErrClear_LSB 0x3
  401. #define QIB_6120_ErrClear_RcvMinPktLenErrClear_RMASK 0x1
  402. #define QIB_6120_ErrClear_RcvICRCErrClear_LSB 0x2
  403. #define QIB_6120_ErrClear_RcvICRCErrClear_RMASK 0x1
  404. #define QIB_6120_ErrClear_RcvVCRCErrClear_LSB 0x1
  405. #define QIB_6120_ErrClear_RcvVCRCErrClear_RMASK 0x1
  406. #define QIB_6120_ErrClear_RcvFormatErrClear_LSB 0x0
  407. #define QIB_6120_ErrClear_RcvFormatErrClear_RMASK 0x1
  408. #define QIB_6120_HwErrMask_OFFS 0x98
  409. #define QIB_6120_HwErrMask_IBCBusFromSPCParityErrMask_LSB 0x3F
  410. #define QIB_6120_HwErrMask_IBCBusFromSPCParityErrMask_RMASK 0x1
  411. #define QIB_6120_HwErrMask_IBCBusToSPCParityErrMask_LSB 0x3E
  412. #define QIB_6120_HwErrMask_IBCBusToSPCParityErrMask_RMASK 0x1
  413. #define QIB_6120_HwErrMask_Reserved_LSB 0x3D
  414. #define QIB_6120_HwErrMask_Reserved_RMASK 0x1
  415. #define QIB_6120_HwErrMask_IBSerdesPClkNotDetectMask_LSB 0x3C
  416. #define QIB_6120_HwErrMask_IBSerdesPClkNotDetectMask_RMASK 0x1
  417. #define QIB_6120_HwErrMask_PCIESerdesQ0PClkNotDetectMask_LSB 0x3B
  418. #define QIB_6120_HwErrMask_PCIESerdesQ0PClkNotDetectMask_RMASK 0x1
  419. #define QIB_6120_HwErrMask_PCIESerdesQ1PClkNotDetectMask_LSB 0x3A
  420. #define QIB_6120_HwErrMask_PCIESerdesQ1PClkNotDetectMask_RMASK 0x1
  421. #define QIB_6120_HwErrMask_Reserved1_LSB 0x39
  422. #define QIB_6120_HwErrMask_Reserved1_RMASK 0x1
  423. #define QIB_6120_HwErrMask_IBPLLrfSlipMask_LSB 0x38
  424. #define QIB_6120_HwErrMask_IBPLLrfSlipMask_RMASK 0x1
  425. #define QIB_6120_HwErrMask_IBPLLfbSlipMask_LSB 0x37
  426. #define QIB_6120_HwErrMask_IBPLLfbSlipMask_RMASK 0x1
  427. #define QIB_6120_HwErrMask_PowerOnBISTFailedMask_LSB 0x36
  428. #define QIB_6120_HwErrMask_PowerOnBISTFailedMask_RMASK 0x1
  429. #define QIB_6120_HwErrMask_Reserved2_LSB 0x33
  430. #define QIB_6120_HwErrMask_Reserved2_RMASK 0x7
  431. #define QIB_6120_HwErrMask_RXEMemParityErrMask_LSB 0x2C
  432. #define QIB_6120_HwErrMask_RXEMemParityErrMask_RMASK 0x7F
  433. #define QIB_6120_HwErrMask_TXEMemParityErrMask_LSB 0x28
  434. #define QIB_6120_HwErrMask_TXEMemParityErrMask_RMASK 0xF
  435. #define QIB_6120_HwErrMask_Reserved3_LSB 0x22
  436. #define QIB_6120_HwErrMask_Reserved3_RMASK 0x3F
  437. #define QIB_6120_HwErrMask_PCIeBusParityErrMask_LSB 0x1F
  438. #define QIB_6120_HwErrMask_PCIeBusParityErrMask_RMASK 0x7
  439. #define QIB_6120_HwErrMask_PcieCplTimeoutMask_LSB 0x1E
  440. #define QIB_6120_HwErrMask_PcieCplTimeoutMask_RMASK 0x1
  441. #define QIB_6120_HwErrMask_PoisonedTLPMask_LSB 0x1D
  442. #define QIB_6120_HwErrMask_PoisonedTLPMask_RMASK 0x1
  443. #define QIB_6120_HwErrMask_Reserved4_LSB 0x6
  444. #define QIB_6120_HwErrMask_Reserved4_RMASK 0x7FFFFF
  445. #define QIB_6120_HwErrMask_PCIeMemParityErrMask_LSB 0x0
  446. #define QIB_6120_HwErrMask_PCIeMemParityErrMask_RMASK 0x3F
  447. #define QIB_6120_HwErrStatus_OFFS 0xA0
  448. #define QIB_6120_HwErrStatus_IBCBusFromSPCParityErr_LSB 0x3F
  449. #define QIB_6120_HwErrStatus_IBCBusFromSPCParityErr_RMASK 0x1
  450. #define QIB_6120_HwErrStatus_IBCBusToSPCParityErr_LSB 0x3E
  451. #define QIB_6120_HwErrStatus_IBCBusToSPCParityErr_RMASK 0x1
  452. #define QIB_6120_HwErrStatus_Reserved_LSB 0x3D
  453. #define QIB_6120_HwErrStatus_Reserved_RMASK 0x1
  454. #define QIB_6120_HwErrStatus_IBSerdesPClkNotDetect_LSB 0x3C
  455. #define QIB_6120_HwErrStatus_IBSerdesPClkNotDetect_RMASK 0x1
  456. #define QIB_6120_HwErrStatus_PCIESerdesQ0PClkNotDetect_LSB 0x3B
  457. #define QIB_6120_HwErrStatus_PCIESerdesQ0PClkNotDetect_RMASK 0x1
  458. #define QIB_6120_HwErrStatus_PCIESerdesQ1PClkNotDetect_LSB 0x3A
  459. #define QIB_6120_HwErrStatus_PCIESerdesQ1PClkNotDetect_RMASK 0x1
  460. #define QIB_6120_HwErrStatus_Reserved1_LSB 0x39
  461. #define QIB_6120_HwErrStatus_Reserved1_RMASK 0x1
  462. #define QIB_6120_HwErrStatus_IBPLLrfSlip_LSB 0x38
  463. #define QIB_6120_HwErrStatus_IBPLLrfSlip_RMASK 0x1
  464. #define QIB_6120_HwErrStatus_IBPLLfbSlip_LSB 0x37
  465. #define QIB_6120_HwErrStatus_IBPLLfbSlip_RMASK 0x1
  466. #define QIB_6120_HwErrStatus_PowerOnBISTFailed_LSB 0x36
  467. #define QIB_6120_HwErrStatus_PowerOnBISTFailed_RMASK 0x1
  468. #define QIB_6120_HwErrStatus_Reserved2_LSB 0x33
  469. #define QIB_6120_HwErrStatus_Reserved2_RMASK 0x7
  470. #define QIB_6120_HwErrStatus_RXEMemParity_LSB 0x2C
  471. #define QIB_6120_HwErrStatus_RXEMemParity_RMASK 0x7F
  472. #define QIB_6120_HwErrStatus_TXEMemParity_LSB 0x28
  473. #define QIB_6120_HwErrStatus_TXEMemParity_RMASK 0xF
  474. #define QIB_6120_HwErrStatus_Reserved3_LSB 0x22
  475. #define QIB_6120_HwErrStatus_Reserved3_RMASK 0x3F
  476. #define QIB_6120_HwErrStatus_PCIeBusParity_LSB 0x1F
  477. #define QIB_6120_HwErrStatus_PCIeBusParity_RMASK 0x7
  478. #define QIB_6120_HwErrStatus_PcieCplTimeout_LSB 0x1E
  479. #define QIB_6120_HwErrStatus_PcieCplTimeout_RMASK 0x1
  480. #define QIB_6120_HwErrStatus_PoisenedTLP_LSB 0x1D
  481. #define QIB_6120_HwErrStatus_PoisenedTLP_RMASK 0x1
  482. #define QIB_6120_HwErrStatus_Reserved4_LSB 0x6
  483. #define QIB_6120_HwErrStatus_Reserved4_RMASK 0x7FFFFF
  484. #define QIB_6120_HwErrStatus_PCIeMemParity_LSB 0x0
  485. #define QIB_6120_HwErrStatus_PCIeMemParity_RMASK 0x3F
  486. #define QIB_6120_HwErrClear_OFFS 0xA8
  487. #define QIB_6120_HwErrClear_IBCBusFromSPCParityErrClear_LSB 0x3F
  488. #define QIB_6120_HwErrClear_IBCBusFromSPCParityErrClear_RMASK 0x1
  489. #define QIB_6120_HwErrClear_IBCBusToSPCparityErrClear_LSB 0x3E
  490. #define QIB_6120_HwErrClear_IBCBusToSPCparityErrClear_RMASK 0x1
  491. #define QIB_6120_HwErrClear_Reserved_LSB 0x3D
  492. #define QIB_6120_HwErrClear_Reserved_RMASK 0x1
  493. #define QIB_6120_HwErrClear_IBSerdesPClkNotDetectClear_LSB 0x3C
  494. #define QIB_6120_HwErrClear_IBSerdesPClkNotDetectClear_RMASK 0x1
  495. #define QIB_6120_HwErrClear_PCIESerdesQ0PClkNotDetectClear_LSB 0x3B
  496. #define QIB_6120_HwErrClear_PCIESerdesQ0PClkNotDetectClear_RMASK 0x1
  497. #define QIB_6120_HwErrClear_PCIESerdesQ1PClkNotDetectClear_LSB 0x3A
  498. #define QIB_6120_HwErrClear_PCIESerdesQ1PClkNotDetectClear_RMASK 0x1
  499. #define QIB_6120_HwErrClear_Reserved1_LSB 0x39
  500. #define QIB_6120_HwErrClear_Reserved1_RMASK 0x1
  501. #define QIB_6120_HwErrClear_IBPLLrfSlipClear_LSB 0x38
  502. #define QIB_6120_HwErrClear_IBPLLrfSlipClear_RMASK 0x1
  503. #define QIB_6120_HwErrClear_IBPLLfbSlipClear_LSB 0x37
  504. #define QIB_6120_HwErrClear_IBPLLfbSlipClear_RMASK 0x1
  505. #define QIB_6120_HwErrClear_PowerOnBISTFailedClear_LSB 0x36
  506. #define QIB_6120_HwErrClear_PowerOnBISTFailedClear_RMASK 0x1
  507. #define QIB_6120_HwErrClear_Reserved2_LSB 0x33
  508. #define QIB_6120_HwErrClear_Reserved2_RMASK 0x7
  509. #define QIB_6120_HwErrClear_RXEMemParityClear_LSB 0x2C
  510. #define QIB_6120_HwErrClear_RXEMemParityClear_RMASK 0x7F
  511. #define QIB_6120_HwErrClear_TXEMemParityClear_LSB 0x28
  512. #define QIB_6120_HwErrClear_TXEMemParityClear_RMASK 0xF
  513. #define QIB_6120_HwErrClear_Reserved3_LSB 0x22
  514. #define QIB_6120_HwErrClear_Reserved3_RMASK 0x3F
  515. #define QIB_6120_HwErrClear_PCIeBusParityClr_LSB 0x1F
  516. #define QIB_6120_HwErrClear_PCIeBusParityClr_RMASK 0x7
  517. #define QIB_6120_HwErrClear_PcieCplTimeoutClear_LSB 0x1E
  518. #define QIB_6120_HwErrClear_PcieCplTimeoutClear_RMASK 0x1
  519. #define QIB_6120_HwErrClear_PoisonedTLPClear_LSB 0x1D
  520. #define QIB_6120_HwErrClear_PoisonedTLPClear_RMASK 0x1
  521. #define QIB_6120_HwErrClear_Reserved4_LSB 0x6
  522. #define QIB_6120_HwErrClear_Reserved4_RMASK 0x7FFFFF
  523. #define QIB_6120_HwErrClear_PCIeMemParityClr_LSB 0x0
  524. #define QIB_6120_HwErrClear_PCIeMemParityClr_RMASK 0x3F
  525. #define QIB_6120_HwDiagCtrl_OFFS 0xB0
  526. #define QIB_6120_HwDiagCtrl_ForceIBCBusFromSPCParityErr_LSB 0x3F
  527. #define QIB_6120_HwDiagCtrl_ForceIBCBusFromSPCParityErr_RMASK 0x1
  528. #define QIB_6120_HwDiagCtrl_ForceIBCBusToSPCParityErr_LSB 0x3E
  529. #define QIB_6120_HwDiagCtrl_ForceIBCBusToSPCParityErr_RMASK 0x1
  530. #define QIB_6120_HwDiagCtrl_CounterWrEnable_LSB 0x3D
  531. #define QIB_6120_HwDiagCtrl_CounterWrEnable_RMASK 0x1
  532. #define QIB_6120_HwDiagCtrl_CounterDisable_LSB 0x3C
  533. #define QIB_6120_HwDiagCtrl_CounterDisable_RMASK 0x1
  534. #define QIB_6120_HwDiagCtrl_Reserved_LSB 0x33
  535. #define QIB_6120_HwDiagCtrl_Reserved_RMASK 0x1FF
  536. #define QIB_6120_HwDiagCtrl_ForceRxMemParityErr_LSB 0x2C
  537. #define QIB_6120_HwDiagCtrl_ForceRxMemParityErr_RMASK 0x7F
  538. #define QIB_6120_HwDiagCtrl_ForceTxMemparityErr_LSB 0x28
  539. #define QIB_6120_HwDiagCtrl_ForceTxMemparityErr_RMASK 0xF
  540. #define QIB_6120_HwDiagCtrl_Reserved1_LSB 0x23
  541. #define QIB_6120_HwDiagCtrl_Reserved1_RMASK 0x1F
  542. #define QIB_6120_HwDiagCtrl_forcePCIeBusParity_LSB 0x1F
  543. #define QIB_6120_HwDiagCtrl_forcePCIeBusParity_RMASK 0xF
  544. #define QIB_6120_HwDiagCtrl_Reserved2_LSB 0x6
  545. #define QIB_6120_HwDiagCtrl_Reserved2_RMASK 0x1FFFFFF
  546. #define QIB_6120_HwDiagCtrl_forcePCIeMemParity_LSB 0x0
  547. #define QIB_6120_HwDiagCtrl_forcePCIeMemParity_RMASK 0x3F
  548. #define QIB_6120_IBCStatus_OFFS 0xC0
  549. #define QIB_6120_IBCStatus_TxCreditOk_LSB 0x1F
  550. #define QIB_6120_IBCStatus_TxCreditOk_RMASK 0x1
  551. #define QIB_6120_IBCStatus_TxReady_LSB 0x1E
  552. #define QIB_6120_IBCStatus_TxReady_RMASK 0x1
  553. #define QIB_6120_IBCStatus_Reserved_LSB 0x7
  554. #define QIB_6120_IBCStatus_Reserved_RMASK 0x7FFFFF
  555. #define QIB_6120_IBCStatus_LinkState_LSB 0x4
  556. #define QIB_6120_IBCStatus_LinkState_RMASK 0x7
  557. #define QIB_6120_IBCStatus_LinkTrainingState_LSB 0x0
  558. #define QIB_6120_IBCStatus_LinkTrainingState_RMASK 0xF
  559. #define QIB_6120_IBCCtrl_OFFS 0xC8
  560. #define QIB_6120_IBCCtrl_Loopback_LSB 0x3F
  561. #define QIB_6120_IBCCtrl_Loopback_RMASK 0x1
  562. #define QIB_6120_IBCCtrl_LinkDownDefaultState_LSB 0x3E
  563. #define QIB_6120_IBCCtrl_LinkDownDefaultState_RMASK 0x1
  564. #define QIB_6120_IBCCtrl_Reserved_LSB 0x2B
  565. #define QIB_6120_IBCCtrl_Reserved_RMASK 0x7FFFF
  566. #define QIB_6120_IBCCtrl_CreditScale_LSB 0x28
  567. #define QIB_6120_IBCCtrl_CreditScale_RMASK 0x7
  568. #define QIB_6120_IBCCtrl_OverrunThreshold_LSB 0x24
  569. #define QIB_6120_IBCCtrl_OverrunThreshold_RMASK 0xF
  570. #define QIB_6120_IBCCtrl_PhyerrThreshold_LSB 0x20
  571. #define QIB_6120_IBCCtrl_PhyerrThreshold_RMASK 0xF
  572. #define QIB_6120_IBCCtrl_Reserved1_LSB 0x1F
  573. #define QIB_6120_IBCCtrl_Reserved1_RMASK 0x1
  574. #define QIB_6120_IBCCtrl_MaxPktLen_LSB 0x14
  575. #define QIB_6120_IBCCtrl_MaxPktLen_RMASK 0x7FF
  576. #define QIB_6120_IBCCtrl_LinkCmd_LSB 0x12
  577. #define QIB_6120_IBCCtrl_LinkCmd_RMASK 0x3
  578. #define QIB_6120_IBCCtrl_LinkInitCmd_LSB 0x10
  579. #define QIB_6120_IBCCtrl_LinkInitCmd_RMASK 0x3
  580. #define QIB_6120_IBCCtrl_FlowCtrlWaterMark_LSB 0x8
  581. #define QIB_6120_IBCCtrl_FlowCtrlWaterMark_RMASK 0xFF
  582. #define QIB_6120_IBCCtrl_FlowCtrlPeriod_LSB 0x0
  583. #define QIB_6120_IBCCtrl_FlowCtrlPeriod_RMASK 0xFF
  584. #define QIB_6120_EXTStatus_OFFS 0xD0
  585. #define QIB_6120_EXTStatus_GPIOIn_LSB 0x30
  586. #define QIB_6120_EXTStatus_GPIOIn_RMASK 0xFFFF
  587. #define QIB_6120_EXTStatus_Reserved_LSB 0x20
  588. #define QIB_6120_EXTStatus_Reserved_RMASK 0xFFFF
  589. #define QIB_6120_EXTStatus_Reserved1_LSB 0x10
  590. #define QIB_6120_EXTStatus_Reserved1_RMASK 0xFFFF
  591. #define QIB_6120_EXTStatus_MemBISTFoundErr_LSB 0xF
  592. #define QIB_6120_EXTStatus_MemBISTFoundErr_RMASK 0x1
  593. #define QIB_6120_EXTStatus_MemBISTEndTest_LSB 0xE
  594. #define QIB_6120_EXTStatus_MemBISTEndTest_RMASK 0x1
  595. #define QIB_6120_EXTStatus_Reserved2_LSB 0x0
  596. #define QIB_6120_EXTStatus_Reserved2_RMASK 0x3FFF
  597. #define QIB_6120_EXTCtrl_OFFS 0xD8
  598. #define QIB_6120_EXTCtrl_GPIOOe_LSB 0x30
  599. #define QIB_6120_EXTCtrl_GPIOOe_RMASK 0xFFFF
  600. #define QIB_6120_EXTCtrl_GPIOInvert_LSB 0x20
  601. #define QIB_6120_EXTCtrl_GPIOInvert_RMASK 0xFFFF
  602. #define QIB_6120_EXTCtrl_Reserved_LSB 0x4
  603. #define QIB_6120_EXTCtrl_Reserved_RMASK 0xFFFFFFF
  604. #define QIB_6120_EXTCtrl_LEDPriPortGreenOn_LSB 0x3
  605. #define QIB_6120_EXTCtrl_LEDPriPortGreenOn_RMASK 0x1
  606. #define QIB_6120_EXTCtrl_LEDPriPortYellowOn_LSB 0x2
  607. #define QIB_6120_EXTCtrl_LEDPriPortYellowOn_RMASK 0x1
  608. #define QIB_6120_EXTCtrl_LEDGblOkGreenOn_LSB 0x1
  609. #define QIB_6120_EXTCtrl_LEDGblOkGreenOn_RMASK 0x1
  610. #define QIB_6120_EXTCtrl_LEDGblErrRedOff_LSB 0x0
  611. #define QIB_6120_EXTCtrl_LEDGblErrRedOff_RMASK 0x1
  612. #define QIB_6120_GPIOOut_OFFS 0xE0
  613. #define QIB_6120_GPIOMask_OFFS 0xE8
  614. #define QIB_6120_GPIOStatus_OFFS 0xF0
  615. #define QIB_6120_GPIOClear_OFFS 0xF8
  616. #define QIB_6120_RcvCtrl_OFFS 0x100
  617. #define QIB_6120_RcvCtrl_TailUpd_LSB 0x1F
  618. #define QIB_6120_RcvCtrl_TailUpd_RMASK 0x1
  619. #define QIB_6120_RcvCtrl_RcvPartitionKeyDisable_LSB 0x1E
  620. #define QIB_6120_RcvCtrl_RcvPartitionKeyDisable_RMASK 0x1
  621. #define QIB_6120_RcvCtrl_Reserved_LSB 0x15
  622. #define QIB_6120_RcvCtrl_Reserved_RMASK 0x1FF
  623. #define QIB_6120_RcvCtrl_IntrAvail_LSB 0x10
  624. #define QIB_6120_RcvCtrl_IntrAvail_RMASK 0x1F
  625. #define QIB_6120_RcvCtrl_Reserved1_LSB 0x9
  626. #define QIB_6120_RcvCtrl_Reserved1_RMASK 0x7F
  627. #define QIB_6120_RcvCtrl_Reserved2_LSB 0x5
  628. #define QIB_6120_RcvCtrl_Reserved2_RMASK 0xF
  629. #define QIB_6120_RcvCtrl_PortEnable_LSB 0x0
  630. #define QIB_6120_RcvCtrl_PortEnable_RMASK 0x1F
  631. #define QIB_6120_RcvBTHQP_OFFS 0x108
  632. #define QIB_6120_RcvBTHQP_BTHQP_Mask_LSB 0x1E
  633. #define QIB_6120_RcvBTHQP_BTHQP_Mask_RMASK 0x3
  634. #define QIB_6120_RcvBTHQP_Reserved_LSB 0x18
  635. #define QIB_6120_RcvBTHQP_Reserved_RMASK 0x3F
  636. #define QIB_6120_RcvBTHQP_RcvBTHQP_LSB 0x0
  637. #define QIB_6120_RcvBTHQP_RcvBTHQP_RMASK 0xFFFFFF
  638. #define QIB_6120_RcvHdrSize_OFFS 0x110
  639. #define QIB_6120_RcvHdrCnt_OFFS 0x118
  640. #define QIB_6120_RcvHdrEntSize_OFFS 0x120
  641. #define QIB_6120_RcvTIDBase_OFFS 0x128
  642. #define QIB_6120_RcvTIDCnt_OFFS 0x130
  643. #define QIB_6120_RcvEgrBase_OFFS 0x138
  644. #define QIB_6120_RcvEgrCnt_OFFS 0x140
  645. #define QIB_6120_RcvBufBase_OFFS 0x148
  646. #define QIB_6120_RcvBufSize_OFFS 0x150
  647. #define QIB_6120_RxIntMemBase_OFFS 0x158
  648. #define QIB_6120_RxIntMemSize_OFFS 0x160
  649. #define QIB_6120_RcvPartitionKey_OFFS 0x168
  650. #define QIB_6120_RcvPktLEDCnt_OFFS 0x178
  651. #define QIB_6120_RcvPktLEDCnt_ONperiod_LSB 0x20
  652. #define QIB_6120_RcvPktLEDCnt_ONperiod_RMASK 0xFFFFFFFF
  653. #define QIB_6120_RcvPktLEDCnt_OFFperiod_LSB 0x0
  654. #define QIB_6120_RcvPktLEDCnt_OFFperiod_RMASK 0xFFFFFFFF
  655. #define QIB_6120_SendCtrl_OFFS 0x1C0
  656. #define QIB_6120_SendCtrl_Disarm_LSB 0x1F
  657. #define QIB_6120_SendCtrl_Disarm_RMASK 0x1
  658. #define QIB_6120_SendCtrl_Reserved_LSB 0x17
  659. #define QIB_6120_SendCtrl_Reserved_RMASK 0xFF
  660. #define QIB_6120_SendCtrl_DisarmPIOBuf_LSB 0x10
  661. #define QIB_6120_SendCtrl_DisarmPIOBuf_RMASK 0x7F
  662. #define QIB_6120_SendCtrl_Reserved1_LSB 0x4
  663. #define QIB_6120_SendCtrl_Reserved1_RMASK 0xFFF
  664. #define QIB_6120_SendCtrl_PIOEnable_LSB 0x3
  665. #define QIB_6120_SendCtrl_PIOEnable_RMASK 0x1
  666. #define QIB_6120_SendCtrl_PIOBufAvailUpd_LSB 0x2
  667. #define QIB_6120_SendCtrl_PIOBufAvailUpd_RMASK 0x1
  668. #define QIB_6120_SendCtrl_PIOIntBufAvail_LSB 0x1
  669. #define QIB_6120_SendCtrl_PIOIntBufAvail_RMASK 0x1
  670. #define QIB_6120_SendCtrl_Abort_LSB 0x0
  671. #define QIB_6120_SendCtrl_Abort_RMASK 0x1
  672. #define QIB_6120_SendPIOBufBase_OFFS 0x1C8
  673. #define QIB_6120_SendPIOBufBase_Reserved_LSB 0x35
  674. #define QIB_6120_SendPIOBufBase_Reserved_RMASK 0x7FF
  675. #define QIB_6120_SendPIOBufBase_BaseAddr_LargePIO_LSB 0x20
  676. #define QIB_6120_SendPIOBufBase_BaseAddr_LargePIO_RMASK 0x1FFFFF
  677. #define QIB_6120_SendPIOBufBase_Reserved1_LSB 0x15
  678. #define QIB_6120_SendPIOBufBase_Reserved1_RMASK 0x7FF
  679. #define QIB_6120_SendPIOBufBase_BaseAddr_SmallPIO_LSB 0x0
  680. #define QIB_6120_SendPIOBufBase_BaseAddr_SmallPIO_RMASK 0x1FFFFF
  681. #define QIB_6120_SendPIOSize_OFFS 0x1D0
  682. #define QIB_6120_SendPIOSize_Reserved_LSB 0x2D
  683. #define QIB_6120_SendPIOSize_Reserved_RMASK 0xFFFFF
  684. #define QIB_6120_SendPIOSize_Size_LargePIO_LSB 0x20
  685. #define QIB_6120_SendPIOSize_Size_LargePIO_RMASK 0x1FFF
  686. #define QIB_6120_SendPIOSize_Reserved1_LSB 0xC
  687. #define QIB_6120_SendPIOSize_Reserved1_RMASK 0xFFFFF
  688. #define QIB_6120_SendPIOSize_Size_SmallPIO_LSB 0x0
  689. #define QIB_6120_SendPIOSize_Size_SmallPIO_RMASK 0xFFF
  690. #define QIB_6120_SendPIOBufCnt_OFFS 0x1D8
  691. #define QIB_6120_SendPIOBufCnt_Reserved_LSB 0x24
  692. #define QIB_6120_SendPIOBufCnt_Reserved_RMASK 0xFFFFFFF
  693. #define QIB_6120_SendPIOBufCnt_Num_LargePIO_LSB 0x20
  694. #define QIB_6120_SendPIOBufCnt_Num_LargePIO_RMASK 0xF
  695. #define QIB_6120_SendPIOBufCnt_Reserved1_LSB 0x9
  696. #define QIB_6120_SendPIOBufCnt_Reserved1_RMASK 0x7FFFFF
  697. #define QIB_6120_SendPIOBufCnt_Num_SmallPIO_LSB 0x0
  698. #define QIB_6120_SendPIOBufCnt_Num_SmallPIO_RMASK 0x1FF
  699. #define QIB_6120_SendPIOAvailAddr_OFFS 0x1E0
  700. #define QIB_6120_SendPIOAvailAddr_SendPIOAvailAddr_LSB 0x6
  701. #define QIB_6120_SendPIOAvailAddr_SendPIOAvailAddr_RMASK 0x3FFFFFFFF
  702. #define QIB_6120_SendPIOAvailAddr_Reserved_LSB 0x0
  703. #define QIB_6120_SendPIOAvailAddr_Reserved_RMASK 0x3F
  704. #define QIB_6120_SendBufErr0_OFFS 0x240
  705. #define QIB_6120_SendBufErr0_SendBufErrPIO_63_0_LSB 0x0
  706. #define QIB_6120_SendBufErr0_SendBufErrPIO_63_0_RMASK 0x0
  707. #define QIB_6120_RcvHdrAddr0_OFFS 0x280
  708. #define QIB_6120_RcvHdrAddr0_RcvHdrAddr0_LSB 0x2
  709. #define QIB_6120_RcvHdrAddr0_RcvHdrAddr0_RMASK 0x3FFFFFFFFF
  710. #define QIB_6120_RcvHdrAddr0_Reserved_LSB 0x0
  711. #define QIB_6120_RcvHdrAddr0_Reserved_RMASK 0x3
  712. #define QIB_6120_RcvHdrTailAddr0_OFFS 0x300
  713. #define QIB_6120_RcvHdrTailAddr0_RcvHdrTailAddr0_LSB 0x2
  714. #define QIB_6120_RcvHdrTailAddr0_RcvHdrTailAddr0_RMASK 0x3FFFFFFFFF
  715. #define QIB_6120_RcvHdrTailAddr0_Reserved_LSB 0x0
  716. #define QIB_6120_RcvHdrTailAddr0_Reserved_RMASK 0x3
  717. #define QIB_6120_SerdesCfg0_OFFS 0x3C0
  718. #define QIB_6120_SerdesCfg0_DisableIBTxIdleDetect_LSB 0x3F
  719. #define QIB_6120_SerdesCfg0_DisableIBTxIdleDetect_RMASK 0x1
  720. #define QIB_6120_SerdesCfg0_Reserved_LSB 0x38
  721. #define QIB_6120_SerdesCfg0_Reserved_RMASK 0x7F
  722. #define QIB_6120_SerdesCfg0_RxEqCtl_LSB 0x36
  723. #define QIB_6120_SerdesCfg0_RxEqCtl_RMASK 0x3
  724. #define QIB_6120_SerdesCfg0_TxTermAdj_LSB 0x34
  725. #define QIB_6120_SerdesCfg0_TxTermAdj_RMASK 0x3
  726. #define QIB_6120_SerdesCfg0_RxTermAdj_LSB 0x32
  727. #define QIB_6120_SerdesCfg0_RxTermAdj_RMASK 0x3
  728. #define QIB_6120_SerdesCfg0_TermAdj1_LSB 0x31
  729. #define QIB_6120_SerdesCfg0_TermAdj1_RMASK 0x1
  730. #define QIB_6120_SerdesCfg0_TermAdj0_LSB 0x30
  731. #define QIB_6120_SerdesCfg0_TermAdj0_RMASK 0x1
  732. #define QIB_6120_SerdesCfg0_LPBKA_LSB 0x2F
  733. #define QIB_6120_SerdesCfg0_LPBKA_RMASK 0x1
  734. #define QIB_6120_SerdesCfg0_LPBKB_LSB 0x2E
  735. #define QIB_6120_SerdesCfg0_LPBKB_RMASK 0x1
  736. #define QIB_6120_SerdesCfg0_LPBKC_LSB 0x2D
  737. #define QIB_6120_SerdesCfg0_LPBKC_RMASK 0x1
  738. #define QIB_6120_SerdesCfg0_LPBKD_LSB 0x2C
  739. #define QIB_6120_SerdesCfg0_LPBKD_RMASK 0x1
  740. #define QIB_6120_SerdesCfg0_PW_LSB 0x2B
  741. #define QIB_6120_SerdesCfg0_PW_RMASK 0x1
  742. #define QIB_6120_SerdesCfg0_RefSel_LSB 0x29
  743. #define QIB_6120_SerdesCfg0_RefSel_RMASK 0x3
  744. #define QIB_6120_SerdesCfg0_ParReset_LSB 0x28
  745. #define QIB_6120_SerdesCfg0_ParReset_RMASK 0x1
  746. #define QIB_6120_SerdesCfg0_ParLPBK_LSB 0x27
  747. #define QIB_6120_SerdesCfg0_ParLPBK_RMASK 0x1
  748. #define QIB_6120_SerdesCfg0_OffsetEn_LSB 0x26
  749. #define QIB_6120_SerdesCfg0_OffsetEn_RMASK 0x1
  750. #define QIB_6120_SerdesCfg0_Offset_LSB 0x1E
  751. #define QIB_6120_SerdesCfg0_Offset_RMASK 0xFF
  752. #define QIB_6120_SerdesCfg0_L2PwrDn_LSB 0x1D
  753. #define QIB_6120_SerdesCfg0_L2PwrDn_RMASK 0x1
  754. #define QIB_6120_SerdesCfg0_ResetPLL_LSB 0x1C
  755. #define QIB_6120_SerdesCfg0_ResetPLL_RMASK 0x1
  756. #define QIB_6120_SerdesCfg0_RxTermEnX_LSB 0x18
  757. #define QIB_6120_SerdesCfg0_RxTermEnX_RMASK 0xF
  758. #define QIB_6120_SerdesCfg0_BeaconTxEnX_LSB 0x14
  759. #define QIB_6120_SerdesCfg0_BeaconTxEnX_RMASK 0xF
  760. #define QIB_6120_SerdesCfg0_RxDetEnX_LSB 0x10
  761. #define QIB_6120_SerdesCfg0_RxDetEnX_RMASK 0xF
  762. #define QIB_6120_SerdesCfg0_TxIdeEnX_LSB 0xC
  763. #define QIB_6120_SerdesCfg0_TxIdeEnX_RMASK 0xF
  764. #define QIB_6120_SerdesCfg0_RxIdleEnX_LSB 0x8
  765. #define QIB_6120_SerdesCfg0_RxIdleEnX_RMASK 0xF
  766. #define QIB_6120_SerdesCfg0_L1PwrDnA_LSB 0x7
  767. #define QIB_6120_SerdesCfg0_L1PwrDnA_RMASK 0x1
  768. #define QIB_6120_SerdesCfg0_L1PwrDnB_LSB 0x6
  769. #define QIB_6120_SerdesCfg0_L1PwrDnB_RMASK 0x1
  770. #define QIB_6120_SerdesCfg0_L1PwrDnC_LSB 0x5
  771. #define QIB_6120_SerdesCfg0_L1PwrDnC_RMASK 0x1
  772. #define QIB_6120_SerdesCfg0_L1PwrDnD_LSB 0x4
  773. #define QIB_6120_SerdesCfg0_L1PwrDnD_RMASK 0x1
  774. #define QIB_6120_SerdesCfg0_ResetA_LSB 0x3
  775. #define QIB_6120_SerdesCfg0_ResetA_RMASK 0x1
  776. #define QIB_6120_SerdesCfg0_ResetB_LSB 0x2
  777. #define QIB_6120_SerdesCfg0_ResetB_RMASK 0x1
  778. #define QIB_6120_SerdesCfg0_ResetC_LSB 0x1
  779. #define QIB_6120_SerdesCfg0_ResetC_RMASK 0x1
  780. #define QIB_6120_SerdesCfg0_ResetD_LSB 0x0
  781. #define QIB_6120_SerdesCfg0_ResetD_RMASK 0x1
  782. #define QIB_6120_SerdesStat_OFFS 0x3D0
  783. #define QIB_6120_SerdesStat_Reserved_LSB 0xC
  784. #define QIB_6120_SerdesStat_Reserved_RMASK 0xFFFFFFFFFFFFF
  785. #define QIB_6120_SerdesStat_BeaconDetA_LSB 0xB
  786. #define QIB_6120_SerdesStat_BeaconDetA_RMASK 0x1
  787. #define QIB_6120_SerdesStat_BeaconDetB_LSB 0xA
  788. #define QIB_6120_SerdesStat_BeaconDetB_RMASK 0x1
  789. #define QIB_6120_SerdesStat_BeaconDetC_LSB 0x9
  790. #define QIB_6120_SerdesStat_BeaconDetC_RMASK 0x1
  791. #define QIB_6120_SerdesStat_BeaconDetD_LSB 0x8
  792. #define QIB_6120_SerdesStat_BeaconDetD_RMASK 0x1
  793. #define QIB_6120_SerdesStat_RxDetA_LSB 0x7
  794. #define QIB_6120_SerdesStat_RxDetA_RMASK 0x1
  795. #define QIB_6120_SerdesStat_RxDetB_LSB 0x6
  796. #define QIB_6120_SerdesStat_RxDetB_RMASK 0x1
  797. #define QIB_6120_SerdesStat_RxDetC_LSB 0x5
  798. #define QIB_6120_SerdesStat_RxDetC_RMASK 0x1
  799. #define QIB_6120_SerdesStat_RxDetD_LSB 0x4
  800. #define QIB_6120_SerdesStat_RxDetD_RMASK 0x1
  801. #define QIB_6120_SerdesStat_TxIdleDetA_LSB 0x3
  802. #define QIB_6120_SerdesStat_TxIdleDetA_RMASK 0x1
  803. #define QIB_6120_SerdesStat_TxIdleDetB_LSB 0x2
  804. #define QIB_6120_SerdesStat_TxIdleDetB_RMASK 0x1
  805. #define QIB_6120_SerdesStat_TxIdleDetC_LSB 0x1
  806. #define QIB_6120_SerdesStat_TxIdleDetC_RMASK 0x1
  807. #define QIB_6120_SerdesStat_TxIdleDetD_LSB 0x0
  808. #define QIB_6120_SerdesStat_TxIdleDetD_RMASK 0x1
  809. #define QIB_6120_XGXSCfg_OFFS 0x3D8
  810. #define QIB_6120_XGXSCfg_ArmLaunchErrorDisable_LSB 0x3F
  811. #define QIB_6120_XGXSCfg_ArmLaunchErrorDisable_RMASK 0x1
  812. #define QIB_6120_XGXSCfg_Reserved_LSB 0x17
  813. #define QIB_6120_XGXSCfg_Reserved_RMASK 0xFFFFFFFFFF
  814. #define QIB_6120_XGXSCfg_polarity_inv_LSB 0x13
  815. #define QIB_6120_XGXSCfg_polarity_inv_RMASK 0xF
  816. #define QIB_6120_XGXSCfg_link_sync_mask_LSB 0x9
  817. #define QIB_6120_XGXSCfg_link_sync_mask_RMASK 0x3FF
  818. #define QIB_6120_XGXSCfg_port_addr_LSB 0x4
  819. #define QIB_6120_XGXSCfg_port_addr_RMASK 0x1F
  820. #define QIB_6120_XGXSCfg_mdd_30_LSB 0x3
  821. #define QIB_6120_XGXSCfg_mdd_30_RMASK 0x1
  822. #define QIB_6120_XGXSCfg_xcv_resetn_LSB 0x2
  823. #define QIB_6120_XGXSCfg_xcv_resetn_RMASK 0x1
  824. #define QIB_6120_XGXSCfg_Reserved1_LSB 0x1
  825. #define QIB_6120_XGXSCfg_Reserved1_RMASK 0x1
  826. #define QIB_6120_XGXSCfg_tx_rx_resetn_LSB 0x0
  827. #define QIB_6120_XGXSCfg_tx_rx_resetn_RMASK 0x1
  828. #define QIB_6120_LBIntCnt_OFFS 0x12000
  829. #define QIB_6120_LBFlowStallCnt_OFFS 0x12008
  830. #define QIB_6120_TxUnsupVLErrCnt_OFFS 0x12018
  831. #define QIB_6120_TxDataPktCnt_OFFS 0x12020
  832. #define QIB_6120_TxFlowPktCnt_OFFS 0x12028
  833. #define QIB_6120_TxDwordCnt_OFFS 0x12030
  834. #define QIB_6120_TxLenErrCnt_OFFS 0x12038
  835. #define QIB_6120_TxMaxMinLenErrCnt_OFFS 0x12040
  836. #define QIB_6120_TxUnderrunCnt_OFFS 0x12048
  837. #define QIB_6120_TxFlowStallCnt_OFFS 0x12050
  838. #define QIB_6120_TxDroppedPktCnt_OFFS 0x12058
  839. #define QIB_6120_RxDroppedPktCnt_OFFS 0x12060
  840. #define QIB_6120_RxDataPktCnt_OFFS 0x12068
  841. #define QIB_6120_RxFlowPktCnt_OFFS 0x12070
  842. #define QIB_6120_RxDwordCnt_OFFS 0x12078
  843. #define QIB_6120_RxLenErrCnt_OFFS 0x12080
  844. #define QIB_6120_RxMaxMinLenErrCnt_OFFS 0x12088
  845. #define QIB_6120_RxICRCErrCnt_OFFS 0x12090
  846. #define QIB_6120_RxVCRCErrCnt_OFFS 0x12098
  847. #define QIB_6120_RxFlowCtrlErrCnt_OFFS 0x120A0
  848. #define QIB_6120_RxBadFormatCnt_OFFS 0x120A8
  849. #define QIB_6120_RxLinkProblemCnt_OFFS 0x120B0
  850. #define QIB_6120_RxEBPCnt_OFFS 0x120B8
  851. #define QIB_6120_RxLPCRCErrCnt_OFFS 0x120C0
  852. #define QIB_6120_RxBufOvflCnt_OFFS 0x120C8
  853. #define QIB_6120_RxTIDFullErrCnt_OFFS 0x120D0
  854. #define QIB_6120_RxTIDValidErrCnt_OFFS 0x120D8
  855. #define QIB_6120_RxPKeyMismatchCnt_OFFS 0x120E0
  856. #define QIB_6120_RxP0HdrEgrOvflCnt_OFFS 0x120E8
  857. #define QIB_6120_IBStatusChangeCnt_OFFS 0x12140
  858. #define QIB_6120_IBLinkErrRecoveryCnt_OFFS 0x12148
  859. #define QIB_6120_IBLinkDownedCnt_OFFS 0x12150
  860. #define QIB_6120_IBSymbolErrCnt_OFFS 0x12158
  861. #define QIB_6120_PcieRetryBufDiagQwordCnt_OFFS 0x12170
  862. #define QIB_6120_RcvEgrArray0_OFFS 0x14000
  863. #define QIB_6120_RcvTIDArray0_OFFS 0x54000
  864. #define QIB_6120_PIOLaunchFIFO_OFFS 0x64000
  865. #define QIB_6120_SendPIOpbcCache_OFFS 0x64800
  866. #define QIB_6120_RcvBuf1_OFFS 0x72000
  867. #define QIB_6120_RcvBuf2_OFFS 0x75000
  868. #define QIB_6120_RcvFlags_OFFS 0x77000
  869. #define QIB_6120_RcvLookupBuf1_OFFS 0x79000
  870. #define QIB_6120_RcvDMABuf_OFFS 0x7B000
  871. #define QIB_6120_MiscRXEIntMem_OFFS 0x7C000
  872. #define QIB_6120_PCIERcvBuf_OFFS 0x80000
  873. #define QIB_6120_PCIERetryBuf_OFFS 0x82000
  874. #define QIB_6120_PCIERcvBufRdToWrAddr_OFFS 0x84000
  875. #define QIB_6120_PIOBuf0_MA_OFFS 0x100000