qib_7220_regs.h 68 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497
  1. /*
  2. * Copyright (c) 2008, 2009, 2010 QLogic Corporation. All rights reserved.
  3. *
  4. *
  5. * This software is available to you under a choice of one of two
  6. * licenses. You may choose to be licensed under the terms of the GNU
  7. * General Public License (GPL) Version 2, available from the file
  8. * COPYING in the main directory of this source tree, or the
  9. * OpenIB.org BSD license below:
  10. *
  11. * Redistribution and use in source and binary forms, with or
  12. * without modification, are permitted provided that the following
  13. * conditions are met:
  14. *
  15. * - Redistributions of source code must retain the above
  16. * copyright notice, this list of conditions and the following
  17. * disclaimer.
  18. *
  19. * - Redistributions in binary form must reproduce the above
  20. * copyright notice, this list of conditions and the following
  21. * disclaimer in the documentation and/or other materials
  22. * provided with the distribution.
  23. *
  24. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  25. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  26. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  27. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
  28. * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  29. * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  30. * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  31. * SOFTWARE.
  32. *
  33. */
  34. /* This file is mechanically generated from RTL. Any hand-edits will be lost! */
  35. #define QIB_7220_Revision_OFFS 0x0
  36. #define QIB_7220_Revision_R_Simulator_LSB 0x3F
  37. #define QIB_7220_Revision_R_Simulator_RMASK 0x1
  38. #define QIB_7220_Revision_R_Emulation_LSB 0x3E
  39. #define QIB_7220_Revision_R_Emulation_RMASK 0x1
  40. #define QIB_7220_Revision_R_Emulation_Revcode_LSB 0x28
  41. #define QIB_7220_Revision_R_Emulation_Revcode_RMASK 0x3FFFFF
  42. #define QIB_7220_Revision_BoardID_LSB 0x20
  43. #define QIB_7220_Revision_BoardID_RMASK 0xFF
  44. #define QIB_7220_Revision_R_SW_LSB 0x18
  45. #define QIB_7220_Revision_R_SW_RMASK 0xFF
  46. #define QIB_7220_Revision_R_Arch_LSB 0x10
  47. #define QIB_7220_Revision_R_Arch_RMASK 0xFF
  48. #define QIB_7220_Revision_R_ChipRevMajor_LSB 0x8
  49. #define QIB_7220_Revision_R_ChipRevMajor_RMASK 0xFF
  50. #define QIB_7220_Revision_R_ChipRevMinor_LSB 0x0
  51. #define QIB_7220_Revision_R_ChipRevMinor_RMASK 0xFF
  52. #define QIB_7220_Control_OFFS 0x8
  53. #define QIB_7220_Control_SyncResetExceptPcieIRAMRST_LSB 0x7
  54. #define QIB_7220_Control_SyncResetExceptPcieIRAMRST_RMASK 0x1
  55. #define QIB_7220_Control_PCIECplQDiagEn_LSB 0x6
  56. #define QIB_7220_Control_PCIECplQDiagEn_RMASK 0x1
  57. #define QIB_7220_Control_Reserved_LSB 0x5
  58. #define QIB_7220_Control_Reserved_RMASK 0x1
  59. #define QIB_7220_Control_TxLatency_LSB 0x4
  60. #define QIB_7220_Control_TxLatency_RMASK 0x1
  61. #define QIB_7220_Control_PCIERetryBufDiagEn_LSB 0x3
  62. #define QIB_7220_Control_PCIERetryBufDiagEn_RMASK 0x1
  63. #define QIB_7220_Control_LinkEn_LSB 0x2
  64. #define QIB_7220_Control_LinkEn_RMASK 0x1
  65. #define QIB_7220_Control_FreezeMode_LSB 0x1
  66. #define QIB_7220_Control_FreezeMode_RMASK 0x1
  67. #define QIB_7220_Control_SyncReset_LSB 0x0
  68. #define QIB_7220_Control_SyncReset_RMASK 0x1
  69. #define QIB_7220_PageAlign_OFFS 0x10
  70. #define QIB_7220_PortCnt_OFFS 0x18
  71. #define QIB_7220_SendRegBase_OFFS 0x30
  72. #define QIB_7220_UserRegBase_OFFS 0x38
  73. #define QIB_7220_CntrRegBase_OFFS 0x40
  74. #define QIB_7220_Scratch_OFFS 0x48
  75. #define QIB_7220_IntMask_OFFS 0x68
  76. #define QIB_7220_IntMask_SDmaIntMask_LSB 0x3F
  77. #define QIB_7220_IntMask_SDmaIntMask_RMASK 0x1
  78. #define QIB_7220_IntMask_SDmaDisabledMasked_LSB 0x3E
  79. #define QIB_7220_IntMask_SDmaDisabledMasked_RMASK 0x1
  80. #define QIB_7220_IntMask_Reserved_LSB 0x31
  81. #define QIB_7220_IntMask_Reserved_RMASK 0x1FFF
  82. #define QIB_7220_IntMask_RcvUrg16IntMask_LSB 0x30
  83. #define QIB_7220_IntMask_RcvUrg16IntMask_RMASK 0x1
  84. #define QIB_7220_IntMask_RcvUrg15IntMask_LSB 0x2F
  85. #define QIB_7220_IntMask_RcvUrg15IntMask_RMASK 0x1
  86. #define QIB_7220_IntMask_RcvUrg14IntMask_LSB 0x2E
  87. #define QIB_7220_IntMask_RcvUrg14IntMask_RMASK 0x1
  88. #define QIB_7220_IntMask_RcvUrg13IntMask_LSB 0x2D
  89. #define QIB_7220_IntMask_RcvUrg13IntMask_RMASK 0x1
  90. #define QIB_7220_IntMask_RcvUrg12IntMask_LSB 0x2C
  91. #define QIB_7220_IntMask_RcvUrg12IntMask_RMASK 0x1
  92. #define QIB_7220_IntMask_RcvUrg11IntMask_LSB 0x2B
  93. #define QIB_7220_IntMask_RcvUrg11IntMask_RMASK 0x1
  94. #define QIB_7220_IntMask_RcvUrg10IntMask_LSB 0x2A
  95. #define QIB_7220_IntMask_RcvUrg10IntMask_RMASK 0x1
  96. #define QIB_7220_IntMask_RcvUrg9IntMask_LSB 0x29
  97. #define QIB_7220_IntMask_RcvUrg9IntMask_RMASK 0x1
  98. #define QIB_7220_IntMask_RcvUrg8IntMask_LSB 0x28
  99. #define QIB_7220_IntMask_RcvUrg8IntMask_RMASK 0x1
  100. #define QIB_7220_IntMask_RcvUrg7IntMask_LSB 0x27
  101. #define QIB_7220_IntMask_RcvUrg7IntMask_RMASK 0x1
  102. #define QIB_7220_IntMask_RcvUrg6IntMask_LSB 0x26
  103. #define QIB_7220_IntMask_RcvUrg6IntMask_RMASK 0x1
  104. #define QIB_7220_IntMask_RcvUrg5IntMask_LSB 0x25
  105. #define QIB_7220_IntMask_RcvUrg5IntMask_RMASK 0x1
  106. #define QIB_7220_IntMask_RcvUrg4IntMask_LSB 0x24
  107. #define QIB_7220_IntMask_RcvUrg4IntMask_RMASK 0x1
  108. #define QIB_7220_IntMask_RcvUrg3IntMask_LSB 0x23
  109. #define QIB_7220_IntMask_RcvUrg3IntMask_RMASK 0x1
  110. #define QIB_7220_IntMask_RcvUrg2IntMask_LSB 0x22
  111. #define QIB_7220_IntMask_RcvUrg2IntMask_RMASK 0x1
  112. #define QIB_7220_IntMask_RcvUrg1IntMask_LSB 0x21
  113. #define QIB_7220_IntMask_RcvUrg1IntMask_RMASK 0x1
  114. #define QIB_7220_IntMask_RcvUrg0IntMask_LSB 0x20
  115. #define QIB_7220_IntMask_RcvUrg0IntMask_RMASK 0x1
  116. #define QIB_7220_IntMask_ErrorIntMask_LSB 0x1F
  117. #define QIB_7220_IntMask_ErrorIntMask_RMASK 0x1
  118. #define QIB_7220_IntMask_PioSetIntMask_LSB 0x1E
  119. #define QIB_7220_IntMask_PioSetIntMask_RMASK 0x1
  120. #define QIB_7220_IntMask_PioBufAvailIntMask_LSB 0x1D
  121. #define QIB_7220_IntMask_PioBufAvailIntMask_RMASK 0x1
  122. #define QIB_7220_IntMask_assertGPIOIntMask_LSB 0x1C
  123. #define QIB_7220_IntMask_assertGPIOIntMask_RMASK 0x1
  124. #define QIB_7220_IntMask_IBSerdesTrimDoneIntMask_LSB 0x1B
  125. #define QIB_7220_IntMask_IBSerdesTrimDoneIntMask_RMASK 0x1
  126. #define QIB_7220_IntMask_JIntMask_LSB 0x1A
  127. #define QIB_7220_IntMask_JIntMask_RMASK 0x1
  128. #define QIB_7220_IntMask_Reserved1_LSB 0x11
  129. #define QIB_7220_IntMask_Reserved1_RMASK 0x1FF
  130. #define QIB_7220_IntMask_RcvAvail16IntMask_LSB 0x10
  131. #define QIB_7220_IntMask_RcvAvail16IntMask_RMASK 0x1
  132. #define QIB_7220_IntMask_RcvAvail15IntMask_LSB 0xF
  133. #define QIB_7220_IntMask_RcvAvail15IntMask_RMASK 0x1
  134. #define QIB_7220_IntMask_RcvAvail14IntMask_LSB 0xE
  135. #define QIB_7220_IntMask_RcvAvail14IntMask_RMASK 0x1
  136. #define QIB_7220_IntMask_RcvAvail13IntMask_LSB 0xD
  137. #define QIB_7220_IntMask_RcvAvail13IntMask_RMASK 0x1
  138. #define QIB_7220_IntMask_RcvAvail12IntMask_LSB 0xC
  139. #define QIB_7220_IntMask_RcvAvail12IntMask_RMASK 0x1
  140. #define QIB_7220_IntMask_RcvAvail11IntMask_LSB 0xB
  141. #define QIB_7220_IntMask_RcvAvail11IntMask_RMASK 0x1
  142. #define QIB_7220_IntMask_RcvAvail10IntMask_LSB 0xA
  143. #define QIB_7220_IntMask_RcvAvail10IntMask_RMASK 0x1
  144. #define QIB_7220_IntMask_RcvAvail9IntMask_LSB 0x9
  145. #define QIB_7220_IntMask_RcvAvail9IntMask_RMASK 0x1
  146. #define QIB_7220_IntMask_RcvAvail8IntMask_LSB 0x8
  147. #define QIB_7220_IntMask_RcvAvail8IntMask_RMASK 0x1
  148. #define QIB_7220_IntMask_RcvAvail7IntMask_LSB 0x7
  149. #define QIB_7220_IntMask_RcvAvail7IntMask_RMASK 0x1
  150. #define QIB_7220_IntMask_RcvAvail6IntMask_LSB 0x6
  151. #define QIB_7220_IntMask_RcvAvail6IntMask_RMASK 0x1
  152. #define QIB_7220_IntMask_RcvAvail5IntMask_LSB 0x5
  153. #define QIB_7220_IntMask_RcvAvail5IntMask_RMASK 0x1
  154. #define QIB_7220_IntMask_RcvAvail4IntMask_LSB 0x4
  155. #define QIB_7220_IntMask_RcvAvail4IntMask_RMASK 0x1
  156. #define QIB_7220_IntMask_RcvAvail3IntMask_LSB 0x3
  157. #define QIB_7220_IntMask_RcvAvail3IntMask_RMASK 0x1
  158. #define QIB_7220_IntMask_RcvAvail2IntMask_LSB 0x2
  159. #define QIB_7220_IntMask_RcvAvail2IntMask_RMASK 0x1
  160. #define QIB_7220_IntMask_RcvAvail1IntMask_LSB 0x1
  161. #define QIB_7220_IntMask_RcvAvail1IntMask_RMASK 0x1
  162. #define QIB_7220_IntMask_RcvAvail0IntMask_LSB 0x0
  163. #define QIB_7220_IntMask_RcvAvail0IntMask_RMASK 0x1
  164. #define QIB_7220_IntStatus_OFFS 0x70
  165. #define QIB_7220_IntStatus_SDmaInt_LSB 0x3F
  166. #define QIB_7220_IntStatus_SDmaInt_RMASK 0x1
  167. #define QIB_7220_IntStatus_SDmaDisabled_LSB 0x3E
  168. #define QIB_7220_IntStatus_SDmaDisabled_RMASK 0x1
  169. #define QIB_7220_IntStatus_Reserved_LSB 0x31
  170. #define QIB_7220_IntStatus_Reserved_RMASK 0x1FFF
  171. #define QIB_7220_IntStatus_RcvUrg16_LSB 0x30
  172. #define QIB_7220_IntStatus_RcvUrg16_RMASK 0x1
  173. #define QIB_7220_IntStatus_RcvUrg15_LSB 0x2F
  174. #define QIB_7220_IntStatus_RcvUrg15_RMASK 0x1
  175. #define QIB_7220_IntStatus_RcvUrg14_LSB 0x2E
  176. #define QIB_7220_IntStatus_RcvUrg14_RMASK 0x1
  177. #define QIB_7220_IntStatus_RcvUrg13_LSB 0x2D
  178. #define QIB_7220_IntStatus_RcvUrg13_RMASK 0x1
  179. #define QIB_7220_IntStatus_RcvUrg12_LSB 0x2C
  180. #define QIB_7220_IntStatus_RcvUrg12_RMASK 0x1
  181. #define QIB_7220_IntStatus_RcvUrg11_LSB 0x2B
  182. #define QIB_7220_IntStatus_RcvUrg11_RMASK 0x1
  183. #define QIB_7220_IntStatus_RcvUrg10_LSB 0x2A
  184. #define QIB_7220_IntStatus_RcvUrg10_RMASK 0x1
  185. #define QIB_7220_IntStatus_RcvUrg9_LSB 0x29
  186. #define QIB_7220_IntStatus_RcvUrg9_RMASK 0x1
  187. #define QIB_7220_IntStatus_RcvUrg8_LSB 0x28
  188. #define QIB_7220_IntStatus_RcvUrg8_RMASK 0x1
  189. #define QIB_7220_IntStatus_RcvUrg7_LSB 0x27
  190. #define QIB_7220_IntStatus_RcvUrg7_RMASK 0x1
  191. #define QIB_7220_IntStatus_RcvUrg6_LSB 0x26
  192. #define QIB_7220_IntStatus_RcvUrg6_RMASK 0x1
  193. #define QIB_7220_IntStatus_RcvUrg5_LSB 0x25
  194. #define QIB_7220_IntStatus_RcvUrg5_RMASK 0x1
  195. #define QIB_7220_IntStatus_RcvUrg4_LSB 0x24
  196. #define QIB_7220_IntStatus_RcvUrg4_RMASK 0x1
  197. #define QIB_7220_IntStatus_RcvUrg3_LSB 0x23
  198. #define QIB_7220_IntStatus_RcvUrg3_RMASK 0x1
  199. #define QIB_7220_IntStatus_RcvUrg2_LSB 0x22
  200. #define QIB_7220_IntStatus_RcvUrg2_RMASK 0x1
  201. #define QIB_7220_IntStatus_RcvUrg1_LSB 0x21
  202. #define QIB_7220_IntStatus_RcvUrg1_RMASK 0x1
  203. #define QIB_7220_IntStatus_RcvUrg0_LSB 0x20
  204. #define QIB_7220_IntStatus_RcvUrg0_RMASK 0x1
  205. #define QIB_7220_IntStatus_Error_LSB 0x1F
  206. #define QIB_7220_IntStatus_Error_RMASK 0x1
  207. #define QIB_7220_IntStatus_PioSent_LSB 0x1E
  208. #define QIB_7220_IntStatus_PioSent_RMASK 0x1
  209. #define QIB_7220_IntStatus_PioBufAvail_LSB 0x1D
  210. #define QIB_7220_IntStatus_PioBufAvail_RMASK 0x1
  211. #define QIB_7220_IntStatus_assertGPIO_LSB 0x1C
  212. #define QIB_7220_IntStatus_assertGPIO_RMASK 0x1
  213. #define QIB_7220_IntStatus_IBSerdesTrimDone_LSB 0x1B
  214. #define QIB_7220_IntStatus_IBSerdesTrimDone_RMASK 0x1
  215. #define QIB_7220_IntStatus_JInt_LSB 0x1A
  216. #define QIB_7220_IntStatus_JInt_RMASK 0x1
  217. #define QIB_7220_IntStatus_Reserved1_LSB 0x11
  218. #define QIB_7220_IntStatus_Reserved1_RMASK 0x1FF
  219. #define QIB_7220_IntStatus_RcvAvail16_LSB 0x10
  220. #define QIB_7220_IntStatus_RcvAvail16_RMASK 0x1
  221. #define QIB_7220_IntStatus_RcvAvail15_LSB 0xF
  222. #define QIB_7220_IntStatus_RcvAvail15_RMASK 0x1
  223. #define QIB_7220_IntStatus_RcvAvail14_LSB 0xE
  224. #define QIB_7220_IntStatus_RcvAvail14_RMASK 0x1
  225. #define QIB_7220_IntStatus_RcvAvail13_LSB 0xD
  226. #define QIB_7220_IntStatus_RcvAvail13_RMASK 0x1
  227. #define QIB_7220_IntStatus_RcvAvail12_LSB 0xC
  228. #define QIB_7220_IntStatus_RcvAvail12_RMASK 0x1
  229. #define QIB_7220_IntStatus_RcvAvail11_LSB 0xB
  230. #define QIB_7220_IntStatus_RcvAvail11_RMASK 0x1
  231. #define QIB_7220_IntStatus_RcvAvail10_LSB 0xA
  232. #define QIB_7220_IntStatus_RcvAvail10_RMASK 0x1
  233. #define QIB_7220_IntStatus_RcvAvail9_LSB 0x9
  234. #define QIB_7220_IntStatus_RcvAvail9_RMASK 0x1
  235. #define QIB_7220_IntStatus_RcvAvail8_LSB 0x8
  236. #define QIB_7220_IntStatus_RcvAvail8_RMASK 0x1
  237. #define QIB_7220_IntStatus_RcvAvail7_LSB 0x7
  238. #define QIB_7220_IntStatus_RcvAvail7_RMASK 0x1
  239. #define QIB_7220_IntStatus_RcvAvail6_LSB 0x6
  240. #define QIB_7220_IntStatus_RcvAvail6_RMASK 0x1
  241. #define QIB_7220_IntStatus_RcvAvail5_LSB 0x5
  242. #define QIB_7220_IntStatus_RcvAvail5_RMASK 0x1
  243. #define QIB_7220_IntStatus_RcvAvail4_LSB 0x4
  244. #define QIB_7220_IntStatus_RcvAvail4_RMASK 0x1
  245. #define QIB_7220_IntStatus_RcvAvail3_LSB 0x3
  246. #define QIB_7220_IntStatus_RcvAvail3_RMASK 0x1
  247. #define QIB_7220_IntStatus_RcvAvail2_LSB 0x2
  248. #define QIB_7220_IntStatus_RcvAvail2_RMASK 0x1
  249. #define QIB_7220_IntStatus_RcvAvail1_LSB 0x1
  250. #define QIB_7220_IntStatus_RcvAvail1_RMASK 0x1
  251. #define QIB_7220_IntStatus_RcvAvail0_LSB 0x0
  252. #define QIB_7220_IntStatus_RcvAvail0_RMASK 0x1
  253. #define QIB_7220_IntClear_OFFS 0x78
  254. #define QIB_7220_IntClear_SDmaIntClear_LSB 0x3F
  255. #define QIB_7220_IntClear_SDmaIntClear_RMASK 0x1
  256. #define QIB_7220_IntClear_SDmaDisabledClear_LSB 0x3E
  257. #define QIB_7220_IntClear_SDmaDisabledClear_RMASK 0x1
  258. #define QIB_7220_IntClear_Reserved_LSB 0x31
  259. #define QIB_7220_IntClear_Reserved_RMASK 0x1FFF
  260. #define QIB_7220_IntClear_RcvUrg16IntClear_LSB 0x30
  261. #define QIB_7220_IntClear_RcvUrg16IntClear_RMASK 0x1
  262. #define QIB_7220_IntClear_RcvUrg15IntClear_LSB 0x2F
  263. #define QIB_7220_IntClear_RcvUrg15IntClear_RMASK 0x1
  264. #define QIB_7220_IntClear_RcvUrg14IntClear_LSB 0x2E
  265. #define QIB_7220_IntClear_RcvUrg14IntClear_RMASK 0x1
  266. #define QIB_7220_IntClear_RcvUrg13IntClear_LSB 0x2D
  267. #define QIB_7220_IntClear_RcvUrg13IntClear_RMASK 0x1
  268. #define QIB_7220_IntClear_RcvUrg12IntClear_LSB 0x2C
  269. #define QIB_7220_IntClear_RcvUrg12IntClear_RMASK 0x1
  270. #define QIB_7220_IntClear_RcvUrg11IntClear_LSB 0x2B
  271. #define QIB_7220_IntClear_RcvUrg11IntClear_RMASK 0x1
  272. #define QIB_7220_IntClear_RcvUrg10IntClear_LSB 0x2A
  273. #define QIB_7220_IntClear_RcvUrg10IntClear_RMASK 0x1
  274. #define QIB_7220_IntClear_RcvUrg9IntClear_LSB 0x29
  275. #define QIB_7220_IntClear_RcvUrg9IntClear_RMASK 0x1
  276. #define QIB_7220_IntClear_RcvUrg8IntClear_LSB 0x28
  277. #define QIB_7220_IntClear_RcvUrg8IntClear_RMASK 0x1
  278. #define QIB_7220_IntClear_RcvUrg7IntClear_LSB 0x27
  279. #define QIB_7220_IntClear_RcvUrg7IntClear_RMASK 0x1
  280. #define QIB_7220_IntClear_RcvUrg6IntClear_LSB 0x26
  281. #define QIB_7220_IntClear_RcvUrg6IntClear_RMASK 0x1
  282. #define QIB_7220_IntClear_RcvUrg5IntClear_LSB 0x25
  283. #define QIB_7220_IntClear_RcvUrg5IntClear_RMASK 0x1
  284. #define QIB_7220_IntClear_RcvUrg4IntClear_LSB 0x24
  285. #define QIB_7220_IntClear_RcvUrg4IntClear_RMASK 0x1
  286. #define QIB_7220_IntClear_RcvUrg3IntClear_LSB 0x23
  287. #define QIB_7220_IntClear_RcvUrg3IntClear_RMASK 0x1
  288. #define QIB_7220_IntClear_RcvUrg2IntClear_LSB 0x22
  289. #define QIB_7220_IntClear_RcvUrg2IntClear_RMASK 0x1
  290. #define QIB_7220_IntClear_RcvUrg1IntClear_LSB 0x21
  291. #define QIB_7220_IntClear_RcvUrg1IntClear_RMASK 0x1
  292. #define QIB_7220_IntClear_RcvUrg0IntClear_LSB 0x20
  293. #define QIB_7220_IntClear_RcvUrg0IntClear_RMASK 0x1
  294. #define QIB_7220_IntClear_ErrorIntClear_LSB 0x1F
  295. #define QIB_7220_IntClear_ErrorIntClear_RMASK 0x1
  296. #define QIB_7220_IntClear_PioSetIntClear_LSB 0x1E
  297. #define QIB_7220_IntClear_PioSetIntClear_RMASK 0x1
  298. #define QIB_7220_IntClear_PioBufAvailIntClear_LSB 0x1D
  299. #define QIB_7220_IntClear_PioBufAvailIntClear_RMASK 0x1
  300. #define QIB_7220_IntClear_assertGPIOIntClear_LSB 0x1C
  301. #define QIB_7220_IntClear_assertGPIOIntClear_RMASK 0x1
  302. #define QIB_7220_IntClear_IBSerdesTrimDoneClear_LSB 0x1B
  303. #define QIB_7220_IntClear_IBSerdesTrimDoneClear_RMASK 0x1
  304. #define QIB_7220_IntClear_JIntClear_LSB 0x1A
  305. #define QIB_7220_IntClear_JIntClear_RMASK 0x1
  306. #define QIB_7220_IntClear_Reserved1_LSB 0x11
  307. #define QIB_7220_IntClear_Reserved1_RMASK 0x1FF
  308. #define QIB_7220_IntClear_RcvAvail16IntClear_LSB 0x10
  309. #define QIB_7220_IntClear_RcvAvail16IntClear_RMASK 0x1
  310. #define QIB_7220_IntClear_RcvAvail15IntClear_LSB 0xF
  311. #define QIB_7220_IntClear_RcvAvail15IntClear_RMASK 0x1
  312. #define QIB_7220_IntClear_RcvAvail14IntClear_LSB 0xE
  313. #define QIB_7220_IntClear_RcvAvail14IntClear_RMASK 0x1
  314. #define QIB_7220_IntClear_RcvAvail13IntClear_LSB 0xD
  315. #define QIB_7220_IntClear_RcvAvail13IntClear_RMASK 0x1
  316. #define QIB_7220_IntClear_RcvAvail12IntClear_LSB 0xC
  317. #define QIB_7220_IntClear_RcvAvail12IntClear_RMASK 0x1
  318. #define QIB_7220_IntClear_RcvAvail11IntClear_LSB 0xB
  319. #define QIB_7220_IntClear_RcvAvail11IntClear_RMASK 0x1
  320. #define QIB_7220_IntClear_RcvAvail10IntClear_LSB 0xA
  321. #define QIB_7220_IntClear_RcvAvail10IntClear_RMASK 0x1
  322. #define QIB_7220_IntClear_RcvAvail9IntClear_LSB 0x9
  323. #define QIB_7220_IntClear_RcvAvail9IntClear_RMASK 0x1
  324. #define QIB_7220_IntClear_RcvAvail8IntClear_LSB 0x8
  325. #define QIB_7220_IntClear_RcvAvail8IntClear_RMASK 0x1
  326. #define QIB_7220_IntClear_RcvAvail7IntClear_LSB 0x7
  327. #define QIB_7220_IntClear_RcvAvail7IntClear_RMASK 0x1
  328. #define QIB_7220_IntClear_RcvAvail6IntClear_LSB 0x6
  329. #define QIB_7220_IntClear_RcvAvail6IntClear_RMASK 0x1
  330. #define QIB_7220_IntClear_RcvAvail5IntClear_LSB 0x5
  331. #define QIB_7220_IntClear_RcvAvail5IntClear_RMASK 0x1
  332. #define QIB_7220_IntClear_RcvAvail4IntClear_LSB 0x4
  333. #define QIB_7220_IntClear_RcvAvail4IntClear_RMASK 0x1
  334. #define QIB_7220_IntClear_RcvAvail3IntClear_LSB 0x3
  335. #define QIB_7220_IntClear_RcvAvail3IntClear_RMASK 0x1
  336. #define QIB_7220_IntClear_RcvAvail2IntClear_LSB 0x2
  337. #define QIB_7220_IntClear_RcvAvail2IntClear_RMASK 0x1
  338. #define QIB_7220_IntClear_RcvAvail1IntClear_LSB 0x1
  339. #define QIB_7220_IntClear_RcvAvail1IntClear_RMASK 0x1
  340. #define QIB_7220_IntClear_RcvAvail0IntClear_LSB 0x0
  341. #define QIB_7220_IntClear_RcvAvail0IntClear_RMASK 0x1
  342. #define QIB_7220_ErrMask_OFFS 0x80
  343. #define QIB_7220_ErrMask_Reserved_LSB 0x36
  344. #define QIB_7220_ErrMask_Reserved_RMASK 0x3FF
  345. #define QIB_7220_ErrMask_InvalidEEPCmdMask_LSB 0x35
  346. #define QIB_7220_ErrMask_InvalidEEPCmdMask_RMASK 0x1
  347. #define QIB_7220_ErrMask_SDmaDescAddrMisalignErrMask_LSB 0x34
  348. #define QIB_7220_ErrMask_SDmaDescAddrMisalignErrMask_RMASK 0x1
  349. #define QIB_7220_ErrMask_HardwareErrMask_LSB 0x33
  350. #define QIB_7220_ErrMask_HardwareErrMask_RMASK 0x1
  351. #define QIB_7220_ErrMask_ResetNegatedMask_LSB 0x32
  352. #define QIB_7220_ErrMask_ResetNegatedMask_RMASK 0x1
  353. #define QIB_7220_ErrMask_InvalidAddrErrMask_LSB 0x31
  354. #define QIB_7220_ErrMask_InvalidAddrErrMask_RMASK 0x1
  355. #define QIB_7220_ErrMask_IBStatusChangedMask_LSB 0x30
  356. #define QIB_7220_ErrMask_IBStatusChangedMask_RMASK 0x1
  357. #define QIB_7220_ErrMask_SDmaUnexpDataErrMask_LSB 0x2F
  358. #define QIB_7220_ErrMask_SDmaUnexpDataErrMask_RMASK 0x1
  359. #define QIB_7220_ErrMask_SDmaMissingDwErrMask_LSB 0x2E
  360. #define QIB_7220_ErrMask_SDmaMissingDwErrMask_RMASK 0x1
  361. #define QIB_7220_ErrMask_SDmaDwEnErrMask_LSB 0x2D
  362. #define QIB_7220_ErrMask_SDmaDwEnErrMask_RMASK 0x1
  363. #define QIB_7220_ErrMask_SDmaRpyTagErrMask_LSB 0x2C
  364. #define QIB_7220_ErrMask_SDmaRpyTagErrMask_RMASK 0x1
  365. #define QIB_7220_ErrMask_SDma1stDescErrMask_LSB 0x2B
  366. #define QIB_7220_ErrMask_SDma1stDescErrMask_RMASK 0x1
  367. #define QIB_7220_ErrMask_SDmaBaseErrMask_LSB 0x2A
  368. #define QIB_7220_ErrMask_SDmaBaseErrMask_RMASK 0x1
  369. #define QIB_7220_ErrMask_SDmaTailOutOfBoundErrMask_LSB 0x29
  370. #define QIB_7220_ErrMask_SDmaTailOutOfBoundErrMask_RMASK 0x1
  371. #define QIB_7220_ErrMask_SDmaOutOfBoundErrMask_LSB 0x28
  372. #define QIB_7220_ErrMask_SDmaOutOfBoundErrMask_RMASK 0x1
  373. #define QIB_7220_ErrMask_SDmaGenMismatchErrMask_LSB 0x27
  374. #define QIB_7220_ErrMask_SDmaGenMismatchErrMask_RMASK 0x1
  375. #define QIB_7220_ErrMask_SendBufMisuseErrMask_LSB 0x26
  376. #define QIB_7220_ErrMask_SendBufMisuseErrMask_RMASK 0x1
  377. #define QIB_7220_ErrMask_SendUnsupportedVLErrMask_LSB 0x25
  378. #define QIB_7220_ErrMask_SendUnsupportedVLErrMask_RMASK 0x1
  379. #define QIB_7220_ErrMask_SendUnexpectedPktNumErrMask_LSB 0x24
  380. #define QIB_7220_ErrMask_SendUnexpectedPktNumErrMask_RMASK 0x1
  381. #define QIB_7220_ErrMask_SendPioArmLaunchErrMask_LSB 0x23
  382. #define QIB_7220_ErrMask_SendPioArmLaunchErrMask_RMASK 0x1
  383. #define QIB_7220_ErrMask_SendDroppedDataPktErrMask_LSB 0x22
  384. #define QIB_7220_ErrMask_SendDroppedDataPktErrMask_RMASK 0x1
  385. #define QIB_7220_ErrMask_SendDroppedSmpPktErrMask_LSB 0x21
  386. #define QIB_7220_ErrMask_SendDroppedSmpPktErrMask_RMASK 0x1
  387. #define QIB_7220_ErrMask_SendPktLenErrMask_LSB 0x20
  388. #define QIB_7220_ErrMask_SendPktLenErrMask_RMASK 0x1
  389. #define QIB_7220_ErrMask_SendUnderRunErrMask_LSB 0x1F
  390. #define QIB_7220_ErrMask_SendUnderRunErrMask_RMASK 0x1
  391. #define QIB_7220_ErrMask_SendMaxPktLenErrMask_LSB 0x1E
  392. #define QIB_7220_ErrMask_SendMaxPktLenErrMask_RMASK 0x1
  393. #define QIB_7220_ErrMask_SendMinPktLenErrMask_LSB 0x1D
  394. #define QIB_7220_ErrMask_SendMinPktLenErrMask_RMASK 0x1
  395. #define QIB_7220_ErrMask_SDmaDisabledErrMask_LSB 0x1C
  396. #define QIB_7220_ErrMask_SDmaDisabledErrMask_RMASK 0x1
  397. #define QIB_7220_ErrMask_SendSpecialTriggerErrMask_LSB 0x1B
  398. #define QIB_7220_ErrMask_SendSpecialTriggerErrMask_RMASK 0x1
  399. #define QIB_7220_ErrMask_Reserved1_LSB 0x12
  400. #define QIB_7220_ErrMask_Reserved1_RMASK 0x1FF
  401. #define QIB_7220_ErrMask_RcvIBLostLinkErrMask_LSB 0x11
  402. #define QIB_7220_ErrMask_RcvIBLostLinkErrMask_RMASK 0x1
  403. #define QIB_7220_ErrMask_RcvHdrErrMask_LSB 0x10
  404. #define QIB_7220_ErrMask_RcvHdrErrMask_RMASK 0x1
  405. #define QIB_7220_ErrMask_RcvHdrLenErrMask_LSB 0xF
  406. #define QIB_7220_ErrMask_RcvHdrLenErrMask_RMASK 0x1
  407. #define QIB_7220_ErrMask_RcvBadTidErrMask_LSB 0xE
  408. #define QIB_7220_ErrMask_RcvBadTidErrMask_RMASK 0x1
  409. #define QIB_7220_ErrMask_RcvHdrFullErrMask_LSB 0xD
  410. #define QIB_7220_ErrMask_RcvHdrFullErrMask_RMASK 0x1
  411. #define QIB_7220_ErrMask_RcvEgrFullErrMask_LSB 0xC
  412. #define QIB_7220_ErrMask_RcvEgrFullErrMask_RMASK 0x1
  413. #define QIB_7220_ErrMask_RcvBadVersionErrMask_LSB 0xB
  414. #define QIB_7220_ErrMask_RcvBadVersionErrMask_RMASK 0x1
  415. #define QIB_7220_ErrMask_RcvIBFlowErrMask_LSB 0xA
  416. #define QIB_7220_ErrMask_RcvIBFlowErrMask_RMASK 0x1
  417. #define QIB_7220_ErrMask_RcvEBPErrMask_LSB 0x9
  418. #define QIB_7220_ErrMask_RcvEBPErrMask_RMASK 0x1
  419. #define QIB_7220_ErrMask_RcvUnsupportedVLErrMask_LSB 0x8
  420. #define QIB_7220_ErrMask_RcvUnsupportedVLErrMask_RMASK 0x1
  421. #define QIB_7220_ErrMask_RcvUnexpectedCharErrMask_LSB 0x7
  422. #define QIB_7220_ErrMask_RcvUnexpectedCharErrMask_RMASK 0x1
  423. #define QIB_7220_ErrMask_RcvShortPktLenErrMask_LSB 0x6
  424. #define QIB_7220_ErrMask_RcvShortPktLenErrMask_RMASK 0x1
  425. #define QIB_7220_ErrMask_RcvLongPktLenErrMask_LSB 0x5
  426. #define QIB_7220_ErrMask_RcvLongPktLenErrMask_RMASK 0x1
  427. #define QIB_7220_ErrMask_RcvMaxPktLenErrMask_LSB 0x4
  428. #define QIB_7220_ErrMask_RcvMaxPktLenErrMask_RMASK 0x1
  429. #define QIB_7220_ErrMask_RcvMinPktLenErrMask_LSB 0x3
  430. #define QIB_7220_ErrMask_RcvMinPktLenErrMask_RMASK 0x1
  431. #define QIB_7220_ErrMask_RcvICRCErrMask_LSB 0x2
  432. #define QIB_7220_ErrMask_RcvICRCErrMask_RMASK 0x1
  433. #define QIB_7220_ErrMask_RcvVCRCErrMask_LSB 0x1
  434. #define QIB_7220_ErrMask_RcvVCRCErrMask_RMASK 0x1
  435. #define QIB_7220_ErrMask_RcvFormatErrMask_LSB 0x0
  436. #define QIB_7220_ErrMask_RcvFormatErrMask_RMASK 0x1
  437. #define QIB_7220_ErrStatus_OFFS 0x88
  438. #define QIB_7220_ErrStatus_Reserved_LSB 0x36
  439. #define QIB_7220_ErrStatus_Reserved_RMASK 0x3FF
  440. #define QIB_7220_ErrStatus_InvalidEEPCmdErr_LSB 0x35
  441. #define QIB_7220_ErrStatus_InvalidEEPCmdErr_RMASK 0x1
  442. #define QIB_7220_ErrStatus_SDmaDescAddrMisalignErr_LSB 0x34
  443. #define QIB_7220_ErrStatus_SDmaDescAddrMisalignErr_RMASK 0x1
  444. #define QIB_7220_ErrStatus_HardwareErr_LSB 0x33
  445. #define QIB_7220_ErrStatus_HardwareErr_RMASK 0x1
  446. #define QIB_7220_ErrStatus_ResetNegated_LSB 0x32
  447. #define QIB_7220_ErrStatus_ResetNegated_RMASK 0x1
  448. #define QIB_7220_ErrStatus_InvalidAddrErr_LSB 0x31
  449. #define QIB_7220_ErrStatus_InvalidAddrErr_RMASK 0x1
  450. #define QIB_7220_ErrStatus_IBStatusChanged_LSB 0x30
  451. #define QIB_7220_ErrStatus_IBStatusChanged_RMASK 0x1
  452. #define QIB_7220_ErrStatus_SDmaUnexpDataErr_LSB 0x2F
  453. #define QIB_7220_ErrStatus_SDmaUnexpDataErr_RMASK 0x1
  454. #define QIB_7220_ErrStatus_SDmaMissingDwErr_LSB 0x2E
  455. #define QIB_7220_ErrStatus_SDmaMissingDwErr_RMASK 0x1
  456. #define QIB_7220_ErrStatus_SDmaDwEnErr_LSB 0x2D
  457. #define QIB_7220_ErrStatus_SDmaDwEnErr_RMASK 0x1
  458. #define QIB_7220_ErrStatus_SDmaRpyTagErr_LSB 0x2C
  459. #define QIB_7220_ErrStatus_SDmaRpyTagErr_RMASK 0x1
  460. #define QIB_7220_ErrStatus_SDma1stDescErr_LSB 0x2B
  461. #define QIB_7220_ErrStatus_SDma1stDescErr_RMASK 0x1
  462. #define QIB_7220_ErrStatus_SDmaBaseErr_LSB 0x2A
  463. #define QIB_7220_ErrStatus_SDmaBaseErr_RMASK 0x1
  464. #define QIB_7220_ErrStatus_SDmaTailOutOfBoundErr_LSB 0x29
  465. #define QIB_7220_ErrStatus_SDmaTailOutOfBoundErr_RMASK 0x1
  466. #define QIB_7220_ErrStatus_SDmaOutOfBoundErr_LSB 0x28
  467. #define QIB_7220_ErrStatus_SDmaOutOfBoundErr_RMASK 0x1
  468. #define QIB_7220_ErrStatus_SDmaGenMismatchErr_LSB 0x27
  469. #define QIB_7220_ErrStatus_SDmaGenMismatchErr_RMASK 0x1
  470. #define QIB_7220_ErrStatus_SendBufMisuseErr_LSB 0x26
  471. #define QIB_7220_ErrStatus_SendBufMisuseErr_RMASK 0x1
  472. #define QIB_7220_ErrStatus_SendUnsupportedVLErr_LSB 0x25
  473. #define QIB_7220_ErrStatus_SendUnsupportedVLErr_RMASK 0x1
  474. #define QIB_7220_ErrStatus_SendUnexpectedPktNumErr_LSB 0x24
  475. #define QIB_7220_ErrStatus_SendUnexpectedPktNumErr_RMASK 0x1
  476. #define QIB_7220_ErrStatus_SendPioArmLaunchErr_LSB 0x23
  477. #define QIB_7220_ErrStatus_SendPioArmLaunchErr_RMASK 0x1
  478. #define QIB_7220_ErrStatus_SendDroppedDataPktErr_LSB 0x22
  479. #define QIB_7220_ErrStatus_SendDroppedDataPktErr_RMASK 0x1
  480. #define QIB_7220_ErrStatus_SendDroppedSmpPktErr_LSB 0x21
  481. #define QIB_7220_ErrStatus_SendDroppedSmpPktErr_RMASK 0x1
  482. #define QIB_7220_ErrStatus_SendPktLenErr_LSB 0x20
  483. #define QIB_7220_ErrStatus_SendPktLenErr_RMASK 0x1
  484. #define QIB_7220_ErrStatus_SendUnderRunErr_LSB 0x1F
  485. #define QIB_7220_ErrStatus_SendUnderRunErr_RMASK 0x1
  486. #define QIB_7220_ErrStatus_SendMaxPktLenErr_LSB 0x1E
  487. #define QIB_7220_ErrStatus_SendMaxPktLenErr_RMASK 0x1
  488. #define QIB_7220_ErrStatus_SendMinPktLenErr_LSB 0x1D
  489. #define QIB_7220_ErrStatus_SendMinPktLenErr_RMASK 0x1
  490. #define QIB_7220_ErrStatus_SDmaDisabledErr_LSB 0x1C
  491. #define QIB_7220_ErrStatus_SDmaDisabledErr_RMASK 0x1
  492. #define QIB_7220_ErrStatus_SendSpecialTriggerErr_LSB 0x1B
  493. #define QIB_7220_ErrStatus_SendSpecialTriggerErr_RMASK 0x1
  494. #define QIB_7220_ErrStatus_Reserved1_LSB 0x12
  495. #define QIB_7220_ErrStatus_Reserved1_RMASK 0x1FF
  496. #define QIB_7220_ErrStatus_RcvIBLostLinkErr_LSB 0x11
  497. #define QIB_7220_ErrStatus_RcvIBLostLinkErr_RMASK 0x1
  498. #define QIB_7220_ErrStatus_RcvHdrErr_LSB 0x10
  499. #define QIB_7220_ErrStatus_RcvHdrErr_RMASK 0x1
  500. #define QIB_7220_ErrStatus_RcvHdrLenErr_LSB 0xF
  501. #define QIB_7220_ErrStatus_RcvHdrLenErr_RMASK 0x1
  502. #define QIB_7220_ErrStatus_RcvBadTidErr_LSB 0xE
  503. #define QIB_7220_ErrStatus_RcvBadTidErr_RMASK 0x1
  504. #define QIB_7220_ErrStatus_RcvHdrFullErr_LSB 0xD
  505. #define QIB_7220_ErrStatus_RcvHdrFullErr_RMASK 0x1
  506. #define QIB_7220_ErrStatus_RcvEgrFullErr_LSB 0xC
  507. #define QIB_7220_ErrStatus_RcvEgrFullErr_RMASK 0x1
  508. #define QIB_7220_ErrStatus_RcvBadVersionErr_LSB 0xB
  509. #define QIB_7220_ErrStatus_RcvBadVersionErr_RMASK 0x1
  510. #define QIB_7220_ErrStatus_RcvIBFlowErr_LSB 0xA
  511. #define QIB_7220_ErrStatus_RcvIBFlowErr_RMASK 0x1
  512. #define QIB_7220_ErrStatus_RcvEBPErr_LSB 0x9
  513. #define QIB_7220_ErrStatus_RcvEBPErr_RMASK 0x1
  514. #define QIB_7220_ErrStatus_RcvUnsupportedVLErr_LSB 0x8
  515. #define QIB_7220_ErrStatus_RcvUnsupportedVLErr_RMASK 0x1
  516. #define QIB_7220_ErrStatus_RcvUnexpectedCharErr_LSB 0x7
  517. #define QIB_7220_ErrStatus_RcvUnexpectedCharErr_RMASK 0x1
  518. #define QIB_7220_ErrStatus_RcvShortPktLenErr_LSB 0x6
  519. #define QIB_7220_ErrStatus_RcvShortPktLenErr_RMASK 0x1
  520. #define QIB_7220_ErrStatus_RcvLongPktLenErr_LSB 0x5
  521. #define QIB_7220_ErrStatus_RcvLongPktLenErr_RMASK 0x1
  522. #define QIB_7220_ErrStatus_RcvMaxPktLenErr_LSB 0x4
  523. #define QIB_7220_ErrStatus_RcvMaxPktLenErr_RMASK 0x1
  524. #define QIB_7220_ErrStatus_RcvMinPktLenErr_LSB 0x3
  525. #define QIB_7220_ErrStatus_RcvMinPktLenErr_RMASK 0x1
  526. #define QIB_7220_ErrStatus_RcvICRCErr_LSB 0x2
  527. #define QIB_7220_ErrStatus_RcvICRCErr_RMASK 0x1
  528. #define QIB_7220_ErrStatus_RcvVCRCErr_LSB 0x1
  529. #define QIB_7220_ErrStatus_RcvVCRCErr_RMASK 0x1
  530. #define QIB_7220_ErrStatus_RcvFormatErr_LSB 0x0
  531. #define QIB_7220_ErrStatus_RcvFormatErr_RMASK 0x1
  532. #define QIB_7220_ErrClear_OFFS 0x90
  533. #define QIB_7220_ErrClear_Reserved_LSB 0x36
  534. #define QIB_7220_ErrClear_Reserved_RMASK 0x3FF
  535. #define QIB_7220_ErrClear_InvalidEEPCmdErrClear_LSB 0x35
  536. #define QIB_7220_ErrClear_InvalidEEPCmdErrClear_RMASK 0x1
  537. #define QIB_7220_ErrClear_SDmaDescAddrMisalignErrClear_LSB 0x34
  538. #define QIB_7220_ErrClear_SDmaDescAddrMisalignErrClear_RMASK 0x1
  539. #define QIB_7220_ErrClear_HardwareErrClear_LSB 0x33
  540. #define QIB_7220_ErrClear_HardwareErrClear_RMASK 0x1
  541. #define QIB_7220_ErrClear_ResetNegatedClear_LSB 0x32
  542. #define QIB_7220_ErrClear_ResetNegatedClear_RMASK 0x1
  543. #define QIB_7220_ErrClear_InvalidAddrErrClear_LSB 0x31
  544. #define QIB_7220_ErrClear_InvalidAddrErrClear_RMASK 0x1
  545. #define QIB_7220_ErrClear_IBStatusChangedClear_LSB 0x30
  546. #define QIB_7220_ErrClear_IBStatusChangedClear_RMASK 0x1
  547. #define QIB_7220_ErrClear_SDmaUnexpDataErrClear_LSB 0x2F
  548. #define QIB_7220_ErrClear_SDmaUnexpDataErrClear_RMASK 0x1
  549. #define QIB_7220_ErrClear_SDmaMissingDwErrClear_LSB 0x2E
  550. #define QIB_7220_ErrClear_SDmaMissingDwErrClear_RMASK 0x1
  551. #define QIB_7220_ErrClear_SDmaDwEnErrClear_LSB 0x2D
  552. #define QIB_7220_ErrClear_SDmaDwEnErrClear_RMASK 0x1
  553. #define QIB_7220_ErrClear_SDmaRpyTagErrClear_LSB 0x2C
  554. #define QIB_7220_ErrClear_SDmaRpyTagErrClear_RMASK 0x1
  555. #define QIB_7220_ErrClear_SDma1stDescErrClear_LSB 0x2B
  556. #define QIB_7220_ErrClear_SDma1stDescErrClear_RMASK 0x1
  557. #define QIB_7220_ErrClear_SDmaBaseErrClear_LSB 0x2A
  558. #define QIB_7220_ErrClear_SDmaBaseErrClear_RMASK 0x1
  559. #define QIB_7220_ErrClear_SDmaTailOutOfBoundErrClear_LSB 0x29
  560. #define QIB_7220_ErrClear_SDmaTailOutOfBoundErrClear_RMASK 0x1
  561. #define QIB_7220_ErrClear_SDmaOutOfBoundErrClear_LSB 0x28
  562. #define QIB_7220_ErrClear_SDmaOutOfBoundErrClear_RMASK 0x1
  563. #define QIB_7220_ErrClear_SDmaGenMismatchErrClear_LSB 0x27
  564. #define QIB_7220_ErrClear_SDmaGenMismatchErrClear_RMASK 0x1
  565. #define QIB_7220_ErrClear_SendBufMisuseErrClear_LSB 0x26
  566. #define QIB_7220_ErrClear_SendBufMisuseErrClear_RMASK 0x1
  567. #define QIB_7220_ErrClear_SendUnsupportedVLErrClear_LSB 0x25
  568. #define QIB_7220_ErrClear_SendUnsupportedVLErrClear_RMASK 0x1
  569. #define QIB_7220_ErrClear_SendUnexpectedPktNumErrClear_LSB 0x24
  570. #define QIB_7220_ErrClear_SendUnexpectedPktNumErrClear_RMASK 0x1
  571. #define QIB_7220_ErrClear_SendPioArmLaunchErrClear_LSB 0x23
  572. #define QIB_7220_ErrClear_SendPioArmLaunchErrClear_RMASK 0x1
  573. #define QIB_7220_ErrClear_SendDroppedDataPktErrClear_LSB 0x22
  574. #define QIB_7220_ErrClear_SendDroppedDataPktErrClear_RMASK 0x1
  575. #define QIB_7220_ErrClear_SendDroppedSmpPktErrClear_LSB 0x21
  576. #define QIB_7220_ErrClear_SendDroppedSmpPktErrClear_RMASK 0x1
  577. #define QIB_7220_ErrClear_SendPktLenErrClear_LSB 0x20
  578. #define QIB_7220_ErrClear_SendPktLenErrClear_RMASK 0x1
  579. #define QIB_7220_ErrClear_SendUnderRunErrClear_LSB 0x1F
  580. #define QIB_7220_ErrClear_SendUnderRunErrClear_RMASK 0x1
  581. #define QIB_7220_ErrClear_SendMaxPktLenErrClear_LSB 0x1E
  582. #define QIB_7220_ErrClear_SendMaxPktLenErrClear_RMASK 0x1
  583. #define QIB_7220_ErrClear_SendMinPktLenErrClear_LSB 0x1D
  584. #define QIB_7220_ErrClear_SendMinPktLenErrClear_RMASK 0x1
  585. #define QIB_7220_ErrClear_SDmaDisabledErrClear_LSB 0x1C
  586. #define QIB_7220_ErrClear_SDmaDisabledErrClear_RMASK 0x1
  587. #define QIB_7220_ErrClear_SendSpecialTriggerErrClear_LSB 0x1B
  588. #define QIB_7220_ErrClear_SendSpecialTriggerErrClear_RMASK 0x1
  589. #define QIB_7220_ErrClear_Reserved1_LSB 0x12
  590. #define QIB_7220_ErrClear_Reserved1_RMASK 0x1FF
  591. #define QIB_7220_ErrClear_RcvIBLostLinkErrClear_LSB 0x11
  592. #define QIB_7220_ErrClear_RcvIBLostLinkErrClear_RMASK 0x1
  593. #define QIB_7220_ErrClear_RcvHdrErrClear_LSB 0x10
  594. #define QIB_7220_ErrClear_RcvHdrErrClear_RMASK 0x1
  595. #define QIB_7220_ErrClear_RcvHdrLenErrClear_LSB 0xF
  596. #define QIB_7220_ErrClear_RcvHdrLenErrClear_RMASK 0x1
  597. #define QIB_7220_ErrClear_RcvBadTidErrClear_LSB 0xE
  598. #define QIB_7220_ErrClear_RcvBadTidErrClear_RMASK 0x1
  599. #define QIB_7220_ErrClear_RcvHdrFullErrClear_LSB 0xD
  600. #define QIB_7220_ErrClear_RcvHdrFullErrClear_RMASK 0x1
  601. #define QIB_7220_ErrClear_RcvEgrFullErrClear_LSB 0xC
  602. #define QIB_7220_ErrClear_RcvEgrFullErrClear_RMASK 0x1
  603. #define QIB_7220_ErrClear_RcvBadVersionErrClear_LSB 0xB
  604. #define QIB_7220_ErrClear_RcvBadVersionErrClear_RMASK 0x1
  605. #define QIB_7220_ErrClear_RcvIBFlowErrClear_LSB 0xA
  606. #define QIB_7220_ErrClear_RcvIBFlowErrClear_RMASK 0x1
  607. #define QIB_7220_ErrClear_RcvEBPErrClear_LSB 0x9
  608. #define QIB_7220_ErrClear_RcvEBPErrClear_RMASK 0x1
  609. #define QIB_7220_ErrClear_RcvUnsupportedVLErrClear_LSB 0x8
  610. #define QIB_7220_ErrClear_RcvUnsupportedVLErrClear_RMASK 0x1
  611. #define QIB_7220_ErrClear_RcvUnexpectedCharErrClear_LSB 0x7
  612. #define QIB_7220_ErrClear_RcvUnexpectedCharErrClear_RMASK 0x1
  613. #define QIB_7220_ErrClear_RcvShortPktLenErrClear_LSB 0x6
  614. #define QIB_7220_ErrClear_RcvShortPktLenErrClear_RMASK 0x1
  615. #define QIB_7220_ErrClear_RcvLongPktLenErrClear_LSB 0x5
  616. #define QIB_7220_ErrClear_RcvLongPktLenErrClear_RMASK 0x1
  617. #define QIB_7220_ErrClear_RcvMaxPktLenErrClear_LSB 0x4
  618. #define QIB_7220_ErrClear_RcvMaxPktLenErrClear_RMASK 0x1
  619. #define QIB_7220_ErrClear_RcvMinPktLenErrClear_LSB 0x3
  620. #define QIB_7220_ErrClear_RcvMinPktLenErrClear_RMASK 0x1
  621. #define QIB_7220_ErrClear_RcvICRCErrClear_LSB 0x2
  622. #define QIB_7220_ErrClear_RcvICRCErrClear_RMASK 0x1
  623. #define QIB_7220_ErrClear_RcvVCRCErrClear_LSB 0x1
  624. #define QIB_7220_ErrClear_RcvVCRCErrClear_RMASK 0x1
  625. #define QIB_7220_ErrClear_RcvFormatErrClear_LSB 0x0
  626. #define QIB_7220_ErrClear_RcvFormatErrClear_RMASK 0x1
  627. #define QIB_7220_HwErrMask_OFFS 0x98
  628. #define QIB_7220_HwErrMask_IBCBusFromSPCParityErrMask_LSB 0x3F
  629. #define QIB_7220_HwErrMask_IBCBusFromSPCParityErrMask_RMASK 0x1
  630. #define QIB_7220_HwErrMask_IBCBusToSPCParityErrMask_LSB 0x3E
  631. #define QIB_7220_HwErrMask_IBCBusToSPCParityErrMask_RMASK 0x1
  632. #define QIB_7220_HwErrMask_Clk_uC_PLLNotLockedMask_LSB 0x3D
  633. #define QIB_7220_HwErrMask_Clk_uC_PLLNotLockedMask_RMASK 0x1
  634. #define QIB_7220_HwErrMask_IBSerdesPClkNotDetectMask_LSB 0x3C
  635. #define QIB_7220_HwErrMask_IBSerdesPClkNotDetectMask_RMASK 0x1
  636. #define QIB_7220_HwErrMask_PCIESerdesQ3PClkNotDetectMask_LSB 0x3B
  637. #define QIB_7220_HwErrMask_PCIESerdesQ3PClkNotDetectMask_RMASK 0x1
  638. #define QIB_7220_HwErrMask_PCIESerdesQ2PClkNotDetectMask_LSB 0x3A
  639. #define QIB_7220_HwErrMask_PCIESerdesQ2PClkNotDetectMask_RMASK 0x1
  640. #define QIB_7220_HwErrMask_PCIESerdesQ1PClkNotDetectMask_LSB 0x39
  641. #define QIB_7220_HwErrMask_PCIESerdesQ1PClkNotDetectMask_RMASK 0x1
  642. #define QIB_7220_HwErrMask_PCIESerdesQ0PClkNotDetectMask_LSB 0x38
  643. #define QIB_7220_HwErrMask_PCIESerdesQ0PClkNotDetectMask_RMASK 0x1
  644. #define QIB_7220_HwErrMask_Reserved_LSB 0x37
  645. #define QIB_7220_HwErrMask_Reserved_RMASK 0x1
  646. #define QIB_7220_HwErrMask_PowerOnBISTFailedMask_LSB 0x36
  647. #define QIB_7220_HwErrMask_PowerOnBISTFailedMask_RMASK 0x1
  648. #define QIB_7220_HwErrMask_Reserved1_LSB 0x33
  649. #define QIB_7220_HwErrMask_Reserved1_RMASK 0x7
  650. #define QIB_7220_HwErrMask_RXEMemParityErrMask_LSB 0x2C
  651. #define QIB_7220_HwErrMask_RXEMemParityErrMask_RMASK 0x7F
  652. #define QIB_7220_HwErrMask_TXEMemParityErrMask_LSB 0x28
  653. #define QIB_7220_HwErrMask_TXEMemParityErrMask_RMASK 0xF
  654. #define QIB_7220_HwErrMask_DDSRXEQMemoryParityErrMask_LSB 0x27
  655. #define QIB_7220_HwErrMask_DDSRXEQMemoryParityErrMask_RMASK 0x1
  656. #define QIB_7220_HwErrMask_IB_uC_MemoryParityErrMask_LSB 0x26
  657. #define QIB_7220_HwErrMask_IB_uC_MemoryParityErrMask_RMASK 0x1
  658. #define QIB_7220_HwErrMask_PCIEOct1_uC_MemoryParityErrMask_LSB 0x25
  659. #define QIB_7220_HwErrMask_PCIEOct1_uC_MemoryParityErrMask_RMASK 0x1
  660. #define QIB_7220_HwErrMask_PCIEOct0_uC_MemoryParityErrMask_LSB 0x24
  661. #define QIB_7220_HwErrMask_PCIEOct0_uC_MemoryParityErrMask_RMASK 0x1
  662. #define QIB_7220_HwErrMask_Reserved2_LSB 0x22
  663. #define QIB_7220_HwErrMask_Reserved2_RMASK 0x3
  664. #define QIB_7220_HwErrMask_PCIeBusParityErrMask_LSB 0x1F
  665. #define QIB_7220_HwErrMask_PCIeBusParityErrMask_RMASK 0x7
  666. #define QIB_7220_HwErrMask_PcieCplTimeoutMask_LSB 0x1E
  667. #define QIB_7220_HwErrMask_PcieCplTimeoutMask_RMASK 0x1
  668. #define QIB_7220_HwErrMask_PoisonedTLPMask_LSB 0x1D
  669. #define QIB_7220_HwErrMask_PoisonedTLPMask_RMASK 0x1
  670. #define QIB_7220_HwErrMask_SDmaMemReadErrMask_LSB 0x1C
  671. #define QIB_7220_HwErrMask_SDmaMemReadErrMask_RMASK 0x1
  672. #define QIB_7220_HwErrMask_Reserved3_LSB 0x8
  673. #define QIB_7220_HwErrMask_Reserved3_RMASK 0xFFFFF
  674. #define QIB_7220_HwErrMask_PCIeMemParityErrMask_LSB 0x0
  675. #define QIB_7220_HwErrMask_PCIeMemParityErrMask_RMASK 0xFF
  676. #define QIB_7220_HwErrStatus_OFFS 0xA0
  677. #define QIB_7220_HwErrStatus_IBCBusFromSPCParityErr_LSB 0x3F
  678. #define QIB_7220_HwErrStatus_IBCBusFromSPCParityErr_RMASK 0x1
  679. #define QIB_7220_HwErrStatus_IBCBusToSPCParityErr_LSB 0x3E
  680. #define QIB_7220_HwErrStatus_IBCBusToSPCParityErr_RMASK 0x1
  681. #define QIB_7220_HwErrStatus_Clk_uC_PLLNotLocked_LSB 0x3D
  682. #define QIB_7220_HwErrStatus_Clk_uC_PLLNotLocked_RMASK 0x1
  683. #define QIB_7220_HwErrStatus_IBSerdesPClkNotDetect_LSB 0x3C
  684. #define QIB_7220_HwErrStatus_IBSerdesPClkNotDetect_RMASK 0x1
  685. #define QIB_7220_HwErrStatus_PCIESerdesQ3PClkNotDetect_LSB 0x3B
  686. #define QIB_7220_HwErrStatus_PCIESerdesQ3PClkNotDetect_RMASK 0x1
  687. #define QIB_7220_HwErrStatus_PCIESerdesQ2PClkNotDetect_LSB 0x3A
  688. #define QIB_7220_HwErrStatus_PCIESerdesQ2PClkNotDetect_RMASK 0x1
  689. #define QIB_7220_HwErrStatus_PCIESerdesQ1PClkNotDetect_LSB 0x39
  690. #define QIB_7220_HwErrStatus_PCIESerdesQ1PClkNotDetect_RMASK 0x1
  691. #define QIB_7220_HwErrStatus_PCIESerdesQ0PClkNotDetect_LSB 0x38
  692. #define QIB_7220_HwErrStatus_PCIESerdesQ0PClkNotDetect_RMASK 0x1
  693. #define QIB_7220_HwErrStatus_Reserved_LSB 0x37
  694. #define QIB_7220_HwErrStatus_Reserved_RMASK 0x1
  695. #define QIB_7220_HwErrStatus_PowerOnBISTFailed_LSB 0x36
  696. #define QIB_7220_HwErrStatus_PowerOnBISTFailed_RMASK 0x1
  697. #define QIB_7220_HwErrStatus_Reserved1_LSB 0x33
  698. #define QIB_7220_HwErrStatus_Reserved1_RMASK 0x7
  699. #define QIB_7220_HwErrStatus_RXEMemParity_LSB 0x2C
  700. #define QIB_7220_HwErrStatus_RXEMemParity_RMASK 0x7F
  701. #define QIB_7220_HwErrStatus_TXEMemParity_LSB 0x28
  702. #define QIB_7220_HwErrStatus_TXEMemParity_RMASK 0xF
  703. #define QIB_7220_HwErrStatus_DDSRXEQMemoryParityErr_LSB 0x27
  704. #define QIB_7220_HwErrStatus_DDSRXEQMemoryParityErr_RMASK 0x1
  705. #define QIB_7220_HwErrStatus_IB_uC_MemoryParityErr_LSB 0x26
  706. #define QIB_7220_HwErrStatus_IB_uC_MemoryParityErr_RMASK 0x1
  707. #define QIB_7220_HwErrStatus_PCIE_uC_Oct1MemoryParityErr_LSB 0x25
  708. #define QIB_7220_HwErrStatus_PCIE_uC_Oct1MemoryParityErr_RMASK 0x1
  709. #define QIB_7220_HwErrStatus_PCIE_uC_Oct0MemoryParityErr_LSB 0x24
  710. #define QIB_7220_HwErrStatus_PCIE_uC_Oct0MemoryParityErr_RMASK 0x1
  711. #define QIB_7220_HwErrStatus_Reserved2_LSB 0x22
  712. #define QIB_7220_HwErrStatus_Reserved2_RMASK 0x3
  713. #define QIB_7220_HwErrStatus_PCIeBusParity_LSB 0x1F
  714. #define QIB_7220_HwErrStatus_PCIeBusParity_RMASK 0x7
  715. #define QIB_7220_HwErrStatus_PcieCplTimeout_LSB 0x1E
  716. #define QIB_7220_HwErrStatus_PcieCplTimeout_RMASK 0x1
  717. #define QIB_7220_HwErrStatus_PoisenedTLP_LSB 0x1D
  718. #define QIB_7220_HwErrStatus_PoisenedTLP_RMASK 0x1
  719. #define QIB_7220_HwErrStatus_SDmaMemReadErr_LSB 0x1C
  720. #define QIB_7220_HwErrStatus_SDmaMemReadErr_RMASK 0x1
  721. #define QIB_7220_HwErrStatus_Reserved3_LSB 0x8
  722. #define QIB_7220_HwErrStatus_Reserved3_RMASK 0xFFFFF
  723. #define QIB_7220_HwErrStatus_PCIeMemParity_LSB 0x0
  724. #define QIB_7220_HwErrStatus_PCIeMemParity_RMASK 0xFF
  725. #define QIB_7220_HwErrClear_OFFS 0xA8
  726. #define QIB_7220_HwErrClear_IBCBusFromSPCParityErrClear_LSB 0x3F
  727. #define QIB_7220_HwErrClear_IBCBusFromSPCParityErrClear_RMASK 0x1
  728. #define QIB_7220_HwErrClear_IBCBusToSPCparityErrClear_LSB 0x3E
  729. #define QIB_7220_HwErrClear_IBCBusToSPCparityErrClear_RMASK 0x1
  730. #define QIB_7220_HwErrClear_Clk_uC_PLLNotLockedClear_LSB 0x3D
  731. #define QIB_7220_HwErrClear_Clk_uC_PLLNotLockedClear_RMASK 0x1
  732. #define QIB_7220_HwErrClear_IBSerdesPClkNotDetectClear_LSB 0x3C
  733. #define QIB_7220_HwErrClear_IBSerdesPClkNotDetectClear_RMASK 0x1
  734. #define QIB_7220_HwErrClear_PCIESerdesQ3PClkNotDetectClear_LSB 0x3B
  735. #define QIB_7220_HwErrClear_PCIESerdesQ3PClkNotDetectClear_RMASK 0x1
  736. #define QIB_7220_HwErrClear_PCIESerdesQ2PClkNotDetectClear_LSB 0x3A
  737. #define QIB_7220_HwErrClear_PCIESerdesQ2PClkNotDetectClear_RMASK 0x1
  738. #define QIB_7220_HwErrClear_PCIESerdesQ1PClkNotDetectClear_LSB 0x39
  739. #define QIB_7220_HwErrClear_PCIESerdesQ1PClkNotDetectClear_RMASK 0x1
  740. #define QIB_7220_HwErrClear_PCIESerdesQ0PClkNotDetectClear_LSB 0x38
  741. #define QIB_7220_HwErrClear_PCIESerdesQ0PClkNotDetectClear_RMASK 0x1
  742. #define QIB_7220_HwErrClear_Reserved_LSB 0x37
  743. #define QIB_7220_HwErrClear_Reserved_RMASK 0x1
  744. #define QIB_7220_HwErrClear_PowerOnBISTFailedClear_LSB 0x36
  745. #define QIB_7220_HwErrClear_PowerOnBISTFailedClear_RMASK 0x1
  746. #define QIB_7220_HwErrClear_Reserved1_LSB 0x33
  747. #define QIB_7220_HwErrClear_Reserved1_RMASK 0x7
  748. #define QIB_7220_HwErrClear_RXEMemParityClear_LSB 0x2C
  749. #define QIB_7220_HwErrClear_RXEMemParityClear_RMASK 0x7F
  750. #define QIB_7220_HwErrClear_TXEMemParityClear_LSB 0x28
  751. #define QIB_7220_HwErrClear_TXEMemParityClear_RMASK 0xF
  752. #define QIB_7220_HwErrClear_DDSRXEQMemoryParityErrClear_LSB 0x27
  753. #define QIB_7220_HwErrClear_DDSRXEQMemoryParityErrClear_RMASK 0x1
  754. #define QIB_7220_HwErrClear_IB_uC_MemoryParityErrClear_LSB 0x26
  755. #define QIB_7220_HwErrClear_IB_uC_MemoryParityErrClear_RMASK 0x1
  756. #define QIB_7220_HwErrClear_PCIE_uC_Oct1MemoryParityErrClear_LSB 0x25
  757. #define QIB_7220_HwErrClear_PCIE_uC_Oct1MemoryParityErrClear_RMASK 0x1
  758. #define QIB_7220_HwErrClear_PCIE_uC_Oct0MemoryParityErrClear_LSB 0x24
  759. #define QIB_7220_HwErrClear_PCIE_uC_Oct0MemoryParityErrClear_RMASK 0x1
  760. #define QIB_7220_HwErrClear_Reserved2_LSB 0x22
  761. #define QIB_7220_HwErrClear_Reserved2_RMASK 0x3
  762. #define QIB_7220_HwErrClear_PCIeBusParityClr_LSB 0x1F
  763. #define QIB_7220_HwErrClear_PCIeBusParityClr_RMASK 0x7
  764. #define QIB_7220_HwErrClear_PcieCplTimeoutClear_LSB 0x1E
  765. #define QIB_7220_HwErrClear_PcieCplTimeoutClear_RMASK 0x1
  766. #define QIB_7220_HwErrClear_PoisonedTLPClear_LSB 0x1D
  767. #define QIB_7220_HwErrClear_PoisonedTLPClear_RMASK 0x1
  768. #define QIB_7220_HwErrClear_SDmaMemReadErrClear_LSB 0x1C
  769. #define QIB_7220_HwErrClear_SDmaMemReadErrClear_RMASK 0x1
  770. #define QIB_7220_HwErrClear_Reserved3_LSB 0x8
  771. #define QIB_7220_HwErrClear_Reserved3_RMASK 0xFFFFF
  772. #define QIB_7220_HwErrClear_PCIeMemParityClr_LSB 0x0
  773. #define QIB_7220_HwErrClear_PCIeMemParityClr_RMASK 0xFF
  774. #define QIB_7220_HwDiagCtrl_OFFS 0xB0
  775. #define QIB_7220_HwDiagCtrl_ForceIBCBusFromSPCParityErr_LSB 0x3F
  776. #define QIB_7220_HwDiagCtrl_ForceIBCBusFromSPCParityErr_RMASK 0x1
  777. #define QIB_7220_HwDiagCtrl_ForceIBCBusToSPCParityErr_LSB 0x3E
  778. #define QIB_7220_HwDiagCtrl_ForceIBCBusToSPCParityErr_RMASK 0x1
  779. #define QIB_7220_HwDiagCtrl_CounterWrEnable_LSB 0x3D
  780. #define QIB_7220_HwDiagCtrl_CounterWrEnable_RMASK 0x1
  781. #define QIB_7220_HwDiagCtrl_CounterDisable_LSB 0x3C
  782. #define QIB_7220_HwDiagCtrl_CounterDisable_RMASK 0x1
  783. #define QIB_7220_HwDiagCtrl_Reserved_LSB 0x33
  784. #define QIB_7220_HwDiagCtrl_Reserved_RMASK 0x1FF
  785. #define QIB_7220_HwDiagCtrl_ForceRxMemParityErr_LSB 0x2C
  786. #define QIB_7220_HwDiagCtrl_ForceRxMemParityErr_RMASK 0x7F
  787. #define QIB_7220_HwDiagCtrl_ForceTxMemparityErr_LSB 0x28
  788. #define QIB_7220_HwDiagCtrl_ForceTxMemparityErr_RMASK 0xF
  789. #define QIB_7220_HwDiagCtrl_ForceDDSRXEQMemoryParityErr_LSB 0x27
  790. #define QIB_7220_HwDiagCtrl_ForceDDSRXEQMemoryParityErr_RMASK 0x1
  791. #define QIB_7220_HwDiagCtrl_ForceIB_uC_MemoryParityErr_LSB 0x26
  792. #define QIB_7220_HwDiagCtrl_ForceIB_uC_MemoryParityErr_RMASK 0x1
  793. #define QIB_7220_HwDiagCtrl_ForcePCIE_uC_Oct1MemoryParityErr_LSB 0x25
  794. #define QIB_7220_HwDiagCtrl_ForcePCIE_uC_Oct1MemoryParityErr_RMASK 0x1
  795. #define QIB_7220_HwDiagCtrl_ForcePCIE_uC_Oct0MemoryParityErr_LSB 0x24
  796. #define QIB_7220_HwDiagCtrl_ForcePCIE_uC_Oct0MemoryParityErr_RMASK 0x1
  797. #define QIB_7220_HwDiagCtrl_Reserved1_LSB 0x23
  798. #define QIB_7220_HwDiagCtrl_Reserved1_RMASK 0x1
  799. #define QIB_7220_HwDiagCtrl_forcePCIeBusParity_LSB 0x1F
  800. #define QIB_7220_HwDiagCtrl_forcePCIeBusParity_RMASK 0xF
  801. #define QIB_7220_HwDiagCtrl_Reserved2_LSB 0x8
  802. #define QIB_7220_HwDiagCtrl_Reserved2_RMASK 0x7FFFFF
  803. #define QIB_7220_HwDiagCtrl_forcePCIeMemParity_LSB 0x0
  804. #define QIB_7220_HwDiagCtrl_forcePCIeMemParity_RMASK 0xFF
  805. #define QIB_7220_REG_0000B8_OFFS 0xB8
  806. #define QIB_7220_IBCStatus_OFFS 0xC0
  807. #define QIB_7220_IBCStatus_TxCreditOk_LSB 0x1F
  808. #define QIB_7220_IBCStatus_TxCreditOk_RMASK 0x1
  809. #define QIB_7220_IBCStatus_TxReady_LSB 0x1E
  810. #define QIB_7220_IBCStatus_TxReady_RMASK 0x1
  811. #define QIB_7220_IBCStatus_Reserved_LSB 0xE
  812. #define QIB_7220_IBCStatus_Reserved_RMASK 0xFFFF
  813. #define QIB_7220_IBCStatus_IBTxLaneReversed_LSB 0xD
  814. #define QIB_7220_IBCStatus_IBTxLaneReversed_RMASK 0x1
  815. #define QIB_7220_IBCStatus_IBRxLaneReversed_LSB 0xC
  816. #define QIB_7220_IBCStatus_IBRxLaneReversed_RMASK 0x1
  817. #define QIB_7220_IBCStatus_IB_SERDES_TRIM_DONE_LSB 0xB
  818. #define QIB_7220_IBCStatus_IB_SERDES_TRIM_DONE_RMASK 0x1
  819. #define QIB_7220_IBCStatus_DDS_RXEQ_FAIL_LSB 0xA
  820. #define QIB_7220_IBCStatus_DDS_RXEQ_FAIL_RMASK 0x1
  821. #define QIB_7220_IBCStatus_LinkWidthActive_LSB 0x9
  822. #define QIB_7220_IBCStatus_LinkWidthActive_RMASK 0x1
  823. #define QIB_7220_IBCStatus_LinkSpeedActive_LSB 0x8
  824. #define QIB_7220_IBCStatus_LinkSpeedActive_RMASK 0x1
  825. #define QIB_7220_IBCStatus_LinkState_LSB 0x5
  826. #define QIB_7220_IBCStatus_LinkState_RMASK 0x7
  827. #define QIB_7220_IBCStatus_LinkTrainingState_LSB 0x0
  828. #define QIB_7220_IBCStatus_LinkTrainingState_RMASK 0x1F
  829. #define QIB_7220_IBCCtrl_OFFS 0xC8
  830. #define QIB_7220_IBCCtrl_Loopback_LSB 0x3F
  831. #define QIB_7220_IBCCtrl_Loopback_RMASK 0x1
  832. #define QIB_7220_IBCCtrl_LinkDownDefaultState_LSB 0x3E
  833. #define QIB_7220_IBCCtrl_LinkDownDefaultState_RMASK 0x1
  834. #define QIB_7220_IBCCtrl_Reserved_LSB 0x2B
  835. #define QIB_7220_IBCCtrl_Reserved_RMASK 0x7FFFF
  836. #define QIB_7220_IBCCtrl_CreditScale_LSB 0x28
  837. #define QIB_7220_IBCCtrl_CreditScale_RMASK 0x7
  838. #define QIB_7220_IBCCtrl_OverrunThreshold_LSB 0x24
  839. #define QIB_7220_IBCCtrl_OverrunThreshold_RMASK 0xF
  840. #define QIB_7220_IBCCtrl_PhyerrThreshold_LSB 0x20
  841. #define QIB_7220_IBCCtrl_PhyerrThreshold_RMASK 0xF
  842. #define QIB_7220_IBCCtrl_MaxPktLen_LSB 0x15
  843. #define QIB_7220_IBCCtrl_MaxPktLen_RMASK 0x7FF
  844. #define QIB_7220_IBCCtrl_LinkCmd_LSB 0x13
  845. #define QIB_7220_IBCCtrl_LinkCmd_RMASK 0x3
  846. #define QIB_7220_IBCCtrl_LinkInitCmd_LSB 0x10
  847. #define QIB_7220_IBCCtrl_LinkInitCmd_RMASK 0x7
  848. #define QIB_7220_IBCCtrl_FlowCtrlWaterMark_LSB 0x8
  849. #define QIB_7220_IBCCtrl_FlowCtrlWaterMark_RMASK 0xFF
  850. #define QIB_7220_IBCCtrl_FlowCtrlPeriod_LSB 0x0
  851. #define QIB_7220_IBCCtrl_FlowCtrlPeriod_RMASK 0xFF
  852. #define QIB_7220_EXTStatus_OFFS 0xD0
  853. #define QIB_7220_EXTStatus_GPIOIn_LSB 0x30
  854. #define QIB_7220_EXTStatus_GPIOIn_RMASK 0xFFFF
  855. #define QIB_7220_EXTStatus_Reserved_LSB 0x20
  856. #define QIB_7220_EXTStatus_Reserved_RMASK 0xFFFF
  857. #define QIB_7220_EXTStatus_Reserved1_LSB 0x10
  858. #define QIB_7220_EXTStatus_Reserved1_RMASK 0xFFFF
  859. #define QIB_7220_EXTStatus_MemBISTDisabled_LSB 0xF
  860. #define QIB_7220_EXTStatus_MemBISTDisabled_RMASK 0x1
  861. #define QIB_7220_EXTStatus_MemBISTEndTest_LSB 0xE
  862. #define QIB_7220_EXTStatus_MemBISTEndTest_RMASK 0x1
  863. #define QIB_7220_EXTStatus_Reserved2_LSB 0x0
  864. #define QIB_7220_EXTStatus_Reserved2_RMASK 0x3FFF
  865. #define QIB_7220_EXTCtrl_OFFS 0xD8
  866. #define QIB_7220_EXTCtrl_GPIOOe_LSB 0x30
  867. #define QIB_7220_EXTCtrl_GPIOOe_RMASK 0xFFFF
  868. #define QIB_7220_EXTCtrl_GPIOInvert_LSB 0x20
  869. #define QIB_7220_EXTCtrl_GPIOInvert_RMASK 0xFFFF
  870. #define QIB_7220_EXTCtrl_Reserved_LSB 0x4
  871. #define QIB_7220_EXTCtrl_Reserved_RMASK 0xFFFFFFF
  872. #define QIB_7220_EXTCtrl_LEDPriPortGreenOn_LSB 0x3
  873. #define QIB_7220_EXTCtrl_LEDPriPortGreenOn_RMASK 0x1
  874. #define QIB_7220_EXTCtrl_LEDPriPortYellowOn_LSB 0x2
  875. #define QIB_7220_EXTCtrl_LEDPriPortYellowOn_RMASK 0x1
  876. #define QIB_7220_EXTCtrl_LEDGblOkGreenOn_LSB 0x1
  877. #define QIB_7220_EXTCtrl_LEDGblOkGreenOn_RMASK 0x1
  878. #define QIB_7220_EXTCtrl_LEDGblErrRedOff_LSB 0x0
  879. #define QIB_7220_EXTCtrl_LEDGblErrRedOff_RMASK 0x1
  880. #define QIB_7220_GPIOOut_OFFS 0xE0
  881. #define QIB_7220_GPIOMask_OFFS 0xE8
  882. #define QIB_7220_GPIOStatus_OFFS 0xF0
  883. #define QIB_7220_GPIOClear_OFFS 0xF8
  884. #define QIB_7220_RcvCtrl_OFFS 0x100
  885. #define QIB_7220_RcvCtrl_Reserved_LSB 0x27
  886. #define QIB_7220_RcvCtrl_Reserved_RMASK 0x1FFFFFF
  887. #define QIB_7220_RcvCtrl_RcvQPMapEnable_LSB 0x26
  888. #define QIB_7220_RcvCtrl_RcvQPMapEnable_RMASK 0x1
  889. #define QIB_7220_RcvCtrl_PortCfg_LSB 0x24
  890. #define QIB_7220_RcvCtrl_PortCfg_RMASK 0x3
  891. #define QIB_7220_RcvCtrl_TailUpd_LSB 0x23
  892. #define QIB_7220_RcvCtrl_TailUpd_RMASK 0x1
  893. #define QIB_7220_RcvCtrl_RcvPartitionKeyDisable_LSB 0x22
  894. #define QIB_7220_RcvCtrl_RcvPartitionKeyDisable_RMASK 0x1
  895. #define QIB_7220_RcvCtrl_IntrAvail_LSB 0x11
  896. #define QIB_7220_RcvCtrl_IntrAvail_RMASK 0x1FFFF
  897. #define QIB_7220_RcvCtrl_PortEnable_LSB 0x0
  898. #define QIB_7220_RcvCtrl_PortEnable_RMASK 0x1FFFF
  899. #define QIB_7220_RcvBTHQP_OFFS 0x108
  900. #define QIB_7220_RcvBTHQP_Reserved_LSB 0x18
  901. #define QIB_7220_RcvBTHQP_Reserved_RMASK 0xFF
  902. #define QIB_7220_RcvBTHQP_RcvBTHQP_LSB 0x0
  903. #define QIB_7220_RcvBTHQP_RcvBTHQP_RMASK 0xFFFFFF
  904. #define QIB_7220_RcvHdrSize_OFFS 0x110
  905. #define QIB_7220_RcvHdrCnt_OFFS 0x118
  906. #define QIB_7220_RcvHdrEntSize_OFFS 0x120
  907. #define QIB_7220_RcvTIDBase_OFFS 0x128
  908. #define QIB_7220_RcvTIDCnt_OFFS 0x130
  909. #define QIB_7220_RcvEgrBase_OFFS 0x138
  910. #define QIB_7220_RcvEgrCnt_OFFS 0x140
  911. #define QIB_7220_RcvBufBase_OFFS 0x148
  912. #define QIB_7220_RcvBufSize_OFFS 0x150
  913. #define QIB_7220_RxIntMemBase_OFFS 0x158
  914. #define QIB_7220_RxIntMemSize_OFFS 0x160
  915. #define QIB_7220_RcvPartitionKey_OFFS 0x168
  916. #define QIB_7220_RcvQPMulticastPort_OFFS 0x170
  917. #define QIB_7220_RcvQPMulticastPort_Reserved_LSB 0x5
  918. #define QIB_7220_RcvQPMulticastPort_Reserved_RMASK 0x7FFFFFFFFFFFFFF
  919. #define QIB_7220_RcvQPMulticastPort_RcvQpMcPort_LSB 0x0
  920. #define QIB_7220_RcvQPMulticastPort_RcvQpMcPort_RMASK 0x1F
  921. #define QIB_7220_RcvPktLEDCnt_OFFS 0x178
  922. #define QIB_7220_RcvPktLEDCnt_ONperiod_LSB 0x20
  923. #define QIB_7220_RcvPktLEDCnt_ONperiod_RMASK 0xFFFFFFFF
  924. #define QIB_7220_RcvPktLEDCnt_OFFperiod_LSB 0x0
  925. #define QIB_7220_RcvPktLEDCnt_OFFperiod_RMASK 0xFFFFFFFF
  926. #define QIB_7220_IBCDDRCtrl_OFFS 0x180
  927. #define QIB_7220_IBCDDRCtrl_IB_DLID_MASK_LSB 0x30
  928. #define QIB_7220_IBCDDRCtrl_IB_DLID_MASK_RMASK 0xFFFF
  929. #define QIB_7220_IBCDDRCtrl_IB_DLID_LSB 0x20
  930. #define QIB_7220_IBCDDRCtrl_IB_DLID_RMASK 0xFFFF
  931. #define QIB_7220_IBCDDRCtrl_Reserved_LSB 0x1B
  932. #define QIB_7220_IBCDDRCtrl_Reserved_RMASK 0x1F
  933. #define QIB_7220_IBCDDRCtrl_HRTBT_REQ_LSB 0x1A
  934. #define QIB_7220_IBCDDRCtrl_HRTBT_REQ_RMASK 0x1
  935. #define QIB_7220_IBCDDRCtrl_HRTBT_PORT_LSB 0x12
  936. #define QIB_7220_IBCDDRCtrl_HRTBT_PORT_RMASK 0xFF
  937. #define QIB_7220_IBCDDRCtrl_HRTBT_AUTO_LSB 0x11
  938. #define QIB_7220_IBCDDRCtrl_HRTBT_AUTO_RMASK 0x1
  939. #define QIB_7220_IBCDDRCtrl_HRTBT_ENB_LSB 0x10
  940. #define QIB_7220_IBCDDRCtrl_HRTBT_ENB_RMASK 0x1
  941. #define QIB_7220_IBCDDRCtrl_SD_DDS_LSB 0xC
  942. #define QIB_7220_IBCDDRCtrl_SD_DDS_RMASK 0xF
  943. #define QIB_7220_IBCDDRCtrl_SD_DDSV_LSB 0xB
  944. #define QIB_7220_IBCDDRCtrl_SD_DDSV_RMASK 0x1
  945. #define QIB_7220_IBCDDRCtrl_SD_ADD_ENB_LSB 0xA
  946. #define QIB_7220_IBCDDRCtrl_SD_ADD_ENB_RMASK 0x1
  947. #define QIB_7220_IBCDDRCtrl_SD_RX_EQUAL_ENABLE_LSB 0x9
  948. #define QIB_7220_IBCDDRCtrl_SD_RX_EQUAL_ENABLE_RMASK 0x1
  949. #define QIB_7220_IBCDDRCtrl_IB_LANE_REV_SUPPORTED_LSB 0x8
  950. #define QIB_7220_IBCDDRCtrl_IB_LANE_REV_SUPPORTED_RMASK 0x1
  951. #define QIB_7220_IBCDDRCtrl_IB_POLARITY_REV_SUPP_LSB 0x7
  952. #define QIB_7220_IBCDDRCtrl_IB_POLARITY_REV_SUPP_RMASK 0x1
  953. #define QIB_7220_IBCDDRCtrl_IB_NUM_CHANNELS_LSB 0x5
  954. #define QIB_7220_IBCDDRCtrl_IB_NUM_CHANNELS_RMASK 0x3
  955. #define QIB_7220_IBCDDRCtrl_SD_SPEED_QDR_LSB 0x4
  956. #define QIB_7220_IBCDDRCtrl_SD_SPEED_QDR_RMASK 0x1
  957. #define QIB_7220_IBCDDRCtrl_SD_SPEED_DDR_LSB 0x3
  958. #define QIB_7220_IBCDDRCtrl_SD_SPEED_DDR_RMASK 0x1
  959. #define QIB_7220_IBCDDRCtrl_SD_SPEED_SDR_LSB 0x2
  960. #define QIB_7220_IBCDDRCtrl_SD_SPEED_SDR_RMASK 0x1
  961. #define QIB_7220_IBCDDRCtrl_SD_SPEED_LSB 0x1
  962. #define QIB_7220_IBCDDRCtrl_SD_SPEED_RMASK 0x1
  963. #define QIB_7220_IBCDDRCtrl_IB_ENHANCED_MODE_LSB 0x0
  964. #define QIB_7220_IBCDDRCtrl_IB_ENHANCED_MODE_RMASK 0x1
  965. #define QIB_7220_HRTBT_GUID_OFFS 0x188
  966. #define QIB_7220_IBCDDRCtrl2_OFFS 0x1A0
  967. #define QIB_7220_IBCDDRCtrl2_IB_BACK_PORCH_LSB 0x5
  968. #define QIB_7220_IBCDDRCtrl2_IB_BACK_PORCH_RMASK 0x1F
  969. #define QIB_7220_IBCDDRCtrl2_IB_FRONT_PORCH_LSB 0x0
  970. #define QIB_7220_IBCDDRCtrl2_IB_FRONT_PORCH_RMASK 0x1F
  971. #define QIB_7220_IBCDDRStatus_OFFS 0x1A8
  972. #define QIB_7220_IBCDDRStatus_heartbeat_timed_out_LSB 0x24
  973. #define QIB_7220_IBCDDRStatus_heartbeat_timed_out_RMASK 0x1
  974. #define QIB_7220_IBCDDRStatus_heartbeat_crosstalk_LSB 0x20
  975. #define QIB_7220_IBCDDRStatus_heartbeat_crosstalk_RMASK 0xF
  976. #define QIB_7220_IBCDDRStatus_RxEqLocalDevice_LSB 0x1E
  977. #define QIB_7220_IBCDDRStatus_RxEqLocalDevice_RMASK 0x3
  978. #define QIB_7220_IBCDDRStatus_ReqDDSLocalFromRmt_LSB 0x1A
  979. #define QIB_7220_IBCDDRStatus_ReqDDSLocalFromRmt_RMASK 0xF
  980. #define QIB_7220_IBCDDRStatus_LinkRoundTripLatency_LSB 0x0
  981. #define QIB_7220_IBCDDRStatus_LinkRoundTripLatency_RMASK 0x3FFFFFF
  982. #define QIB_7220_JIntReload_OFFS 0x1B0
  983. #define QIB_7220_JIntReload_J_limit_reload_LSB 0x10
  984. #define QIB_7220_JIntReload_J_limit_reload_RMASK 0xFFFF
  985. #define QIB_7220_JIntReload_J_reload_LSB 0x0
  986. #define QIB_7220_JIntReload_J_reload_RMASK 0xFFFF
  987. #define QIB_7220_IBNCModeCtrl_OFFS 0x1B8
  988. #define QIB_7220_IBNCModeCtrl_Reserved_LSB 0x1A
  989. #define QIB_7220_IBNCModeCtrl_Reserved_RMASK 0x3FFFFFFFFF
  990. #define QIB_7220_IBNCModeCtrl_TSMCode_TS2_LSB 0x11
  991. #define QIB_7220_IBNCModeCtrl_TSMCode_TS2_RMASK 0x1FF
  992. #define QIB_7220_IBNCModeCtrl_TSMCode_TS1_LSB 0x8
  993. #define QIB_7220_IBNCModeCtrl_TSMCode_TS1_RMASK 0x1FF
  994. #define QIB_7220_IBNCModeCtrl_Reserved1_LSB 0x3
  995. #define QIB_7220_IBNCModeCtrl_Reserved1_RMASK 0x1F
  996. #define QIB_7220_IBNCModeCtrl_TSMEnable_ignore_TSM_on_rx_LSB 0x2
  997. #define QIB_7220_IBNCModeCtrl_TSMEnable_ignore_TSM_on_rx_RMASK 0x1
  998. #define QIB_7220_IBNCModeCtrl_TSMEnable_send_TS2_LSB 0x1
  999. #define QIB_7220_IBNCModeCtrl_TSMEnable_send_TS2_RMASK 0x1
  1000. #define QIB_7220_IBNCModeCtrl_TSMEnable_send_TS1_LSB 0x0
  1001. #define QIB_7220_IBNCModeCtrl_TSMEnable_send_TS1_RMASK 0x1
  1002. #define QIB_7220_SendCtrl_OFFS 0x1C0
  1003. #define QIB_7220_SendCtrl_Disarm_LSB 0x1F
  1004. #define QIB_7220_SendCtrl_Disarm_RMASK 0x1
  1005. #define QIB_7220_SendCtrl_Reserved_LSB 0x1D
  1006. #define QIB_7220_SendCtrl_Reserved_RMASK 0x3
  1007. #define QIB_7220_SendCtrl_AvailUpdThld_LSB 0x18
  1008. #define QIB_7220_SendCtrl_AvailUpdThld_RMASK 0x1F
  1009. #define QIB_7220_SendCtrl_DisarmPIOBuf_LSB 0x10
  1010. #define QIB_7220_SendCtrl_DisarmPIOBuf_RMASK 0xFF
  1011. #define QIB_7220_SendCtrl_Reserved1_LSB 0xD
  1012. #define QIB_7220_SendCtrl_Reserved1_RMASK 0x7
  1013. #define QIB_7220_SendCtrl_SDmaHalt_LSB 0xC
  1014. #define QIB_7220_SendCtrl_SDmaHalt_RMASK 0x1
  1015. #define QIB_7220_SendCtrl_SDmaEnable_LSB 0xB
  1016. #define QIB_7220_SendCtrl_SDmaEnable_RMASK 0x1
  1017. #define QIB_7220_SendCtrl_SDmaSingleDescriptor_LSB 0xA
  1018. #define QIB_7220_SendCtrl_SDmaSingleDescriptor_RMASK 0x1
  1019. #define QIB_7220_SendCtrl_SDmaIntEnable_LSB 0x9
  1020. #define QIB_7220_SendCtrl_SDmaIntEnable_RMASK 0x1
  1021. #define QIB_7220_SendCtrl_Reserved2_LSB 0x5
  1022. #define QIB_7220_SendCtrl_Reserved2_RMASK 0xF
  1023. #define QIB_7220_SendCtrl_SSpecialTriggerEn_LSB 0x4
  1024. #define QIB_7220_SendCtrl_SSpecialTriggerEn_RMASK 0x1
  1025. #define QIB_7220_SendCtrl_SPioEnable_LSB 0x3
  1026. #define QIB_7220_SendCtrl_SPioEnable_RMASK 0x1
  1027. #define QIB_7220_SendCtrl_SendBufAvailUpd_LSB 0x2
  1028. #define QIB_7220_SendCtrl_SendBufAvailUpd_RMASK 0x1
  1029. #define QIB_7220_SendCtrl_SendIntBufAvail_LSB 0x1
  1030. #define QIB_7220_SendCtrl_SendIntBufAvail_RMASK 0x1
  1031. #define QIB_7220_SendCtrl_Abort_LSB 0x0
  1032. #define QIB_7220_SendCtrl_Abort_RMASK 0x1
  1033. #define QIB_7220_SendBufBase_OFFS 0x1C8
  1034. #define QIB_7220_SendBufBase_Reserved_LSB 0x35
  1035. #define QIB_7220_SendBufBase_Reserved_RMASK 0x7FF
  1036. #define QIB_7220_SendBufBase_BaseAddr_LargePIO_LSB 0x20
  1037. #define QIB_7220_SendBufBase_BaseAddr_LargePIO_RMASK 0x1FFFFF
  1038. #define QIB_7220_SendBufBase_Reserved1_LSB 0x15
  1039. #define QIB_7220_SendBufBase_Reserved1_RMASK 0x7FF
  1040. #define QIB_7220_SendBufBase_BaseAddr_SmallPIO_LSB 0x0
  1041. #define QIB_7220_SendBufBase_BaseAddr_SmallPIO_RMASK 0x1FFFFF
  1042. #define QIB_7220_SendBufSize_OFFS 0x1D0
  1043. #define QIB_7220_SendBufSize_Reserved_LSB 0x2D
  1044. #define QIB_7220_SendBufSize_Reserved_RMASK 0xFFFFF
  1045. #define QIB_7220_SendBufSize_Size_LargePIO_LSB 0x20
  1046. #define QIB_7220_SendBufSize_Size_LargePIO_RMASK 0x1FFF
  1047. #define QIB_7220_SendBufSize_Reserved1_LSB 0xC
  1048. #define QIB_7220_SendBufSize_Reserved1_RMASK 0xFFFFF
  1049. #define QIB_7220_SendBufSize_Size_SmallPIO_LSB 0x0
  1050. #define QIB_7220_SendBufSize_Size_SmallPIO_RMASK 0xFFF
  1051. #define QIB_7220_SendBufCnt_OFFS 0x1D8
  1052. #define QIB_7220_SendBufCnt_Reserved_LSB 0x24
  1053. #define QIB_7220_SendBufCnt_Reserved_RMASK 0xFFFFFFF
  1054. #define QIB_7220_SendBufCnt_Num_LargeBuffers_LSB 0x20
  1055. #define QIB_7220_SendBufCnt_Num_LargeBuffers_RMASK 0xF
  1056. #define QIB_7220_SendBufCnt_Reserved1_LSB 0x9
  1057. #define QIB_7220_SendBufCnt_Reserved1_RMASK 0x7FFFFF
  1058. #define QIB_7220_SendBufCnt_Num_SmallBuffers_LSB 0x0
  1059. #define QIB_7220_SendBufCnt_Num_SmallBuffers_RMASK 0x1FF
  1060. #define QIB_7220_SendBufAvailAddr_OFFS 0x1E0
  1061. #define QIB_7220_SendBufAvailAddr_SendBufAvailAddr_LSB 0x6
  1062. #define QIB_7220_SendBufAvailAddr_SendBufAvailAddr_RMASK 0x3FFFFFFFF
  1063. #define QIB_7220_SendBufAvailAddr_Reserved_LSB 0x0
  1064. #define QIB_7220_SendBufAvailAddr_Reserved_RMASK 0x3F
  1065. #define QIB_7220_TxIntMemBase_OFFS 0x1E8
  1066. #define QIB_7220_TxIntMemSize_OFFS 0x1F0
  1067. #define QIB_7220_SendDmaBase_OFFS 0x1F8
  1068. #define QIB_7220_SendDmaBase_Reserved_LSB 0x30
  1069. #define QIB_7220_SendDmaBase_Reserved_RMASK 0xFFFF
  1070. #define QIB_7220_SendDmaBase_SendDmaBase_LSB 0x0
  1071. #define QIB_7220_SendDmaBase_SendDmaBase_RMASK 0xFFFFFFFFFFFF
  1072. #define QIB_7220_SendDmaLenGen_OFFS 0x200
  1073. #define QIB_7220_SendDmaLenGen_Reserved_LSB 0x13
  1074. #define QIB_7220_SendDmaLenGen_Reserved_RMASK 0x1FFFFFFFFFFF
  1075. #define QIB_7220_SendDmaLenGen_Generation_LSB 0x10
  1076. #define QIB_7220_SendDmaLenGen_Generation_MSB 0x12
  1077. #define QIB_7220_SendDmaLenGen_Generation_RMASK 0x7
  1078. #define QIB_7220_SendDmaLenGen_Length_LSB 0x0
  1079. #define QIB_7220_SendDmaLenGen_Length_RMASK 0xFFFF
  1080. #define QIB_7220_SendDmaTail_OFFS 0x208
  1081. #define QIB_7220_SendDmaTail_Reserved_LSB 0x10
  1082. #define QIB_7220_SendDmaTail_Reserved_RMASK 0xFFFFFFFFFFFF
  1083. #define QIB_7220_SendDmaTail_SendDmaTail_LSB 0x0
  1084. #define QIB_7220_SendDmaTail_SendDmaTail_RMASK 0xFFFF
  1085. #define QIB_7220_SendDmaHead_OFFS 0x210
  1086. #define QIB_7220_SendDmaHead_Reserved_LSB 0x30
  1087. #define QIB_7220_SendDmaHead_Reserved_RMASK 0xFFFF
  1088. #define QIB_7220_SendDmaHead_InternalSendDmaHead_LSB 0x20
  1089. #define QIB_7220_SendDmaHead_InternalSendDmaHead_RMASK 0xFFFF
  1090. #define QIB_7220_SendDmaHead_Reserved1_LSB 0x10
  1091. #define QIB_7220_SendDmaHead_Reserved1_RMASK 0xFFFF
  1092. #define QIB_7220_SendDmaHead_SendDmaHead_LSB 0x0
  1093. #define QIB_7220_SendDmaHead_SendDmaHead_RMASK 0xFFFF
  1094. #define QIB_7220_SendDmaHeadAddr_OFFS 0x218
  1095. #define QIB_7220_SendDmaHeadAddr_Reserved_LSB 0x30
  1096. #define QIB_7220_SendDmaHeadAddr_Reserved_RMASK 0xFFFF
  1097. #define QIB_7220_SendDmaHeadAddr_SendDmaHeadAddr_LSB 0x0
  1098. #define QIB_7220_SendDmaHeadAddr_SendDmaHeadAddr_RMASK 0xFFFFFFFFFFFF
  1099. #define QIB_7220_SendDmaBufMask0_OFFS 0x220
  1100. #define QIB_7220_SendDmaBufMask0_BufMask_63_0_LSB 0x0
  1101. #define QIB_7220_SendDmaBufMask0_BufMask_63_0_RMASK 0x0
  1102. #define QIB_7220_SendDmaStatus_OFFS 0x238
  1103. #define QIB_7220_SendDmaStatus_ScoreBoardDrainInProg_LSB 0x3F
  1104. #define QIB_7220_SendDmaStatus_ScoreBoardDrainInProg_RMASK 0x1
  1105. #define QIB_7220_SendDmaStatus_AbortInProg_LSB 0x3E
  1106. #define QIB_7220_SendDmaStatus_AbortInProg_RMASK 0x1
  1107. #define QIB_7220_SendDmaStatus_InternalSDmaEnable_LSB 0x3D
  1108. #define QIB_7220_SendDmaStatus_InternalSDmaEnable_RMASK 0x1
  1109. #define QIB_7220_SendDmaStatus_ScbDescIndex_13_0_LSB 0x2F
  1110. #define QIB_7220_SendDmaStatus_ScbDescIndex_13_0_RMASK 0x3FFF
  1111. #define QIB_7220_SendDmaStatus_RpyLowAddr_6_0_LSB 0x28
  1112. #define QIB_7220_SendDmaStatus_RpyLowAddr_6_0_RMASK 0x7F
  1113. #define QIB_7220_SendDmaStatus_RpyTag_7_0_LSB 0x20
  1114. #define QIB_7220_SendDmaStatus_RpyTag_7_0_RMASK 0xFF
  1115. #define QIB_7220_SendDmaStatus_ScbFull_LSB 0x1F
  1116. #define QIB_7220_SendDmaStatus_ScbFull_RMASK 0x1
  1117. #define QIB_7220_SendDmaStatus_ScbEmpty_LSB 0x1E
  1118. #define QIB_7220_SendDmaStatus_ScbEmpty_RMASK 0x1
  1119. #define QIB_7220_SendDmaStatus_ScbEntryValid_LSB 0x1D
  1120. #define QIB_7220_SendDmaStatus_ScbEntryValid_RMASK 0x1
  1121. #define QIB_7220_SendDmaStatus_ScbFetchDescFlag_LSB 0x1C
  1122. #define QIB_7220_SendDmaStatus_ScbFetchDescFlag_RMASK 0x1
  1123. #define QIB_7220_SendDmaStatus_SplFifoReadyToGo_LSB 0x1B
  1124. #define QIB_7220_SendDmaStatus_SplFifoReadyToGo_RMASK 0x1
  1125. #define QIB_7220_SendDmaStatus_SplFifoDisarmed_LSB 0x1A
  1126. #define QIB_7220_SendDmaStatus_SplFifoDisarmed_RMASK 0x1
  1127. #define QIB_7220_SendDmaStatus_SplFifoEmpty_LSB 0x19
  1128. #define QIB_7220_SendDmaStatus_SplFifoEmpty_RMASK 0x1
  1129. #define QIB_7220_SendDmaStatus_SplFifoFull_LSB 0x18
  1130. #define QIB_7220_SendDmaStatus_SplFifoFull_RMASK 0x1
  1131. #define QIB_7220_SendDmaStatus_SplFifoBufNum_LSB 0x10
  1132. #define QIB_7220_SendDmaStatus_SplFifoBufNum_RMASK 0xFF
  1133. #define QIB_7220_SendDmaStatus_SplFifoDescIndex_LSB 0x0
  1134. #define QIB_7220_SendDmaStatus_SplFifoDescIndex_RMASK 0xFFFF
  1135. #define QIB_7220_SendBufErr0_OFFS 0x240
  1136. #define QIB_7220_SendBufErr0_SendBufErr_63_0_LSB 0x0
  1137. #define QIB_7220_SendBufErr0_SendBufErr_63_0_RMASK 0x0
  1138. #define QIB_7220_RcvHdrAddr0_OFFS 0x270
  1139. #define QIB_7220_RcvHdrAddr0_RcvHdrAddr0_LSB 0x2
  1140. #define QIB_7220_RcvHdrAddr0_RcvHdrAddr0_RMASK 0x3FFFFFFFFF
  1141. #define QIB_7220_RcvHdrAddr0_Reserved_LSB 0x0
  1142. #define QIB_7220_RcvHdrAddr0_Reserved_RMASK 0x3
  1143. #define QIB_7220_RcvHdrTailAddr0_OFFS 0x300
  1144. #define QIB_7220_RcvHdrTailAddr0_RcvHdrTailAddr0_LSB 0x2
  1145. #define QIB_7220_RcvHdrTailAddr0_RcvHdrTailAddr0_RMASK 0x3FFFFFFFFF
  1146. #define QIB_7220_RcvHdrTailAddr0_Reserved_LSB 0x0
  1147. #define QIB_7220_RcvHdrTailAddr0_Reserved_RMASK 0x3
  1148. #define QIB_7220_ibsd_epb_access_ctrl_OFFS 0x3C0
  1149. #define QIB_7220_ibsd_epb_access_ctrl_sw_ib_epb_req_granted_LSB 0x8
  1150. #define QIB_7220_ibsd_epb_access_ctrl_sw_ib_epb_req_granted_RMASK 0x1
  1151. #define QIB_7220_ibsd_epb_access_ctrl_Reserved_LSB 0x1
  1152. #define QIB_7220_ibsd_epb_access_ctrl_Reserved_RMASK 0x7F
  1153. #define QIB_7220_ibsd_epb_access_ctrl_sw_ib_epb_req_LSB 0x0
  1154. #define QIB_7220_ibsd_epb_access_ctrl_sw_ib_epb_req_RMASK 0x1
  1155. #define QIB_7220_ibsd_epb_transaction_reg_OFFS 0x3C8
  1156. #define QIB_7220_ibsd_epb_transaction_reg_ib_epb_rdy_LSB 0x1F
  1157. #define QIB_7220_ibsd_epb_transaction_reg_ib_epb_rdy_RMASK 0x1
  1158. #define QIB_7220_ibsd_epb_transaction_reg_ib_epb_req_error_LSB 0x1E
  1159. #define QIB_7220_ibsd_epb_transaction_reg_ib_epb_req_error_RMASK 0x1
  1160. #define QIB_7220_ibsd_epb_transaction_reg_Reserved_LSB 0x1D
  1161. #define QIB_7220_ibsd_epb_transaction_reg_Reserved_RMASK 0x1
  1162. #define QIB_7220_ibsd_epb_transaction_reg_mem_data_parity_LSB 0x1C
  1163. #define QIB_7220_ibsd_epb_transaction_reg_mem_data_parity_RMASK 0x1
  1164. #define QIB_7220_ibsd_epb_transaction_reg_Reserved1_LSB 0x1B
  1165. #define QIB_7220_ibsd_epb_transaction_reg_Reserved1_RMASK 0x1
  1166. #define QIB_7220_ibsd_epb_transaction_reg_ib_epb_cs_LSB 0x19
  1167. #define QIB_7220_ibsd_epb_transaction_reg_ib_epb_cs_RMASK 0x3
  1168. #define QIB_7220_ibsd_epb_transaction_reg_ib_epb_read_write_LSB 0x18
  1169. #define QIB_7220_ibsd_epb_transaction_reg_ib_epb_read_write_RMASK 0x1
  1170. #define QIB_7220_ibsd_epb_transaction_reg_Reserved2_LSB 0x17
  1171. #define QIB_7220_ibsd_epb_transaction_reg_Reserved2_RMASK 0x1
  1172. #define QIB_7220_ibsd_epb_transaction_reg_ib_epb_address_LSB 0x8
  1173. #define QIB_7220_ibsd_epb_transaction_reg_ib_epb_address_RMASK 0x7FFF
  1174. #define QIB_7220_ibsd_epb_transaction_reg_ib_epb_data_LSB 0x0
  1175. #define QIB_7220_ibsd_epb_transaction_reg_ib_epb_data_RMASK 0xFF
  1176. #define QIB_7220_XGXSCfg_OFFS 0x3D8
  1177. #define QIB_7220_XGXSCfg_sel_link_down_for_fctrl_lane_sync_reset_LSB 0x3F
  1178. #define QIB_7220_XGXSCfg_sel_link_down_for_fctrl_lane_sync_reset_RMASK 0x1
  1179. #define QIB_7220_XGXSCfg_Reserved_LSB 0x13
  1180. #define QIB_7220_XGXSCfg_Reserved_RMASK 0xFFFFFFFFFFF
  1181. #define QIB_7220_XGXSCfg_link_sync_mask_LSB 0x9
  1182. #define QIB_7220_XGXSCfg_link_sync_mask_RMASK 0x3FF
  1183. #define QIB_7220_XGXSCfg_Reserved1_LSB 0x3
  1184. #define QIB_7220_XGXSCfg_Reserved1_RMASK 0x3F
  1185. #define QIB_7220_XGXSCfg_xcv_reset_LSB 0x2
  1186. #define QIB_7220_XGXSCfg_xcv_reset_RMASK 0x1
  1187. #define QIB_7220_XGXSCfg_Reserved2_LSB 0x1
  1188. #define QIB_7220_XGXSCfg_Reserved2_RMASK 0x1
  1189. #define QIB_7220_XGXSCfg_tx_rx_reset_LSB 0x0
  1190. #define QIB_7220_XGXSCfg_tx_rx_reset_RMASK 0x1
  1191. #define QIB_7220_IBSerDesCtrl_OFFS 0x3E0
  1192. #define QIB_7220_IBSerDesCtrl_Reserved_LSB 0x2D
  1193. #define QIB_7220_IBSerDesCtrl_Reserved_RMASK 0x7FFFF
  1194. #define QIB_7220_IBSerDesCtrl_INT_uC_LSB 0x2C
  1195. #define QIB_7220_IBSerDesCtrl_INT_uC_RMASK 0x1
  1196. #define QIB_7220_IBSerDesCtrl_CKSEL_uC_LSB 0x2A
  1197. #define QIB_7220_IBSerDesCtrl_CKSEL_uC_RMASK 0x3
  1198. #define QIB_7220_IBSerDesCtrl_PLLN_LSB 0x28
  1199. #define QIB_7220_IBSerDesCtrl_PLLN_RMASK 0x3
  1200. #define QIB_7220_IBSerDesCtrl_PLLM_LSB 0x25
  1201. #define QIB_7220_IBSerDesCtrl_PLLM_RMASK 0x7
  1202. #define QIB_7220_IBSerDesCtrl_TXOBPD_LSB 0x24
  1203. #define QIB_7220_IBSerDesCtrl_TXOBPD_RMASK 0x1
  1204. #define QIB_7220_IBSerDesCtrl_TWC_LSB 0x23
  1205. #define QIB_7220_IBSerDesCtrl_TWC_RMASK 0x1
  1206. #define QIB_7220_IBSerDesCtrl_RXIDLE_LSB 0x22
  1207. #define QIB_7220_IBSerDesCtrl_RXIDLE_RMASK 0x1
  1208. #define QIB_7220_IBSerDesCtrl_RXINV_LSB 0x21
  1209. #define QIB_7220_IBSerDesCtrl_RXINV_RMASK 0x1
  1210. #define QIB_7220_IBSerDesCtrl_TXINV_LSB 0x20
  1211. #define QIB_7220_IBSerDesCtrl_TXINV_RMASK 0x1
  1212. #define QIB_7220_IBSerDesCtrl_Reserved1_LSB 0x12
  1213. #define QIB_7220_IBSerDesCtrl_Reserved1_RMASK 0x3FFF
  1214. #define QIB_7220_IBSerDesCtrl_NumSerDesRegsToWrForRXEQ_LSB 0xD
  1215. #define QIB_7220_IBSerDesCtrl_NumSerDesRegsToWrForRXEQ_RMASK 0x1F
  1216. #define QIB_7220_IBSerDesCtrl_NumSerDesRegsToWrForDDS_LSB 0x8
  1217. #define QIB_7220_IBSerDesCtrl_NumSerDesRegsToWrForDDS_RMASK 0x1F
  1218. #define QIB_7220_IBSerDesCtrl_Reserved2_LSB 0x1
  1219. #define QIB_7220_IBSerDesCtrl_Reserved2_RMASK 0x7F
  1220. #define QIB_7220_IBSerDesCtrl_ResetIB_uC_Core_LSB 0x0
  1221. #define QIB_7220_IBSerDesCtrl_ResetIB_uC_Core_RMASK 0x1
  1222. #define QIB_7220_pciesd_epb_access_ctrl_OFFS 0x400
  1223. #define QIB_7220_pciesd_epb_access_ctrl_sw_pcie_epb_req_granted_LSB 0x8
  1224. #define QIB_7220_pciesd_epb_access_ctrl_sw_pcie_epb_req_granted_RMASK 0x1
  1225. #define QIB_7220_pciesd_epb_access_ctrl_Reserved_LSB 0x3
  1226. #define QIB_7220_pciesd_epb_access_ctrl_Reserved_RMASK 0x1F
  1227. #define QIB_7220_pciesd_epb_access_ctrl_sw_pcieepb_star_en_LSB 0x1
  1228. #define QIB_7220_pciesd_epb_access_ctrl_sw_pcieepb_star_en_RMASK 0x3
  1229. #define QIB_7220_pciesd_epb_access_ctrl_sw_pcie_epb_req_LSB 0x0
  1230. #define QIB_7220_pciesd_epb_access_ctrl_sw_pcie_epb_req_RMASK 0x1
  1231. #define QIB_7220_pciesd_epb_transaction_reg_OFFS 0x408
  1232. #define QIB_7220_pciesd_epb_transaction_reg_pcie_epb_rdy_LSB 0x1F
  1233. #define QIB_7220_pciesd_epb_transaction_reg_pcie_epb_rdy_RMASK 0x1
  1234. #define QIB_7220_pciesd_epb_transaction_reg_pcie_epb_req_error_LSB 0x1E
  1235. #define QIB_7220_pciesd_epb_transaction_reg_pcie_epb_req_error_RMASK 0x1
  1236. #define QIB_7220_pciesd_epb_transaction_reg_Reserved_LSB 0x1D
  1237. #define QIB_7220_pciesd_epb_transaction_reg_Reserved_RMASK 0x1
  1238. #define QIB_7220_pciesd_epb_transaction_reg_mem_data_parity_LSB 0x1C
  1239. #define QIB_7220_pciesd_epb_transaction_reg_mem_data_parity_RMASK 0x1
  1240. #define QIB_7220_pciesd_epb_transaction_reg_pcie_epb_cs_LSB 0x19
  1241. #define QIB_7220_pciesd_epb_transaction_reg_pcie_epb_cs_RMASK 0x7
  1242. #define QIB_7220_pciesd_epb_transaction_reg_pcie_epb_read_write_LSB 0x18
  1243. #define QIB_7220_pciesd_epb_transaction_reg_pcie_epb_read_write_RMASK 0x1
  1244. #define QIB_7220_pciesd_epb_transaction_reg_Reserved1_LSB 0x17
  1245. #define QIB_7220_pciesd_epb_transaction_reg_Reserved1_RMASK 0x1
  1246. #define QIB_7220_pciesd_epb_transaction_reg_pcie_epb_address_LSB 0x8
  1247. #define QIB_7220_pciesd_epb_transaction_reg_pcie_epb_address_RMASK 0x7FFF
  1248. #define QIB_7220_pciesd_epb_transaction_reg_pcie_epb_data_LSB 0x0
  1249. #define QIB_7220_pciesd_epb_transaction_reg_pcie_epb_data_RMASK 0xFF
  1250. #define QIB_7220_SerDes_DDSRXEQ0_OFFS 0x500
  1251. #define QIB_7220_SerDes_DDSRXEQ0_reg_addr_LSB 0x4
  1252. #define QIB_7220_SerDes_DDSRXEQ0_reg_addr_RMASK 0x3F
  1253. #define QIB_7220_SerDes_DDSRXEQ0_element_num_LSB 0x0
  1254. #define QIB_7220_SerDes_DDSRXEQ0_element_num_RMASK 0xF
  1255. #define QIB_7220_LBIntCnt_OFFS 0x13000
  1256. #define QIB_7220_LBFlowStallCnt_OFFS 0x13008
  1257. #define QIB_7220_TxSDmaDescCnt_OFFS 0x13010
  1258. #define QIB_7220_TxUnsupVLErrCnt_OFFS 0x13018
  1259. #define QIB_7220_TxDataPktCnt_OFFS 0x13020
  1260. #define QIB_7220_TxFlowPktCnt_OFFS 0x13028
  1261. #define QIB_7220_TxDwordCnt_OFFS 0x13030
  1262. #define QIB_7220_TxLenErrCnt_OFFS 0x13038
  1263. #define QIB_7220_TxMaxMinLenErrCnt_OFFS 0x13040
  1264. #define QIB_7220_TxUnderrunCnt_OFFS 0x13048
  1265. #define QIB_7220_TxFlowStallCnt_OFFS 0x13050
  1266. #define QIB_7220_TxDroppedPktCnt_OFFS 0x13058
  1267. #define QIB_7220_RxDroppedPktCnt_OFFS 0x13060
  1268. #define QIB_7220_RxDataPktCnt_OFFS 0x13068
  1269. #define QIB_7220_RxFlowPktCnt_OFFS 0x13070
  1270. #define QIB_7220_RxDwordCnt_OFFS 0x13078
  1271. #define QIB_7220_RxLenErrCnt_OFFS 0x13080
  1272. #define QIB_7220_RxMaxMinLenErrCnt_OFFS 0x13088
  1273. #define QIB_7220_RxICRCErrCnt_OFFS 0x13090
  1274. #define QIB_7220_RxVCRCErrCnt_OFFS 0x13098
  1275. #define QIB_7220_RxFlowCtrlViolCnt_OFFS 0x130A0
  1276. #define QIB_7220_RxVersionErrCnt_OFFS 0x130A8
  1277. #define QIB_7220_RxLinkMalformCnt_OFFS 0x130B0
  1278. #define QIB_7220_RxEBPCnt_OFFS 0x130B8
  1279. #define QIB_7220_RxLPCRCErrCnt_OFFS 0x130C0
  1280. #define QIB_7220_RxBufOvflCnt_OFFS 0x130C8
  1281. #define QIB_7220_RxTIDFullErrCnt_OFFS 0x130D0
  1282. #define QIB_7220_RxTIDValidErrCnt_OFFS 0x130D8
  1283. #define QIB_7220_RxPKeyMismatchCnt_OFFS 0x130E0
  1284. #define QIB_7220_RxP0HdrEgrOvflCnt_OFFS 0x130E8
  1285. #define QIB_7220_IBStatusChangeCnt_OFFS 0x13170
  1286. #define QIB_7220_IBLinkErrRecoveryCnt_OFFS 0x13178
  1287. #define QIB_7220_IBLinkDownedCnt_OFFS 0x13180
  1288. #define QIB_7220_IBSymbolErrCnt_OFFS 0x13188
  1289. #define QIB_7220_RxVL15DroppedPktCnt_OFFS 0x13190
  1290. #define QIB_7220_RxOtherLocalPhyErrCnt_OFFS 0x13198
  1291. #define QIB_7220_PcieRetryBufDiagQwordCnt_OFFS 0x131A0
  1292. #define QIB_7220_ExcessBufferOvflCnt_OFFS 0x131A8
  1293. #define QIB_7220_LocalLinkIntegrityErrCnt_OFFS 0x131B0
  1294. #define QIB_7220_RxVlErrCnt_OFFS 0x131B8
  1295. #define QIB_7220_RxDlidFltrCnt_OFFS 0x131C0
  1296. #define QIB_7220_CNT_0131C8_OFFS 0x131C8
  1297. #define QIB_7220_PSStat_OFFS 0x13200
  1298. #define QIB_7220_PSStart_OFFS 0x13208
  1299. #define QIB_7220_PSInterval_OFFS 0x13210
  1300. #define QIB_7220_PSRcvDataCount_OFFS 0x13218
  1301. #define QIB_7220_PSRcvPktsCount_OFFS 0x13220
  1302. #define QIB_7220_PSXmitDataCount_OFFS 0x13228
  1303. #define QIB_7220_PSXmitPktsCount_OFFS 0x13230
  1304. #define QIB_7220_PSXmitWaitCount_OFFS 0x13238
  1305. #define QIB_7220_CNT_013240_OFFS 0x13240
  1306. #define QIB_7220_RcvEgrArray_OFFS 0x14000
  1307. #define QIB_7220_MEM_038000_OFFS 0x38000
  1308. #define QIB_7220_RcvTIDArray0_OFFS 0x53000
  1309. #define QIB_7220_PIOLaunchFIFO_OFFS 0x64000
  1310. #define QIB_7220_MEM_064480_OFFS 0x64480
  1311. #define QIB_7220_SendPIOpbcCache_OFFS 0x64800
  1312. #define QIB_7220_MEM_064C80_OFFS 0x64C80
  1313. #define QIB_7220_PreLaunchFIFO_OFFS 0x65000
  1314. #define QIB_7220_MEM_065080_OFFS 0x65080
  1315. #define QIB_7220_ScoreBoard_OFFS 0x65400
  1316. #define QIB_7220_MEM_065440_OFFS 0x65440
  1317. #define QIB_7220_DescriptorFIFO_OFFS 0x65800
  1318. #define QIB_7220_MEM_065880_OFFS 0x65880
  1319. #define QIB_7220_RcvBuf1_OFFS 0x72000
  1320. #define QIB_7220_MEM_074800_OFFS 0x74800
  1321. #define QIB_7220_RcvBuf2_OFFS 0x75000
  1322. #define QIB_7220_MEM_076400_OFFS 0x76400
  1323. #define QIB_7220_RcvFlags_OFFS 0x77000
  1324. #define QIB_7220_MEM_078400_OFFS 0x78400
  1325. #define QIB_7220_RcvLookupBuf1_OFFS 0x79000
  1326. #define QIB_7220_MEM_07A400_OFFS 0x7A400
  1327. #define QIB_7220_RcvDMADatBuf_OFFS 0x7B000
  1328. #define QIB_7220_RcvDMAHdrBuf_OFFS 0x7B800
  1329. #define QIB_7220_MiscRXEIntMem_OFFS 0x7C000
  1330. #define QIB_7220_MEM_07D400_OFFS 0x7D400
  1331. #define QIB_7220_PCIERcvBuf_OFFS 0x80000
  1332. #define QIB_7220_PCIERetryBuf_OFFS 0x84000
  1333. #define QIB_7220_PCIERcvBufRdToWrAddr_OFFS 0x88000
  1334. #define QIB_7220_PCIECplBuf_OFFS 0x90000
  1335. #define QIB_7220_IBSerDesMappTable_OFFS 0x94000
  1336. #define QIB_7220_MEM_095000_OFFS 0x95000
  1337. #define QIB_7220_SendBuf0_MA_OFFS 0x100000
  1338. #define QIB_7220_MEM_1A0000_OFFS 0x1A0000