cvmx-iob-defs.h 36 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279
  1. /***********************license start***************
  2. * Author: Cavium Networks
  3. *
  4. * Contact: support@caviumnetworks.com
  5. * This file is part of the OCTEON SDK
  6. *
  7. * Copyright (c) 2003-2012 Cavium Networks
  8. *
  9. * This file is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License, Version 2, as
  11. * published by the Free Software Foundation.
  12. *
  13. * This file is distributed in the hope that it will be useful, but
  14. * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
  15. * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or
  16. * NONINFRINGEMENT. See the GNU General Public License for more
  17. * details.
  18. *
  19. * You should have received a copy of the GNU General Public License
  20. * along with this file; if not, write to the Free Software
  21. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  22. * or visit http://www.gnu.org/licenses/.
  23. *
  24. * This file may also be available under a different license from Cavium.
  25. * Contact Cavium Networks for more information
  26. ***********************license end**************************************/
  27. #ifndef __CVMX_IOB_DEFS_H__
  28. #define __CVMX_IOB_DEFS_H__
  29. #define CVMX_IOB_BIST_STATUS (CVMX_ADD_IO_SEG(0x00011800F00007F8ull))
  30. #define CVMX_IOB_CTL_STATUS (CVMX_ADD_IO_SEG(0x00011800F0000050ull))
  31. #define CVMX_IOB_DWB_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000028ull))
  32. #define CVMX_IOB_FAU_TIMEOUT (CVMX_ADD_IO_SEG(0x00011800F0000000ull))
  33. #define CVMX_IOB_I2C_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000010ull))
  34. #define CVMX_IOB_INB_CONTROL_MATCH (CVMX_ADD_IO_SEG(0x00011800F0000078ull))
  35. #define CVMX_IOB_INB_CONTROL_MATCH_ENB (CVMX_ADD_IO_SEG(0x00011800F0000088ull))
  36. #define CVMX_IOB_INB_DATA_MATCH (CVMX_ADD_IO_SEG(0x00011800F0000070ull))
  37. #define CVMX_IOB_INB_DATA_MATCH_ENB (CVMX_ADD_IO_SEG(0x00011800F0000080ull))
  38. #define CVMX_IOB_INT_ENB (CVMX_ADD_IO_SEG(0x00011800F0000060ull))
  39. #define CVMX_IOB_INT_SUM (CVMX_ADD_IO_SEG(0x00011800F0000058ull))
  40. #define CVMX_IOB_N2C_L2C_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000020ull))
  41. #define CVMX_IOB_N2C_RSP_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000008ull))
  42. #define CVMX_IOB_OUTB_COM_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000040ull))
  43. #define CVMX_IOB_OUTB_CONTROL_MATCH (CVMX_ADD_IO_SEG(0x00011800F0000098ull))
  44. #define CVMX_IOB_OUTB_CONTROL_MATCH_ENB (CVMX_ADD_IO_SEG(0x00011800F00000A8ull))
  45. #define CVMX_IOB_OUTB_DATA_MATCH (CVMX_ADD_IO_SEG(0x00011800F0000090ull))
  46. #define CVMX_IOB_OUTB_DATA_MATCH_ENB (CVMX_ADD_IO_SEG(0x00011800F00000A0ull))
  47. #define CVMX_IOB_OUTB_FPA_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000048ull))
  48. #define CVMX_IOB_OUTB_REQ_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000038ull))
  49. #define CVMX_IOB_P2C_REQ_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000018ull))
  50. #define CVMX_IOB_PKT_ERR (CVMX_ADD_IO_SEG(0x00011800F0000068ull))
  51. #define CVMX_IOB_TO_CMB_CREDITS (CVMX_ADD_IO_SEG(0x00011800F00000B0ull))
  52. #define CVMX_IOB_TO_NCB_DID_00_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000800ull))
  53. #define CVMX_IOB_TO_NCB_DID_111_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000B78ull))
  54. #define CVMX_IOB_TO_NCB_DID_223_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000EF8ull))
  55. #define CVMX_IOB_TO_NCB_DID_24_CREDITS (CVMX_ADD_IO_SEG(0x00011800F00008C0ull))
  56. #define CVMX_IOB_TO_NCB_DID_32_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000900ull))
  57. #define CVMX_IOB_TO_NCB_DID_40_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000940ull))
  58. #define CVMX_IOB_TO_NCB_DID_55_CREDITS (CVMX_ADD_IO_SEG(0x00011800F00009B8ull))
  59. #define CVMX_IOB_TO_NCB_DID_64_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000A00ull))
  60. #define CVMX_IOB_TO_NCB_DID_79_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000A78ull))
  61. #define CVMX_IOB_TO_NCB_DID_96_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000B00ull))
  62. #define CVMX_IOB_TO_NCB_DID_98_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000B10ull))
  63. union cvmx_iob_bist_status {
  64. uint64_t u64;
  65. struct cvmx_iob_bist_status_s {
  66. #ifdef __BIG_ENDIAN_BITFIELD
  67. uint64_t reserved_2_63:62;
  68. uint64_t ibd:1;
  69. uint64_t icd:1;
  70. #else
  71. uint64_t icd:1;
  72. uint64_t ibd:1;
  73. uint64_t reserved_2_63:62;
  74. #endif
  75. } s;
  76. struct cvmx_iob_bist_status_cn30xx {
  77. #ifdef __BIG_ENDIAN_BITFIELD
  78. uint64_t reserved_18_63:46;
  79. uint64_t icnrcb:1;
  80. uint64_t icr0:1;
  81. uint64_t icr1:1;
  82. uint64_t icnr1:1;
  83. uint64_t icnr0:1;
  84. uint64_t ibdr0:1;
  85. uint64_t ibdr1:1;
  86. uint64_t ibr0:1;
  87. uint64_t ibr1:1;
  88. uint64_t icnrt:1;
  89. uint64_t ibrq0:1;
  90. uint64_t ibrq1:1;
  91. uint64_t icrn0:1;
  92. uint64_t icrn1:1;
  93. uint64_t icrp0:1;
  94. uint64_t icrp1:1;
  95. uint64_t ibd:1;
  96. uint64_t icd:1;
  97. #else
  98. uint64_t icd:1;
  99. uint64_t ibd:1;
  100. uint64_t icrp1:1;
  101. uint64_t icrp0:1;
  102. uint64_t icrn1:1;
  103. uint64_t icrn0:1;
  104. uint64_t ibrq1:1;
  105. uint64_t ibrq0:1;
  106. uint64_t icnrt:1;
  107. uint64_t ibr1:1;
  108. uint64_t ibr0:1;
  109. uint64_t ibdr1:1;
  110. uint64_t ibdr0:1;
  111. uint64_t icnr0:1;
  112. uint64_t icnr1:1;
  113. uint64_t icr1:1;
  114. uint64_t icr0:1;
  115. uint64_t icnrcb:1;
  116. uint64_t reserved_18_63:46;
  117. #endif
  118. } cn30xx;
  119. struct cvmx_iob_bist_status_cn30xx cn31xx;
  120. struct cvmx_iob_bist_status_cn30xx cn38xx;
  121. struct cvmx_iob_bist_status_cn30xx cn38xxp2;
  122. struct cvmx_iob_bist_status_cn30xx cn50xx;
  123. struct cvmx_iob_bist_status_cn30xx cn52xx;
  124. struct cvmx_iob_bist_status_cn30xx cn52xxp1;
  125. struct cvmx_iob_bist_status_cn30xx cn56xx;
  126. struct cvmx_iob_bist_status_cn30xx cn56xxp1;
  127. struct cvmx_iob_bist_status_cn30xx cn58xx;
  128. struct cvmx_iob_bist_status_cn30xx cn58xxp1;
  129. struct cvmx_iob_bist_status_cn61xx {
  130. #ifdef __BIG_ENDIAN_BITFIELD
  131. uint64_t reserved_23_63:41;
  132. uint64_t xmdfif:1;
  133. uint64_t xmcfif:1;
  134. uint64_t iorfif:1;
  135. uint64_t rsdfif:1;
  136. uint64_t iocfif:1;
  137. uint64_t icnrcb:1;
  138. uint64_t icr0:1;
  139. uint64_t icr1:1;
  140. uint64_t icnr1:1;
  141. uint64_t icnr0:1;
  142. uint64_t ibdr0:1;
  143. uint64_t ibdr1:1;
  144. uint64_t ibr0:1;
  145. uint64_t ibr1:1;
  146. uint64_t icnrt:1;
  147. uint64_t ibrq0:1;
  148. uint64_t ibrq1:1;
  149. uint64_t icrn0:1;
  150. uint64_t icrn1:1;
  151. uint64_t icrp0:1;
  152. uint64_t icrp1:1;
  153. uint64_t ibd:1;
  154. uint64_t icd:1;
  155. #else
  156. uint64_t icd:1;
  157. uint64_t ibd:1;
  158. uint64_t icrp1:1;
  159. uint64_t icrp0:1;
  160. uint64_t icrn1:1;
  161. uint64_t icrn0:1;
  162. uint64_t ibrq1:1;
  163. uint64_t ibrq0:1;
  164. uint64_t icnrt:1;
  165. uint64_t ibr1:1;
  166. uint64_t ibr0:1;
  167. uint64_t ibdr1:1;
  168. uint64_t ibdr0:1;
  169. uint64_t icnr0:1;
  170. uint64_t icnr1:1;
  171. uint64_t icr1:1;
  172. uint64_t icr0:1;
  173. uint64_t icnrcb:1;
  174. uint64_t iocfif:1;
  175. uint64_t rsdfif:1;
  176. uint64_t iorfif:1;
  177. uint64_t xmcfif:1;
  178. uint64_t xmdfif:1;
  179. uint64_t reserved_23_63:41;
  180. #endif
  181. } cn61xx;
  182. struct cvmx_iob_bist_status_cn61xx cn63xx;
  183. struct cvmx_iob_bist_status_cn61xx cn63xxp1;
  184. struct cvmx_iob_bist_status_cn61xx cn66xx;
  185. struct cvmx_iob_bist_status_cn68xx {
  186. #ifdef __BIG_ENDIAN_BITFIELD
  187. uint64_t reserved_18_63:46;
  188. uint64_t xmdfif:1;
  189. uint64_t xmcfif:1;
  190. uint64_t iorfif:1;
  191. uint64_t rsdfif:1;
  192. uint64_t iocfif:1;
  193. uint64_t icnrcb:1;
  194. uint64_t icr0:1;
  195. uint64_t icr1:1;
  196. uint64_t icnr0:1;
  197. uint64_t ibr0:1;
  198. uint64_t ibr1:1;
  199. uint64_t icnrt:1;
  200. uint64_t ibrq0:1;
  201. uint64_t ibrq1:1;
  202. uint64_t icrn0:1;
  203. uint64_t icrn1:1;
  204. uint64_t ibd:1;
  205. uint64_t icd:1;
  206. #else
  207. uint64_t icd:1;
  208. uint64_t ibd:1;
  209. uint64_t icrn1:1;
  210. uint64_t icrn0:1;
  211. uint64_t ibrq1:1;
  212. uint64_t ibrq0:1;
  213. uint64_t icnrt:1;
  214. uint64_t ibr1:1;
  215. uint64_t ibr0:1;
  216. uint64_t icnr0:1;
  217. uint64_t icr1:1;
  218. uint64_t icr0:1;
  219. uint64_t icnrcb:1;
  220. uint64_t iocfif:1;
  221. uint64_t rsdfif:1;
  222. uint64_t iorfif:1;
  223. uint64_t xmcfif:1;
  224. uint64_t xmdfif:1;
  225. uint64_t reserved_18_63:46;
  226. #endif
  227. } cn68xx;
  228. struct cvmx_iob_bist_status_cn68xx cn68xxp1;
  229. struct cvmx_iob_bist_status_cn61xx cnf71xx;
  230. };
  231. union cvmx_iob_ctl_status {
  232. uint64_t u64;
  233. struct cvmx_iob_ctl_status_s {
  234. #ifdef __BIG_ENDIAN_BITFIELD
  235. uint64_t reserved_11_63:53;
  236. uint64_t fif_dly:1;
  237. uint64_t xmc_per:4;
  238. uint64_t reserved_5_5:1;
  239. uint64_t outb_mat:1;
  240. uint64_t inb_mat:1;
  241. uint64_t pko_enb:1;
  242. uint64_t dwb_enb:1;
  243. uint64_t fau_end:1;
  244. #else
  245. uint64_t fau_end:1;
  246. uint64_t dwb_enb:1;
  247. uint64_t pko_enb:1;
  248. uint64_t inb_mat:1;
  249. uint64_t outb_mat:1;
  250. uint64_t reserved_5_5:1;
  251. uint64_t xmc_per:4;
  252. uint64_t fif_dly:1;
  253. uint64_t reserved_11_63:53;
  254. #endif
  255. } s;
  256. struct cvmx_iob_ctl_status_cn30xx {
  257. #ifdef __BIG_ENDIAN_BITFIELD
  258. uint64_t reserved_5_63:59;
  259. uint64_t outb_mat:1;
  260. uint64_t inb_mat:1;
  261. uint64_t pko_enb:1;
  262. uint64_t dwb_enb:1;
  263. uint64_t fau_end:1;
  264. #else
  265. uint64_t fau_end:1;
  266. uint64_t dwb_enb:1;
  267. uint64_t pko_enb:1;
  268. uint64_t inb_mat:1;
  269. uint64_t outb_mat:1;
  270. uint64_t reserved_5_63:59;
  271. #endif
  272. } cn30xx;
  273. struct cvmx_iob_ctl_status_cn30xx cn31xx;
  274. struct cvmx_iob_ctl_status_cn30xx cn38xx;
  275. struct cvmx_iob_ctl_status_cn30xx cn38xxp2;
  276. struct cvmx_iob_ctl_status_cn30xx cn50xx;
  277. struct cvmx_iob_ctl_status_cn52xx {
  278. #ifdef __BIG_ENDIAN_BITFIELD
  279. uint64_t reserved_6_63:58;
  280. uint64_t rr_mode:1;
  281. uint64_t outb_mat:1;
  282. uint64_t inb_mat:1;
  283. uint64_t pko_enb:1;
  284. uint64_t dwb_enb:1;
  285. uint64_t fau_end:1;
  286. #else
  287. uint64_t fau_end:1;
  288. uint64_t dwb_enb:1;
  289. uint64_t pko_enb:1;
  290. uint64_t inb_mat:1;
  291. uint64_t outb_mat:1;
  292. uint64_t rr_mode:1;
  293. uint64_t reserved_6_63:58;
  294. #endif
  295. } cn52xx;
  296. struct cvmx_iob_ctl_status_cn30xx cn52xxp1;
  297. struct cvmx_iob_ctl_status_cn30xx cn56xx;
  298. struct cvmx_iob_ctl_status_cn30xx cn56xxp1;
  299. struct cvmx_iob_ctl_status_cn30xx cn58xx;
  300. struct cvmx_iob_ctl_status_cn30xx cn58xxp1;
  301. struct cvmx_iob_ctl_status_cn61xx {
  302. #ifdef __BIG_ENDIAN_BITFIELD
  303. uint64_t reserved_11_63:53;
  304. uint64_t fif_dly:1;
  305. uint64_t xmc_per:4;
  306. uint64_t rr_mode:1;
  307. uint64_t outb_mat:1;
  308. uint64_t inb_mat:1;
  309. uint64_t pko_enb:1;
  310. uint64_t dwb_enb:1;
  311. uint64_t fau_end:1;
  312. #else
  313. uint64_t fau_end:1;
  314. uint64_t dwb_enb:1;
  315. uint64_t pko_enb:1;
  316. uint64_t inb_mat:1;
  317. uint64_t outb_mat:1;
  318. uint64_t rr_mode:1;
  319. uint64_t xmc_per:4;
  320. uint64_t fif_dly:1;
  321. uint64_t reserved_11_63:53;
  322. #endif
  323. } cn61xx;
  324. struct cvmx_iob_ctl_status_cn63xx {
  325. #ifdef __BIG_ENDIAN_BITFIELD
  326. uint64_t reserved_10_63:54;
  327. uint64_t xmc_per:4;
  328. uint64_t rr_mode:1;
  329. uint64_t outb_mat:1;
  330. uint64_t inb_mat:1;
  331. uint64_t pko_enb:1;
  332. uint64_t dwb_enb:1;
  333. uint64_t fau_end:1;
  334. #else
  335. uint64_t fau_end:1;
  336. uint64_t dwb_enb:1;
  337. uint64_t pko_enb:1;
  338. uint64_t inb_mat:1;
  339. uint64_t outb_mat:1;
  340. uint64_t rr_mode:1;
  341. uint64_t xmc_per:4;
  342. uint64_t reserved_10_63:54;
  343. #endif
  344. } cn63xx;
  345. struct cvmx_iob_ctl_status_cn63xx cn63xxp1;
  346. struct cvmx_iob_ctl_status_cn61xx cn66xx;
  347. struct cvmx_iob_ctl_status_cn68xx {
  348. #ifdef __BIG_ENDIAN_BITFIELD
  349. uint64_t reserved_11_63:53;
  350. uint64_t fif_dly:1;
  351. uint64_t xmc_per:4;
  352. uint64_t rsvr5:1;
  353. uint64_t outb_mat:1;
  354. uint64_t inb_mat:1;
  355. uint64_t pko_enb:1;
  356. uint64_t dwb_enb:1;
  357. uint64_t fau_end:1;
  358. #else
  359. uint64_t fau_end:1;
  360. uint64_t dwb_enb:1;
  361. uint64_t pko_enb:1;
  362. uint64_t inb_mat:1;
  363. uint64_t outb_mat:1;
  364. uint64_t rsvr5:1;
  365. uint64_t xmc_per:4;
  366. uint64_t fif_dly:1;
  367. uint64_t reserved_11_63:53;
  368. #endif
  369. } cn68xx;
  370. struct cvmx_iob_ctl_status_cn68xx cn68xxp1;
  371. struct cvmx_iob_ctl_status_cn61xx cnf71xx;
  372. };
  373. union cvmx_iob_dwb_pri_cnt {
  374. uint64_t u64;
  375. struct cvmx_iob_dwb_pri_cnt_s {
  376. #ifdef __BIG_ENDIAN_BITFIELD
  377. uint64_t reserved_16_63:48;
  378. uint64_t cnt_enb:1;
  379. uint64_t cnt_val:15;
  380. #else
  381. uint64_t cnt_val:15;
  382. uint64_t cnt_enb:1;
  383. uint64_t reserved_16_63:48;
  384. #endif
  385. } s;
  386. struct cvmx_iob_dwb_pri_cnt_s cn38xx;
  387. struct cvmx_iob_dwb_pri_cnt_s cn38xxp2;
  388. struct cvmx_iob_dwb_pri_cnt_s cn52xx;
  389. struct cvmx_iob_dwb_pri_cnt_s cn52xxp1;
  390. struct cvmx_iob_dwb_pri_cnt_s cn56xx;
  391. struct cvmx_iob_dwb_pri_cnt_s cn56xxp1;
  392. struct cvmx_iob_dwb_pri_cnt_s cn58xx;
  393. struct cvmx_iob_dwb_pri_cnt_s cn58xxp1;
  394. struct cvmx_iob_dwb_pri_cnt_s cn61xx;
  395. struct cvmx_iob_dwb_pri_cnt_s cn63xx;
  396. struct cvmx_iob_dwb_pri_cnt_s cn63xxp1;
  397. struct cvmx_iob_dwb_pri_cnt_s cn66xx;
  398. struct cvmx_iob_dwb_pri_cnt_s cnf71xx;
  399. };
  400. union cvmx_iob_fau_timeout {
  401. uint64_t u64;
  402. struct cvmx_iob_fau_timeout_s {
  403. #ifdef __BIG_ENDIAN_BITFIELD
  404. uint64_t reserved_13_63:51;
  405. uint64_t tout_enb:1;
  406. uint64_t tout_val:12;
  407. #else
  408. uint64_t tout_val:12;
  409. uint64_t tout_enb:1;
  410. uint64_t reserved_13_63:51;
  411. #endif
  412. } s;
  413. struct cvmx_iob_fau_timeout_s cn30xx;
  414. struct cvmx_iob_fau_timeout_s cn31xx;
  415. struct cvmx_iob_fau_timeout_s cn38xx;
  416. struct cvmx_iob_fau_timeout_s cn38xxp2;
  417. struct cvmx_iob_fau_timeout_s cn50xx;
  418. struct cvmx_iob_fau_timeout_s cn52xx;
  419. struct cvmx_iob_fau_timeout_s cn52xxp1;
  420. struct cvmx_iob_fau_timeout_s cn56xx;
  421. struct cvmx_iob_fau_timeout_s cn56xxp1;
  422. struct cvmx_iob_fau_timeout_s cn58xx;
  423. struct cvmx_iob_fau_timeout_s cn58xxp1;
  424. struct cvmx_iob_fau_timeout_s cn61xx;
  425. struct cvmx_iob_fau_timeout_s cn63xx;
  426. struct cvmx_iob_fau_timeout_s cn63xxp1;
  427. struct cvmx_iob_fau_timeout_s cn66xx;
  428. struct cvmx_iob_fau_timeout_s cn68xx;
  429. struct cvmx_iob_fau_timeout_s cn68xxp1;
  430. struct cvmx_iob_fau_timeout_s cnf71xx;
  431. };
  432. union cvmx_iob_i2c_pri_cnt {
  433. uint64_t u64;
  434. struct cvmx_iob_i2c_pri_cnt_s {
  435. #ifdef __BIG_ENDIAN_BITFIELD
  436. uint64_t reserved_16_63:48;
  437. uint64_t cnt_enb:1;
  438. uint64_t cnt_val:15;
  439. #else
  440. uint64_t cnt_val:15;
  441. uint64_t cnt_enb:1;
  442. uint64_t reserved_16_63:48;
  443. #endif
  444. } s;
  445. struct cvmx_iob_i2c_pri_cnt_s cn38xx;
  446. struct cvmx_iob_i2c_pri_cnt_s cn38xxp2;
  447. struct cvmx_iob_i2c_pri_cnt_s cn52xx;
  448. struct cvmx_iob_i2c_pri_cnt_s cn52xxp1;
  449. struct cvmx_iob_i2c_pri_cnt_s cn56xx;
  450. struct cvmx_iob_i2c_pri_cnt_s cn56xxp1;
  451. struct cvmx_iob_i2c_pri_cnt_s cn58xx;
  452. struct cvmx_iob_i2c_pri_cnt_s cn58xxp1;
  453. struct cvmx_iob_i2c_pri_cnt_s cn61xx;
  454. struct cvmx_iob_i2c_pri_cnt_s cn63xx;
  455. struct cvmx_iob_i2c_pri_cnt_s cn63xxp1;
  456. struct cvmx_iob_i2c_pri_cnt_s cn66xx;
  457. struct cvmx_iob_i2c_pri_cnt_s cnf71xx;
  458. };
  459. union cvmx_iob_inb_control_match {
  460. uint64_t u64;
  461. struct cvmx_iob_inb_control_match_s {
  462. #ifdef __BIG_ENDIAN_BITFIELD
  463. uint64_t reserved_29_63:35;
  464. uint64_t mask:8;
  465. uint64_t opc:4;
  466. uint64_t dst:9;
  467. uint64_t src:8;
  468. #else
  469. uint64_t src:8;
  470. uint64_t dst:9;
  471. uint64_t opc:4;
  472. uint64_t mask:8;
  473. uint64_t reserved_29_63:35;
  474. #endif
  475. } s;
  476. struct cvmx_iob_inb_control_match_s cn30xx;
  477. struct cvmx_iob_inb_control_match_s cn31xx;
  478. struct cvmx_iob_inb_control_match_s cn38xx;
  479. struct cvmx_iob_inb_control_match_s cn38xxp2;
  480. struct cvmx_iob_inb_control_match_s cn50xx;
  481. struct cvmx_iob_inb_control_match_s cn52xx;
  482. struct cvmx_iob_inb_control_match_s cn52xxp1;
  483. struct cvmx_iob_inb_control_match_s cn56xx;
  484. struct cvmx_iob_inb_control_match_s cn56xxp1;
  485. struct cvmx_iob_inb_control_match_s cn58xx;
  486. struct cvmx_iob_inb_control_match_s cn58xxp1;
  487. struct cvmx_iob_inb_control_match_s cn61xx;
  488. struct cvmx_iob_inb_control_match_s cn63xx;
  489. struct cvmx_iob_inb_control_match_s cn63xxp1;
  490. struct cvmx_iob_inb_control_match_s cn66xx;
  491. struct cvmx_iob_inb_control_match_s cn68xx;
  492. struct cvmx_iob_inb_control_match_s cn68xxp1;
  493. struct cvmx_iob_inb_control_match_s cnf71xx;
  494. };
  495. union cvmx_iob_inb_control_match_enb {
  496. uint64_t u64;
  497. struct cvmx_iob_inb_control_match_enb_s {
  498. #ifdef __BIG_ENDIAN_BITFIELD
  499. uint64_t reserved_29_63:35;
  500. uint64_t mask:8;
  501. uint64_t opc:4;
  502. uint64_t dst:9;
  503. uint64_t src:8;
  504. #else
  505. uint64_t src:8;
  506. uint64_t dst:9;
  507. uint64_t opc:4;
  508. uint64_t mask:8;
  509. uint64_t reserved_29_63:35;
  510. #endif
  511. } s;
  512. struct cvmx_iob_inb_control_match_enb_s cn30xx;
  513. struct cvmx_iob_inb_control_match_enb_s cn31xx;
  514. struct cvmx_iob_inb_control_match_enb_s cn38xx;
  515. struct cvmx_iob_inb_control_match_enb_s cn38xxp2;
  516. struct cvmx_iob_inb_control_match_enb_s cn50xx;
  517. struct cvmx_iob_inb_control_match_enb_s cn52xx;
  518. struct cvmx_iob_inb_control_match_enb_s cn52xxp1;
  519. struct cvmx_iob_inb_control_match_enb_s cn56xx;
  520. struct cvmx_iob_inb_control_match_enb_s cn56xxp1;
  521. struct cvmx_iob_inb_control_match_enb_s cn58xx;
  522. struct cvmx_iob_inb_control_match_enb_s cn58xxp1;
  523. struct cvmx_iob_inb_control_match_enb_s cn61xx;
  524. struct cvmx_iob_inb_control_match_enb_s cn63xx;
  525. struct cvmx_iob_inb_control_match_enb_s cn63xxp1;
  526. struct cvmx_iob_inb_control_match_enb_s cn66xx;
  527. struct cvmx_iob_inb_control_match_enb_s cn68xx;
  528. struct cvmx_iob_inb_control_match_enb_s cn68xxp1;
  529. struct cvmx_iob_inb_control_match_enb_s cnf71xx;
  530. };
  531. union cvmx_iob_inb_data_match {
  532. uint64_t u64;
  533. struct cvmx_iob_inb_data_match_s {
  534. #ifdef __BIG_ENDIAN_BITFIELD
  535. uint64_t data:64;
  536. #else
  537. uint64_t data:64;
  538. #endif
  539. } s;
  540. struct cvmx_iob_inb_data_match_s cn30xx;
  541. struct cvmx_iob_inb_data_match_s cn31xx;
  542. struct cvmx_iob_inb_data_match_s cn38xx;
  543. struct cvmx_iob_inb_data_match_s cn38xxp2;
  544. struct cvmx_iob_inb_data_match_s cn50xx;
  545. struct cvmx_iob_inb_data_match_s cn52xx;
  546. struct cvmx_iob_inb_data_match_s cn52xxp1;
  547. struct cvmx_iob_inb_data_match_s cn56xx;
  548. struct cvmx_iob_inb_data_match_s cn56xxp1;
  549. struct cvmx_iob_inb_data_match_s cn58xx;
  550. struct cvmx_iob_inb_data_match_s cn58xxp1;
  551. struct cvmx_iob_inb_data_match_s cn61xx;
  552. struct cvmx_iob_inb_data_match_s cn63xx;
  553. struct cvmx_iob_inb_data_match_s cn63xxp1;
  554. struct cvmx_iob_inb_data_match_s cn66xx;
  555. struct cvmx_iob_inb_data_match_s cn68xx;
  556. struct cvmx_iob_inb_data_match_s cn68xxp1;
  557. struct cvmx_iob_inb_data_match_s cnf71xx;
  558. };
  559. union cvmx_iob_inb_data_match_enb {
  560. uint64_t u64;
  561. struct cvmx_iob_inb_data_match_enb_s {
  562. #ifdef __BIG_ENDIAN_BITFIELD
  563. uint64_t data:64;
  564. #else
  565. uint64_t data:64;
  566. #endif
  567. } s;
  568. struct cvmx_iob_inb_data_match_enb_s cn30xx;
  569. struct cvmx_iob_inb_data_match_enb_s cn31xx;
  570. struct cvmx_iob_inb_data_match_enb_s cn38xx;
  571. struct cvmx_iob_inb_data_match_enb_s cn38xxp2;
  572. struct cvmx_iob_inb_data_match_enb_s cn50xx;
  573. struct cvmx_iob_inb_data_match_enb_s cn52xx;
  574. struct cvmx_iob_inb_data_match_enb_s cn52xxp1;
  575. struct cvmx_iob_inb_data_match_enb_s cn56xx;
  576. struct cvmx_iob_inb_data_match_enb_s cn56xxp1;
  577. struct cvmx_iob_inb_data_match_enb_s cn58xx;
  578. struct cvmx_iob_inb_data_match_enb_s cn58xxp1;
  579. struct cvmx_iob_inb_data_match_enb_s cn61xx;
  580. struct cvmx_iob_inb_data_match_enb_s cn63xx;
  581. struct cvmx_iob_inb_data_match_enb_s cn63xxp1;
  582. struct cvmx_iob_inb_data_match_enb_s cn66xx;
  583. struct cvmx_iob_inb_data_match_enb_s cn68xx;
  584. struct cvmx_iob_inb_data_match_enb_s cn68xxp1;
  585. struct cvmx_iob_inb_data_match_enb_s cnf71xx;
  586. };
  587. union cvmx_iob_int_enb {
  588. uint64_t u64;
  589. struct cvmx_iob_int_enb_s {
  590. #ifdef __BIG_ENDIAN_BITFIELD
  591. uint64_t reserved_6_63:58;
  592. uint64_t p_dat:1;
  593. uint64_t np_dat:1;
  594. uint64_t p_eop:1;
  595. uint64_t p_sop:1;
  596. uint64_t np_eop:1;
  597. uint64_t np_sop:1;
  598. #else
  599. uint64_t np_sop:1;
  600. uint64_t np_eop:1;
  601. uint64_t p_sop:1;
  602. uint64_t p_eop:1;
  603. uint64_t np_dat:1;
  604. uint64_t p_dat:1;
  605. uint64_t reserved_6_63:58;
  606. #endif
  607. } s;
  608. struct cvmx_iob_int_enb_cn30xx {
  609. #ifdef __BIG_ENDIAN_BITFIELD
  610. uint64_t reserved_4_63:60;
  611. uint64_t p_eop:1;
  612. uint64_t p_sop:1;
  613. uint64_t np_eop:1;
  614. uint64_t np_sop:1;
  615. #else
  616. uint64_t np_sop:1;
  617. uint64_t np_eop:1;
  618. uint64_t p_sop:1;
  619. uint64_t p_eop:1;
  620. uint64_t reserved_4_63:60;
  621. #endif
  622. } cn30xx;
  623. struct cvmx_iob_int_enb_cn30xx cn31xx;
  624. struct cvmx_iob_int_enb_cn30xx cn38xx;
  625. struct cvmx_iob_int_enb_cn30xx cn38xxp2;
  626. struct cvmx_iob_int_enb_s cn50xx;
  627. struct cvmx_iob_int_enb_s cn52xx;
  628. struct cvmx_iob_int_enb_s cn52xxp1;
  629. struct cvmx_iob_int_enb_s cn56xx;
  630. struct cvmx_iob_int_enb_s cn56xxp1;
  631. struct cvmx_iob_int_enb_s cn58xx;
  632. struct cvmx_iob_int_enb_s cn58xxp1;
  633. struct cvmx_iob_int_enb_s cn61xx;
  634. struct cvmx_iob_int_enb_s cn63xx;
  635. struct cvmx_iob_int_enb_s cn63xxp1;
  636. struct cvmx_iob_int_enb_s cn66xx;
  637. struct cvmx_iob_int_enb_cn68xx {
  638. #ifdef __BIG_ENDIAN_BITFIELD
  639. uint64_t reserved_0_63:64;
  640. #else
  641. uint64_t reserved_0_63:64;
  642. #endif
  643. } cn68xx;
  644. struct cvmx_iob_int_enb_cn68xx cn68xxp1;
  645. struct cvmx_iob_int_enb_s cnf71xx;
  646. };
  647. union cvmx_iob_int_sum {
  648. uint64_t u64;
  649. struct cvmx_iob_int_sum_s {
  650. #ifdef __BIG_ENDIAN_BITFIELD
  651. uint64_t reserved_6_63:58;
  652. uint64_t p_dat:1;
  653. uint64_t np_dat:1;
  654. uint64_t p_eop:1;
  655. uint64_t p_sop:1;
  656. uint64_t np_eop:1;
  657. uint64_t np_sop:1;
  658. #else
  659. uint64_t np_sop:1;
  660. uint64_t np_eop:1;
  661. uint64_t p_sop:1;
  662. uint64_t p_eop:1;
  663. uint64_t np_dat:1;
  664. uint64_t p_dat:1;
  665. uint64_t reserved_6_63:58;
  666. #endif
  667. } s;
  668. struct cvmx_iob_int_sum_cn30xx {
  669. #ifdef __BIG_ENDIAN_BITFIELD
  670. uint64_t reserved_4_63:60;
  671. uint64_t p_eop:1;
  672. uint64_t p_sop:1;
  673. uint64_t np_eop:1;
  674. uint64_t np_sop:1;
  675. #else
  676. uint64_t np_sop:1;
  677. uint64_t np_eop:1;
  678. uint64_t p_sop:1;
  679. uint64_t p_eop:1;
  680. uint64_t reserved_4_63:60;
  681. #endif
  682. } cn30xx;
  683. struct cvmx_iob_int_sum_cn30xx cn31xx;
  684. struct cvmx_iob_int_sum_cn30xx cn38xx;
  685. struct cvmx_iob_int_sum_cn30xx cn38xxp2;
  686. struct cvmx_iob_int_sum_s cn50xx;
  687. struct cvmx_iob_int_sum_s cn52xx;
  688. struct cvmx_iob_int_sum_s cn52xxp1;
  689. struct cvmx_iob_int_sum_s cn56xx;
  690. struct cvmx_iob_int_sum_s cn56xxp1;
  691. struct cvmx_iob_int_sum_s cn58xx;
  692. struct cvmx_iob_int_sum_s cn58xxp1;
  693. struct cvmx_iob_int_sum_s cn61xx;
  694. struct cvmx_iob_int_sum_s cn63xx;
  695. struct cvmx_iob_int_sum_s cn63xxp1;
  696. struct cvmx_iob_int_sum_s cn66xx;
  697. struct cvmx_iob_int_sum_cn68xx {
  698. #ifdef __BIG_ENDIAN_BITFIELD
  699. uint64_t reserved_0_63:64;
  700. #else
  701. uint64_t reserved_0_63:64;
  702. #endif
  703. } cn68xx;
  704. struct cvmx_iob_int_sum_cn68xx cn68xxp1;
  705. struct cvmx_iob_int_sum_s cnf71xx;
  706. };
  707. union cvmx_iob_n2c_l2c_pri_cnt {
  708. uint64_t u64;
  709. struct cvmx_iob_n2c_l2c_pri_cnt_s {
  710. #ifdef __BIG_ENDIAN_BITFIELD
  711. uint64_t reserved_16_63:48;
  712. uint64_t cnt_enb:1;
  713. uint64_t cnt_val:15;
  714. #else
  715. uint64_t cnt_val:15;
  716. uint64_t cnt_enb:1;
  717. uint64_t reserved_16_63:48;
  718. #endif
  719. } s;
  720. struct cvmx_iob_n2c_l2c_pri_cnt_s cn38xx;
  721. struct cvmx_iob_n2c_l2c_pri_cnt_s cn38xxp2;
  722. struct cvmx_iob_n2c_l2c_pri_cnt_s cn52xx;
  723. struct cvmx_iob_n2c_l2c_pri_cnt_s cn52xxp1;
  724. struct cvmx_iob_n2c_l2c_pri_cnt_s cn56xx;
  725. struct cvmx_iob_n2c_l2c_pri_cnt_s cn56xxp1;
  726. struct cvmx_iob_n2c_l2c_pri_cnt_s cn58xx;
  727. struct cvmx_iob_n2c_l2c_pri_cnt_s cn58xxp1;
  728. struct cvmx_iob_n2c_l2c_pri_cnt_s cn61xx;
  729. struct cvmx_iob_n2c_l2c_pri_cnt_s cn63xx;
  730. struct cvmx_iob_n2c_l2c_pri_cnt_s cn63xxp1;
  731. struct cvmx_iob_n2c_l2c_pri_cnt_s cn66xx;
  732. struct cvmx_iob_n2c_l2c_pri_cnt_s cnf71xx;
  733. };
  734. union cvmx_iob_n2c_rsp_pri_cnt {
  735. uint64_t u64;
  736. struct cvmx_iob_n2c_rsp_pri_cnt_s {
  737. #ifdef __BIG_ENDIAN_BITFIELD
  738. uint64_t reserved_16_63:48;
  739. uint64_t cnt_enb:1;
  740. uint64_t cnt_val:15;
  741. #else
  742. uint64_t cnt_val:15;
  743. uint64_t cnt_enb:1;
  744. uint64_t reserved_16_63:48;
  745. #endif
  746. } s;
  747. struct cvmx_iob_n2c_rsp_pri_cnt_s cn38xx;
  748. struct cvmx_iob_n2c_rsp_pri_cnt_s cn38xxp2;
  749. struct cvmx_iob_n2c_rsp_pri_cnt_s cn52xx;
  750. struct cvmx_iob_n2c_rsp_pri_cnt_s cn52xxp1;
  751. struct cvmx_iob_n2c_rsp_pri_cnt_s cn56xx;
  752. struct cvmx_iob_n2c_rsp_pri_cnt_s cn56xxp1;
  753. struct cvmx_iob_n2c_rsp_pri_cnt_s cn58xx;
  754. struct cvmx_iob_n2c_rsp_pri_cnt_s cn58xxp1;
  755. struct cvmx_iob_n2c_rsp_pri_cnt_s cn61xx;
  756. struct cvmx_iob_n2c_rsp_pri_cnt_s cn63xx;
  757. struct cvmx_iob_n2c_rsp_pri_cnt_s cn63xxp1;
  758. struct cvmx_iob_n2c_rsp_pri_cnt_s cn66xx;
  759. struct cvmx_iob_n2c_rsp_pri_cnt_s cnf71xx;
  760. };
  761. union cvmx_iob_outb_com_pri_cnt {
  762. uint64_t u64;
  763. struct cvmx_iob_outb_com_pri_cnt_s {
  764. #ifdef __BIG_ENDIAN_BITFIELD
  765. uint64_t reserved_16_63:48;
  766. uint64_t cnt_enb:1;
  767. uint64_t cnt_val:15;
  768. #else
  769. uint64_t cnt_val:15;
  770. uint64_t cnt_enb:1;
  771. uint64_t reserved_16_63:48;
  772. #endif
  773. } s;
  774. struct cvmx_iob_outb_com_pri_cnt_s cn38xx;
  775. struct cvmx_iob_outb_com_pri_cnt_s cn38xxp2;
  776. struct cvmx_iob_outb_com_pri_cnt_s cn52xx;
  777. struct cvmx_iob_outb_com_pri_cnt_s cn52xxp1;
  778. struct cvmx_iob_outb_com_pri_cnt_s cn56xx;
  779. struct cvmx_iob_outb_com_pri_cnt_s cn56xxp1;
  780. struct cvmx_iob_outb_com_pri_cnt_s cn58xx;
  781. struct cvmx_iob_outb_com_pri_cnt_s cn58xxp1;
  782. struct cvmx_iob_outb_com_pri_cnt_s cn61xx;
  783. struct cvmx_iob_outb_com_pri_cnt_s cn63xx;
  784. struct cvmx_iob_outb_com_pri_cnt_s cn63xxp1;
  785. struct cvmx_iob_outb_com_pri_cnt_s cn66xx;
  786. struct cvmx_iob_outb_com_pri_cnt_s cn68xx;
  787. struct cvmx_iob_outb_com_pri_cnt_s cn68xxp1;
  788. struct cvmx_iob_outb_com_pri_cnt_s cnf71xx;
  789. };
  790. union cvmx_iob_outb_control_match {
  791. uint64_t u64;
  792. struct cvmx_iob_outb_control_match_s {
  793. #ifdef __BIG_ENDIAN_BITFIELD
  794. uint64_t reserved_26_63:38;
  795. uint64_t mask:8;
  796. uint64_t eot:1;
  797. uint64_t dst:8;
  798. uint64_t src:9;
  799. #else
  800. uint64_t src:9;
  801. uint64_t dst:8;
  802. uint64_t eot:1;
  803. uint64_t mask:8;
  804. uint64_t reserved_26_63:38;
  805. #endif
  806. } s;
  807. struct cvmx_iob_outb_control_match_s cn30xx;
  808. struct cvmx_iob_outb_control_match_s cn31xx;
  809. struct cvmx_iob_outb_control_match_s cn38xx;
  810. struct cvmx_iob_outb_control_match_s cn38xxp2;
  811. struct cvmx_iob_outb_control_match_s cn50xx;
  812. struct cvmx_iob_outb_control_match_s cn52xx;
  813. struct cvmx_iob_outb_control_match_s cn52xxp1;
  814. struct cvmx_iob_outb_control_match_s cn56xx;
  815. struct cvmx_iob_outb_control_match_s cn56xxp1;
  816. struct cvmx_iob_outb_control_match_s cn58xx;
  817. struct cvmx_iob_outb_control_match_s cn58xxp1;
  818. struct cvmx_iob_outb_control_match_s cn61xx;
  819. struct cvmx_iob_outb_control_match_s cn63xx;
  820. struct cvmx_iob_outb_control_match_s cn63xxp1;
  821. struct cvmx_iob_outb_control_match_s cn66xx;
  822. struct cvmx_iob_outb_control_match_s cn68xx;
  823. struct cvmx_iob_outb_control_match_s cn68xxp1;
  824. struct cvmx_iob_outb_control_match_s cnf71xx;
  825. };
  826. union cvmx_iob_outb_control_match_enb {
  827. uint64_t u64;
  828. struct cvmx_iob_outb_control_match_enb_s {
  829. #ifdef __BIG_ENDIAN_BITFIELD
  830. uint64_t reserved_26_63:38;
  831. uint64_t mask:8;
  832. uint64_t eot:1;
  833. uint64_t dst:8;
  834. uint64_t src:9;
  835. #else
  836. uint64_t src:9;
  837. uint64_t dst:8;
  838. uint64_t eot:1;
  839. uint64_t mask:8;
  840. uint64_t reserved_26_63:38;
  841. #endif
  842. } s;
  843. struct cvmx_iob_outb_control_match_enb_s cn30xx;
  844. struct cvmx_iob_outb_control_match_enb_s cn31xx;
  845. struct cvmx_iob_outb_control_match_enb_s cn38xx;
  846. struct cvmx_iob_outb_control_match_enb_s cn38xxp2;
  847. struct cvmx_iob_outb_control_match_enb_s cn50xx;
  848. struct cvmx_iob_outb_control_match_enb_s cn52xx;
  849. struct cvmx_iob_outb_control_match_enb_s cn52xxp1;
  850. struct cvmx_iob_outb_control_match_enb_s cn56xx;
  851. struct cvmx_iob_outb_control_match_enb_s cn56xxp1;
  852. struct cvmx_iob_outb_control_match_enb_s cn58xx;
  853. struct cvmx_iob_outb_control_match_enb_s cn58xxp1;
  854. struct cvmx_iob_outb_control_match_enb_s cn61xx;
  855. struct cvmx_iob_outb_control_match_enb_s cn63xx;
  856. struct cvmx_iob_outb_control_match_enb_s cn63xxp1;
  857. struct cvmx_iob_outb_control_match_enb_s cn66xx;
  858. struct cvmx_iob_outb_control_match_enb_s cn68xx;
  859. struct cvmx_iob_outb_control_match_enb_s cn68xxp1;
  860. struct cvmx_iob_outb_control_match_enb_s cnf71xx;
  861. };
  862. union cvmx_iob_outb_data_match {
  863. uint64_t u64;
  864. struct cvmx_iob_outb_data_match_s {
  865. #ifdef __BIG_ENDIAN_BITFIELD
  866. uint64_t data:64;
  867. #else
  868. uint64_t data:64;
  869. #endif
  870. } s;
  871. struct cvmx_iob_outb_data_match_s cn30xx;
  872. struct cvmx_iob_outb_data_match_s cn31xx;
  873. struct cvmx_iob_outb_data_match_s cn38xx;
  874. struct cvmx_iob_outb_data_match_s cn38xxp2;
  875. struct cvmx_iob_outb_data_match_s cn50xx;
  876. struct cvmx_iob_outb_data_match_s cn52xx;
  877. struct cvmx_iob_outb_data_match_s cn52xxp1;
  878. struct cvmx_iob_outb_data_match_s cn56xx;
  879. struct cvmx_iob_outb_data_match_s cn56xxp1;
  880. struct cvmx_iob_outb_data_match_s cn58xx;
  881. struct cvmx_iob_outb_data_match_s cn58xxp1;
  882. struct cvmx_iob_outb_data_match_s cn61xx;
  883. struct cvmx_iob_outb_data_match_s cn63xx;
  884. struct cvmx_iob_outb_data_match_s cn63xxp1;
  885. struct cvmx_iob_outb_data_match_s cn66xx;
  886. struct cvmx_iob_outb_data_match_s cn68xx;
  887. struct cvmx_iob_outb_data_match_s cn68xxp1;
  888. struct cvmx_iob_outb_data_match_s cnf71xx;
  889. };
  890. union cvmx_iob_outb_data_match_enb {
  891. uint64_t u64;
  892. struct cvmx_iob_outb_data_match_enb_s {
  893. #ifdef __BIG_ENDIAN_BITFIELD
  894. uint64_t data:64;
  895. #else
  896. uint64_t data:64;
  897. #endif
  898. } s;
  899. struct cvmx_iob_outb_data_match_enb_s cn30xx;
  900. struct cvmx_iob_outb_data_match_enb_s cn31xx;
  901. struct cvmx_iob_outb_data_match_enb_s cn38xx;
  902. struct cvmx_iob_outb_data_match_enb_s cn38xxp2;
  903. struct cvmx_iob_outb_data_match_enb_s cn50xx;
  904. struct cvmx_iob_outb_data_match_enb_s cn52xx;
  905. struct cvmx_iob_outb_data_match_enb_s cn52xxp1;
  906. struct cvmx_iob_outb_data_match_enb_s cn56xx;
  907. struct cvmx_iob_outb_data_match_enb_s cn56xxp1;
  908. struct cvmx_iob_outb_data_match_enb_s cn58xx;
  909. struct cvmx_iob_outb_data_match_enb_s cn58xxp1;
  910. struct cvmx_iob_outb_data_match_enb_s cn61xx;
  911. struct cvmx_iob_outb_data_match_enb_s cn63xx;
  912. struct cvmx_iob_outb_data_match_enb_s cn63xxp1;
  913. struct cvmx_iob_outb_data_match_enb_s cn66xx;
  914. struct cvmx_iob_outb_data_match_enb_s cn68xx;
  915. struct cvmx_iob_outb_data_match_enb_s cn68xxp1;
  916. struct cvmx_iob_outb_data_match_enb_s cnf71xx;
  917. };
  918. union cvmx_iob_outb_fpa_pri_cnt {
  919. uint64_t u64;
  920. struct cvmx_iob_outb_fpa_pri_cnt_s {
  921. #ifdef __BIG_ENDIAN_BITFIELD
  922. uint64_t reserved_16_63:48;
  923. uint64_t cnt_enb:1;
  924. uint64_t cnt_val:15;
  925. #else
  926. uint64_t cnt_val:15;
  927. uint64_t cnt_enb:1;
  928. uint64_t reserved_16_63:48;
  929. #endif
  930. } s;
  931. struct cvmx_iob_outb_fpa_pri_cnt_s cn38xx;
  932. struct cvmx_iob_outb_fpa_pri_cnt_s cn38xxp2;
  933. struct cvmx_iob_outb_fpa_pri_cnt_s cn52xx;
  934. struct cvmx_iob_outb_fpa_pri_cnt_s cn52xxp1;
  935. struct cvmx_iob_outb_fpa_pri_cnt_s cn56xx;
  936. struct cvmx_iob_outb_fpa_pri_cnt_s cn56xxp1;
  937. struct cvmx_iob_outb_fpa_pri_cnt_s cn58xx;
  938. struct cvmx_iob_outb_fpa_pri_cnt_s cn58xxp1;
  939. struct cvmx_iob_outb_fpa_pri_cnt_s cn61xx;
  940. struct cvmx_iob_outb_fpa_pri_cnt_s cn63xx;
  941. struct cvmx_iob_outb_fpa_pri_cnt_s cn63xxp1;
  942. struct cvmx_iob_outb_fpa_pri_cnt_s cn66xx;
  943. struct cvmx_iob_outb_fpa_pri_cnt_s cn68xx;
  944. struct cvmx_iob_outb_fpa_pri_cnt_s cn68xxp1;
  945. struct cvmx_iob_outb_fpa_pri_cnt_s cnf71xx;
  946. };
  947. union cvmx_iob_outb_req_pri_cnt {
  948. uint64_t u64;
  949. struct cvmx_iob_outb_req_pri_cnt_s {
  950. #ifdef __BIG_ENDIAN_BITFIELD
  951. uint64_t reserved_16_63:48;
  952. uint64_t cnt_enb:1;
  953. uint64_t cnt_val:15;
  954. #else
  955. uint64_t cnt_val:15;
  956. uint64_t cnt_enb:1;
  957. uint64_t reserved_16_63:48;
  958. #endif
  959. } s;
  960. struct cvmx_iob_outb_req_pri_cnt_s cn38xx;
  961. struct cvmx_iob_outb_req_pri_cnt_s cn38xxp2;
  962. struct cvmx_iob_outb_req_pri_cnt_s cn52xx;
  963. struct cvmx_iob_outb_req_pri_cnt_s cn52xxp1;
  964. struct cvmx_iob_outb_req_pri_cnt_s cn56xx;
  965. struct cvmx_iob_outb_req_pri_cnt_s cn56xxp1;
  966. struct cvmx_iob_outb_req_pri_cnt_s cn58xx;
  967. struct cvmx_iob_outb_req_pri_cnt_s cn58xxp1;
  968. struct cvmx_iob_outb_req_pri_cnt_s cn61xx;
  969. struct cvmx_iob_outb_req_pri_cnt_s cn63xx;
  970. struct cvmx_iob_outb_req_pri_cnt_s cn63xxp1;
  971. struct cvmx_iob_outb_req_pri_cnt_s cn66xx;
  972. struct cvmx_iob_outb_req_pri_cnt_s cn68xx;
  973. struct cvmx_iob_outb_req_pri_cnt_s cn68xxp1;
  974. struct cvmx_iob_outb_req_pri_cnt_s cnf71xx;
  975. };
  976. union cvmx_iob_p2c_req_pri_cnt {
  977. uint64_t u64;
  978. struct cvmx_iob_p2c_req_pri_cnt_s {
  979. #ifdef __BIG_ENDIAN_BITFIELD
  980. uint64_t reserved_16_63:48;
  981. uint64_t cnt_enb:1;
  982. uint64_t cnt_val:15;
  983. #else
  984. uint64_t cnt_val:15;
  985. uint64_t cnt_enb:1;
  986. uint64_t reserved_16_63:48;
  987. #endif
  988. } s;
  989. struct cvmx_iob_p2c_req_pri_cnt_s cn38xx;
  990. struct cvmx_iob_p2c_req_pri_cnt_s cn38xxp2;
  991. struct cvmx_iob_p2c_req_pri_cnt_s cn52xx;
  992. struct cvmx_iob_p2c_req_pri_cnt_s cn52xxp1;
  993. struct cvmx_iob_p2c_req_pri_cnt_s cn56xx;
  994. struct cvmx_iob_p2c_req_pri_cnt_s cn56xxp1;
  995. struct cvmx_iob_p2c_req_pri_cnt_s cn58xx;
  996. struct cvmx_iob_p2c_req_pri_cnt_s cn58xxp1;
  997. struct cvmx_iob_p2c_req_pri_cnt_s cn61xx;
  998. struct cvmx_iob_p2c_req_pri_cnt_s cn63xx;
  999. struct cvmx_iob_p2c_req_pri_cnt_s cn63xxp1;
  1000. struct cvmx_iob_p2c_req_pri_cnt_s cn66xx;
  1001. struct cvmx_iob_p2c_req_pri_cnt_s cnf71xx;
  1002. };
  1003. union cvmx_iob_pkt_err {
  1004. uint64_t u64;
  1005. struct cvmx_iob_pkt_err_s {
  1006. #ifdef __BIG_ENDIAN_BITFIELD
  1007. uint64_t reserved_12_63:52;
  1008. uint64_t vport:6;
  1009. uint64_t port:6;
  1010. #else
  1011. uint64_t port:6;
  1012. uint64_t vport:6;
  1013. uint64_t reserved_12_63:52;
  1014. #endif
  1015. } s;
  1016. struct cvmx_iob_pkt_err_cn30xx {
  1017. #ifdef __BIG_ENDIAN_BITFIELD
  1018. uint64_t reserved_6_63:58;
  1019. uint64_t port:6;
  1020. #else
  1021. uint64_t port:6;
  1022. uint64_t reserved_6_63:58;
  1023. #endif
  1024. } cn30xx;
  1025. struct cvmx_iob_pkt_err_cn30xx cn31xx;
  1026. struct cvmx_iob_pkt_err_cn30xx cn38xx;
  1027. struct cvmx_iob_pkt_err_cn30xx cn38xxp2;
  1028. struct cvmx_iob_pkt_err_cn30xx cn50xx;
  1029. struct cvmx_iob_pkt_err_cn30xx cn52xx;
  1030. struct cvmx_iob_pkt_err_cn30xx cn52xxp1;
  1031. struct cvmx_iob_pkt_err_cn30xx cn56xx;
  1032. struct cvmx_iob_pkt_err_cn30xx cn56xxp1;
  1033. struct cvmx_iob_pkt_err_cn30xx cn58xx;
  1034. struct cvmx_iob_pkt_err_cn30xx cn58xxp1;
  1035. struct cvmx_iob_pkt_err_s cn61xx;
  1036. struct cvmx_iob_pkt_err_s cn63xx;
  1037. struct cvmx_iob_pkt_err_s cn63xxp1;
  1038. struct cvmx_iob_pkt_err_s cn66xx;
  1039. struct cvmx_iob_pkt_err_s cnf71xx;
  1040. };
  1041. union cvmx_iob_to_cmb_credits {
  1042. uint64_t u64;
  1043. struct cvmx_iob_to_cmb_credits_s {
  1044. #ifdef __BIG_ENDIAN_BITFIELD
  1045. uint64_t reserved_6_63:58;
  1046. uint64_t ncb_rd:3;
  1047. uint64_t ncb_wr:3;
  1048. #else
  1049. uint64_t ncb_wr:3;
  1050. uint64_t ncb_rd:3;
  1051. uint64_t reserved_6_63:58;
  1052. #endif
  1053. } s;
  1054. struct cvmx_iob_to_cmb_credits_cn52xx {
  1055. #ifdef __BIG_ENDIAN_BITFIELD
  1056. uint64_t reserved_9_63:55;
  1057. uint64_t pko_rd:3;
  1058. uint64_t ncb_rd:3;
  1059. uint64_t ncb_wr:3;
  1060. #else
  1061. uint64_t ncb_wr:3;
  1062. uint64_t ncb_rd:3;
  1063. uint64_t pko_rd:3;
  1064. uint64_t reserved_9_63:55;
  1065. #endif
  1066. } cn52xx;
  1067. struct cvmx_iob_to_cmb_credits_cn52xx cn61xx;
  1068. struct cvmx_iob_to_cmb_credits_cn52xx cn63xx;
  1069. struct cvmx_iob_to_cmb_credits_cn52xx cn63xxp1;
  1070. struct cvmx_iob_to_cmb_credits_cn52xx cn66xx;
  1071. struct cvmx_iob_to_cmb_credits_cn68xx {
  1072. #ifdef __BIG_ENDIAN_BITFIELD
  1073. uint64_t reserved_9_63:55;
  1074. uint64_t dwb:3;
  1075. uint64_t ncb_rd:3;
  1076. uint64_t ncb_wr:3;
  1077. #else
  1078. uint64_t ncb_wr:3;
  1079. uint64_t ncb_rd:3;
  1080. uint64_t dwb:3;
  1081. uint64_t reserved_9_63:55;
  1082. #endif
  1083. } cn68xx;
  1084. struct cvmx_iob_to_cmb_credits_cn68xx cn68xxp1;
  1085. struct cvmx_iob_to_cmb_credits_cn52xx cnf71xx;
  1086. };
  1087. union cvmx_iob_to_ncb_did_00_credits {
  1088. uint64_t u64;
  1089. struct cvmx_iob_to_ncb_did_00_credits_s {
  1090. #ifdef __BIG_ENDIAN_BITFIELD
  1091. uint64_t reserved_7_63:57;
  1092. uint64_t crd:7;
  1093. #else
  1094. uint64_t crd:7;
  1095. uint64_t reserved_7_63:57;
  1096. #endif
  1097. } s;
  1098. struct cvmx_iob_to_ncb_did_00_credits_s cn68xx;
  1099. struct cvmx_iob_to_ncb_did_00_credits_s cn68xxp1;
  1100. };
  1101. union cvmx_iob_to_ncb_did_111_credits {
  1102. uint64_t u64;
  1103. struct cvmx_iob_to_ncb_did_111_credits_s {
  1104. #ifdef __BIG_ENDIAN_BITFIELD
  1105. uint64_t reserved_7_63:57;
  1106. uint64_t crd:7;
  1107. #else
  1108. uint64_t crd:7;
  1109. uint64_t reserved_7_63:57;
  1110. #endif
  1111. } s;
  1112. struct cvmx_iob_to_ncb_did_111_credits_s cn68xx;
  1113. struct cvmx_iob_to_ncb_did_111_credits_s cn68xxp1;
  1114. };
  1115. union cvmx_iob_to_ncb_did_223_credits {
  1116. uint64_t u64;
  1117. struct cvmx_iob_to_ncb_did_223_credits_s {
  1118. #ifdef __BIG_ENDIAN_BITFIELD
  1119. uint64_t reserved_7_63:57;
  1120. uint64_t crd:7;
  1121. #else
  1122. uint64_t crd:7;
  1123. uint64_t reserved_7_63:57;
  1124. #endif
  1125. } s;
  1126. struct cvmx_iob_to_ncb_did_223_credits_s cn68xx;
  1127. struct cvmx_iob_to_ncb_did_223_credits_s cn68xxp1;
  1128. };
  1129. union cvmx_iob_to_ncb_did_24_credits {
  1130. uint64_t u64;
  1131. struct cvmx_iob_to_ncb_did_24_credits_s {
  1132. #ifdef __BIG_ENDIAN_BITFIELD
  1133. uint64_t reserved_7_63:57;
  1134. uint64_t crd:7;
  1135. #else
  1136. uint64_t crd:7;
  1137. uint64_t reserved_7_63:57;
  1138. #endif
  1139. } s;
  1140. struct cvmx_iob_to_ncb_did_24_credits_s cn68xx;
  1141. struct cvmx_iob_to_ncb_did_24_credits_s cn68xxp1;
  1142. };
  1143. union cvmx_iob_to_ncb_did_32_credits {
  1144. uint64_t u64;
  1145. struct cvmx_iob_to_ncb_did_32_credits_s {
  1146. #ifdef __BIG_ENDIAN_BITFIELD
  1147. uint64_t reserved_7_63:57;
  1148. uint64_t crd:7;
  1149. #else
  1150. uint64_t crd:7;
  1151. uint64_t reserved_7_63:57;
  1152. #endif
  1153. } s;
  1154. struct cvmx_iob_to_ncb_did_32_credits_s cn68xx;
  1155. struct cvmx_iob_to_ncb_did_32_credits_s cn68xxp1;
  1156. };
  1157. union cvmx_iob_to_ncb_did_40_credits {
  1158. uint64_t u64;
  1159. struct cvmx_iob_to_ncb_did_40_credits_s {
  1160. #ifdef __BIG_ENDIAN_BITFIELD
  1161. uint64_t reserved_7_63:57;
  1162. uint64_t crd:7;
  1163. #else
  1164. uint64_t crd:7;
  1165. uint64_t reserved_7_63:57;
  1166. #endif
  1167. } s;
  1168. struct cvmx_iob_to_ncb_did_40_credits_s cn68xx;
  1169. struct cvmx_iob_to_ncb_did_40_credits_s cn68xxp1;
  1170. };
  1171. union cvmx_iob_to_ncb_did_55_credits {
  1172. uint64_t u64;
  1173. struct cvmx_iob_to_ncb_did_55_credits_s {
  1174. #ifdef __BIG_ENDIAN_BITFIELD
  1175. uint64_t reserved_7_63:57;
  1176. uint64_t crd:7;
  1177. #else
  1178. uint64_t crd:7;
  1179. uint64_t reserved_7_63:57;
  1180. #endif
  1181. } s;
  1182. struct cvmx_iob_to_ncb_did_55_credits_s cn68xx;
  1183. struct cvmx_iob_to_ncb_did_55_credits_s cn68xxp1;
  1184. };
  1185. union cvmx_iob_to_ncb_did_64_credits {
  1186. uint64_t u64;
  1187. struct cvmx_iob_to_ncb_did_64_credits_s {
  1188. #ifdef __BIG_ENDIAN_BITFIELD
  1189. uint64_t reserved_7_63:57;
  1190. uint64_t crd:7;
  1191. #else
  1192. uint64_t crd:7;
  1193. uint64_t reserved_7_63:57;
  1194. #endif
  1195. } s;
  1196. struct cvmx_iob_to_ncb_did_64_credits_s cn68xx;
  1197. struct cvmx_iob_to_ncb_did_64_credits_s cn68xxp1;
  1198. };
  1199. union cvmx_iob_to_ncb_did_79_credits {
  1200. uint64_t u64;
  1201. struct cvmx_iob_to_ncb_did_79_credits_s {
  1202. #ifdef __BIG_ENDIAN_BITFIELD
  1203. uint64_t reserved_7_63:57;
  1204. uint64_t crd:7;
  1205. #else
  1206. uint64_t crd:7;
  1207. uint64_t reserved_7_63:57;
  1208. #endif
  1209. } s;
  1210. struct cvmx_iob_to_ncb_did_79_credits_s cn68xx;
  1211. struct cvmx_iob_to_ncb_did_79_credits_s cn68xxp1;
  1212. };
  1213. union cvmx_iob_to_ncb_did_96_credits {
  1214. uint64_t u64;
  1215. struct cvmx_iob_to_ncb_did_96_credits_s {
  1216. #ifdef __BIG_ENDIAN_BITFIELD
  1217. uint64_t reserved_7_63:57;
  1218. uint64_t crd:7;
  1219. #else
  1220. uint64_t crd:7;
  1221. uint64_t reserved_7_63:57;
  1222. #endif
  1223. } s;
  1224. struct cvmx_iob_to_ncb_did_96_credits_s cn68xx;
  1225. struct cvmx_iob_to_ncb_did_96_credits_s cn68xxp1;
  1226. };
  1227. union cvmx_iob_to_ncb_did_98_credits {
  1228. uint64_t u64;
  1229. struct cvmx_iob_to_ncb_did_98_credits_s {
  1230. #ifdef __BIG_ENDIAN_BITFIELD
  1231. uint64_t reserved_7_63:57;
  1232. uint64_t crd:7;
  1233. #else
  1234. uint64_t crd:7;
  1235. uint64_t reserved_7_63:57;
  1236. #endif
  1237. } s;
  1238. struct cvmx_iob_to_ncb_did_98_credits_s cn68xx;
  1239. struct cvmx_iob_to_ncb_did_98_credits_s cn68xxp1;
  1240. };
  1241. #endif