cvmx-asxx-defs.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  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-2008 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_ASXX_DEFS_H__
  28. #define __CVMX_ASXX_DEFS_H__
  29. #define CVMX_ASXX_GMII_RX_CLK_SET(block_id) \
  30. CVMX_ADD_IO_SEG(0x00011800B0000180ull + (((block_id) & 0) * 0x8000000ull))
  31. #define CVMX_ASXX_GMII_RX_DAT_SET(block_id) \
  32. CVMX_ADD_IO_SEG(0x00011800B0000188ull + (((block_id) & 0) * 0x8000000ull))
  33. #define CVMX_ASXX_INT_EN(block_id) \
  34. CVMX_ADD_IO_SEG(0x00011800B0000018ull + (((block_id) & 1) * 0x8000000ull))
  35. #define CVMX_ASXX_INT_REG(block_id) \
  36. CVMX_ADD_IO_SEG(0x00011800B0000010ull + (((block_id) & 1) * 0x8000000ull))
  37. #define CVMX_ASXX_MII_RX_DAT_SET(block_id) \
  38. CVMX_ADD_IO_SEG(0x00011800B0000190ull + (((block_id) & 0) * 0x8000000ull))
  39. #define CVMX_ASXX_PRT_LOOP(block_id) \
  40. CVMX_ADD_IO_SEG(0x00011800B0000040ull + (((block_id) & 1) * 0x8000000ull))
  41. #define CVMX_ASXX_RLD_BYPASS(block_id) \
  42. CVMX_ADD_IO_SEG(0x00011800B0000248ull + (((block_id) & 1) * 0x8000000ull))
  43. #define CVMX_ASXX_RLD_BYPASS_SETTING(block_id) \
  44. CVMX_ADD_IO_SEG(0x00011800B0000250ull + (((block_id) & 1) * 0x8000000ull))
  45. #define CVMX_ASXX_RLD_COMP(block_id) \
  46. CVMX_ADD_IO_SEG(0x00011800B0000220ull + (((block_id) & 1) * 0x8000000ull))
  47. #define CVMX_ASXX_RLD_DATA_DRV(block_id) \
  48. CVMX_ADD_IO_SEG(0x00011800B0000218ull + (((block_id) & 1) * 0x8000000ull))
  49. #define CVMX_ASXX_RLD_FCRAM_MODE(block_id) \
  50. CVMX_ADD_IO_SEG(0x00011800B0000210ull + (((block_id) & 1) * 0x8000000ull))
  51. #define CVMX_ASXX_RLD_NCTL_STRONG(block_id) \
  52. CVMX_ADD_IO_SEG(0x00011800B0000230ull + (((block_id) & 1) * 0x8000000ull))
  53. #define CVMX_ASXX_RLD_NCTL_WEAK(block_id) \
  54. CVMX_ADD_IO_SEG(0x00011800B0000240ull + (((block_id) & 1) * 0x8000000ull))
  55. #define CVMX_ASXX_RLD_PCTL_STRONG(block_id) \
  56. CVMX_ADD_IO_SEG(0x00011800B0000228ull + (((block_id) & 1) * 0x8000000ull))
  57. #define CVMX_ASXX_RLD_PCTL_WEAK(block_id) \
  58. CVMX_ADD_IO_SEG(0x00011800B0000238ull + (((block_id) & 1) * 0x8000000ull))
  59. #define CVMX_ASXX_RLD_SETTING(block_id) \
  60. CVMX_ADD_IO_SEG(0x00011800B0000258ull + (((block_id) & 1) * 0x8000000ull))
  61. #define CVMX_ASXX_RX_CLK_SETX(offset, block_id) \
  62. CVMX_ADD_IO_SEG(0x00011800B0000020ull + (((offset) & 3) * 8) + (((block_id) & 1) * 0x8000000ull))
  63. #define CVMX_ASXX_RX_PRT_EN(block_id) \
  64. CVMX_ADD_IO_SEG(0x00011800B0000000ull + (((block_id) & 1) * 0x8000000ull))
  65. #define CVMX_ASXX_RX_WOL(block_id) \
  66. CVMX_ADD_IO_SEG(0x00011800B0000100ull + (((block_id) & 1) * 0x8000000ull))
  67. #define CVMX_ASXX_RX_WOL_MSK(block_id) \
  68. CVMX_ADD_IO_SEG(0x00011800B0000108ull + (((block_id) & 1) * 0x8000000ull))
  69. #define CVMX_ASXX_RX_WOL_POWOK(block_id) \
  70. CVMX_ADD_IO_SEG(0x00011800B0000118ull + (((block_id) & 1) * 0x8000000ull))
  71. #define CVMX_ASXX_RX_WOL_SIG(block_id) \
  72. CVMX_ADD_IO_SEG(0x00011800B0000110ull + (((block_id) & 1) * 0x8000000ull))
  73. #define CVMX_ASXX_TX_CLK_SETX(offset, block_id) \
  74. CVMX_ADD_IO_SEG(0x00011800B0000048ull + (((offset) & 3) * 8) + (((block_id) & 1) * 0x8000000ull))
  75. #define CVMX_ASXX_TX_COMP_BYP(block_id) \
  76. CVMX_ADD_IO_SEG(0x00011800B0000068ull + (((block_id) & 1) * 0x8000000ull))
  77. #define CVMX_ASXX_TX_HI_WATERX(offset, block_id) \
  78. CVMX_ADD_IO_SEG(0x00011800B0000080ull + (((offset) & 3) * 8) + (((block_id) & 1) * 0x8000000ull))
  79. #define CVMX_ASXX_TX_PRT_EN(block_id) \
  80. CVMX_ADD_IO_SEG(0x00011800B0000008ull + (((block_id) & 1) * 0x8000000ull))
  81. union cvmx_asxx_gmii_rx_clk_set {
  82. uint64_t u64;
  83. struct cvmx_asxx_gmii_rx_clk_set_s {
  84. uint64_t reserved_5_63:59;
  85. uint64_t setting:5;
  86. } s;
  87. struct cvmx_asxx_gmii_rx_clk_set_s cn30xx;
  88. struct cvmx_asxx_gmii_rx_clk_set_s cn31xx;
  89. struct cvmx_asxx_gmii_rx_clk_set_s cn50xx;
  90. };
  91. union cvmx_asxx_gmii_rx_dat_set {
  92. uint64_t u64;
  93. struct cvmx_asxx_gmii_rx_dat_set_s {
  94. uint64_t reserved_5_63:59;
  95. uint64_t setting:5;
  96. } s;
  97. struct cvmx_asxx_gmii_rx_dat_set_s cn30xx;
  98. struct cvmx_asxx_gmii_rx_dat_set_s cn31xx;
  99. struct cvmx_asxx_gmii_rx_dat_set_s cn50xx;
  100. };
  101. union cvmx_asxx_int_en {
  102. uint64_t u64;
  103. struct cvmx_asxx_int_en_s {
  104. uint64_t reserved_12_63:52;
  105. uint64_t txpsh:4;
  106. uint64_t txpop:4;
  107. uint64_t ovrflw:4;
  108. } s;
  109. struct cvmx_asxx_int_en_cn30xx {
  110. uint64_t reserved_11_63:53;
  111. uint64_t txpsh:3;
  112. uint64_t reserved_7_7:1;
  113. uint64_t txpop:3;
  114. uint64_t reserved_3_3:1;
  115. uint64_t ovrflw:3;
  116. } cn30xx;
  117. struct cvmx_asxx_int_en_cn30xx cn31xx;
  118. struct cvmx_asxx_int_en_s cn38xx;
  119. struct cvmx_asxx_int_en_s cn38xxp2;
  120. struct cvmx_asxx_int_en_cn30xx cn50xx;
  121. struct cvmx_asxx_int_en_s cn58xx;
  122. struct cvmx_asxx_int_en_s cn58xxp1;
  123. };
  124. union cvmx_asxx_int_reg {
  125. uint64_t u64;
  126. struct cvmx_asxx_int_reg_s {
  127. uint64_t reserved_12_63:52;
  128. uint64_t txpsh:4;
  129. uint64_t txpop:4;
  130. uint64_t ovrflw:4;
  131. } s;
  132. struct cvmx_asxx_int_reg_cn30xx {
  133. uint64_t reserved_11_63:53;
  134. uint64_t txpsh:3;
  135. uint64_t reserved_7_7:1;
  136. uint64_t txpop:3;
  137. uint64_t reserved_3_3:1;
  138. uint64_t ovrflw:3;
  139. } cn30xx;
  140. struct cvmx_asxx_int_reg_cn30xx cn31xx;
  141. struct cvmx_asxx_int_reg_s cn38xx;
  142. struct cvmx_asxx_int_reg_s cn38xxp2;
  143. struct cvmx_asxx_int_reg_cn30xx cn50xx;
  144. struct cvmx_asxx_int_reg_s cn58xx;
  145. struct cvmx_asxx_int_reg_s cn58xxp1;
  146. };
  147. union cvmx_asxx_mii_rx_dat_set {
  148. uint64_t u64;
  149. struct cvmx_asxx_mii_rx_dat_set_s {
  150. uint64_t reserved_5_63:59;
  151. uint64_t setting:5;
  152. } s;
  153. struct cvmx_asxx_mii_rx_dat_set_s cn30xx;
  154. struct cvmx_asxx_mii_rx_dat_set_s cn50xx;
  155. };
  156. union cvmx_asxx_prt_loop {
  157. uint64_t u64;
  158. struct cvmx_asxx_prt_loop_s {
  159. uint64_t reserved_8_63:56;
  160. uint64_t ext_loop:4;
  161. uint64_t int_loop:4;
  162. } s;
  163. struct cvmx_asxx_prt_loop_cn30xx {
  164. uint64_t reserved_7_63:57;
  165. uint64_t ext_loop:3;
  166. uint64_t reserved_3_3:1;
  167. uint64_t int_loop:3;
  168. } cn30xx;
  169. struct cvmx_asxx_prt_loop_cn30xx cn31xx;
  170. struct cvmx_asxx_prt_loop_s cn38xx;
  171. struct cvmx_asxx_prt_loop_s cn38xxp2;
  172. struct cvmx_asxx_prt_loop_cn30xx cn50xx;
  173. struct cvmx_asxx_prt_loop_s cn58xx;
  174. struct cvmx_asxx_prt_loop_s cn58xxp1;
  175. };
  176. union cvmx_asxx_rld_bypass {
  177. uint64_t u64;
  178. struct cvmx_asxx_rld_bypass_s {
  179. uint64_t reserved_1_63:63;
  180. uint64_t bypass:1;
  181. } s;
  182. struct cvmx_asxx_rld_bypass_s cn38xx;
  183. struct cvmx_asxx_rld_bypass_s cn38xxp2;
  184. struct cvmx_asxx_rld_bypass_s cn58xx;
  185. struct cvmx_asxx_rld_bypass_s cn58xxp1;
  186. };
  187. union cvmx_asxx_rld_bypass_setting {
  188. uint64_t u64;
  189. struct cvmx_asxx_rld_bypass_setting_s {
  190. uint64_t reserved_5_63:59;
  191. uint64_t setting:5;
  192. } s;
  193. struct cvmx_asxx_rld_bypass_setting_s cn38xx;
  194. struct cvmx_asxx_rld_bypass_setting_s cn38xxp2;
  195. struct cvmx_asxx_rld_bypass_setting_s cn58xx;
  196. struct cvmx_asxx_rld_bypass_setting_s cn58xxp1;
  197. };
  198. union cvmx_asxx_rld_comp {
  199. uint64_t u64;
  200. struct cvmx_asxx_rld_comp_s {
  201. uint64_t reserved_9_63:55;
  202. uint64_t pctl:5;
  203. uint64_t nctl:4;
  204. } s;
  205. struct cvmx_asxx_rld_comp_cn38xx {
  206. uint64_t reserved_8_63:56;
  207. uint64_t pctl:4;
  208. uint64_t nctl:4;
  209. } cn38xx;
  210. struct cvmx_asxx_rld_comp_cn38xx cn38xxp2;
  211. struct cvmx_asxx_rld_comp_s cn58xx;
  212. struct cvmx_asxx_rld_comp_s cn58xxp1;
  213. };
  214. union cvmx_asxx_rld_data_drv {
  215. uint64_t u64;
  216. struct cvmx_asxx_rld_data_drv_s {
  217. uint64_t reserved_8_63:56;
  218. uint64_t pctl:4;
  219. uint64_t nctl:4;
  220. } s;
  221. struct cvmx_asxx_rld_data_drv_s cn38xx;
  222. struct cvmx_asxx_rld_data_drv_s cn38xxp2;
  223. struct cvmx_asxx_rld_data_drv_s cn58xx;
  224. struct cvmx_asxx_rld_data_drv_s cn58xxp1;
  225. };
  226. union cvmx_asxx_rld_fcram_mode {
  227. uint64_t u64;
  228. struct cvmx_asxx_rld_fcram_mode_s {
  229. uint64_t reserved_1_63:63;
  230. uint64_t mode:1;
  231. } s;
  232. struct cvmx_asxx_rld_fcram_mode_s cn38xx;
  233. struct cvmx_asxx_rld_fcram_mode_s cn38xxp2;
  234. };
  235. union cvmx_asxx_rld_nctl_strong {
  236. uint64_t u64;
  237. struct cvmx_asxx_rld_nctl_strong_s {
  238. uint64_t reserved_5_63:59;
  239. uint64_t nctl:5;
  240. } s;
  241. struct cvmx_asxx_rld_nctl_strong_s cn38xx;
  242. struct cvmx_asxx_rld_nctl_strong_s cn38xxp2;
  243. struct cvmx_asxx_rld_nctl_strong_s cn58xx;
  244. struct cvmx_asxx_rld_nctl_strong_s cn58xxp1;
  245. };
  246. union cvmx_asxx_rld_nctl_weak {
  247. uint64_t u64;
  248. struct cvmx_asxx_rld_nctl_weak_s {
  249. uint64_t reserved_5_63:59;
  250. uint64_t nctl:5;
  251. } s;
  252. struct cvmx_asxx_rld_nctl_weak_s cn38xx;
  253. struct cvmx_asxx_rld_nctl_weak_s cn38xxp2;
  254. struct cvmx_asxx_rld_nctl_weak_s cn58xx;
  255. struct cvmx_asxx_rld_nctl_weak_s cn58xxp1;
  256. };
  257. union cvmx_asxx_rld_pctl_strong {
  258. uint64_t u64;
  259. struct cvmx_asxx_rld_pctl_strong_s {
  260. uint64_t reserved_5_63:59;
  261. uint64_t pctl:5;
  262. } s;
  263. struct cvmx_asxx_rld_pctl_strong_s cn38xx;
  264. struct cvmx_asxx_rld_pctl_strong_s cn38xxp2;
  265. struct cvmx_asxx_rld_pctl_strong_s cn58xx;
  266. struct cvmx_asxx_rld_pctl_strong_s cn58xxp1;
  267. };
  268. union cvmx_asxx_rld_pctl_weak {
  269. uint64_t u64;
  270. struct cvmx_asxx_rld_pctl_weak_s {
  271. uint64_t reserved_5_63:59;
  272. uint64_t pctl:5;
  273. } s;
  274. struct cvmx_asxx_rld_pctl_weak_s cn38xx;
  275. struct cvmx_asxx_rld_pctl_weak_s cn38xxp2;
  276. struct cvmx_asxx_rld_pctl_weak_s cn58xx;
  277. struct cvmx_asxx_rld_pctl_weak_s cn58xxp1;
  278. };
  279. union cvmx_asxx_rld_setting {
  280. uint64_t u64;
  281. struct cvmx_asxx_rld_setting_s {
  282. uint64_t reserved_13_63:51;
  283. uint64_t dfaset:5;
  284. uint64_t dfalag:1;
  285. uint64_t dfalead:1;
  286. uint64_t dfalock:1;
  287. uint64_t setting:5;
  288. } s;
  289. struct cvmx_asxx_rld_setting_cn38xx {
  290. uint64_t reserved_5_63:59;
  291. uint64_t setting:5;
  292. } cn38xx;
  293. struct cvmx_asxx_rld_setting_cn38xx cn38xxp2;
  294. struct cvmx_asxx_rld_setting_s cn58xx;
  295. struct cvmx_asxx_rld_setting_s cn58xxp1;
  296. };
  297. union cvmx_asxx_rx_clk_setx {
  298. uint64_t u64;
  299. struct cvmx_asxx_rx_clk_setx_s {
  300. uint64_t reserved_5_63:59;
  301. uint64_t setting:5;
  302. } s;
  303. struct cvmx_asxx_rx_clk_setx_s cn30xx;
  304. struct cvmx_asxx_rx_clk_setx_s cn31xx;
  305. struct cvmx_asxx_rx_clk_setx_s cn38xx;
  306. struct cvmx_asxx_rx_clk_setx_s cn38xxp2;
  307. struct cvmx_asxx_rx_clk_setx_s cn50xx;
  308. struct cvmx_asxx_rx_clk_setx_s cn58xx;
  309. struct cvmx_asxx_rx_clk_setx_s cn58xxp1;
  310. };
  311. union cvmx_asxx_rx_prt_en {
  312. uint64_t u64;
  313. struct cvmx_asxx_rx_prt_en_s {
  314. uint64_t reserved_4_63:60;
  315. uint64_t prt_en:4;
  316. } s;
  317. struct cvmx_asxx_rx_prt_en_cn30xx {
  318. uint64_t reserved_3_63:61;
  319. uint64_t prt_en:3;
  320. } cn30xx;
  321. struct cvmx_asxx_rx_prt_en_cn30xx cn31xx;
  322. struct cvmx_asxx_rx_prt_en_s cn38xx;
  323. struct cvmx_asxx_rx_prt_en_s cn38xxp2;
  324. struct cvmx_asxx_rx_prt_en_cn30xx cn50xx;
  325. struct cvmx_asxx_rx_prt_en_s cn58xx;
  326. struct cvmx_asxx_rx_prt_en_s cn58xxp1;
  327. };
  328. union cvmx_asxx_rx_wol {
  329. uint64_t u64;
  330. struct cvmx_asxx_rx_wol_s {
  331. uint64_t reserved_2_63:62;
  332. uint64_t status:1;
  333. uint64_t enable:1;
  334. } s;
  335. struct cvmx_asxx_rx_wol_s cn38xx;
  336. struct cvmx_asxx_rx_wol_s cn38xxp2;
  337. };
  338. union cvmx_asxx_rx_wol_msk {
  339. uint64_t u64;
  340. struct cvmx_asxx_rx_wol_msk_s {
  341. uint64_t msk:64;
  342. } s;
  343. struct cvmx_asxx_rx_wol_msk_s cn38xx;
  344. struct cvmx_asxx_rx_wol_msk_s cn38xxp2;
  345. };
  346. union cvmx_asxx_rx_wol_powok {
  347. uint64_t u64;
  348. struct cvmx_asxx_rx_wol_powok_s {
  349. uint64_t reserved_1_63:63;
  350. uint64_t powerok:1;
  351. } s;
  352. struct cvmx_asxx_rx_wol_powok_s cn38xx;
  353. struct cvmx_asxx_rx_wol_powok_s cn38xxp2;
  354. };
  355. union cvmx_asxx_rx_wol_sig {
  356. uint64_t u64;
  357. struct cvmx_asxx_rx_wol_sig_s {
  358. uint64_t reserved_32_63:32;
  359. uint64_t sig:32;
  360. } s;
  361. struct cvmx_asxx_rx_wol_sig_s cn38xx;
  362. struct cvmx_asxx_rx_wol_sig_s cn38xxp2;
  363. };
  364. union cvmx_asxx_tx_clk_setx {
  365. uint64_t u64;
  366. struct cvmx_asxx_tx_clk_setx_s {
  367. uint64_t reserved_5_63:59;
  368. uint64_t setting:5;
  369. } s;
  370. struct cvmx_asxx_tx_clk_setx_s cn30xx;
  371. struct cvmx_asxx_tx_clk_setx_s cn31xx;
  372. struct cvmx_asxx_tx_clk_setx_s cn38xx;
  373. struct cvmx_asxx_tx_clk_setx_s cn38xxp2;
  374. struct cvmx_asxx_tx_clk_setx_s cn50xx;
  375. struct cvmx_asxx_tx_clk_setx_s cn58xx;
  376. struct cvmx_asxx_tx_clk_setx_s cn58xxp1;
  377. };
  378. union cvmx_asxx_tx_comp_byp {
  379. uint64_t u64;
  380. struct cvmx_asxx_tx_comp_byp_s {
  381. uint64_t reserved_0_63:64;
  382. } s;
  383. struct cvmx_asxx_tx_comp_byp_cn30xx {
  384. uint64_t reserved_9_63:55;
  385. uint64_t bypass:1;
  386. uint64_t pctl:4;
  387. uint64_t nctl:4;
  388. } cn30xx;
  389. struct cvmx_asxx_tx_comp_byp_cn30xx cn31xx;
  390. struct cvmx_asxx_tx_comp_byp_cn38xx {
  391. uint64_t reserved_8_63:56;
  392. uint64_t pctl:4;
  393. uint64_t nctl:4;
  394. } cn38xx;
  395. struct cvmx_asxx_tx_comp_byp_cn38xx cn38xxp2;
  396. struct cvmx_asxx_tx_comp_byp_cn50xx {
  397. uint64_t reserved_17_63:47;
  398. uint64_t bypass:1;
  399. uint64_t reserved_13_15:3;
  400. uint64_t pctl:5;
  401. uint64_t reserved_5_7:3;
  402. uint64_t nctl:5;
  403. } cn50xx;
  404. struct cvmx_asxx_tx_comp_byp_cn58xx {
  405. uint64_t reserved_13_63:51;
  406. uint64_t pctl:5;
  407. uint64_t reserved_5_7:3;
  408. uint64_t nctl:5;
  409. } cn58xx;
  410. struct cvmx_asxx_tx_comp_byp_cn58xx cn58xxp1;
  411. };
  412. union cvmx_asxx_tx_hi_waterx {
  413. uint64_t u64;
  414. struct cvmx_asxx_tx_hi_waterx_s {
  415. uint64_t reserved_4_63:60;
  416. uint64_t mark:4;
  417. } s;
  418. struct cvmx_asxx_tx_hi_waterx_cn30xx {
  419. uint64_t reserved_3_63:61;
  420. uint64_t mark:3;
  421. } cn30xx;
  422. struct cvmx_asxx_tx_hi_waterx_cn30xx cn31xx;
  423. struct cvmx_asxx_tx_hi_waterx_s cn38xx;
  424. struct cvmx_asxx_tx_hi_waterx_s cn38xxp2;
  425. struct cvmx_asxx_tx_hi_waterx_cn30xx cn50xx;
  426. struct cvmx_asxx_tx_hi_waterx_s cn58xx;
  427. struct cvmx_asxx_tx_hi_waterx_s cn58xxp1;
  428. };
  429. union cvmx_asxx_tx_prt_en {
  430. uint64_t u64;
  431. struct cvmx_asxx_tx_prt_en_s {
  432. uint64_t reserved_4_63:60;
  433. uint64_t prt_en:4;
  434. } s;
  435. struct cvmx_asxx_tx_prt_en_cn30xx {
  436. uint64_t reserved_3_63:61;
  437. uint64_t prt_en:3;
  438. } cn30xx;
  439. struct cvmx_asxx_tx_prt_en_cn30xx cn31xx;
  440. struct cvmx_asxx_tx_prt_en_s cn38xx;
  441. struct cvmx_asxx_tx_prt_en_s cn38xxp2;
  442. struct cvmx_asxx_tx_prt_en_cn30xx cn50xx;
  443. struct cvmx_asxx_tx_prt_en_s cn58xx;
  444. struct cvmx_asxx_tx_prt_en_s cn58xxp1;
  445. };
  446. #endif