18c2ecf20Sopenharmony_ci/***********************license start*************** 28c2ecf20Sopenharmony_ci * Author: Cavium Networks 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * Contact: support@caviumnetworks.com 58c2ecf20Sopenharmony_ci * This file is part of the OCTEON SDK 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * Copyright (c) 2003-2012 Cavium Networks 88c2ecf20Sopenharmony_ci * 98c2ecf20Sopenharmony_ci * This file is free software; you can redistribute it and/or modify 108c2ecf20Sopenharmony_ci * it under the terms of the GNU General Public License, Version 2, as 118c2ecf20Sopenharmony_ci * published by the Free Software Foundation. 128c2ecf20Sopenharmony_ci * 138c2ecf20Sopenharmony_ci * This file is distributed in the hope that it will be useful, but 148c2ecf20Sopenharmony_ci * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 158c2ecf20Sopenharmony_ci * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or 168c2ecf20Sopenharmony_ci * NONINFRINGEMENT. See the GNU General Public License for more 178c2ecf20Sopenharmony_ci * details. 188c2ecf20Sopenharmony_ci * 198c2ecf20Sopenharmony_ci * You should have received a copy of the GNU General Public License 208c2ecf20Sopenharmony_ci * along with this file; if not, write to the Free Software 218c2ecf20Sopenharmony_ci * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 228c2ecf20Sopenharmony_ci * or visit http://www.gnu.org/licenses/. 238c2ecf20Sopenharmony_ci * 248c2ecf20Sopenharmony_ci * This file may also be available under a different license from Cavium. 258c2ecf20Sopenharmony_ci * Contact Cavium Networks for more information 268c2ecf20Sopenharmony_ci ***********************license end**************************************/ 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci#ifndef __CVMX_DPI_DEFS_H__ 298c2ecf20Sopenharmony_ci#define __CVMX_DPI_DEFS_H__ 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci#define CVMX_DPI_BIST_STATUS (CVMX_ADD_IO_SEG(0x0001DF0000000000ull)) 328c2ecf20Sopenharmony_ci#define CVMX_DPI_CTL (CVMX_ADD_IO_SEG(0x0001DF0000000040ull)) 338c2ecf20Sopenharmony_ci#define CVMX_DPI_DMAX_COUNTS(offset) (CVMX_ADD_IO_SEG(0x0001DF0000000300ull) + ((offset) & 7) * 8) 348c2ecf20Sopenharmony_ci#define CVMX_DPI_DMAX_DBELL(offset) (CVMX_ADD_IO_SEG(0x0001DF0000000200ull) + ((offset) & 7) * 8) 358c2ecf20Sopenharmony_ci#define CVMX_DPI_DMAX_ERR_RSP_STATUS(offset) (CVMX_ADD_IO_SEG(0x0001DF0000000A80ull) + ((offset) & 7) * 8) 368c2ecf20Sopenharmony_ci#define CVMX_DPI_DMAX_IBUFF_SADDR(offset) (CVMX_ADD_IO_SEG(0x0001DF0000000280ull) + ((offset) & 7) * 8) 378c2ecf20Sopenharmony_ci#define CVMX_DPI_DMAX_IFLIGHT(offset) (CVMX_ADD_IO_SEG(0x0001DF0000000A00ull) + ((offset) & 7) * 8) 388c2ecf20Sopenharmony_ci#define CVMX_DPI_DMAX_NADDR(offset) (CVMX_ADD_IO_SEG(0x0001DF0000000380ull) + ((offset) & 7) * 8) 398c2ecf20Sopenharmony_ci#define CVMX_DPI_DMAX_REQBNK0(offset) (CVMX_ADD_IO_SEG(0x0001DF0000000400ull) + ((offset) & 7) * 8) 408c2ecf20Sopenharmony_ci#define CVMX_DPI_DMAX_REQBNK1(offset) (CVMX_ADD_IO_SEG(0x0001DF0000000480ull) + ((offset) & 7) * 8) 418c2ecf20Sopenharmony_ci#define CVMX_DPI_DMA_CONTROL (CVMX_ADD_IO_SEG(0x0001DF0000000048ull)) 428c2ecf20Sopenharmony_ci#define CVMX_DPI_DMA_ENGX_EN(offset) (CVMX_ADD_IO_SEG(0x0001DF0000000080ull) + ((offset) & 7) * 8) 438c2ecf20Sopenharmony_ci#define CVMX_DPI_DMA_PPX_CNT(offset) (CVMX_ADD_IO_SEG(0x0001DF0000000B00ull) + ((offset) & 31) * 8) 448c2ecf20Sopenharmony_ci#define CVMX_DPI_ENGX_BUF(offset) (CVMX_ADD_IO_SEG(0x0001DF0000000880ull) + ((offset) & 7) * 8) 458c2ecf20Sopenharmony_ci#define CVMX_DPI_INFO_REG (CVMX_ADD_IO_SEG(0x0001DF0000000980ull)) 468c2ecf20Sopenharmony_ci#define CVMX_DPI_INT_EN (CVMX_ADD_IO_SEG(0x0001DF0000000010ull)) 478c2ecf20Sopenharmony_ci#define CVMX_DPI_INT_REG (CVMX_ADD_IO_SEG(0x0001DF0000000008ull)) 488c2ecf20Sopenharmony_ci#define CVMX_DPI_NCBX_CFG(block_id) (CVMX_ADD_IO_SEG(0x0001DF0000000800ull)) 498c2ecf20Sopenharmony_ci#define CVMX_DPI_PINT_INFO (CVMX_ADD_IO_SEG(0x0001DF0000000830ull)) 508c2ecf20Sopenharmony_ci#define CVMX_DPI_PKT_ERR_RSP (CVMX_ADD_IO_SEG(0x0001DF0000000078ull)) 518c2ecf20Sopenharmony_ci#define CVMX_DPI_REQ_ERR_RSP (CVMX_ADD_IO_SEG(0x0001DF0000000058ull)) 528c2ecf20Sopenharmony_ci#define CVMX_DPI_REQ_ERR_RSP_EN (CVMX_ADD_IO_SEG(0x0001DF0000000068ull)) 538c2ecf20Sopenharmony_ci#define CVMX_DPI_REQ_ERR_RST (CVMX_ADD_IO_SEG(0x0001DF0000000060ull)) 548c2ecf20Sopenharmony_ci#define CVMX_DPI_REQ_ERR_RST_EN (CVMX_ADD_IO_SEG(0x0001DF0000000070ull)) 558c2ecf20Sopenharmony_ci#define CVMX_DPI_REQ_ERR_SKIP_COMP (CVMX_ADD_IO_SEG(0x0001DF0000000838ull)) 568c2ecf20Sopenharmony_ci#define CVMX_DPI_REQ_GBL_EN (CVMX_ADD_IO_SEG(0x0001DF0000000050ull)) 578c2ecf20Sopenharmony_ci#define CVMX_DPI_SLI_PRTX_CFG(offset) (CVMX_ADD_IO_SEG(0x0001DF0000000900ull) + ((offset) & 3) * 8) 588c2ecf20Sopenharmony_cistatic inline uint64_t CVMX_DPI_SLI_PRTX_ERR(unsigned long offset) 598c2ecf20Sopenharmony_ci{ 608c2ecf20Sopenharmony_ci switch (cvmx_get_octeon_family()) { 618c2ecf20Sopenharmony_ci case OCTEON_CN66XX & OCTEON_FAMILY_MASK: 628c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001DF0000000920ull) + (offset) * 8; 638c2ecf20Sopenharmony_ci case OCTEON_CNF71XX & OCTEON_FAMILY_MASK: 648c2ecf20Sopenharmony_ci case OCTEON_CN61XX & OCTEON_FAMILY_MASK: 658c2ecf20Sopenharmony_ci case OCTEON_CN68XX & OCTEON_FAMILY_MASK: 668c2ecf20Sopenharmony_ci 678c2ecf20Sopenharmony_ci if (OCTEON_IS_MODEL(OCTEON_CN68XX_PASS1)) 688c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001DF0000000928ull) + (offset) * 8; 698c2ecf20Sopenharmony_ci 708c2ecf20Sopenharmony_ci if (OCTEON_IS_MODEL(OCTEON_CN68XX_PASS2)) 718c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001DF0000000920ull) + (offset) * 8; 728c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001DF0000000920ull) + (offset) * 8; 738c2ecf20Sopenharmony_ci case OCTEON_CN63XX & OCTEON_FAMILY_MASK: 748c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001DF0000000928ull) + (offset) * 8; 758c2ecf20Sopenharmony_ci } 768c2ecf20Sopenharmony_ci return CVMX_ADD_IO_SEG(0x0001DF0000000920ull) + (offset) * 8; 778c2ecf20Sopenharmony_ci} 788c2ecf20Sopenharmony_ci 798c2ecf20Sopenharmony_ci#define CVMX_DPI_SLI_PRTX_ERR_INFO(offset) (CVMX_ADD_IO_SEG(0x0001DF0000000940ull) + ((offset) & 3) * 8) 808c2ecf20Sopenharmony_ci 818c2ecf20Sopenharmony_ciunion cvmx_dpi_bist_status { 828c2ecf20Sopenharmony_ci uint64_t u64; 838c2ecf20Sopenharmony_ci struct cvmx_dpi_bist_status_s { 848c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 858c2ecf20Sopenharmony_ci uint64_t reserved_47_63:17; 868c2ecf20Sopenharmony_ci uint64_t bist:47; 878c2ecf20Sopenharmony_ci#else 888c2ecf20Sopenharmony_ci uint64_t bist:47; 898c2ecf20Sopenharmony_ci uint64_t reserved_47_63:17; 908c2ecf20Sopenharmony_ci#endif 918c2ecf20Sopenharmony_ci } s; 928c2ecf20Sopenharmony_ci struct cvmx_dpi_bist_status_cn63xx { 938c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 948c2ecf20Sopenharmony_ci uint64_t reserved_45_63:19; 958c2ecf20Sopenharmony_ci uint64_t bist:45; 968c2ecf20Sopenharmony_ci#else 978c2ecf20Sopenharmony_ci uint64_t bist:45; 988c2ecf20Sopenharmony_ci uint64_t reserved_45_63:19; 998c2ecf20Sopenharmony_ci#endif 1008c2ecf20Sopenharmony_ci } cn63xx; 1018c2ecf20Sopenharmony_ci struct cvmx_dpi_bist_status_cn63xxp1 { 1028c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1038c2ecf20Sopenharmony_ci uint64_t reserved_37_63:27; 1048c2ecf20Sopenharmony_ci uint64_t bist:37; 1058c2ecf20Sopenharmony_ci#else 1068c2ecf20Sopenharmony_ci uint64_t bist:37; 1078c2ecf20Sopenharmony_ci uint64_t reserved_37_63:27; 1088c2ecf20Sopenharmony_ci#endif 1098c2ecf20Sopenharmony_ci } cn63xxp1; 1108c2ecf20Sopenharmony_ci}; 1118c2ecf20Sopenharmony_ci 1128c2ecf20Sopenharmony_ciunion cvmx_dpi_ctl { 1138c2ecf20Sopenharmony_ci uint64_t u64; 1148c2ecf20Sopenharmony_ci struct cvmx_dpi_ctl_s { 1158c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1168c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 1178c2ecf20Sopenharmony_ci uint64_t clk:1; 1188c2ecf20Sopenharmony_ci uint64_t en:1; 1198c2ecf20Sopenharmony_ci#else 1208c2ecf20Sopenharmony_ci uint64_t en:1; 1218c2ecf20Sopenharmony_ci uint64_t clk:1; 1228c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 1238c2ecf20Sopenharmony_ci#endif 1248c2ecf20Sopenharmony_ci } s; 1258c2ecf20Sopenharmony_ci struct cvmx_dpi_ctl_cn61xx { 1268c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1278c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 1288c2ecf20Sopenharmony_ci uint64_t en:1; 1298c2ecf20Sopenharmony_ci#else 1308c2ecf20Sopenharmony_ci uint64_t en:1; 1318c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 1328c2ecf20Sopenharmony_ci#endif 1338c2ecf20Sopenharmony_ci } cn61xx; 1348c2ecf20Sopenharmony_ci}; 1358c2ecf20Sopenharmony_ci 1368c2ecf20Sopenharmony_ciunion cvmx_dpi_dmax_counts { 1378c2ecf20Sopenharmony_ci uint64_t u64; 1388c2ecf20Sopenharmony_ci struct cvmx_dpi_dmax_counts_s { 1398c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1408c2ecf20Sopenharmony_ci uint64_t reserved_39_63:25; 1418c2ecf20Sopenharmony_ci uint64_t fcnt:7; 1428c2ecf20Sopenharmony_ci uint64_t dbell:32; 1438c2ecf20Sopenharmony_ci#else 1448c2ecf20Sopenharmony_ci uint64_t dbell:32; 1458c2ecf20Sopenharmony_ci uint64_t fcnt:7; 1468c2ecf20Sopenharmony_ci uint64_t reserved_39_63:25; 1478c2ecf20Sopenharmony_ci#endif 1488c2ecf20Sopenharmony_ci } s; 1498c2ecf20Sopenharmony_ci}; 1508c2ecf20Sopenharmony_ci 1518c2ecf20Sopenharmony_ciunion cvmx_dpi_dmax_dbell { 1528c2ecf20Sopenharmony_ci uint64_t u64; 1538c2ecf20Sopenharmony_ci struct cvmx_dpi_dmax_dbell_s { 1548c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1558c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 1568c2ecf20Sopenharmony_ci uint64_t dbell:16; 1578c2ecf20Sopenharmony_ci#else 1588c2ecf20Sopenharmony_ci uint64_t dbell:16; 1598c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 1608c2ecf20Sopenharmony_ci#endif 1618c2ecf20Sopenharmony_ci } s; 1628c2ecf20Sopenharmony_ci}; 1638c2ecf20Sopenharmony_ci 1648c2ecf20Sopenharmony_ciunion cvmx_dpi_dmax_err_rsp_status { 1658c2ecf20Sopenharmony_ci uint64_t u64; 1668c2ecf20Sopenharmony_ci struct cvmx_dpi_dmax_err_rsp_status_s { 1678c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1688c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 1698c2ecf20Sopenharmony_ci uint64_t status:6; 1708c2ecf20Sopenharmony_ci#else 1718c2ecf20Sopenharmony_ci uint64_t status:6; 1728c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 1738c2ecf20Sopenharmony_ci#endif 1748c2ecf20Sopenharmony_ci } s; 1758c2ecf20Sopenharmony_ci}; 1768c2ecf20Sopenharmony_ci 1778c2ecf20Sopenharmony_ciunion cvmx_dpi_dmax_ibuff_saddr { 1788c2ecf20Sopenharmony_ci uint64_t u64; 1798c2ecf20Sopenharmony_ci struct cvmx_dpi_dmax_ibuff_saddr_s { 1808c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1818c2ecf20Sopenharmony_ci uint64_t reserved_62_63:2; 1828c2ecf20Sopenharmony_ci uint64_t csize:14; 1838c2ecf20Sopenharmony_ci uint64_t reserved_41_47:7; 1848c2ecf20Sopenharmony_ci uint64_t idle:1; 1858c2ecf20Sopenharmony_ci uint64_t saddr:33; 1868c2ecf20Sopenharmony_ci uint64_t reserved_0_6:7; 1878c2ecf20Sopenharmony_ci#else 1888c2ecf20Sopenharmony_ci uint64_t reserved_0_6:7; 1898c2ecf20Sopenharmony_ci uint64_t saddr:33; 1908c2ecf20Sopenharmony_ci uint64_t idle:1; 1918c2ecf20Sopenharmony_ci uint64_t reserved_41_47:7; 1928c2ecf20Sopenharmony_ci uint64_t csize:14; 1938c2ecf20Sopenharmony_ci uint64_t reserved_62_63:2; 1948c2ecf20Sopenharmony_ci#endif 1958c2ecf20Sopenharmony_ci } s; 1968c2ecf20Sopenharmony_ci struct cvmx_dpi_dmax_ibuff_saddr_cn61xx { 1978c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1988c2ecf20Sopenharmony_ci uint64_t reserved_62_63:2; 1998c2ecf20Sopenharmony_ci uint64_t csize:14; 2008c2ecf20Sopenharmony_ci uint64_t reserved_41_47:7; 2018c2ecf20Sopenharmony_ci uint64_t idle:1; 2028c2ecf20Sopenharmony_ci uint64_t reserved_36_39:4; 2038c2ecf20Sopenharmony_ci uint64_t saddr:29; 2048c2ecf20Sopenharmony_ci uint64_t reserved_0_6:7; 2058c2ecf20Sopenharmony_ci#else 2068c2ecf20Sopenharmony_ci uint64_t reserved_0_6:7; 2078c2ecf20Sopenharmony_ci uint64_t saddr:29; 2088c2ecf20Sopenharmony_ci uint64_t reserved_36_39:4; 2098c2ecf20Sopenharmony_ci uint64_t idle:1; 2108c2ecf20Sopenharmony_ci uint64_t reserved_41_47:7; 2118c2ecf20Sopenharmony_ci uint64_t csize:14; 2128c2ecf20Sopenharmony_ci uint64_t reserved_62_63:2; 2138c2ecf20Sopenharmony_ci#endif 2148c2ecf20Sopenharmony_ci } cn61xx; 2158c2ecf20Sopenharmony_ci}; 2168c2ecf20Sopenharmony_ci 2178c2ecf20Sopenharmony_ciunion cvmx_dpi_dmax_iflight { 2188c2ecf20Sopenharmony_ci uint64_t u64; 2198c2ecf20Sopenharmony_ci struct cvmx_dpi_dmax_iflight_s { 2208c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2218c2ecf20Sopenharmony_ci uint64_t reserved_3_63:61; 2228c2ecf20Sopenharmony_ci uint64_t cnt:3; 2238c2ecf20Sopenharmony_ci#else 2248c2ecf20Sopenharmony_ci uint64_t cnt:3; 2258c2ecf20Sopenharmony_ci uint64_t reserved_3_63:61; 2268c2ecf20Sopenharmony_ci#endif 2278c2ecf20Sopenharmony_ci } s; 2288c2ecf20Sopenharmony_ci}; 2298c2ecf20Sopenharmony_ci 2308c2ecf20Sopenharmony_ciunion cvmx_dpi_dmax_naddr { 2318c2ecf20Sopenharmony_ci uint64_t u64; 2328c2ecf20Sopenharmony_ci struct cvmx_dpi_dmax_naddr_s { 2338c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2348c2ecf20Sopenharmony_ci uint64_t reserved_40_63:24; 2358c2ecf20Sopenharmony_ci uint64_t addr:40; 2368c2ecf20Sopenharmony_ci#else 2378c2ecf20Sopenharmony_ci uint64_t addr:40; 2388c2ecf20Sopenharmony_ci uint64_t reserved_40_63:24; 2398c2ecf20Sopenharmony_ci#endif 2408c2ecf20Sopenharmony_ci } s; 2418c2ecf20Sopenharmony_ci struct cvmx_dpi_dmax_naddr_cn61xx { 2428c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2438c2ecf20Sopenharmony_ci uint64_t reserved_36_63:28; 2448c2ecf20Sopenharmony_ci uint64_t addr:36; 2458c2ecf20Sopenharmony_ci#else 2468c2ecf20Sopenharmony_ci uint64_t addr:36; 2478c2ecf20Sopenharmony_ci uint64_t reserved_36_63:28; 2488c2ecf20Sopenharmony_ci#endif 2498c2ecf20Sopenharmony_ci } cn61xx; 2508c2ecf20Sopenharmony_ci}; 2518c2ecf20Sopenharmony_ci 2528c2ecf20Sopenharmony_ciunion cvmx_dpi_dmax_reqbnk0 { 2538c2ecf20Sopenharmony_ci uint64_t u64; 2548c2ecf20Sopenharmony_ci struct cvmx_dpi_dmax_reqbnk0_s { 2558c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2568c2ecf20Sopenharmony_ci uint64_t state:64; 2578c2ecf20Sopenharmony_ci#else 2588c2ecf20Sopenharmony_ci uint64_t state:64; 2598c2ecf20Sopenharmony_ci#endif 2608c2ecf20Sopenharmony_ci } s; 2618c2ecf20Sopenharmony_ci}; 2628c2ecf20Sopenharmony_ci 2638c2ecf20Sopenharmony_ciunion cvmx_dpi_dmax_reqbnk1 { 2648c2ecf20Sopenharmony_ci uint64_t u64; 2658c2ecf20Sopenharmony_ci struct cvmx_dpi_dmax_reqbnk1_s { 2668c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2678c2ecf20Sopenharmony_ci uint64_t state:64; 2688c2ecf20Sopenharmony_ci#else 2698c2ecf20Sopenharmony_ci uint64_t state:64; 2708c2ecf20Sopenharmony_ci#endif 2718c2ecf20Sopenharmony_ci } s; 2728c2ecf20Sopenharmony_ci}; 2738c2ecf20Sopenharmony_ci 2748c2ecf20Sopenharmony_ciunion cvmx_dpi_dma_control { 2758c2ecf20Sopenharmony_ci uint64_t u64; 2768c2ecf20Sopenharmony_ci struct cvmx_dpi_dma_control_s { 2778c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2788c2ecf20Sopenharmony_ci uint64_t reserved_62_63:2; 2798c2ecf20Sopenharmony_ci uint64_t dici_mode:1; 2808c2ecf20Sopenharmony_ci uint64_t pkt_en1:1; 2818c2ecf20Sopenharmony_ci uint64_t ffp_dis:1; 2828c2ecf20Sopenharmony_ci uint64_t commit_mode:1; 2838c2ecf20Sopenharmony_ci uint64_t pkt_hp:1; 2848c2ecf20Sopenharmony_ci uint64_t pkt_en:1; 2858c2ecf20Sopenharmony_ci uint64_t reserved_54_55:2; 2868c2ecf20Sopenharmony_ci uint64_t dma_enb:6; 2878c2ecf20Sopenharmony_ci uint64_t reserved_34_47:14; 2888c2ecf20Sopenharmony_ci uint64_t b0_lend:1; 2898c2ecf20Sopenharmony_ci uint64_t dwb_denb:1; 2908c2ecf20Sopenharmony_ci uint64_t dwb_ichk:9; 2918c2ecf20Sopenharmony_ci uint64_t fpa_que:3; 2928c2ecf20Sopenharmony_ci uint64_t o_add1:1; 2938c2ecf20Sopenharmony_ci uint64_t o_ro:1; 2948c2ecf20Sopenharmony_ci uint64_t o_ns:1; 2958c2ecf20Sopenharmony_ci uint64_t o_es:2; 2968c2ecf20Sopenharmony_ci uint64_t o_mode:1; 2978c2ecf20Sopenharmony_ci uint64_t reserved_0_13:14; 2988c2ecf20Sopenharmony_ci#else 2998c2ecf20Sopenharmony_ci uint64_t reserved_0_13:14; 3008c2ecf20Sopenharmony_ci uint64_t o_mode:1; 3018c2ecf20Sopenharmony_ci uint64_t o_es:2; 3028c2ecf20Sopenharmony_ci uint64_t o_ns:1; 3038c2ecf20Sopenharmony_ci uint64_t o_ro:1; 3048c2ecf20Sopenharmony_ci uint64_t o_add1:1; 3058c2ecf20Sopenharmony_ci uint64_t fpa_que:3; 3068c2ecf20Sopenharmony_ci uint64_t dwb_ichk:9; 3078c2ecf20Sopenharmony_ci uint64_t dwb_denb:1; 3088c2ecf20Sopenharmony_ci uint64_t b0_lend:1; 3098c2ecf20Sopenharmony_ci uint64_t reserved_34_47:14; 3108c2ecf20Sopenharmony_ci uint64_t dma_enb:6; 3118c2ecf20Sopenharmony_ci uint64_t reserved_54_55:2; 3128c2ecf20Sopenharmony_ci uint64_t pkt_en:1; 3138c2ecf20Sopenharmony_ci uint64_t pkt_hp:1; 3148c2ecf20Sopenharmony_ci uint64_t commit_mode:1; 3158c2ecf20Sopenharmony_ci uint64_t ffp_dis:1; 3168c2ecf20Sopenharmony_ci uint64_t pkt_en1:1; 3178c2ecf20Sopenharmony_ci uint64_t dici_mode:1; 3188c2ecf20Sopenharmony_ci uint64_t reserved_62_63:2; 3198c2ecf20Sopenharmony_ci#endif 3208c2ecf20Sopenharmony_ci } s; 3218c2ecf20Sopenharmony_ci struct cvmx_dpi_dma_control_cn63xx { 3228c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3238c2ecf20Sopenharmony_ci uint64_t reserved_61_63:3; 3248c2ecf20Sopenharmony_ci uint64_t pkt_en1:1; 3258c2ecf20Sopenharmony_ci uint64_t ffp_dis:1; 3268c2ecf20Sopenharmony_ci uint64_t commit_mode:1; 3278c2ecf20Sopenharmony_ci uint64_t pkt_hp:1; 3288c2ecf20Sopenharmony_ci uint64_t pkt_en:1; 3298c2ecf20Sopenharmony_ci uint64_t reserved_54_55:2; 3308c2ecf20Sopenharmony_ci uint64_t dma_enb:6; 3318c2ecf20Sopenharmony_ci uint64_t reserved_34_47:14; 3328c2ecf20Sopenharmony_ci uint64_t b0_lend:1; 3338c2ecf20Sopenharmony_ci uint64_t dwb_denb:1; 3348c2ecf20Sopenharmony_ci uint64_t dwb_ichk:9; 3358c2ecf20Sopenharmony_ci uint64_t fpa_que:3; 3368c2ecf20Sopenharmony_ci uint64_t o_add1:1; 3378c2ecf20Sopenharmony_ci uint64_t o_ro:1; 3388c2ecf20Sopenharmony_ci uint64_t o_ns:1; 3398c2ecf20Sopenharmony_ci uint64_t o_es:2; 3408c2ecf20Sopenharmony_ci uint64_t o_mode:1; 3418c2ecf20Sopenharmony_ci uint64_t reserved_0_13:14; 3428c2ecf20Sopenharmony_ci#else 3438c2ecf20Sopenharmony_ci uint64_t reserved_0_13:14; 3448c2ecf20Sopenharmony_ci uint64_t o_mode:1; 3458c2ecf20Sopenharmony_ci uint64_t o_es:2; 3468c2ecf20Sopenharmony_ci uint64_t o_ns:1; 3478c2ecf20Sopenharmony_ci uint64_t o_ro:1; 3488c2ecf20Sopenharmony_ci uint64_t o_add1:1; 3498c2ecf20Sopenharmony_ci uint64_t fpa_que:3; 3508c2ecf20Sopenharmony_ci uint64_t dwb_ichk:9; 3518c2ecf20Sopenharmony_ci uint64_t dwb_denb:1; 3528c2ecf20Sopenharmony_ci uint64_t b0_lend:1; 3538c2ecf20Sopenharmony_ci uint64_t reserved_34_47:14; 3548c2ecf20Sopenharmony_ci uint64_t dma_enb:6; 3558c2ecf20Sopenharmony_ci uint64_t reserved_54_55:2; 3568c2ecf20Sopenharmony_ci uint64_t pkt_en:1; 3578c2ecf20Sopenharmony_ci uint64_t pkt_hp:1; 3588c2ecf20Sopenharmony_ci uint64_t commit_mode:1; 3598c2ecf20Sopenharmony_ci uint64_t ffp_dis:1; 3608c2ecf20Sopenharmony_ci uint64_t pkt_en1:1; 3618c2ecf20Sopenharmony_ci uint64_t reserved_61_63:3; 3628c2ecf20Sopenharmony_ci#endif 3638c2ecf20Sopenharmony_ci } cn63xx; 3648c2ecf20Sopenharmony_ci struct cvmx_dpi_dma_control_cn63xxp1 { 3658c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3668c2ecf20Sopenharmony_ci uint64_t reserved_59_63:5; 3678c2ecf20Sopenharmony_ci uint64_t commit_mode:1; 3688c2ecf20Sopenharmony_ci uint64_t pkt_hp:1; 3698c2ecf20Sopenharmony_ci uint64_t pkt_en:1; 3708c2ecf20Sopenharmony_ci uint64_t reserved_54_55:2; 3718c2ecf20Sopenharmony_ci uint64_t dma_enb:6; 3728c2ecf20Sopenharmony_ci uint64_t reserved_34_47:14; 3738c2ecf20Sopenharmony_ci uint64_t b0_lend:1; 3748c2ecf20Sopenharmony_ci uint64_t dwb_denb:1; 3758c2ecf20Sopenharmony_ci uint64_t dwb_ichk:9; 3768c2ecf20Sopenharmony_ci uint64_t fpa_que:3; 3778c2ecf20Sopenharmony_ci uint64_t o_add1:1; 3788c2ecf20Sopenharmony_ci uint64_t o_ro:1; 3798c2ecf20Sopenharmony_ci uint64_t o_ns:1; 3808c2ecf20Sopenharmony_ci uint64_t o_es:2; 3818c2ecf20Sopenharmony_ci uint64_t o_mode:1; 3828c2ecf20Sopenharmony_ci uint64_t reserved_0_13:14; 3838c2ecf20Sopenharmony_ci#else 3848c2ecf20Sopenharmony_ci uint64_t reserved_0_13:14; 3858c2ecf20Sopenharmony_ci uint64_t o_mode:1; 3868c2ecf20Sopenharmony_ci uint64_t o_es:2; 3878c2ecf20Sopenharmony_ci uint64_t o_ns:1; 3888c2ecf20Sopenharmony_ci uint64_t o_ro:1; 3898c2ecf20Sopenharmony_ci uint64_t o_add1:1; 3908c2ecf20Sopenharmony_ci uint64_t fpa_que:3; 3918c2ecf20Sopenharmony_ci uint64_t dwb_ichk:9; 3928c2ecf20Sopenharmony_ci uint64_t dwb_denb:1; 3938c2ecf20Sopenharmony_ci uint64_t b0_lend:1; 3948c2ecf20Sopenharmony_ci uint64_t reserved_34_47:14; 3958c2ecf20Sopenharmony_ci uint64_t dma_enb:6; 3968c2ecf20Sopenharmony_ci uint64_t reserved_54_55:2; 3978c2ecf20Sopenharmony_ci uint64_t pkt_en:1; 3988c2ecf20Sopenharmony_ci uint64_t pkt_hp:1; 3998c2ecf20Sopenharmony_ci uint64_t commit_mode:1; 4008c2ecf20Sopenharmony_ci uint64_t reserved_59_63:5; 4018c2ecf20Sopenharmony_ci#endif 4028c2ecf20Sopenharmony_ci } cn63xxp1; 4038c2ecf20Sopenharmony_ci}; 4048c2ecf20Sopenharmony_ci 4058c2ecf20Sopenharmony_ciunion cvmx_dpi_dma_engx_en { 4068c2ecf20Sopenharmony_ci uint64_t u64; 4078c2ecf20Sopenharmony_ci struct cvmx_dpi_dma_engx_en_s { 4088c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4098c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 4108c2ecf20Sopenharmony_ci uint64_t qen:8; 4118c2ecf20Sopenharmony_ci#else 4128c2ecf20Sopenharmony_ci uint64_t qen:8; 4138c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 4148c2ecf20Sopenharmony_ci#endif 4158c2ecf20Sopenharmony_ci } s; 4168c2ecf20Sopenharmony_ci}; 4178c2ecf20Sopenharmony_ci 4188c2ecf20Sopenharmony_ciunion cvmx_dpi_dma_ppx_cnt { 4198c2ecf20Sopenharmony_ci uint64_t u64; 4208c2ecf20Sopenharmony_ci struct cvmx_dpi_dma_ppx_cnt_s { 4218c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4228c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 4238c2ecf20Sopenharmony_ci uint64_t cnt:16; 4248c2ecf20Sopenharmony_ci#else 4258c2ecf20Sopenharmony_ci uint64_t cnt:16; 4268c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 4278c2ecf20Sopenharmony_ci#endif 4288c2ecf20Sopenharmony_ci } s; 4298c2ecf20Sopenharmony_ci}; 4308c2ecf20Sopenharmony_ci 4318c2ecf20Sopenharmony_ciunion cvmx_dpi_engx_buf { 4328c2ecf20Sopenharmony_ci uint64_t u64; 4338c2ecf20Sopenharmony_ci struct cvmx_dpi_engx_buf_s { 4348c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4358c2ecf20Sopenharmony_ci uint64_t reserved_37_63:27; 4368c2ecf20Sopenharmony_ci uint64_t compblks:5; 4378c2ecf20Sopenharmony_ci uint64_t reserved_9_31:23; 4388c2ecf20Sopenharmony_ci uint64_t base:5; 4398c2ecf20Sopenharmony_ci uint64_t blks:4; 4408c2ecf20Sopenharmony_ci#else 4418c2ecf20Sopenharmony_ci uint64_t blks:4; 4428c2ecf20Sopenharmony_ci uint64_t base:5; 4438c2ecf20Sopenharmony_ci uint64_t reserved_9_31:23; 4448c2ecf20Sopenharmony_ci uint64_t compblks:5; 4458c2ecf20Sopenharmony_ci uint64_t reserved_37_63:27; 4468c2ecf20Sopenharmony_ci#endif 4478c2ecf20Sopenharmony_ci } s; 4488c2ecf20Sopenharmony_ci struct cvmx_dpi_engx_buf_cn63xx { 4498c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4508c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 4518c2ecf20Sopenharmony_ci uint64_t base:4; 4528c2ecf20Sopenharmony_ci uint64_t blks:4; 4538c2ecf20Sopenharmony_ci#else 4548c2ecf20Sopenharmony_ci uint64_t blks:4; 4558c2ecf20Sopenharmony_ci uint64_t base:4; 4568c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 4578c2ecf20Sopenharmony_ci#endif 4588c2ecf20Sopenharmony_ci } cn63xx; 4598c2ecf20Sopenharmony_ci}; 4608c2ecf20Sopenharmony_ci 4618c2ecf20Sopenharmony_ciunion cvmx_dpi_info_reg { 4628c2ecf20Sopenharmony_ci uint64_t u64; 4638c2ecf20Sopenharmony_ci struct cvmx_dpi_info_reg_s { 4648c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4658c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 4668c2ecf20Sopenharmony_ci uint64_t ffp:4; 4678c2ecf20Sopenharmony_ci uint64_t reserved_2_3:2; 4688c2ecf20Sopenharmony_ci uint64_t ncb:1; 4698c2ecf20Sopenharmony_ci uint64_t rsl:1; 4708c2ecf20Sopenharmony_ci#else 4718c2ecf20Sopenharmony_ci uint64_t rsl:1; 4728c2ecf20Sopenharmony_ci uint64_t ncb:1; 4738c2ecf20Sopenharmony_ci uint64_t reserved_2_3:2; 4748c2ecf20Sopenharmony_ci uint64_t ffp:4; 4758c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 4768c2ecf20Sopenharmony_ci#endif 4778c2ecf20Sopenharmony_ci } s; 4788c2ecf20Sopenharmony_ci struct cvmx_dpi_info_reg_cn63xxp1 { 4798c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4808c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 4818c2ecf20Sopenharmony_ci uint64_t ncb:1; 4828c2ecf20Sopenharmony_ci uint64_t rsl:1; 4838c2ecf20Sopenharmony_ci#else 4848c2ecf20Sopenharmony_ci uint64_t rsl:1; 4858c2ecf20Sopenharmony_ci uint64_t ncb:1; 4868c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 4878c2ecf20Sopenharmony_ci#endif 4888c2ecf20Sopenharmony_ci } cn63xxp1; 4898c2ecf20Sopenharmony_ci}; 4908c2ecf20Sopenharmony_ci 4918c2ecf20Sopenharmony_ciunion cvmx_dpi_int_en { 4928c2ecf20Sopenharmony_ci uint64_t u64; 4938c2ecf20Sopenharmony_ci struct cvmx_dpi_int_en_s { 4948c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4958c2ecf20Sopenharmony_ci uint64_t reserved_28_63:36; 4968c2ecf20Sopenharmony_ci uint64_t sprt3_rst:1; 4978c2ecf20Sopenharmony_ci uint64_t sprt2_rst:1; 4988c2ecf20Sopenharmony_ci uint64_t sprt1_rst:1; 4998c2ecf20Sopenharmony_ci uint64_t sprt0_rst:1; 5008c2ecf20Sopenharmony_ci uint64_t reserved_23_23:1; 5018c2ecf20Sopenharmony_ci uint64_t req_badfil:1; 5028c2ecf20Sopenharmony_ci uint64_t req_inull:1; 5038c2ecf20Sopenharmony_ci uint64_t req_anull:1; 5048c2ecf20Sopenharmony_ci uint64_t req_undflw:1; 5058c2ecf20Sopenharmony_ci uint64_t req_ovrflw:1; 5068c2ecf20Sopenharmony_ci uint64_t req_badlen:1; 5078c2ecf20Sopenharmony_ci uint64_t req_badadr:1; 5088c2ecf20Sopenharmony_ci uint64_t dmadbo:8; 5098c2ecf20Sopenharmony_ci uint64_t reserved_2_7:6; 5108c2ecf20Sopenharmony_ci uint64_t nfovr:1; 5118c2ecf20Sopenharmony_ci uint64_t nderr:1; 5128c2ecf20Sopenharmony_ci#else 5138c2ecf20Sopenharmony_ci uint64_t nderr:1; 5148c2ecf20Sopenharmony_ci uint64_t nfovr:1; 5158c2ecf20Sopenharmony_ci uint64_t reserved_2_7:6; 5168c2ecf20Sopenharmony_ci uint64_t dmadbo:8; 5178c2ecf20Sopenharmony_ci uint64_t req_badadr:1; 5188c2ecf20Sopenharmony_ci uint64_t req_badlen:1; 5198c2ecf20Sopenharmony_ci uint64_t req_ovrflw:1; 5208c2ecf20Sopenharmony_ci uint64_t req_undflw:1; 5218c2ecf20Sopenharmony_ci uint64_t req_anull:1; 5228c2ecf20Sopenharmony_ci uint64_t req_inull:1; 5238c2ecf20Sopenharmony_ci uint64_t req_badfil:1; 5248c2ecf20Sopenharmony_ci uint64_t reserved_23_23:1; 5258c2ecf20Sopenharmony_ci uint64_t sprt0_rst:1; 5268c2ecf20Sopenharmony_ci uint64_t sprt1_rst:1; 5278c2ecf20Sopenharmony_ci uint64_t sprt2_rst:1; 5288c2ecf20Sopenharmony_ci uint64_t sprt3_rst:1; 5298c2ecf20Sopenharmony_ci uint64_t reserved_28_63:36; 5308c2ecf20Sopenharmony_ci#endif 5318c2ecf20Sopenharmony_ci } s; 5328c2ecf20Sopenharmony_ci struct cvmx_dpi_int_en_cn63xx { 5338c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5348c2ecf20Sopenharmony_ci uint64_t reserved_26_63:38; 5358c2ecf20Sopenharmony_ci uint64_t sprt1_rst:1; 5368c2ecf20Sopenharmony_ci uint64_t sprt0_rst:1; 5378c2ecf20Sopenharmony_ci uint64_t reserved_23_23:1; 5388c2ecf20Sopenharmony_ci uint64_t req_badfil:1; 5398c2ecf20Sopenharmony_ci uint64_t req_inull:1; 5408c2ecf20Sopenharmony_ci uint64_t req_anull:1; 5418c2ecf20Sopenharmony_ci uint64_t req_undflw:1; 5428c2ecf20Sopenharmony_ci uint64_t req_ovrflw:1; 5438c2ecf20Sopenharmony_ci uint64_t req_badlen:1; 5448c2ecf20Sopenharmony_ci uint64_t req_badadr:1; 5458c2ecf20Sopenharmony_ci uint64_t dmadbo:8; 5468c2ecf20Sopenharmony_ci uint64_t reserved_2_7:6; 5478c2ecf20Sopenharmony_ci uint64_t nfovr:1; 5488c2ecf20Sopenharmony_ci uint64_t nderr:1; 5498c2ecf20Sopenharmony_ci#else 5508c2ecf20Sopenharmony_ci uint64_t nderr:1; 5518c2ecf20Sopenharmony_ci uint64_t nfovr:1; 5528c2ecf20Sopenharmony_ci uint64_t reserved_2_7:6; 5538c2ecf20Sopenharmony_ci uint64_t dmadbo:8; 5548c2ecf20Sopenharmony_ci uint64_t req_badadr:1; 5558c2ecf20Sopenharmony_ci uint64_t req_badlen:1; 5568c2ecf20Sopenharmony_ci uint64_t req_ovrflw:1; 5578c2ecf20Sopenharmony_ci uint64_t req_undflw:1; 5588c2ecf20Sopenharmony_ci uint64_t req_anull:1; 5598c2ecf20Sopenharmony_ci uint64_t req_inull:1; 5608c2ecf20Sopenharmony_ci uint64_t req_badfil:1; 5618c2ecf20Sopenharmony_ci uint64_t reserved_23_23:1; 5628c2ecf20Sopenharmony_ci uint64_t sprt0_rst:1; 5638c2ecf20Sopenharmony_ci uint64_t sprt1_rst:1; 5648c2ecf20Sopenharmony_ci uint64_t reserved_26_63:38; 5658c2ecf20Sopenharmony_ci#endif 5668c2ecf20Sopenharmony_ci } cn63xx; 5678c2ecf20Sopenharmony_ci}; 5688c2ecf20Sopenharmony_ci 5698c2ecf20Sopenharmony_ciunion cvmx_dpi_int_reg { 5708c2ecf20Sopenharmony_ci uint64_t u64; 5718c2ecf20Sopenharmony_ci struct cvmx_dpi_int_reg_s { 5728c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5738c2ecf20Sopenharmony_ci uint64_t reserved_28_63:36; 5748c2ecf20Sopenharmony_ci uint64_t sprt3_rst:1; 5758c2ecf20Sopenharmony_ci uint64_t sprt2_rst:1; 5768c2ecf20Sopenharmony_ci uint64_t sprt1_rst:1; 5778c2ecf20Sopenharmony_ci uint64_t sprt0_rst:1; 5788c2ecf20Sopenharmony_ci uint64_t reserved_23_23:1; 5798c2ecf20Sopenharmony_ci uint64_t req_badfil:1; 5808c2ecf20Sopenharmony_ci uint64_t req_inull:1; 5818c2ecf20Sopenharmony_ci uint64_t req_anull:1; 5828c2ecf20Sopenharmony_ci uint64_t req_undflw:1; 5838c2ecf20Sopenharmony_ci uint64_t req_ovrflw:1; 5848c2ecf20Sopenharmony_ci uint64_t req_badlen:1; 5858c2ecf20Sopenharmony_ci uint64_t req_badadr:1; 5868c2ecf20Sopenharmony_ci uint64_t dmadbo:8; 5878c2ecf20Sopenharmony_ci uint64_t reserved_2_7:6; 5888c2ecf20Sopenharmony_ci uint64_t nfovr:1; 5898c2ecf20Sopenharmony_ci uint64_t nderr:1; 5908c2ecf20Sopenharmony_ci#else 5918c2ecf20Sopenharmony_ci uint64_t nderr:1; 5928c2ecf20Sopenharmony_ci uint64_t nfovr:1; 5938c2ecf20Sopenharmony_ci uint64_t reserved_2_7:6; 5948c2ecf20Sopenharmony_ci uint64_t dmadbo:8; 5958c2ecf20Sopenharmony_ci uint64_t req_badadr:1; 5968c2ecf20Sopenharmony_ci uint64_t req_badlen:1; 5978c2ecf20Sopenharmony_ci uint64_t req_ovrflw:1; 5988c2ecf20Sopenharmony_ci uint64_t req_undflw:1; 5998c2ecf20Sopenharmony_ci uint64_t req_anull:1; 6008c2ecf20Sopenharmony_ci uint64_t req_inull:1; 6018c2ecf20Sopenharmony_ci uint64_t req_badfil:1; 6028c2ecf20Sopenharmony_ci uint64_t reserved_23_23:1; 6038c2ecf20Sopenharmony_ci uint64_t sprt0_rst:1; 6048c2ecf20Sopenharmony_ci uint64_t sprt1_rst:1; 6058c2ecf20Sopenharmony_ci uint64_t sprt2_rst:1; 6068c2ecf20Sopenharmony_ci uint64_t sprt3_rst:1; 6078c2ecf20Sopenharmony_ci uint64_t reserved_28_63:36; 6088c2ecf20Sopenharmony_ci#endif 6098c2ecf20Sopenharmony_ci } s; 6108c2ecf20Sopenharmony_ci struct cvmx_dpi_int_reg_cn63xx { 6118c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6128c2ecf20Sopenharmony_ci uint64_t reserved_26_63:38; 6138c2ecf20Sopenharmony_ci uint64_t sprt1_rst:1; 6148c2ecf20Sopenharmony_ci uint64_t sprt0_rst:1; 6158c2ecf20Sopenharmony_ci uint64_t reserved_23_23:1; 6168c2ecf20Sopenharmony_ci uint64_t req_badfil:1; 6178c2ecf20Sopenharmony_ci uint64_t req_inull:1; 6188c2ecf20Sopenharmony_ci uint64_t req_anull:1; 6198c2ecf20Sopenharmony_ci uint64_t req_undflw:1; 6208c2ecf20Sopenharmony_ci uint64_t req_ovrflw:1; 6218c2ecf20Sopenharmony_ci uint64_t req_badlen:1; 6228c2ecf20Sopenharmony_ci uint64_t req_badadr:1; 6238c2ecf20Sopenharmony_ci uint64_t dmadbo:8; 6248c2ecf20Sopenharmony_ci uint64_t reserved_2_7:6; 6258c2ecf20Sopenharmony_ci uint64_t nfovr:1; 6268c2ecf20Sopenharmony_ci uint64_t nderr:1; 6278c2ecf20Sopenharmony_ci#else 6288c2ecf20Sopenharmony_ci uint64_t nderr:1; 6298c2ecf20Sopenharmony_ci uint64_t nfovr:1; 6308c2ecf20Sopenharmony_ci uint64_t reserved_2_7:6; 6318c2ecf20Sopenharmony_ci uint64_t dmadbo:8; 6328c2ecf20Sopenharmony_ci uint64_t req_badadr:1; 6338c2ecf20Sopenharmony_ci uint64_t req_badlen:1; 6348c2ecf20Sopenharmony_ci uint64_t req_ovrflw:1; 6358c2ecf20Sopenharmony_ci uint64_t req_undflw:1; 6368c2ecf20Sopenharmony_ci uint64_t req_anull:1; 6378c2ecf20Sopenharmony_ci uint64_t req_inull:1; 6388c2ecf20Sopenharmony_ci uint64_t req_badfil:1; 6398c2ecf20Sopenharmony_ci uint64_t reserved_23_23:1; 6408c2ecf20Sopenharmony_ci uint64_t sprt0_rst:1; 6418c2ecf20Sopenharmony_ci uint64_t sprt1_rst:1; 6428c2ecf20Sopenharmony_ci uint64_t reserved_26_63:38; 6438c2ecf20Sopenharmony_ci#endif 6448c2ecf20Sopenharmony_ci } cn63xx; 6458c2ecf20Sopenharmony_ci}; 6468c2ecf20Sopenharmony_ci 6478c2ecf20Sopenharmony_ciunion cvmx_dpi_ncbx_cfg { 6488c2ecf20Sopenharmony_ci uint64_t u64; 6498c2ecf20Sopenharmony_ci struct cvmx_dpi_ncbx_cfg_s { 6508c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6518c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 6528c2ecf20Sopenharmony_ci uint64_t molr:6; 6538c2ecf20Sopenharmony_ci#else 6548c2ecf20Sopenharmony_ci uint64_t molr:6; 6558c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 6568c2ecf20Sopenharmony_ci#endif 6578c2ecf20Sopenharmony_ci } s; 6588c2ecf20Sopenharmony_ci}; 6598c2ecf20Sopenharmony_ci 6608c2ecf20Sopenharmony_ciunion cvmx_dpi_pint_info { 6618c2ecf20Sopenharmony_ci uint64_t u64; 6628c2ecf20Sopenharmony_ci struct cvmx_dpi_pint_info_s { 6638c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6648c2ecf20Sopenharmony_ci uint64_t reserved_14_63:50; 6658c2ecf20Sopenharmony_ci uint64_t iinfo:6; 6668c2ecf20Sopenharmony_ci uint64_t reserved_6_7:2; 6678c2ecf20Sopenharmony_ci uint64_t sinfo:6; 6688c2ecf20Sopenharmony_ci#else 6698c2ecf20Sopenharmony_ci uint64_t sinfo:6; 6708c2ecf20Sopenharmony_ci uint64_t reserved_6_7:2; 6718c2ecf20Sopenharmony_ci uint64_t iinfo:6; 6728c2ecf20Sopenharmony_ci uint64_t reserved_14_63:50; 6738c2ecf20Sopenharmony_ci#endif 6748c2ecf20Sopenharmony_ci } s; 6758c2ecf20Sopenharmony_ci}; 6768c2ecf20Sopenharmony_ci 6778c2ecf20Sopenharmony_ciunion cvmx_dpi_pkt_err_rsp { 6788c2ecf20Sopenharmony_ci uint64_t u64; 6798c2ecf20Sopenharmony_ci struct cvmx_dpi_pkt_err_rsp_s { 6808c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6818c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 6828c2ecf20Sopenharmony_ci uint64_t pkterr:1; 6838c2ecf20Sopenharmony_ci#else 6848c2ecf20Sopenharmony_ci uint64_t pkterr:1; 6858c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 6868c2ecf20Sopenharmony_ci#endif 6878c2ecf20Sopenharmony_ci } s; 6888c2ecf20Sopenharmony_ci}; 6898c2ecf20Sopenharmony_ci 6908c2ecf20Sopenharmony_ciunion cvmx_dpi_req_err_rsp { 6918c2ecf20Sopenharmony_ci uint64_t u64; 6928c2ecf20Sopenharmony_ci struct cvmx_dpi_req_err_rsp_s { 6938c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6948c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 6958c2ecf20Sopenharmony_ci uint64_t qerr:8; 6968c2ecf20Sopenharmony_ci#else 6978c2ecf20Sopenharmony_ci uint64_t qerr:8; 6988c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 6998c2ecf20Sopenharmony_ci#endif 7008c2ecf20Sopenharmony_ci } s; 7018c2ecf20Sopenharmony_ci}; 7028c2ecf20Sopenharmony_ci 7038c2ecf20Sopenharmony_ciunion cvmx_dpi_req_err_rsp_en { 7048c2ecf20Sopenharmony_ci uint64_t u64; 7058c2ecf20Sopenharmony_ci struct cvmx_dpi_req_err_rsp_en_s { 7068c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7078c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 7088c2ecf20Sopenharmony_ci uint64_t en:8; 7098c2ecf20Sopenharmony_ci#else 7108c2ecf20Sopenharmony_ci uint64_t en:8; 7118c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 7128c2ecf20Sopenharmony_ci#endif 7138c2ecf20Sopenharmony_ci } s; 7148c2ecf20Sopenharmony_ci}; 7158c2ecf20Sopenharmony_ci 7168c2ecf20Sopenharmony_ciunion cvmx_dpi_req_err_rst { 7178c2ecf20Sopenharmony_ci uint64_t u64; 7188c2ecf20Sopenharmony_ci struct cvmx_dpi_req_err_rst_s { 7198c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7208c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 7218c2ecf20Sopenharmony_ci uint64_t qerr:8; 7228c2ecf20Sopenharmony_ci#else 7238c2ecf20Sopenharmony_ci uint64_t qerr:8; 7248c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 7258c2ecf20Sopenharmony_ci#endif 7268c2ecf20Sopenharmony_ci } s; 7278c2ecf20Sopenharmony_ci}; 7288c2ecf20Sopenharmony_ci 7298c2ecf20Sopenharmony_ciunion cvmx_dpi_req_err_rst_en { 7308c2ecf20Sopenharmony_ci uint64_t u64; 7318c2ecf20Sopenharmony_ci struct cvmx_dpi_req_err_rst_en_s { 7328c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7338c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 7348c2ecf20Sopenharmony_ci uint64_t en:8; 7358c2ecf20Sopenharmony_ci#else 7368c2ecf20Sopenharmony_ci uint64_t en:8; 7378c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 7388c2ecf20Sopenharmony_ci#endif 7398c2ecf20Sopenharmony_ci } s; 7408c2ecf20Sopenharmony_ci}; 7418c2ecf20Sopenharmony_ci 7428c2ecf20Sopenharmony_ciunion cvmx_dpi_req_err_skip_comp { 7438c2ecf20Sopenharmony_ci uint64_t u64; 7448c2ecf20Sopenharmony_ci struct cvmx_dpi_req_err_skip_comp_s { 7458c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7468c2ecf20Sopenharmony_ci uint64_t reserved_24_63:40; 7478c2ecf20Sopenharmony_ci uint64_t en_rst:8; 7488c2ecf20Sopenharmony_ci uint64_t reserved_8_15:8; 7498c2ecf20Sopenharmony_ci uint64_t en_rsp:8; 7508c2ecf20Sopenharmony_ci#else 7518c2ecf20Sopenharmony_ci uint64_t en_rsp:8; 7528c2ecf20Sopenharmony_ci uint64_t reserved_8_15:8; 7538c2ecf20Sopenharmony_ci uint64_t en_rst:8; 7548c2ecf20Sopenharmony_ci uint64_t reserved_24_63:40; 7558c2ecf20Sopenharmony_ci#endif 7568c2ecf20Sopenharmony_ci } s; 7578c2ecf20Sopenharmony_ci}; 7588c2ecf20Sopenharmony_ci 7598c2ecf20Sopenharmony_ciunion cvmx_dpi_req_gbl_en { 7608c2ecf20Sopenharmony_ci uint64_t u64; 7618c2ecf20Sopenharmony_ci struct cvmx_dpi_req_gbl_en_s { 7628c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7638c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 7648c2ecf20Sopenharmony_ci uint64_t qen:8; 7658c2ecf20Sopenharmony_ci#else 7668c2ecf20Sopenharmony_ci uint64_t qen:8; 7678c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 7688c2ecf20Sopenharmony_ci#endif 7698c2ecf20Sopenharmony_ci } s; 7708c2ecf20Sopenharmony_ci}; 7718c2ecf20Sopenharmony_ci 7728c2ecf20Sopenharmony_ciunion cvmx_dpi_sli_prtx_cfg { 7738c2ecf20Sopenharmony_ci uint64_t u64; 7748c2ecf20Sopenharmony_ci struct cvmx_dpi_sli_prtx_cfg_s { 7758c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7768c2ecf20Sopenharmony_ci uint64_t reserved_25_63:39; 7778c2ecf20Sopenharmony_ci uint64_t halt:1; 7788c2ecf20Sopenharmony_ci uint64_t qlm_cfg:4; 7798c2ecf20Sopenharmony_ci uint64_t reserved_17_19:3; 7808c2ecf20Sopenharmony_ci uint64_t rd_mode:1; 7818c2ecf20Sopenharmony_ci uint64_t reserved_14_15:2; 7828c2ecf20Sopenharmony_ci uint64_t molr:6; 7838c2ecf20Sopenharmony_ci uint64_t mps_lim:1; 7848c2ecf20Sopenharmony_ci uint64_t reserved_5_6:2; 7858c2ecf20Sopenharmony_ci uint64_t mps:1; 7868c2ecf20Sopenharmony_ci uint64_t mrrs_lim:1; 7878c2ecf20Sopenharmony_ci uint64_t reserved_2_2:1; 7888c2ecf20Sopenharmony_ci uint64_t mrrs:2; 7898c2ecf20Sopenharmony_ci#else 7908c2ecf20Sopenharmony_ci uint64_t mrrs:2; 7918c2ecf20Sopenharmony_ci uint64_t reserved_2_2:1; 7928c2ecf20Sopenharmony_ci uint64_t mrrs_lim:1; 7938c2ecf20Sopenharmony_ci uint64_t mps:1; 7948c2ecf20Sopenharmony_ci uint64_t reserved_5_6:2; 7958c2ecf20Sopenharmony_ci uint64_t mps_lim:1; 7968c2ecf20Sopenharmony_ci uint64_t molr:6; 7978c2ecf20Sopenharmony_ci uint64_t reserved_14_15:2; 7988c2ecf20Sopenharmony_ci uint64_t rd_mode:1; 7998c2ecf20Sopenharmony_ci uint64_t reserved_17_19:3; 8008c2ecf20Sopenharmony_ci uint64_t qlm_cfg:4; 8018c2ecf20Sopenharmony_ci uint64_t halt:1; 8028c2ecf20Sopenharmony_ci uint64_t reserved_25_63:39; 8038c2ecf20Sopenharmony_ci#endif 8048c2ecf20Sopenharmony_ci } s; 8058c2ecf20Sopenharmony_ci struct cvmx_dpi_sli_prtx_cfg_cn63xx { 8068c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8078c2ecf20Sopenharmony_ci uint64_t reserved_25_63:39; 8088c2ecf20Sopenharmony_ci uint64_t halt:1; 8098c2ecf20Sopenharmony_ci uint64_t reserved_21_23:3; 8108c2ecf20Sopenharmony_ci uint64_t qlm_cfg:1; 8118c2ecf20Sopenharmony_ci uint64_t reserved_17_19:3; 8128c2ecf20Sopenharmony_ci uint64_t rd_mode:1; 8138c2ecf20Sopenharmony_ci uint64_t reserved_14_15:2; 8148c2ecf20Sopenharmony_ci uint64_t molr:6; 8158c2ecf20Sopenharmony_ci uint64_t mps_lim:1; 8168c2ecf20Sopenharmony_ci uint64_t reserved_5_6:2; 8178c2ecf20Sopenharmony_ci uint64_t mps:1; 8188c2ecf20Sopenharmony_ci uint64_t mrrs_lim:1; 8198c2ecf20Sopenharmony_ci uint64_t reserved_2_2:1; 8208c2ecf20Sopenharmony_ci uint64_t mrrs:2; 8218c2ecf20Sopenharmony_ci#else 8228c2ecf20Sopenharmony_ci uint64_t mrrs:2; 8238c2ecf20Sopenharmony_ci uint64_t reserved_2_2:1; 8248c2ecf20Sopenharmony_ci uint64_t mrrs_lim:1; 8258c2ecf20Sopenharmony_ci uint64_t mps:1; 8268c2ecf20Sopenharmony_ci uint64_t reserved_5_6:2; 8278c2ecf20Sopenharmony_ci uint64_t mps_lim:1; 8288c2ecf20Sopenharmony_ci uint64_t molr:6; 8298c2ecf20Sopenharmony_ci uint64_t reserved_14_15:2; 8308c2ecf20Sopenharmony_ci uint64_t rd_mode:1; 8318c2ecf20Sopenharmony_ci uint64_t reserved_17_19:3; 8328c2ecf20Sopenharmony_ci uint64_t qlm_cfg:1; 8338c2ecf20Sopenharmony_ci uint64_t reserved_21_23:3; 8348c2ecf20Sopenharmony_ci uint64_t halt:1; 8358c2ecf20Sopenharmony_ci uint64_t reserved_25_63:39; 8368c2ecf20Sopenharmony_ci#endif 8378c2ecf20Sopenharmony_ci } cn63xx; 8388c2ecf20Sopenharmony_ci}; 8398c2ecf20Sopenharmony_ci 8408c2ecf20Sopenharmony_ciunion cvmx_dpi_sli_prtx_err { 8418c2ecf20Sopenharmony_ci uint64_t u64; 8428c2ecf20Sopenharmony_ci struct cvmx_dpi_sli_prtx_err_s { 8438c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8448c2ecf20Sopenharmony_ci uint64_t addr:61; 8458c2ecf20Sopenharmony_ci uint64_t reserved_0_2:3; 8468c2ecf20Sopenharmony_ci#else 8478c2ecf20Sopenharmony_ci uint64_t reserved_0_2:3; 8488c2ecf20Sopenharmony_ci uint64_t addr:61; 8498c2ecf20Sopenharmony_ci#endif 8508c2ecf20Sopenharmony_ci } s; 8518c2ecf20Sopenharmony_ci}; 8528c2ecf20Sopenharmony_ci 8538c2ecf20Sopenharmony_ciunion cvmx_dpi_sli_prtx_err_info { 8548c2ecf20Sopenharmony_ci uint64_t u64; 8558c2ecf20Sopenharmony_ci struct cvmx_dpi_sli_prtx_err_info_s { 8568c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8578c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 8588c2ecf20Sopenharmony_ci uint64_t lock:1; 8598c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 8608c2ecf20Sopenharmony_ci uint64_t type:1; 8618c2ecf20Sopenharmony_ci uint64_t reserved_3_3:1; 8628c2ecf20Sopenharmony_ci uint64_t reqq:3; 8638c2ecf20Sopenharmony_ci#else 8648c2ecf20Sopenharmony_ci uint64_t reqq:3; 8658c2ecf20Sopenharmony_ci uint64_t reserved_3_3:1; 8668c2ecf20Sopenharmony_ci uint64_t type:1; 8678c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 8688c2ecf20Sopenharmony_ci uint64_t lock:1; 8698c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 8708c2ecf20Sopenharmony_ci#endif 8718c2ecf20Sopenharmony_ci } s; 8728c2ecf20Sopenharmony_ci}; 8738c2ecf20Sopenharmony_ci 8748c2ecf20Sopenharmony_ci#endif 875