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_IOB_DEFS_H__ 298c2ecf20Sopenharmony_ci#define __CVMX_IOB_DEFS_H__ 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci#define CVMX_IOB_BIST_STATUS (CVMX_ADD_IO_SEG(0x00011800F00007F8ull)) 328c2ecf20Sopenharmony_ci#define CVMX_IOB_CTL_STATUS (CVMX_ADD_IO_SEG(0x00011800F0000050ull)) 338c2ecf20Sopenharmony_ci#define CVMX_IOB_DWB_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000028ull)) 348c2ecf20Sopenharmony_ci#define CVMX_IOB_FAU_TIMEOUT (CVMX_ADD_IO_SEG(0x00011800F0000000ull)) 358c2ecf20Sopenharmony_ci#define CVMX_IOB_I2C_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000010ull)) 368c2ecf20Sopenharmony_ci#define CVMX_IOB_INB_CONTROL_MATCH (CVMX_ADD_IO_SEG(0x00011800F0000078ull)) 378c2ecf20Sopenharmony_ci#define CVMX_IOB_INB_CONTROL_MATCH_ENB (CVMX_ADD_IO_SEG(0x00011800F0000088ull)) 388c2ecf20Sopenharmony_ci#define CVMX_IOB_INB_DATA_MATCH (CVMX_ADD_IO_SEG(0x00011800F0000070ull)) 398c2ecf20Sopenharmony_ci#define CVMX_IOB_INB_DATA_MATCH_ENB (CVMX_ADD_IO_SEG(0x00011800F0000080ull)) 408c2ecf20Sopenharmony_ci#define CVMX_IOB_INT_ENB (CVMX_ADD_IO_SEG(0x00011800F0000060ull)) 418c2ecf20Sopenharmony_ci#define CVMX_IOB_INT_SUM (CVMX_ADD_IO_SEG(0x00011800F0000058ull)) 428c2ecf20Sopenharmony_ci#define CVMX_IOB_N2C_L2C_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000020ull)) 438c2ecf20Sopenharmony_ci#define CVMX_IOB_N2C_RSP_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000008ull)) 448c2ecf20Sopenharmony_ci#define CVMX_IOB_OUTB_COM_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000040ull)) 458c2ecf20Sopenharmony_ci#define CVMX_IOB_OUTB_CONTROL_MATCH (CVMX_ADD_IO_SEG(0x00011800F0000098ull)) 468c2ecf20Sopenharmony_ci#define CVMX_IOB_OUTB_CONTROL_MATCH_ENB (CVMX_ADD_IO_SEG(0x00011800F00000A8ull)) 478c2ecf20Sopenharmony_ci#define CVMX_IOB_OUTB_DATA_MATCH (CVMX_ADD_IO_SEG(0x00011800F0000090ull)) 488c2ecf20Sopenharmony_ci#define CVMX_IOB_OUTB_DATA_MATCH_ENB (CVMX_ADD_IO_SEG(0x00011800F00000A0ull)) 498c2ecf20Sopenharmony_ci#define CVMX_IOB_OUTB_FPA_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000048ull)) 508c2ecf20Sopenharmony_ci#define CVMX_IOB_OUTB_REQ_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000038ull)) 518c2ecf20Sopenharmony_ci#define CVMX_IOB_P2C_REQ_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000018ull)) 528c2ecf20Sopenharmony_ci#define CVMX_IOB_PKT_ERR (CVMX_ADD_IO_SEG(0x00011800F0000068ull)) 538c2ecf20Sopenharmony_ci#define CVMX_IOB_TO_CMB_CREDITS (CVMX_ADD_IO_SEG(0x00011800F00000B0ull)) 548c2ecf20Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_00_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000800ull)) 558c2ecf20Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_111_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000B78ull)) 568c2ecf20Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_223_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000EF8ull)) 578c2ecf20Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_24_CREDITS (CVMX_ADD_IO_SEG(0x00011800F00008C0ull)) 588c2ecf20Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_32_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000900ull)) 598c2ecf20Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_40_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000940ull)) 608c2ecf20Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_55_CREDITS (CVMX_ADD_IO_SEG(0x00011800F00009B8ull)) 618c2ecf20Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_64_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000A00ull)) 628c2ecf20Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_79_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000A78ull)) 638c2ecf20Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_96_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000B00ull)) 648c2ecf20Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_98_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000B10ull)) 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ciunion cvmx_iob_bist_status { 678c2ecf20Sopenharmony_ci uint64_t u64; 688c2ecf20Sopenharmony_ci struct cvmx_iob_bist_status_s { 698c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 708c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 718c2ecf20Sopenharmony_ci uint64_t ibd:1; 728c2ecf20Sopenharmony_ci uint64_t icd:1; 738c2ecf20Sopenharmony_ci#else 748c2ecf20Sopenharmony_ci uint64_t icd:1; 758c2ecf20Sopenharmony_ci uint64_t ibd:1; 768c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 778c2ecf20Sopenharmony_ci#endif 788c2ecf20Sopenharmony_ci } s; 798c2ecf20Sopenharmony_ci struct cvmx_iob_bist_status_cn30xx { 808c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 818c2ecf20Sopenharmony_ci uint64_t reserved_18_63:46; 828c2ecf20Sopenharmony_ci uint64_t icnrcb:1; 838c2ecf20Sopenharmony_ci uint64_t icr0:1; 848c2ecf20Sopenharmony_ci uint64_t icr1:1; 858c2ecf20Sopenharmony_ci uint64_t icnr1:1; 868c2ecf20Sopenharmony_ci uint64_t icnr0:1; 878c2ecf20Sopenharmony_ci uint64_t ibdr0:1; 888c2ecf20Sopenharmony_ci uint64_t ibdr1:1; 898c2ecf20Sopenharmony_ci uint64_t ibr0:1; 908c2ecf20Sopenharmony_ci uint64_t ibr1:1; 918c2ecf20Sopenharmony_ci uint64_t icnrt:1; 928c2ecf20Sopenharmony_ci uint64_t ibrq0:1; 938c2ecf20Sopenharmony_ci uint64_t ibrq1:1; 948c2ecf20Sopenharmony_ci uint64_t icrn0:1; 958c2ecf20Sopenharmony_ci uint64_t icrn1:1; 968c2ecf20Sopenharmony_ci uint64_t icrp0:1; 978c2ecf20Sopenharmony_ci uint64_t icrp1:1; 988c2ecf20Sopenharmony_ci uint64_t ibd:1; 998c2ecf20Sopenharmony_ci uint64_t icd:1; 1008c2ecf20Sopenharmony_ci#else 1018c2ecf20Sopenharmony_ci uint64_t icd:1; 1028c2ecf20Sopenharmony_ci uint64_t ibd:1; 1038c2ecf20Sopenharmony_ci uint64_t icrp1:1; 1048c2ecf20Sopenharmony_ci uint64_t icrp0:1; 1058c2ecf20Sopenharmony_ci uint64_t icrn1:1; 1068c2ecf20Sopenharmony_ci uint64_t icrn0:1; 1078c2ecf20Sopenharmony_ci uint64_t ibrq1:1; 1088c2ecf20Sopenharmony_ci uint64_t ibrq0:1; 1098c2ecf20Sopenharmony_ci uint64_t icnrt:1; 1108c2ecf20Sopenharmony_ci uint64_t ibr1:1; 1118c2ecf20Sopenharmony_ci uint64_t ibr0:1; 1128c2ecf20Sopenharmony_ci uint64_t ibdr1:1; 1138c2ecf20Sopenharmony_ci uint64_t ibdr0:1; 1148c2ecf20Sopenharmony_ci uint64_t icnr0:1; 1158c2ecf20Sopenharmony_ci uint64_t icnr1:1; 1168c2ecf20Sopenharmony_ci uint64_t icr1:1; 1178c2ecf20Sopenharmony_ci uint64_t icr0:1; 1188c2ecf20Sopenharmony_ci uint64_t icnrcb:1; 1198c2ecf20Sopenharmony_ci uint64_t reserved_18_63:46; 1208c2ecf20Sopenharmony_ci#endif 1218c2ecf20Sopenharmony_ci } cn30xx; 1228c2ecf20Sopenharmony_ci struct cvmx_iob_bist_status_cn61xx { 1238c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1248c2ecf20Sopenharmony_ci uint64_t reserved_23_63:41; 1258c2ecf20Sopenharmony_ci uint64_t xmdfif:1; 1268c2ecf20Sopenharmony_ci uint64_t xmcfif:1; 1278c2ecf20Sopenharmony_ci uint64_t iorfif:1; 1288c2ecf20Sopenharmony_ci uint64_t rsdfif:1; 1298c2ecf20Sopenharmony_ci uint64_t iocfif:1; 1308c2ecf20Sopenharmony_ci uint64_t icnrcb:1; 1318c2ecf20Sopenharmony_ci uint64_t icr0:1; 1328c2ecf20Sopenharmony_ci uint64_t icr1:1; 1338c2ecf20Sopenharmony_ci uint64_t icnr1:1; 1348c2ecf20Sopenharmony_ci uint64_t icnr0:1; 1358c2ecf20Sopenharmony_ci uint64_t ibdr0:1; 1368c2ecf20Sopenharmony_ci uint64_t ibdr1:1; 1378c2ecf20Sopenharmony_ci uint64_t ibr0:1; 1388c2ecf20Sopenharmony_ci uint64_t ibr1:1; 1398c2ecf20Sopenharmony_ci uint64_t icnrt:1; 1408c2ecf20Sopenharmony_ci uint64_t ibrq0:1; 1418c2ecf20Sopenharmony_ci uint64_t ibrq1:1; 1428c2ecf20Sopenharmony_ci uint64_t icrn0:1; 1438c2ecf20Sopenharmony_ci uint64_t icrn1:1; 1448c2ecf20Sopenharmony_ci uint64_t icrp0:1; 1458c2ecf20Sopenharmony_ci uint64_t icrp1:1; 1468c2ecf20Sopenharmony_ci uint64_t ibd:1; 1478c2ecf20Sopenharmony_ci uint64_t icd:1; 1488c2ecf20Sopenharmony_ci#else 1498c2ecf20Sopenharmony_ci uint64_t icd:1; 1508c2ecf20Sopenharmony_ci uint64_t ibd:1; 1518c2ecf20Sopenharmony_ci uint64_t icrp1:1; 1528c2ecf20Sopenharmony_ci uint64_t icrp0:1; 1538c2ecf20Sopenharmony_ci uint64_t icrn1:1; 1548c2ecf20Sopenharmony_ci uint64_t icrn0:1; 1558c2ecf20Sopenharmony_ci uint64_t ibrq1:1; 1568c2ecf20Sopenharmony_ci uint64_t ibrq0:1; 1578c2ecf20Sopenharmony_ci uint64_t icnrt:1; 1588c2ecf20Sopenharmony_ci uint64_t ibr1:1; 1598c2ecf20Sopenharmony_ci uint64_t ibr0:1; 1608c2ecf20Sopenharmony_ci uint64_t ibdr1:1; 1618c2ecf20Sopenharmony_ci uint64_t ibdr0:1; 1628c2ecf20Sopenharmony_ci uint64_t icnr0:1; 1638c2ecf20Sopenharmony_ci uint64_t icnr1:1; 1648c2ecf20Sopenharmony_ci uint64_t icr1:1; 1658c2ecf20Sopenharmony_ci uint64_t icr0:1; 1668c2ecf20Sopenharmony_ci uint64_t icnrcb:1; 1678c2ecf20Sopenharmony_ci uint64_t iocfif:1; 1688c2ecf20Sopenharmony_ci uint64_t rsdfif:1; 1698c2ecf20Sopenharmony_ci uint64_t iorfif:1; 1708c2ecf20Sopenharmony_ci uint64_t xmcfif:1; 1718c2ecf20Sopenharmony_ci uint64_t xmdfif:1; 1728c2ecf20Sopenharmony_ci uint64_t reserved_23_63:41; 1738c2ecf20Sopenharmony_ci#endif 1748c2ecf20Sopenharmony_ci } cn61xx; 1758c2ecf20Sopenharmony_ci struct cvmx_iob_bist_status_cn68xx { 1768c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1778c2ecf20Sopenharmony_ci uint64_t reserved_18_63:46; 1788c2ecf20Sopenharmony_ci uint64_t xmdfif:1; 1798c2ecf20Sopenharmony_ci uint64_t xmcfif:1; 1808c2ecf20Sopenharmony_ci uint64_t iorfif:1; 1818c2ecf20Sopenharmony_ci uint64_t rsdfif:1; 1828c2ecf20Sopenharmony_ci uint64_t iocfif:1; 1838c2ecf20Sopenharmony_ci uint64_t icnrcb:1; 1848c2ecf20Sopenharmony_ci uint64_t icr0:1; 1858c2ecf20Sopenharmony_ci uint64_t icr1:1; 1868c2ecf20Sopenharmony_ci uint64_t icnr0:1; 1878c2ecf20Sopenharmony_ci uint64_t ibr0:1; 1888c2ecf20Sopenharmony_ci uint64_t ibr1:1; 1898c2ecf20Sopenharmony_ci uint64_t icnrt:1; 1908c2ecf20Sopenharmony_ci uint64_t ibrq0:1; 1918c2ecf20Sopenharmony_ci uint64_t ibrq1:1; 1928c2ecf20Sopenharmony_ci uint64_t icrn0:1; 1938c2ecf20Sopenharmony_ci uint64_t icrn1:1; 1948c2ecf20Sopenharmony_ci uint64_t ibd:1; 1958c2ecf20Sopenharmony_ci uint64_t icd:1; 1968c2ecf20Sopenharmony_ci#else 1978c2ecf20Sopenharmony_ci uint64_t icd:1; 1988c2ecf20Sopenharmony_ci uint64_t ibd:1; 1998c2ecf20Sopenharmony_ci uint64_t icrn1:1; 2008c2ecf20Sopenharmony_ci uint64_t icrn0:1; 2018c2ecf20Sopenharmony_ci uint64_t ibrq1:1; 2028c2ecf20Sopenharmony_ci uint64_t ibrq0:1; 2038c2ecf20Sopenharmony_ci uint64_t icnrt:1; 2048c2ecf20Sopenharmony_ci uint64_t ibr1:1; 2058c2ecf20Sopenharmony_ci uint64_t ibr0:1; 2068c2ecf20Sopenharmony_ci uint64_t icnr0:1; 2078c2ecf20Sopenharmony_ci uint64_t icr1:1; 2088c2ecf20Sopenharmony_ci uint64_t icr0:1; 2098c2ecf20Sopenharmony_ci uint64_t icnrcb:1; 2108c2ecf20Sopenharmony_ci uint64_t iocfif:1; 2118c2ecf20Sopenharmony_ci uint64_t rsdfif:1; 2128c2ecf20Sopenharmony_ci uint64_t iorfif:1; 2138c2ecf20Sopenharmony_ci uint64_t xmcfif:1; 2148c2ecf20Sopenharmony_ci uint64_t xmdfif:1; 2158c2ecf20Sopenharmony_ci uint64_t reserved_18_63:46; 2168c2ecf20Sopenharmony_ci#endif 2178c2ecf20Sopenharmony_ci } cn68xx; 2188c2ecf20Sopenharmony_ci}; 2198c2ecf20Sopenharmony_ci 2208c2ecf20Sopenharmony_ciunion cvmx_iob_ctl_status { 2218c2ecf20Sopenharmony_ci uint64_t u64; 2228c2ecf20Sopenharmony_ci struct cvmx_iob_ctl_status_s { 2238c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2248c2ecf20Sopenharmony_ci uint64_t reserved_11_63:53; 2258c2ecf20Sopenharmony_ci uint64_t fif_dly:1; 2268c2ecf20Sopenharmony_ci uint64_t xmc_per:4; 2278c2ecf20Sopenharmony_ci uint64_t reserved_5_5:1; 2288c2ecf20Sopenharmony_ci uint64_t outb_mat:1; 2298c2ecf20Sopenharmony_ci uint64_t inb_mat:1; 2308c2ecf20Sopenharmony_ci uint64_t pko_enb:1; 2318c2ecf20Sopenharmony_ci uint64_t dwb_enb:1; 2328c2ecf20Sopenharmony_ci uint64_t fau_end:1; 2338c2ecf20Sopenharmony_ci#else 2348c2ecf20Sopenharmony_ci uint64_t fau_end:1; 2358c2ecf20Sopenharmony_ci uint64_t dwb_enb:1; 2368c2ecf20Sopenharmony_ci uint64_t pko_enb:1; 2378c2ecf20Sopenharmony_ci uint64_t inb_mat:1; 2388c2ecf20Sopenharmony_ci uint64_t outb_mat:1; 2398c2ecf20Sopenharmony_ci uint64_t reserved_5_5:1; 2408c2ecf20Sopenharmony_ci uint64_t xmc_per:4; 2418c2ecf20Sopenharmony_ci uint64_t fif_dly:1; 2428c2ecf20Sopenharmony_ci uint64_t reserved_11_63:53; 2438c2ecf20Sopenharmony_ci#endif 2448c2ecf20Sopenharmony_ci } s; 2458c2ecf20Sopenharmony_ci struct cvmx_iob_ctl_status_cn30xx { 2468c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2478c2ecf20Sopenharmony_ci uint64_t reserved_5_63:59; 2488c2ecf20Sopenharmony_ci uint64_t outb_mat:1; 2498c2ecf20Sopenharmony_ci uint64_t inb_mat:1; 2508c2ecf20Sopenharmony_ci uint64_t pko_enb:1; 2518c2ecf20Sopenharmony_ci uint64_t dwb_enb:1; 2528c2ecf20Sopenharmony_ci uint64_t fau_end:1; 2538c2ecf20Sopenharmony_ci#else 2548c2ecf20Sopenharmony_ci uint64_t fau_end:1; 2558c2ecf20Sopenharmony_ci uint64_t dwb_enb:1; 2568c2ecf20Sopenharmony_ci uint64_t pko_enb:1; 2578c2ecf20Sopenharmony_ci uint64_t inb_mat:1; 2588c2ecf20Sopenharmony_ci uint64_t outb_mat:1; 2598c2ecf20Sopenharmony_ci uint64_t reserved_5_63:59; 2608c2ecf20Sopenharmony_ci#endif 2618c2ecf20Sopenharmony_ci } cn30xx; 2628c2ecf20Sopenharmony_ci struct cvmx_iob_ctl_status_cn52xx { 2638c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2648c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 2658c2ecf20Sopenharmony_ci uint64_t rr_mode:1; 2668c2ecf20Sopenharmony_ci uint64_t outb_mat:1; 2678c2ecf20Sopenharmony_ci uint64_t inb_mat:1; 2688c2ecf20Sopenharmony_ci uint64_t pko_enb:1; 2698c2ecf20Sopenharmony_ci uint64_t dwb_enb:1; 2708c2ecf20Sopenharmony_ci uint64_t fau_end:1; 2718c2ecf20Sopenharmony_ci#else 2728c2ecf20Sopenharmony_ci uint64_t fau_end:1; 2738c2ecf20Sopenharmony_ci uint64_t dwb_enb:1; 2748c2ecf20Sopenharmony_ci uint64_t pko_enb:1; 2758c2ecf20Sopenharmony_ci uint64_t inb_mat:1; 2768c2ecf20Sopenharmony_ci uint64_t outb_mat:1; 2778c2ecf20Sopenharmony_ci uint64_t rr_mode:1; 2788c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 2798c2ecf20Sopenharmony_ci#endif 2808c2ecf20Sopenharmony_ci } cn52xx; 2818c2ecf20Sopenharmony_ci struct cvmx_iob_ctl_status_cn61xx { 2828c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2838c2ecf20Sopenharmony_ci uint64_t reserved_11_63:53; 2848c2ecf20Sopenharmony_ci uint64_t fif_dly:1; 2858c2ecf20Sopenharmony_ci uint64_t xmc_per:4; 2868c2ecf20Sopenharmony_ci uint64_t rr_mode:1; 2878c2ecf20Sopenharmony_ci uint64_t outb_mat:1; 2888c2ecf20Sopenharmony_ci uint64_t inb_mat:1; 2898c2ecf20Sopenharmony_ci uint64_t pko_enb:1; 2908c2ecf20Sopenharmony_ci uint64_t dwb_enb:1; 2918c2ecf20Sopenharmony_ci uint64_t fau_end:1; 2928c2ecf20Sopenharmony_ci#else 2938c2ecf20Sopenharmony_ci uint64_t fau_end:1; 2948c2ecf20Sopenharmony_ci uint64_t dwb_enb:1; 2958c2ecf20Sopenharmony_ci uint64_t pko_enb:1; 2968c2ecf20Sopenharmony_ci uint64_t inb_mat:1; 2978c2ecf20Sopenharmony_ci uint64_t outb_mat:1; 2988c2ecf20Sopenharmony_ci uint64_t rr_mode:1; 2998c2ecf20Sopenharmony_ci uint64_t xmc_per:4; 3008c2ecf20Sopenharmony_ci uint64_t fif_dly:1; 3018c2ecf20Sopenharmony_ci uint64_t reserved_11_63:53; 3028c2ecf20Sopenharmony_ci#endif 3038c2ecf20Sopenharmony_ci } cn61xx; 3048c2ecf20Sopenharmony_ci struct cvmx_iob_ctl_status_cn63xx { 3058c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3068c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 3078c2ecf20Sopenharmony_ci uint64_t xmc_per:4; 3088c2ecf20Sopenharmony_ci uint64_t rr_mode:1; 3098c2ecf20Sopenharmony_ci uint64_t outb_mat:1; 3108c2ecf20Sopenharmony_ci uint64_t inb_mat:1; 3118c2ecf20Sopenharmony_ci uint64_t pko_enb:1; 3128c2ecf20Sopenharmony_ci uint64_t dwb_enb:1; 3138c2ecf20Sopenharmony_ci uint64_t fau_end:1; 3148c2ecf20Sopenharmony_ci#else 3158c2ecf20Sopenharmony_ci uint64_t fau_end:1; 3168c2ecf20Sopenharmony_ci uint64_t dwb_enb:1; 3178c2ecf20Sopenharmony_ci uint64_t pko_enb:1; 3188c2ecf20Sopenharmony_ci uint64_t inb_mat:1; 3198c2ecf20Sopenharmony_ci uint64_t outb_mat:1; 3208c2ecf20Sopenharmony_ci uint64_t rr_mode:1; 3218c2ecf20Sopenharmony_ci uint64_t xmc_per:4; 3228c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 3238c2ecf20Sopenharmony_ci#endif 3248c2ecf20Sopenharmony_ci } cn63xx; 3258c2ecf20Sopenharmony_ci struct cvmx_iob_ctl_status_cn68xx { 3268c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3278c2ecf20Sopenharmony_ci uint64_t reserved_11_63:53; 3288c2ecf20Sopenharmony_ci uint64_t fif_dly:1; 3298c2ecf20Sopenharmony_ci uint64_t xmc_per:4; 3308c2ecf20Sopenharmony_ci uint64_t rsvr5:1; 3318c2ecf20Sopenharmony_ci uint64_t outb_mat:1; 3328c2ecf20Sopenharmony_ci uint64_t inb_mat:1; 3338c2ecf20Sopenharmony_ci uint64_t pko_enb:1; 3348c2ecf20Sopenharmony_ci uint64_t dwb_enb:1; 3358c2ecf20Sopenharmony_ci uint64_t fau_end:1; 3368c2ecf20Sopenharmony_ci#else 3378c2ecf20Sopenharmony_ci uint64_t fau_end:1; 3388c2ecf20Sopenharmony_ci uint64_t dwb_enb:1; 3398c2ecf20Sopenharmony_ci uint64_t pko_enb:1; 3408c2ecf20Sopenharmony_ci uint64_t inb_mat:1; 3418c2ecf20Sopenharmony_ci uint64_t outb_mat:1; 3428c2ecf20Sopenharmony_ci uint64_t rsvr5:1; 3438c2ecf20Sopenharmony_ci uint64_t xmc_per:4; 3448c2ecf20Sopenharmony_ci uint64_t fif_dly:1; 3458c2ecf20Sopenharmony_ci uint64_t reserved_11_63:53; 3468c2ecf20Sopenharmony_ci#endif 3478c2ecf20Sopenharmony_ci } cn68xx; 3488c2ecf20Sopenharmony_ci}; 3498c2ecf20Sopenharmony_ci 3508c2ecf20Sopenharmony_ciunion cvmx_iob_dwb_pri_cnt { 3518c2ecf20Sopenharmony_ci uint64_t u64; 3528c2ecf20Sopenharmony_ci struct cvmx_iob_dwb_pri_cnt_s { 3538c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3548c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 3558c2ecf20Sopenharmony_ci uint64_t cnt_enb:1; 3568c2ecf20Sopenharmony_ci uint64_t cnt_val:15; 3578c2ecf20Sopenharmony_ci#else 3588c2ecf20Sopenharmony_ci uint64_t cnt_val:15; 3598c2ecf20Sopenharmony_ci uint64_t cnt_enb:1; 3608c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 3618c2ecf20Sopenharmony_ci#endif 3628c2ecf20Sopenharmony_ci } s; 3638c2ecf20Sopenharmony_ci}; 3648c2ecf20Sopenharmony_ci 3658c2ecf20Sopenharmony_ciunion cvmx_iob_fau_timeout { 3668c2ecf20Sopenharmony_ci uint64_t u64; 3678c2ecf20Sopenharmony_ci struct cvmx_iob_fau_timeout_s { 3688c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3698c2ecf20Sopenharmony_ci uint64_t reserved_13_63:51; 3708c2ecf20Sopenharmony_ci uint64_t tout_enb:1; 3718c2ecf20Sopenharmony_ci uint64_t tout_val:12; 3728c2ecf20Sopenharmony_ci#else 3738c2ecf20Sopenharmony_ci uint64_t tout_val:12; 3748c2ecf20Sopenharmony_ci uint64_t tout_enb:1; 3758c2ecf20Sopenharmony_ci uint64_t reserved_13_63:51; 3768c2ecf20Sopenharmony_ci#endif 3778c2ecf20Sopenharmony_ci } s; 3788c2ecf20Sopenharmony_ci}; 3798c2ecf20Sopenharmony_ci 3808c2ecf20Sopenharmony_ciunion cvmx_iob_i2c_pri_cnt { 3818c2ecf20Sopenharmony_ci uint64_t u64; 3828c2ecf20Sopenharmony_ci struct cvmx_iob_i2c_pri_cnt_s { 3838c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3848c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 3858c2ecf20Sopenharmony_ci uint64_t cnt_enb:1; 3868c2ecf20Sopenharmony_ci uint64_t cnt_val:15; 3878c2ecf20Sopenharmony_ci#else 3888c2ecf20Sopenharmony_ci uint64_t cnt_val:15; 3898c2ecf20Sopenharmony_ci uint64_t cnt_enb:1; 3908c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 3918c2ecf20Sopenharmony_ci#endif 3928c2ecf20Sopenharmony_ci } s; 3938c2ecf20Sopenharmony_ci}; 3948c2ecf20Sopenharmony_ci 3958c2ecf20Sopenharmony_ciunion cvmx_iob_inb_control_match { 3968c2ecf20Sopenharmony_ci uint64_t u64; 3978c2ecf20Sopenharmony_ci struct cvmx_iob_inb_control_match_s { 3988c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3998c2ecf20Sopenharmony_ci uint64_t reserved_29_63:35; 4008c2ecf20Sopenharmony_ci uint64_t mask:8; 4018c2ecf20Sopenharmony_ci uint64_t opc:4; 4028c2ecf20Sopenharmony_ci uint64_t dst:9; 4038c2ecf20Sopenharmony_ci uint64_t src:8; 4048c2ecf20Sopenharmony_ci#else 4058c2ecf20Sopenharmony_ci uint64_t src:8; 4068c2ecf20Sopenharmony_ci uint64_t dst:9; 4078c2ecf20Sopenharmony_ci uint64_t opc:4; 4088c2ecf20Sopenharmony_ci uint64_t mask:8; 4098c2ecf20Sopenharmony_ci uint64_t reserved_29_63:35; 4108c2ecf20Sopenharmony_ci#endif 4118c2ecf20Sopenharmony_ci } s; 4128c2ecf20Sopenharmony_ci}; 4138c2ecf20Sopenharmony_ci 4148c2ecf20Sopenharmony_ciunion cvmx_iob_inb_control_match_enb { 4158c2ecf20Sopenharmony_ci uint64_t u64; 4168c2ecf20Sopenharmony_ci struct cvmx_iob_inb_control_match_enb_s { 4178c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4188c2ecf20Sopenharmony_ci uint64_t reserved_29_63:35; 4198c2ecf20Sopenharmony_ci uint64_t mask:8; 4208c2ecf20Sopenharmony_ci uint64_t opc:4; 4218c2ecf20Sopenharmony_ci uint64_t dst:9; 4228c2ecf20Sopenharmony_ci uint64_t src:8; 4238c2ecf20Sopenharmony_ci#else 4248c2ecf20Sopenharmony_ci uint64_t src:8; 4258c2ecf20Sopenharmony_ci uint64_t dst:9; 4268c2ecf20Sopenharmony_ci uint64_t opc:4; 4278c2ecf20Sopenharmony_ci uint64_t mask:8; 4288c2ecf20Sopenharmony_ci uint64_t reserved_29_63:35; 4298c2ecf20Sopenharmony_ci#endif 4308c2ecf20Sopenharmony_ci } s; 4318c2ecf20Sopenharmony_ci}; 4328c2ecf20Sopenharmony_ci 4338c2ecf20Sopenharmony_ciunion cvmx_iob_inb_data_match { 4348c2ecf20Sopenharmony_ci uint64_t u64; 4358c2ecf20Sopenharmony_ci struct cvmx_iob_inb_data_match_s { 4368c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4378c2ecf20Sopenharmony_ci uint64_t data:64; 4388c2ecf20Sopenharmony_ci#else 4398c2ecf20Sopenharmony_ci uint64_t data:64; 4408c2ecf20Sopenharmony_ci#endif 4418c2ecf20Sopenharmony_ci } s; 4428c2ecf20Sopenharmony_ci}; 4438c2ecf20Sopenharmony_ci 4448c2ecf20Sopenharmony_ciunion cvmx_iob_inb_data_match_enb { 4458c2ecf20Sopenharmony_ci uint64_t u64; 4468c2ecf20Sopenharmony_ci struct cvmx_iob_inb_data_match_enb_s { 4478c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4488c2ecf20Sopenharmony_ci uint64_t data:64; 4498c2ecf20Sopenharmony_ci#else 4508c2ecf20Sopenharmony_ci uint64_t data:64; 4518c2ecf20Sopenharmony_ci#endif 4528c2ecf20Sopenharmony_ci } s; 4538c2ecf20Sopenharmony_ci}; 4548c2ecf20Sopenharmony_ci 4558c2ecf20Sopenharmony_ciunion cvmx_iob_int_enb { 4568c2ecf20Sopenharmony_ci uint64_t u64; 4578c2ecf20Sopenharmony_ci struct cvmx_iob_int_enb_s { 4588c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4598c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 4608c2ecf20Sopenharmony_ci uint64_t p_dat:1; 4618c2ecf20Sopenharmony_ci uint64_t np_dat:1; 4628c2ecf20Sopenharmony_ci uint64_t p_eop:1; 4638c2ecf20Sopenharmony_ci uint64_t p_sop:1; 4648c2ecf20Sopenharmony_ci uint64_t np_eop:1; 4658c2ecf20Sopenharmony_ci uint64_t np_sop:1; 4668c2ecf20Sopenharmony_ci#else 4678c2ecf20Sopenharmony_ci uint64_t np_sop:1; 4688c2ecf20Sopenharmony_ci uint64_t np_eop:1; 4698c2ecf20Sopenharmony_ci uint64_t p_sop:1; 4708c2ecf20Sopenharmony_ci uint64_t p_eop:1; 4718c2ecf20Sopenharmony_ci uint64_t np_dat:1; 4728c2ecf20Sopenharmony_ci uint64_t p_dat:1; 4738c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 4748c2ecf20Sopenharmony_ci#endif 4758c2ecf20Sopenharmony_ci } s; 4768c2ecf20Sopenharmony_ci struct cvmx_iob_int_enb_cn30xx { 4778c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4788c2ecf20Sopenharmony_ci uint64_t reserved_4_63:60; 4798c2ecf20Sopenharmony_ci uint64_t p_eop:1; 4808c2ecf20Sopenharmony_ci uint64_t p_sop:1; 4818c2ecf20Sopenharmony_ci uint64_t np_eop:1; 4828c2ecf20Sopenharmony_ci uint64_t np_sop:1; 4838c2ecf20Sopenharmony_ci#else 4848c2ecf20Sopenharmony_ci uint64_t np_sop:1; 4858c2ecf20Sopenharmony_ci uint64_t np_eop:1; 4868c2ecf20Sopenharmony_ci uint64_t p_sop:1; 4878c2ecf20Sopenharmony_ci uint64_t p_eop:1; 4888c2ecf20Sopenharmony_ci uint64_t reserved_4_63:60; 4898c2ecf20Sopenharmony_ci#endif 4908c2ecf20Sopenharmony_ci } cn30xx; 4918c2ecf20Sopenharmony_ci struct cvmx_iob_int_enb_cn68xx { 4928c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4938c2ecf20Sopenharmony_ci uint64_t reserved_0_63:64; 4948c2ecf20Sopenharmony_ci#else 4958c2ecf20Sopenharmony_ci uint64_t reserved_0_63:64; 4968c2ecf20Sopenharmony_ci#endif 4978c2ecf20Sopenharmony_ci } cn68xx; 4988c2ecf20Sopenharmony_ci}; 4998c2ecf20Sopenharmony_ci 5008c2ecf20Sopenharmony_ciunion cvmx_iob_int_sum { 5018c2ecf20Sopenharmony_ci uint64_t u64; 5028c2ecf20Sopenharmony_ci struct cvmx_iob_int_sum_s { 5038c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5048c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 5058c2ecf20Sopenharmony_ci uint64_t p_dat:1; 5068c2ecf20Sopenharmony_ci uint64_t np_dat:1; 5078c2ecf20Sopenharmony_ci uint64_t p_eop:1; 5088c2ecf20Sopenharmony_ci uint64_t p_sop:1; 5098c2ecf20Sopenharmony_ci uint64_t np_eop:1; 5108c2ecf20Sopenharmony_ci uint64_t np_sop:1; 5118c2ecf20Sopenharmony_ci#else 5128c2ecf20Sopenharmony_ci uint64_t np_sop:1; 5138c2ecf20Sopenharmony_ci uint64_t np_eop:1; 5148c2ecf20Sopenharmony_ci uint64_t p_sop:1; 5158c2ecf20Sopenharmony_ci uint64_t p_eop:1; 5168c2ecf20Sopenharmony_ci uint64_t np_dat:1; 5178c2ecf20Sopenharmony_ci uint64_t p_dat:1; 5188c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 5198c2ecf20Sopenharmony_ci#endif 5208c2ecf20Sopenharmony_ci } s; 5218c2ecf20Sopenharmony_ci struct cvmx_iob_int_sum_cn30xx { 5228c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5238c2ecf20Sopenharmony_ci uint64_t reserved_4_63:60; 5248c2ecf20Sopenharmony_ci uint64_t p_eop:1; 5258c2ecf20Sopenharmony_ci uint64_t p_sop:1; 5268c2ecf20Sopenharmony_ci uint64_t np_eop:1; 5278c2ecf20Sopenharmony_ci uint64_t np_sop:1; 5288c2ecf20Sopenharmony_ci#else 5298c2ecf20Sopenharmony_ci uint64_t np_sop:1; 5308c2ecf20Sopenharmony_ci uint64_t np_eop:1; 5318c2ecf20Sopenharmony_ci uint64_t p_sop:1; 5328c2ecf20Sopenharmony_ci uint64_t p_eop:1; 5338c2ecf20Sopenharmony_ci uint64_t reserved_4_63:60; 5348c2ecf20Sopenharmony_ci#endif 5358c2ecf20Sopenharmony_ci } cn30xx; 5368c2ecf20Sopenharmony_ci struct cvmx_iob_int_sum_cn68xx { 5378c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5388c2ecf20Sopenharmony_ci uint64_t reserved_0_63:64; 5398c2ecf20Sopenharmony_ci#else 5408c2ecf20Sopenharmony_ci uint64_t reserved_0_63:64; 5418c2ecf20Sopenharmony_ci#endif 5428c2ecf20Sopenharmony_ci } cn68xx; 5438c2ecf20Sopenharmony_ci}; 5448c2ecf20Sopenharmony_ci 5458c2ecf20Sopenharmony_ciunion cvmx_iob_n2c_l2c_pri_cnt { 5468c2ecf20Sopenharmony_ci uint64_t u64; 5478c2ecf20Sopenharmony_ci struct cvmx_iob_n2c_l2c_pri_cnt_s { 5488c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5498c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 5508c2ecf20Sopenharmony_ci uint64_t cnt_enb:1; 5518c2ecf20Sopenharmony_ci uint64_t cnt_val:15; 5528c2ecf20Sopenharmony_ci#else 5538c2ecf20Sopenharmony_ci uint64_t cnt_val:15; 5548c2ecf20Sopenharmony_ci uint64_t cnt_enb:1; 5558c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 5568c2ecf20Sopenharmony_ci#endif 5578c2ecf20Sopenharmony_ci } s; 5588c2ecf20Sopenharmony_ci}; 5598c2ecf20Sopenharmony_ci 5608c2ecf20Sopenharmony_ciunion cvmx_iob_n2c_rsp_pri_cnt { 5618c2ecf20Sopenharmony_ci uint64_t u64; 5628c2ecf20Sopenharmony_ci struct cvmx_iob_n2c_rsp_pri_cnt_s { 5638c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5648c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 5658c2ecf20Sopenharmony_ci uint64_t cnt_enb:1; 5668c2ecf20Sopenharmony_ci uint64_t cnt_val:15; 5678c2ecf20Sopenharmony_ci#else 5688c2ecf20Sopenharmony_ci uint64_t cnt_val:15; 5698c2ecf20Sopenharmony_ci uint64_t cnt_enb:1; 5708c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 5718c2ecf20Sopenharmony_ci#endif 5728c2ecf20Sopenharmony_ci } s; 5738c2ecf20Sopenharmony_ci}; 5748c2ecf20Sopenharmony_ci 5758c2ecf20Sopenharmony_ciunion cvmx_iob_outb_com_pri_cnt { 5768c2ecf20Sopenharmony_ci uint64_t u64; 5778c2ecf20Sopenharmony_ci struct cvmx_iob_outb_com_pri_cnt_s { 5788c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5798c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 5808c2ecf20Sopenharmony_ci uint64_t cnt_enb:1; 5818c2ecf20Sopenharmony_ci uint64_t cnt_val:15; 5828c2ecf20Sopenharmony_ci#else 5838c2ecf20Sopenharmony_ci uint64_t cnt_val:15; 5848c2ecf20Sopenharmony_ci uint64_t cnt_enb:1; 5858c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 5868c2ecf20Sopenharmony_ci#endif 5878c2ecf20Sopenharmony_ci } s; 5888c2ecf20Sopenharmony_ci}; 5898c2ecf20Sopenharmony_ci 5908c2ecf20Sopenharmony_ciunion cvmx_iob_outb_control_match { 5918c2ecf20Sopenharmony_ci uint64_t u64; 5928c2ecf20Sopenharmony_ci struct cvmx_iob_outb_control_match_s { 5938c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5948c2ecf20Sopenharmony_ci uint64_t reserved_26_63:38; 5958c2ecf20Sopenharmony_ci uint64_t mask:8; 5968c2ecf20Sopenharmony_ci uint64_t eot:1; 5978c2ecf20Sopenharmony_ci uint64_t dst:8; 5988c2ecf20Sopenharmony_ci uint64_t src:9; 5998c2ecf20Sopenharmony_ci#else 6008c2ecf20Sopenharmony_ci uint64_t src:9; 6018c2ecf20Sopenharmony_ci uint64_t dst:8; 6028c2ecf20Sopenharmony_ci uint64_t eot:1; 6038c2ecf20Sopenharmony_ci uint64_t mask:8; 6048c2ecf20Sopenharmony_ci uint64_t reserved_26_63:38; 6058c2ecf20Sopenharmony_ci#endif 6068c2ecf20Sopenharmony_ci } s; 6078c2ecf20Sopenharmony_ci}; 6088c2ecf20Sopenharmony_ci 6098c2ecf20Sopenharmony_ciunion cvmx_iob_outb_control_match_enb { 6108c2ecf20Sopenharmony_ci uint64_t u64; 6118c2ecf20Sopenharmony_ci struct cvmx_iob_outb_control_match_enb_s { 6128c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6138c2ecf20Sopenharmony_ci uint64_t reserved_26_63:38; 6148c2ecf20Sopenharmony_ci uint64_t mask:8; 6158c2ecf20Sopenharmony_ci uint64_t eot:1; 6168c2ecf20Sopenharmony_ci uint64_t dst:8; 6178c2ecf20Sopenharmony_ci uint64_t src:9; 6188c2ecf20Sopenharmony_ci#else 6198c2ecf20Sopenharmony_ci uint64_t src:9; 6208c2ecf20Sopenharmony_ci uint64_t dst:8; 6218c2ecf20Sopenharmony_ci uint64_t eot:1; 6228c2ecf20Sopenharmony_ci uint64_t mask:8; 6238c2ecf20Sopenharmony_ci uint64_t reserved_26_63:38; 6248c2ecf20Sopenharmony_ci#endif 6258c2ecf20Sopenharmony_ci } s; 6268c2ecf20Sopenharmony_ci}; 6278c2ecf20Sopenharmony_ci 6288c2ecf20Sopenharmony_ciunion cvmx_iob_outb_data_match { 6298c2ecf20Sopenharmony_ci uint64_t u64; 6308c2ecf20Sopenharmony_ci struct cvmx_iob_outb_data_match_s { 6318c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6328c2ecf20Sopenharmony_ci uint64_t data:64; 6338c2ecf20Sopenharmony_ci#else 6348c2ecf20Sopenharmony_ci uint64_t data:64; 6358c2ecf20Sopenharmony_ci#endif 6368c2ecf20Sopenharmony_ci } s; 6378c2ecf20Sopenharmony_ci}; 6388c2ecf20Sopenharmony_ci 6398c2ecf20Sopenharmony_ciunion cvmx_iob_outb_data_match_enb { 6408c2ecf20Sopenharmony_ci uint64_t u64; 6418c2ecf20Sopenharmony_ci struct cvmx_iob_outb_data_match_enb_s { 6428c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6438c2ecf20Sopenharmony_ci uint64_t data:64; 6448c2ecf20Sopenharmony_ci#else 6458c2ecf20Sopenharmony_ci uint64_t data:64; 6468c2ecf20Sopenharmony_ci#endif 6478c2ecf20Sopenharmony_ci } s; 6488c2ecf20Sopenharmony_ci}; 6498c2ecf20Sopenharmony_ci 6508c2ecf20Sopenharmony_ciunion cvmx_iob_outb_fpa_pri_cnt { 6518c2ecf20Sopenharmony_ci uint64_t u64; 6528c2ecf20Sopenharmony_ci struct cvmx_iob_outb_fpa_pri_cnt_s { 6538c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6548c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 6558c2ecf20Sopenharmony_ci uint64_t cnt_enb:1; 6568c2ecf20Sopenharmony_ci uint64_t cnt_val:15; 6578c2ecf20Sopenharmony_ci#else 6588c2ecf20Sopenharmony_ci uint64_t cnt_val:15; 6598c2ecf20Sopenharmony_ci uint64_t cnt_enb:1; 6608c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 6618c2ecf20Sopenharmony_ci#endif 6628c2ecf20Sopenharmony_ci } s; 6638c2ecf20Sopenharmony_ci}; 6648c2ecf20Sopenharmony_ci 6658c2ecf20Sopenharmony_ciunion cvmx_iob_outb_req_pri_cnt { 6668c2ecf20Sopenharmony_ci uint64_t u64; 6678c2ecf20Sopenharmony_ci struct cvmx_iob_outb_req_pri_cnt_s { 6688c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6698c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 6708c2ecf20Sopenharmony_ci uint64_t cnt_enb:1; 6718c2ecf20Sopenharmony_ci uint64_t cnt_val:15; 6728c2ecf20Sopenharmony_ci#else 6738c2ecf20Sopenharmony_ci uint64_t cnt_val:15; 6748c2ecf20Sopenharmony_ci uint64_t cnt_enb:1; 6758c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 6768c2ecf20Sopenharmony_ci#endif 6778c2ecf20Sopenharmony_ci } s; 6788c2ecf20Sopenharmony_ci}; 6798c2ecf20Sopenharmony_ci 6808c2ecf20Sopenharmony_ciunion cvmx_iob_p2c_req_pri_cnt { 6818c2ecf20Sopenharmony_ci uint64_t u64; 6828c2ecf20Sopenharmony_ci struct cvmx_iob_p2c_req_pri_cnt_s { 6838c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6848c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 6858c2ecf20Sopenharmony_ci uint64_t cnt_enb:1; 6868c2ecf20Sopenharmony_ci uint64_t cnt_val:15; 6878c2ecf20Sopenharmony_ci#else 6888c2ecf20Sopenharmony_ci uint64_t cnt_val:15; 6898c2ecf20Sopenharmony_ci uint64_t cnt_enb:1; 6908c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 6918c2ecf20Sopenharmony_ci#endif 6928c2ecf20Sopenharmony_ci } s; 6938c2ecf20Sopenharmony_ci}; 6948c2ecf20Sopenharmony_ci 6958c2ecf20Sopenharmony_ciunion cvmx_iob_pkt_err { 6968c2ecf20Sopenharmony_ci uint64_t u64; 6978c2ecf20Sopenharmony_ci struct cvmx_iob_pkt_err_s { 6988c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6998c2ecf20Sopenharmony_ci uint64_t reserved_12_63:52; 7008c2ecf20Sopenharmony_ci uint64_t vport:6; 7018c2ecf20Sopenharmony_ci uint64_t port:6; 7028c2ecf20Sopenharmony_ci#else 7038c2ecf20Sopenharmony_ci uint64_t port:6; 7048c2ecf20Sopenharmony_ci uint64_t vport:6; 7058c2ecf20Sopenharmony_ci uint64_t reserved_12_63:52; 7068c2ecf20Sopenharmony_ci#endif 7078c2ecf20Sopenharmony_ci } s; 7088c2ecf20Sopenharmony_ci struct cvmx_iob_pkt_err_cn30xx { 7098c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7108c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 7118c2ecf20Sopenharmony_ci uint64_t port:6; 7128c2ecf20Sopenharmony_ci#else 7138c2ecf20Sopenharmony_ci uint64_t port:6; 7148c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 7158c2ecf20Sopenharmony_ci#endif 7168c2ecf20Sopenharmony_ci } cn30xx; 7178c2ecf20Sopenharmony_ci}; 7188c2ecf20Sopenharmony_ci 7198c2ecf20Sopenharmony_ciunion cvmx_iob_to_cmb_credits { 7208c2ecf20Sopenharmony_ci uint64_t u64; 7218c2ecf20Sopenharmony_ci struct cvmx_iob_to_cmb_credits_s { 7228c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7238c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 7248c2ecf20Sopenharmony_ci uint64_t ncb_rd:3; 7258c2ecf20Sopenharmony_ci uint64_t ncb_wr:3; 7268c2ecf20Sopenharmony_ci#else 7278c2ecf20Sopenharmony_ci uint64_t ncb_wr:3; 7288c2ecf20Sopenharmony_ci uint64_t ncb_rd:3; 7298c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 7308c2ecf20Sopenharmony_ci#endif 7318c2ecf20Sopenharmony_ci } s; 7328c2ecf20Sopenharmony_ci struct cvmx_iob_to_cmb_credits_cn52xx { 7338c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7348c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 7358c2ecf20Sopenharmony_ci uint64_t pko_rd:3; 7368c2ecf20Sopenharmony_ci uint64_t ncb_rd:3; 7378c2ecf20Sopenharmony_ci uint64_t ncb_wr:3; 7388c2ecf20Sopenharmony_ci#else 7398c2ecf20Sopenharmony_ci uint64_t ncb_wr:3; 7408c2ecf20Sopenharmony_ci uint64_t ncb_rd:3; 7418c2ecf20Sopenharmony_ci uint64_t pko_rd:3; 7428c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 7438c2ecf20Sopenharmony_ci#endif 7448c2ecf20Sopenharmony_ci } cn52xx; 7458c2ecf20Sopenharmony_ci struct cvmx_iob_to_cmb_credits_cn68xx { 7468c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7478c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 7488c2ecf20Sopenharmony_ci uint64_t dwb:3; 7498c2ecf20Sopenharmony_ci uint64_t ncb_rd:3; 7508c2ecf20Sopenharmony_ci uint64_t ncb_wr:3; 7518c2ecf20Sopenharmony_ci#else 7528c2ecf20Sopenharmony_ci uint64_t ncb_wr:3; 7538c2ecf20Sopenharmony_ci uint64_t ncb_rd:3; 7548c2ecf20Sopenharmony_ci uint64_t dwb:3; 7558c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 7568c2ecf20Sopenharmony_ci#endif 7578c2ecf20Sopenharmony_ci } cn68xx; 7588c2ecf20Sopenharmony_ci}; 7598c2ecf20Sopenharmony_ci 7608c2ecf20Sopenharmony_ciunion cvmx_iob_to_ncb_did_00_credits { 7618c2ecf20Sopenharmony_ci uint64_t u64; 7628c2ecf20Sopenharmony_ci struct cvmx_iob_to_ncb_did_00_credits_s { 7638c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7648c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 7658c2ecf20Sopenharmony_ci uint64_t crd:7; 7668c2ecf20Sopenharmony_ci#else 7678c2ecf20Sopenharmony_ci uint64_t crd:7; 7688c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 7698c2ecf20Sopenharmony_ci#endif 7708c2ecf20Sopenharmony_ci } s; 7718c2ecf20Sopenharmony_ci}; 7728c2ecf20Sopenharmony_ci 7738c2ecf20Sopenharmony_ciunion cvmx_iob_to_ncb_did_111_credits { 7748c2ecf20Sopenharmony_ci uint64_t u64; 7758c2ecf20Sopenharmony_ci struct cvmx_iob_to_ncb_did_111_credits_s { 7768c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7778c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 7788c2ecf20Sopenharmony_ci uint64_t crd:7; 7798c2ecf20Sopenharmony_ci#else 7808c2ecf20Sopenharmony_ci uint64_t crd:7; 7818c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 7828c2ecf20Sopenharmony_ci#endif 7838c2ecf20Sopenharmony_ci } s; 7848c2ecf20Sopenharmony_ci}; 7858c2ecf20Sopenharmony_ci 7868c2ecf20Sopenharmony_ciunion cvmx_iob_to_ncb_did_223_credits { 7878c2ecf20Sopenharmony_ci uint64_t u64; 7888c2ecf20Sopenharmony_ci struct cvmx_iob_to_ncb_did_223_credits_s { 7898c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7908c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 7918c2ecf20Sopenharmony_ci uint64_t crd:7; 7928c2ecf20Sopenharmony_ci#else 7938c2ecf20Sopenharmony_ci uint64_t crd:7; 7948c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 7958c2ecf20Sopenharmony_ci#endif 7968c2ecf20Sopenharmony_ci } s; 7978c2ecf20Sopenharmony_ci}; 7988c2ecf20Sopenharmony_ci 7998c2ecf20Sopenharmony_ciunion cvmx_iob_to_ncb_did_24_credits { 8008c2ecf20Sopenharmony_ci uint64_t u64; 8018c2ecf20Sopenharmony_ci struct cvmx_iob_to_ncb_did_24_credits_s { 8028c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8038c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 8048c2ecf20Sopenharmony_ci uint64_t crd:7; 8058c2ecf20Sopenharmony_ci#else 8068c2ecf20Sopenharmony_ci uint64_t crd:7; 8078c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 8088c2ecf20Sopenharmony_ci#endif 8098c2ecf20Sopenharmony_ci } s; 8108c2ecf20Sopenharmony_ci}; 8118c2ecf20Sopenharmony_ci 8128c2ecf20Sopenharmony_ciunion cvmx_iob_to_ncb_did_32_credits { 8138c2ecf20Sopenharmony_ci uint64_t u64; 8148c2ecf20Sopenharmony_ci struct cvmx_iob_to_ncb_did_32_credits_s { 8158c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8168c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 8178c2ecf20Sopenharmony_ci uint64_t crd:7; 8188c2ecf20Sopenharmony_ci#else 8198c2ecf20Sopenharmony_ci uint64_t crd:7; 8208c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 8218c2ecf20Sopenharmony_ci#endif 8228c2ecf20Sopenharmony_ci } s; 8238c2ecf20Sopenharmony_ci}; 8248c2ecf20Sopenharmony_ci 8258c2ecf20Sopenharmony_ciunion cvmx_iob_to_ncb_did_40_credits { 8268c2ecf20Sopenharmony_ci uint64_t u64; 8278c2ecf20Sopenharmony_ci struct cvmx_iob_to_ncb_did_40_credits_s { 8288c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8298c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 8308c2ecf20Sopenharmony_ci uint64_t crd:7; 8318c2ecf20Sopenharmony_ci#else 8328c2ecf20Sopenharmony_ci uint64_t crd:7; 8338c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 8348c2ecf20Sopenharmony_ci#endif 8358c2ecf20Sopenharmony_ci } s; 8368c2ecf20Sopenharmony_ci}; 8378c2ecf20Sopenharmony_ci 8388c2ecf20Sopenharmony_ciunion cvmx_iob_to_ncb_did_55_credits { 8398c2ecf20Sopenharmony_ci uint64_t u64; 8408c2ecf20Sopenharmony_ci struct cvmx_iob_to_ncb_did_55_credits_s { 8418c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8428c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 8438c2ecf20Sopenharmony_ci uint64_t crd:7; 8448c2ecf20Sopenharmony_ci#else 8458c2ecf20Sopenharmony_ci uint64_t crd:7; 8468c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 8478c2ecf20Sopenharmony_ci#endif 8488c2ecf20Sopenharmony_ci } s; 8498c2ecf20Sopenharmony_ci}; 8508c2ecf20Sopenharmony_ci 8518c2ecf20Sopenharmony_ciunion cvmx_iob_to_ncb_did_64_credits { 8528c2ecf20Sopenharmony_ci uint64_t u64; 8538c2ecf20Sopenharmony_ci struct cvmx_iob_to_ncb_did_64_credits_s { 8548c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8558c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 8568c2ecf20Sopenharmony_ci uint64_t crd:7; 8578c2ecf20Sopenharmony_ci#else 8588c2ecf20Sopenharmony_ci uint64_t crd:7; 8598c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 8608c2ecf20Sopenharmony_ci#endif 8618c2ecf20Sopenharmony_ci } s; 8628c2ecf20Sopenharmony_ci}; 8638c2ecf20Sopenharmony_ci 8648c2ecf20Sopenharmony_ciunion cvmx_iob_to_ncb_did_79_credits { 8658c2ecf20Sopenharmony_ci uint64_t u64; 8668c2ecf20Sopenharmony_ci struct cvmx_iob_to_ncb_did_79_credits_s { 8678c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8688c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 8698c2ecf20Sopenharmony_ci uint64_t crd:7; 8708c2ecf20Sopenharmony_ci#else 8718c2ecf20Sopenharmony_ci uint64_t crd:7; 8728c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 8738c2ecf20Sopenharmony_ci#endif 8748c2ecf20Sopenharmony_ci } s; 8758c2ecf20Sopenharmony_ci}; 8768c2ecf20Sopenharmony_ci 8778c2ecf20Sopenharmony_ciunion cvmx_iob_to_ncb_did_96_credits { 8788c2ecf20Sopenharmony_ci uint64_t u64; 8798c2ecf20Sopenharmony_ci struct cvmx_iob_to_ncb_did_96_credits_s { 8808c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8818c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 8828c2ecf20Sopenharmony_ci uint64_t crd:7; 8838c2ecf20Sopenharmony_ci#else 8848c2ecf20Sopenharmony_ci uint64_t crd:7; 8858c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 8868c2ecf20Sopenharmony_ci#endif 8878c2ecf20Sopenharmony_ci } s; 8888c2ecf20Sopenharmony_ci}; 8898c2ecf20Sopenharmony_ci 8908c2ecf20Sopenharmony_ciunion cvmx_iob_to_ncb_did_98_credits { 8918c2ecf20Sopenharmony_ci uint64_t u64; 8928c2ecf20Sopenharmony_ci struct cvmx_iob_to_ncb_did_98_credits_s { 8938c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8948c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 8958c2ecf20Sopenharmony_ci uint64_t crd:7; 8968c2ecf20Sopenharmony_ci#else 8978c2ecf20Sopenharmony_ci uint64_t crd:7; 8988c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 8998c2ecf20Sopenharmony_ci#endif 9008c2ecf20Sopenharmony_ci } s; 9018c2ecf20Sopenharmony_ci}; 9028c2ecf20Sopenharmony_ci 9038c2ecf20Sopenharmony_ci#endif 904