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_SRIOX_DEFS_H__ 298c2ecf20Sopenharmony_ci#define __CVMX_SRIOX_DEFS_H__ 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci#define CVMX_SRIOX_ACC_CTRL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000148ull) + ((block_id) & 3) * 0x1000000ull) 328c2ecf20Sopenharmony_ci#define CVMX_SRIOX_ASMBLY_ID(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000200ull) + ((block_id) & 3) * 0x1000000ull) 338c2ecf20Sopenharmony_ci#define CVMX_SRIOX_ASMBLY_INFO(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000208ull) + ((block_id) & 3) * 0x1000000ull) 348c2ecf20Sopenharmony_ci#define CVMX_SRIOX_BELL_RESP_CTRL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000310ull) + ((block_id) & 3) * 0x1000000ull) 358c2ecf20Sopenharmony_ci#define CVMX_SRIOX_BIST_STATUS(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000108ull) + ((block_id) & 3) * 0x1000000ull) 368c2ecf20Sopenharmony_ci#define CVMX_SRIOX_IMSG_CTRL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000508ull) + ((block_id) & 3) * 0x1000000ull) 378c2ecf20Sopenharmony_ci#define CVMX_SRIOX_IMSG_INST_HDRX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C8000510ull) + (((offset) & 1) + ((block_id) & 3) * 0x200000ull) * 8) 388c2ecf20Sopenharmony_ci#define CVMX_SRIOX_IMSG_QOS_GRPX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C8000600ull) + (((offset) & 31) + ((block_id) & 3) * 0x200000ull) * 8) 398c2ecf20Sopenharmony_ci#define CVMX_SRIOX_IMSG_STATUSX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C8000700ull) + (((offset) & 31) + ((block_id) & 3) * 0x200000ull) * 8) 408c2ecf20Sopenharmony_ci#define CVMX_SRIOX_IMSG_VPORT_THR(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000500ull) + ((block_id) & 3) * 0x1000000ull) 418c2ecf20Sopenharmony_ci#define CVMX_SRIOX_IMSG_VPORT_THR2(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000528ull) + ((block_id) & 3) * 0x1000000ull) 428c2ecf20Sopenharmony_ci#define CVMX_SRIOX_INT2_ENABLE(block_id) (CVMX_ADD_IO_SEG(0x00011800C80003E0ull) + ((block_id) & 3) * 0x1000000ull) 438c2ecf20Sopenharmony_ci#define CVMX_SRIOX_INT2_REG(block_id) (CVMX_ADD_IO_SEG(0x00011800C80003E8ull) + ((block_id) & 3) * 0x1000000ull) 448c2ecf20Sopenharmony_ci#define CVMX_SRIOX_INT_ENABLE(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000110ull) + ((block_id) & 3) * 0x1000000ull) 458c2ecf20Sopenharmony_ci#define CVMX_SRIOX_INT_INFO0(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000120ull) + ((block_id) & 3) * 0x1000000ull) 468c2ecf20Sopenharmony_ci#define CVMX_SRIOX_INT_INFO1(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000128ull) + ((block_id) & 3) * 0x1000000ull) 478c2ecf20Sopenharmony_ci#define CVMX_SRIOX_INT_INFO2(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000130ull) + ((block_id) & 3) * 0x1000000ull) 488c2ecf20Sopenharmony_ci#define CVMX_SRIOX_INT_INFO3(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000138ull) + ((block_id) & 3) * 0x1000000ull) 498c2ecf20Sopenharmony_ci#define CVMX_SRIOX_INT_REG(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000118ull) + ((block_id) & 3) * 0x1000000ull) 508c2ecf20Sopenharmony_ci#define CVMX_SRIOX_IP_FEATURE(block_id) (CVMX_ADD_IO_SEG(0x00011800C80003F8ull) + ((block_id) & 3) * 0x1000000ull) 518c2ecf20Sopenharmony_ci#define CVMX_SRIOX_MAC_BUFFERS(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000390ull) + ((block_id) & 3) * 0x1000000ull) 528c2ecf20Sopenharmony_ci#define CVMX_SRIOX_MAINT_OP(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000158ull) + ((block_id) & 3) * 0x1000000ull) 538c2ecf20Sopenharmony_ci#define CVMX_SRIOX_MAINT_RD_DATA(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000160ull) + ((block_id) & 3) * 0x1000000ull) 548c2ecf20Sopenharmony_ci#define CVMX_SRIOX_MCE_TX_CTL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000240ull) + ((block_id) & 3) * 0x1000000ull) 558c2ecf20Sopenharmony_ci#define CVMX_SRIOX_MEM_OP_CTRL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000168ull) + ((block_id) & 3) * 0x1000000ull) 568c2ecf20Sopenharmony_ci#define CVMX_SRIOX_OMSG_CTRLX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C8000488ull) + (((offset) & 1) + ((block_id) & 3) * 0x40000ull) * 64) 578c2ecf20Sopenharmony_ci#define CVMX_SRIOX_OMSG_DONE_COUNTSX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C80004B0ull) + (((offset) & 1) + ((block_id) & 3) * 0x40000ull) * 64) 588c2ecf20Sopenharmony_ci#define CVMX_SRIOX_OMSG_FMP_MRX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C8000498ull) + (((offset) & 1) + ((block_id) & 3) * 0x40000ull) * 64) 598c2ecf20Sopenharmony_ci#define CVMX_SRIOX_OMSG_NMP_MRX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C80004A0ull) + (((offset) & 1) + ((block_id) & 3) * 0x40000ull) * 64) 608c2ecf20Sopenharmony_ci#define CVMX_SRIOX_OMSG_PORTX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C8000480ull) + (((offset) & 1) + ((block_id) & 3) * 0x40000ull) * 64) 618c2ecf20Sopenharmony_ci#define CVMX_SRIOX_OMSG_SILO_THR(block_id) (CVMX_ADD_IO_SEG(0x00011800C80004F8ull) + ((block_id) & 3) * 0x1000000ull) 628c2ecf20Sopenharmony_ci#define CVMX_SRIOX_OMSG_SP_MRX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C8000490ull) + (((offset) & 1) + ((block_id) & 3) * 0x40000ull) * 64) 638c2ecf20Sopenharmony_ci#define CVMX_SRIOX_PRIOX_IN_USE(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C80003C0ull) + (((offset) & 3) + ((block_id) & 3) * 0x200000ull) * 8) 648c2ecf20Sopenharmony_ci#define CVMX_SRIOX_RX_BELL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000308ull) + ((block_id) & 3) * 0x1000000ull) 658c2ecf20Sopenharmony_ci#define CVMX_SRIOX_RX_BELL_SEQ(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000300ull) + ((block_id) & 3) * 0x1000000ull) 668c2ecf20Sopenharmony_ci#define CVMX_SRIOX_RX_STATUS(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000380ull) + ((block_id) & 3) * 0x1000000ull) 678c2ecf20Sopenharmony_ci#define CVMX_SRIOX_S2M_TYPEX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C8000180ull) + (((offset) & 15) + ((block_id) & 3) * 0x200000ull) * 8) 688c2ecf20Sopenharmony_ci#define CVMX_SRIOX_SEQ(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000278ull) + ((block_id) & 3) * 0x1000000ull) 698c2ecf20Sopenharmony_ci#define CVMX_SRIOX_STATUS_REG(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000100ull) + ((block_id) & 3) * 0x1000000ull) 708c2ecf20Sopenharmony_ci#define CVMX_SRIOX_TAG_CTRL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000178ull) + ((block_id) & 3) * 0x1000000ull) 718c2ecf20Sopenharmony_ci#define CVMX_SRIOX_TLP_CREDITS(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000150ull) + ((block_id) & 3) * 0x1000000ull) 728c2ecf20Sopenharmony_ci#define CVMX_SRIOX_TX_BELL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000280ull) + ((block_id) & 3) * 0x1000000ull) 738c2ecf20Sopenharmony_ci#define CVMX_SRIOX_TX_BELL_INFO(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000288ull) + ((block_id) & 3) * 0x1000000ull) 748c2ecf20Sopenharmony_ci#define CVMX_SRIOX_TX_CTRL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000170ull) + ((block_id) & 3) * 0x1000000ull) 758c2ecf20Sopenharmony_ci#define CVMX_SRIOX_TX_EMPHASIS(block_id) (CVMX_ADD_IO_SEG(0x00011800C80003F0ull) + ((block_id) & 3) * 0x1000000ull) 768c2ecf20Sopenharmony_ci#define CVMX_SRIOX_TX_STATUS(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000388ull) + ((block_id) & 3) * 0x1000000ull) 778c2ecf20Sopenharmony_ci#define CVMX_SRIOX_WR_DONE_COUNTS(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000340ull) + ((block_id) & 3) * 0x1000000ull) 788c2ecf20Sopenharmony_ci 798c2ecf20Sopenharmony_ciunion cvmx_sriox_acc_ctrl { 808c2ecf20Sopenharmony_ci uint64_t u64; 818c2ecf20Sopenharmony_ci struct cvmx_sriox_acc_ctrl_s { 828c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 838c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 848c2ecf20Sopenharmony_ci uint64_t deny_adr2:1; 858c2ecf20Sopenharmony_ci uint64_t deny_adr1:1; 868c2ecf20Sopenharmony_ci uint64_t deny_adr0:1; 878c2ecf20Sopenharmony_ci uint64_t reserved_3_3:1; 888c2ecf20Sopenharmony_ci uint64_t deny_bar2:1; 898c2ecf20Sopenharmony_ci uint64_t deny_bar1:1; 908c2ecf20Sopenharmony_ci uint64_t deny_bar0:1; 918c2ecf20Sopenharmony_ci#else 928c2ecf20Sopenharmony_ci uint64_t deny_bar0:1; 938c2ecf20Sopenharmony_ci uint64_t deny_bar1:1; 948c2ecf20Sopenharmony_ci uint64_t deny_bar2:1; 958c2ecf20Sopenharmony_ci uint64_t reserved_3_3:1; 968c2ecf20Sopenharmony_ci uint64_t deny_adr0:1; 978c2ecf20Sopenharmony_ci uint64_t deny_adr1:1; 988c2ecf20Sopenharmony_ci uint64_t deny_adr2:1; 998c2ecf20Sopenharmony_ci uint64_t reserved_7_63:57; 1008c2ecf20Sopenharmony_ci#endif 1018c2ecf20Sopenharmony_ci } s; 1028c2ecf20Sopenharmony_ci struct cvmx_sriox_acc_ctrl_cn63xx { 1038c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1048c2ecf20Sopenharmony_ci uint64_t reserved_3_63:61; 1058c2ecf20Sopenharmony_ci uint64_t deny_bar2:1; 1068c2ecf20Sopenharmony_ci uint64_t deny_bar1:1; 1078c2ecf20Sopenharmony_ci uint64_t deny_bar0:1; 1088c2ecf20Sopenharmony_ci#else 1098c2ecf20Sopenharmony_ci uint64_t deny_bar0:1; 1108c2ecf20Sopenharmony_ci uint64_t deny_bar1:1; 1118c2ecf20Sopenharmony_ci uint64_t deny_bar2:1; 1128c2ecf20Sopenharmony_ci uint64_t reserved_3_63:61; 1138c2ecf20Sopenharmony_ci#endif 1148c2ecf20Sopenharmony_ci } cn63xx; 1158c2ecf20Sopenharmony_ci}; 1168c2ecf20Sopenharmony_ci 1178c2ecf20Sopenharmony_ciunion cvmx_sriox_asmbly_id { 1188c2ecf20Sopenharmony_ci uint64_t u64; 1198c2ecf20Sopenharmony_ci struct cvmx_sriox_asmbly_id_s { 1208c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1218c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 1228c2ecf20Sopenharmony_ci uint64_t assy_id:16; 1238c2ecf20Sopenharmony_ci uint64_t assy_ven:16; 1248c2ecf20Sopenharmony_ci#else 1258c2ecf20Sopenharmony_ci uint64_t assy_ven:16; 1268c2ecf20Sopenharmony_ci uint64_t assy_id:16; 1278c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 1288c2ecf20Sopenharmony_ci#endif 1298c2ecf20Sopenharmony_ci } s; 1308c2ecf20Sopenharmony_ci}; 1318c2ecf20Sopenharmony_ci 1328c2ecf20Sopenharmony_ciunion cvmx_sriox_asmbly_info { 1338c2ecf20Sopenharmony_ci uint64_t u64; 1348c2ecf20Sopenharmony_ci struct cvmx_sriox_asmbly_info_s { 1358c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1368c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 1378c2ecf20Sopenharmony_ci uint64_t assy_rev:16; 1388c2ecf20Sopenharmony_ci uint64_t reserved_0_15:16; 1398c2ecf20Sopenharmony_ci#else 1408c2ecf20Sopenharmony_ci uint64_t reserved_0_15:16; 1418c2ecf20Sopenharmony_ci uint64_t assy_rev:16; 1428c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 1438c2ecf20Sopenharmony_ci#endif 1448c2ecf20Sopenharmony_ci } s; 1458c2ecf20Sopenharmony_ci}; 1468c2ecf20Sopenharmony_ci 1478c2ecf20Sopenharmony_ciunion cvmx_sriox_bell_resp_ctrl { 1488c2ecf20Sopenharmony_ci uint64_t u64; 1498c2ecf20Sopenharmony_ci struct cvmx_sriox_bell_resp_ctrl_s { 1508c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1518c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 1528c2ecf20Sopenharmony_ci uint64_t rp1_sid:1; 1538c2ecf20Sopenharmony_ci uint64_t rp0_sid:2; 1548c2ecf20Sopenharmony_ci uint64_t rp1_pid:1; 1558c2ecf20Sopenharmony_ci uint64_t rp0_pid:2; 1568c2ecf20Sopenharmony_ci#else 1578c2ecf20Sopenharmony_ci uint64_t rp0_pid:2; 1588c2ecf20Sopenharmony_ci uint64_t rp1_pid:1; 1598c2ecf20Sopenharmony_ci uint64_t rp0_sid:2; 1608c2ecf20Sopenharmony_ci uint64_t rp1_sid:1; 1618c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 1628c2ecf20Sopenharmony_ci#endif 1638c2ecf20Sopenharmony_ci } s; 1648c2ecf20Sopenharmony_ci}; 1658c2ecf20Sopenharmony_ci 1668c2ecf20Sopenharmony_ciunion cvmx_sriox_bist_status { 1678c2ecf20Sopenharmony_ci uint64_t u64; 1688c2ecf20Sopenharmony_ci struct cvmx_sriox_bist_status_s { 1698c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1708c2ecf20Sopenharmony_ci uint64_t reserved_45_63:19; 1718c2ecf20Sopenharmony_ci uint64_t lram:1; 1728c2ecf20Sopenharmony_ci uint64_t mram:2; 1738c2ecf20Sopenharmony_ci uint64_t cram:2; 1748c2ecf20Sopenharmony_ci uint64_t bell:2; 1758c2ecf20Sopenharmony_ci uint64_t otag:2; 1768c2ecf20Sopenharmony_ci uint64_t itag:1; 1778c2ecf20Sopenharmony_ci uint64_t ofree:1; 1788c2ecf20Sopenharmony_ci uint64_t rtn:2; 1798c2ecf20Sopenharmony_ci uint64_t obulk:4; 1808c2ecf20Sopenharmony_ci uint64_t optrs:4; 1818c2ecf20Sopenharmony_ci uint64_t oarb2:2; 1828c2ecf20Sopenharmony_ci uint64_t rxbuf2:2; 1838c2ecf20Sopenharmony_ci uint64_t oarb:2; 1848c2ecf20Sopenharmony_ci uint64_t ispf:1; 1858c2ecf20Sopenharmony_ci uint64_t ospf:1; 1868c2ecf20Sopenharmony_ci uint64_t txbuf:2; 1878c2ecf20Sopenharmony_ci uint64_t rxbuf:2; 1888c2ecf20Sopenharmony_ci uint64_t imsg:5; 1898c2ecf20Sopenharmony_ci uint64_t omsg:7; 1908c2ecf20Sopenharmony_ci#else 1918c2ecf20Sopenharmony_ci uint64_t omsg:7; 1928c2ecf20Sopenharmony_ci uint64_t imsg:5; 1938c2ecf20Sopenharmony_ci uint64_t rxbuf:2; 1948c2ecf20Sopenharmony_ci uint64_t txbuf:2; 1958c2ecf20Sopenharmony_ci uint64_t ospf:1; 1968c2ecf20Sopenharmony_ci uint64_t ispf:1; 1978c2ecf20Sopenharmony_ci uint64_t oarb:2; 1988c2ecf20Sopenharmony_ci uint64_t rxbuf2:2; 1998c2ecf20Sopenharmony_ci uint64_t oarb2:2; 2008c2ecf20Sopenharmony_ci uint64_t optrs:4; 2018c2ecf20Sopenharmony_ci uint64_t obulk:4; 2028c2ecf20Sopenharmony_ci uint64_t rtn:2; 2038c2ecf20Sopenharmony_ci uint64_t ofree:1; 2048c2ecf20Sopenharmony_ci uint64_t itag:1; 2058c2ecf20Sopenharmony_ci uint64_t otag:2; 2068c2ecf20Sopenharmony_ci uint64_t bell:2; 2078c2ecf20Sopenharmony_ci uint64_t cram:2; 2088c2ecf20Sopenharmony_ci uint64_t mram:2; 2098c2ecf20Sopenharmony_ci uint64_t lram:1; 2108c2ecf20Sopenharmony_ci uint64_t reserved_45_63:19; 2118c2ecf20Sopenharmony_ci#endif 2128c2ecf20Sopenharmony_ci } s; 2138c2ecf20Sopenharmony_ci struct cvmx_sriox_bist_status_cn63xx { 2148c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2158c2ecf20Sopenharmony_ci uint64_t reserved_44_63:20; 2168c2ecf20Sopenharmony_ci uint64_t mram:2; 2178c2ecf20Sopenharmony_ci uint64_t cram:2; 2188c2ecf20Sopenharmony_ci uint64_t bell:2; 2198c2ecf20Sopenharmony_ci uint64_t otag:2; 2208c2ecf20Sopenharmony_ci uint64_t itag:1; 2218c2ecf20Sopenharmony_ci uint64_t ofree:1; 2228c2ecf20Sopenharmony_ci uint64_t rtn:2; 2238c2ecf20Sopenharmony_ci uint64_t obulk:4; 2248c2ecf20Sopenharmony_ci uint64_t optrs:4; 2258c2ecf20Sopenharmony_ci uint64_t oarb2:2; 2268c2ecf20Sopenharmony_ci uint64_t rxbuf2:2; 2278c2ecf20Sopenharmony_ci uint64_t oarb:2; 2288c2ecf20Sopenharmony_ci uint64_t ispf:1; 2298c2ecf20Sopenharmony_ci uint64_t ospf:1; 2308c2ecf20Sopenharmony_ci uint64_t txbuf:2; 2318c2ecf20Sopenharmony_ci uint64_t rxbuf:2; 2328c2ecf20Sopenharmony_ci uint64_t imsg:5; 2338c2ecf20Sopenharmony_ci uint64_t omsg:7; 2348c2ecf20Sopenharmony_ci#else 2358c2ecf20Sopenharmony_ci uint64_t omsg:7; 2368c2ecf20Sopenharmony_ci uint64_t imsg:5; 2378c2ecf20Sopenharmony_ci uint64_t rxbuf:2; 2388c2ecf20Sopenharmony_ci uint64_t txbuf:2; 2398c2ecf20Sopenharmony_ci uint64_t ospf:1; 2408c2ecf20Sopenharmony_ci uint64_t ispf:1; 2418c2ecf20Sopenharmony_ci uint64_t oarb:2; 2428c2ecf20Sopenharmony_ci uint64_t rxbuf2:2; 2438c2ecf20Sopenharmony_ci uint64_t oarb2:2; 2448c2ecf20Sopenharmony_ci uint64_t optrs:4; 2458c2ecf20Sopenharmony_ci uint64_t obulk:4; 2468c2ecf20Sopenharmony_ci uint64_t rtn:2; 2478c2ecf20Sopenharmony_ci uint64_t ofree:1; 2488c2ecf20Sopenharmony_ci uint64_t itag:1; 2498c2ecf20Sopenharmony_ci uint64_t otag:2; 2508c2ecf20Sopenharmony_ci uint64_t bell:2; 2518c2ecf20Sopenharmony_ci uint64_t cram:2; 2528c2ecf20Sopenharmony_ci uint64_t mram:2; 2538c2ecf20Sopenharmony_ci uint64_t reserved_44_63:20; 2548c2ecf20Sopenharmony_ci#endif 2558c2ecf20Sopenharmony_ci } cn63xx; 2568c2ecf20Sopenharmony_ci struct cvmx_sriox_bist_status_cn63xxp1 { 2578c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2588c2ecf20Sopenharmony_ci uint64_t reserved_44_63:20; 2598c2ecf20Sopenharmony_ci uint64_t mram:2; 2608c2ecf20Sopenharmony_ci uint64_t cram:2; 2618c2ecf20Sopenharmony_ci uint64_t bell:2; 2628c2ecf20Sopenharmony_ci uint64_t otag:2; 2638c2ecf20Sopenharmony_ci uint64_t itag:1; 2648c2ecf20Sopenharmony_ci uint64_t ofree:1; 2658c2ecf20Sopenharmony_ci uint64_t rtn:2; 2668c2ecf20Sopenharmony_ci uint64_t obulk:4; 2678c2ecf20Sopenharmony_ci uint64_t optrs:4; 2688c2ecf20Sopenharmony_ci uint64_t reserved_20_23:4; 2698c2ecf20Sopenharmony_ci uint64_t oarb:2; 2708c2ecf20Sopenharmony_ci uint64_t ispf:1; 2718c2ecf20Sopenharmony_ci uint64_t ospf:1; 2728c2ecf20Sopenharmony_ci uint64_t txbuf:2; 2738c2ecf20Sopenharmony_ci uint64_t rxbuf:2; 2748c2ecf20Sopenharmony_ci uint64_t imsg:5; 2758c2ecf20Sopenharmony_ci uint64_t omsg:7; 2768c2ecf20Sopenharmony_ci#else 2778c2ecf20Sopenharmony_ci uint64_t omsg:7; 2788c2ecf20Sopenharmony_ci uint64_t imsg:5; 2798c2ecf20Sopenharmony_ci uint64_t rxbuf:2; 2808c2ecf20Sopenharmony_ci uint64_t txbuf:2; 2818c2ecf20Sopenharmony_ci uint64_t ospf:1; 2828c2ecf20Sopenharmony_ci uint64_t ispf:1; 2838c2ecf20Sopenharmony_ci uint64_t oarb:2; 2848c2ecf20Sopenharmony_ci uint64_t reserved_20_23:4; 2858c2ecf20Sopenharmony_ci uint64_t optrs:4; 2868c2ecf20Sopenharmony_ci uint64_t obulk:4; 2878c2ecf20Sopenharmony_ci uint64_t rtn:2; 2888c2ecf20Sopenharmony_ci uint64_t ofree:1; 2898c2ecf20Sopenharmony_ci uint64_t itag:1; 2908c2ecf20Sopenharmony_ci uint64_t otag:2; 2918c2ecf20Sopenharmony_ci uint64_t bell:2; 2928c2ecf20Sopenharmony_ci uint64_t cram:2; 2938c2ecf20Sopenharmony_ci uint64_t mram:2; 2948c2ecf20Sopenharmony_ci uint64_t reserved_44_63:20; 2958c2ecf20Sopenharmony_ci#endif 2968c2ecf20Sopenharmony_ci } cn63xxp1; 2978c2ecf20Sopenharmony_ci}; 2988c2ecf20Sopenharmony_ci 2998c2ecf20Sopenharmony_ciunion cvmx_sriox_imsg_ctrl { 3008c2ecf20Sopenharmony_ci uint64_t u64; 3018c2ecf20Sopenharmony_ci struct cvmx_sriox_imsg_ctrl_s { 3028c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3038c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 3048c2ecf20Sopenharmony_ci uint64_t to_mode:1; 3058c2ecf20Sopenharmony_ci uint64_t reserved_30_30:1; 3068c2ecf20Sopenharmony_ci uint64_t rsp_thr:6; 3078c2ecf20Sopenharmony_ci uint64_t reserved_22_23:2; 3088c2ecf20Sopenharmony_ci uint64_t rp1_sid:1; 3098c2ecf20Sopenharmony_ci uint64_t rp0_sid:2; 3108c2ecf20Sopenharmony_ci uint64_t rp1_pid:1; 3118c2ecf20Sopenharmony_ci uint64_t rp0_pid:2; 3128c2ecf20Sopenharmony_ci uint64_t reserved_15_15:1; 3138c2ecf20Sopenharmony_ci uint64_t prt_sel:3; 3148c2ecf20Sopenharmony_ci uint64_t lttr:4; 3158c2ecf20Sopenharmony_ci uint64_t prio:4; 3168c2ecf20Sopenharmony_ci uint64_t mbox:4; 3178c2ecf20Sopenharmony_ci#else 3188c2ecf20Sopenharmony_ci uint64_t mbox:4; 3198c2ecf20Sopenharmony_ci uint64_t prio:4; 3208c2ecf20Sopenharmony_ci uint64_t lttr:4; 3218c2ecf20Sopenharmony_ci uint64_t prt_sel:3; 3228c2ecf20Sopenharmony_ci uint64_t reserved_15_15:1; 3238c2ecf20Sopenharmony_ci uint64_t rp0_pid:2; 3248c2ecf20Sopenharmony_ci uint64_t rp1_pid:1; 3258c2ecf20Sopenharmony_ci uint64_t rp0_sid:2; 3268c2ecf20Sopenharmony_ci uint64_t rp1_sid:1; 3278c2ecf20Sopenharmony_ci uint64_t reserved_22_23:2; 3288c2ecf20Sopenharmony_ci uint64_t rsp_thr:6; 3298c2ecf20Sopenharmony_ci uint64_t reserved_30_30:1; 3308c2ecf20Sopenharmony_ci uint64_t to_mode:1; 3318c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 3328c2ecf20Sopenharmony_ci#endif 3338c2ecf20Sopenharmony_ci } s; 3348c2ecf20Sopenharmony_ci}; 3358c2ecf20Sopenharmony_ci 3368c2ecf20Sopenharmony_ciunion cvmx_sriox_imsg_inst_hdrx { 3378c2ecf20Sopenharmony_ci uint64_t u64; 3388c2ecf20Sopenharmony_ci struct cvmx_sriox_imsg_inst_hdrx_s { 3398c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3408c2ecf20Sopenharmony_ci uint64_t r:1; 3418c2ecf20Sopenharmony_ci uint64_t reserved_58_62:5; 3428c2ecf20Sopenharmony_ci uint64_t pm:2; 3438c2ecf20Sopenharmony_ci uint64_t reserved_55_55:1; 3448c2ecf20Sopenharmony_ci uint64_t sl:7; 3458c2ecf20Sopenharmony_ci uint64_t reserved_46_47:2; 3468c2ecf20Sopenharmony_ci uint64_t nqos:1; 3478c2ecf20Sopenharmony_ci uint64_t ngrp:1; 3488c2ecf20Sopenharmony_ci uint64_t ntt:1; 3498c2ecf20Sopenharmony_ci uint64_t ntag:1; 3508c2ecf20Sopenharmony_ci uint64_t reserved_35_41:7; 3518c2ecf20Sopenharmony_ci uint64_t rs:1; 3528c2ecf20Sopenharmony_ci uint64_t tt:2; 3538c2ecf20Sopenharmony_ci uint64_t tag:32; 3548c2ecf20Sopenharmony_ci#else 3558c2ecf20Sopenharmony_ci uint64_t tag:32; 3568c2ecf20Sopenharmony_ci uint64_t tt:2; 3578c2ecf20Sopenharmony_ci uint64_t rs:1; 3588c2ecf20Sopenharmony_ci uint64_t reserved_35_41:7; 3598c2ecf20Sopenharmony_ci uint64_t ntag:1; 3608c2ecf20Sopenharmony_ci uint64_t ntt:1; 3618c2ecf20Sopenharmony_ci uint64_t ngrp:1; 3628c2ecf20Sopenharmony_ci uint64_t nqos:1; 3638c2ecf20Sopenharmony_ci uint64_t reserved_46_47:2; 3648c2ecf20Sopenharmony_ci uint64_t sl:7; 3658c2ecf20Sopenharmony_ci uint64_t reserved_55_55:1; 3668c2ecf20Sopenharmony_ci uint64_t pm:2; 3678c2ecf20Sopenharmony_ci uint64_t reserved_58_62:5; 3688c2ecf20Sopenharmony_ci uint64_t r:1; 3698c2ecf20Sopenharmony_ci#endif 3708c2ecf20Sopenharmony_ci } s; 3718c2ecf20Sopenharmony_ci}; 3728c2ecf20Sopenharmony_ci 3738c2ecf20Sopenharmony_ciunion cvmx_sriox_imsg_qos_grpx { 3748c2ecf20Sopenharmony_ci uint64_t u64; 3758c2ecf20Sopenharmony_ci struct cvmx_sriox_imsg_qos_grpx_s { 3768c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3778c2ecf20Sopenharmony_ci uint64_t reserved_63_63:1; 3788c2ecf20Sopenharmony_ci uint64_t qos7:3; 3798c2ecf20Sopenharmony_ci uint64_t grp7:4; 3808c2ecf20Sopenharmony_ci uint64_t reserved_55_55:1; 3818c2ecf20Sopenharmony_ci uint64_t qos6:3; 3828c2ecf20Sopenharmony_ci uint64_t grp6:4; 3838c2ecf20Sopenharmony_ci uint64_t reserved_47_47:1; 3848c2ecf20Sopenharmony_ci uint64_t qos5:3; 3858c2ecf20Sopenharmony_ci uint64_t grp5:4; 3868c2ecf20Sopenharmony_ci uint64_t reserved_39_39:1; 3878c2ecf20Sopenharmony_ci uint64_t qos4:3; 3888c2ecf20Sopenharmony_ci uint64_t grp4:4; 3898c2ecf20Sopenharmony_ci uint64_t reserved_31_31:1; 3908c2ecf20Sopenharmony_ci uint64_t qos3:3; 3918c2ecf20Sopenharmony_ci uint64_t grp3:4; 3928c2ecf20Sopenharmony_ci uint64_t reserved_23_23:1; 3938c2ecf20Sopenharmony_ci uint64_t qos2:3; 3948c2ecf20Sopenharmony_ci uint64_t grp2:4; 3958c2ecf20Sopenharmony_ci uint64_t reserved_15_15:1; 3968c2ecf20Sopenharmony_ci uint64_t qos1:3; 3978c2ecf20Sopenharmony_ci uint64_t grp1:4; 3988c2ecf20Sopenharmony_ci uint64_t reserved_7_7:1; 3998c2ecf20Sopenharmony_ci uint64_t qos0:3; 4008c2ecf20Sopenharmony_ci uint64_t grp0:4; 4018c2ecf20Sopenharmony_ci#else 4028c2ecf20Sopenharmony_ci uint64_t grp0:4; 4038c2ecf20Sopenharmony_ci uint64_t qos0:3; 4048c2ecf20Sopenharmony_ci uint64_t reserved_7_7:1; 4058c2ecf20Sopenharmony_ci uint64_t grp1:4; 4068c2ecf20Sopenharmony_ci uint64_t qos1:3; 4078c2ecf20Sopenharmony_ci uint64_t reserved_15_15:1; 4088c2ecf20Sopenharmony_ci uint64_t grp2:4; 4098c2ecf20Sopenharmony_ci uint64_t qos2:3; 4108c2ecf20Sopenharmony_ci uint64_t reserved_23_23:1; 4118c2ecf20Sopenharmony_ci uint64_t grp3:4; 4128c2ecf20Sopenharmony_ci uint64_t qos3:3; 4138c2ecf20Sopenharmony_ci uint64_t reserved_31_31:1; 4148c2ecf20Sopenharmony_ci uint64_t grp4:4; 4158c2ecf20Sopenharmony_ci uint64_t qos4:3; 4168c2ecf20Sopenharmony_ci uint64_t reserved_39_39:1; 4178c2ecf20Sopenharmony_ci uint64_t grp5:4; 4188c2ecf20Sopenharmony_ci uint64_t qos5:3; 4198c2ecf20Sopenharmony_ci uint64_t reserved_47_47:1; 4208c2ecf20Sopenharmony_ci uint64_t grp6:4; 4218c2ecf20Sopenharmony_ci uint64_t qos6:3; 4228c2ecf20Sopenharmony_ci uint64_t reserved_55_55:1; 4238c2ecf20Sopenharmony_ci uint64_t grp7:4; 4248c2ecf20Sopenharmony_ci uint64_t qos7:3; 4258c2ecf20Sopenharmony_ci uint64_t reserved_63_63:1; 4268c2ecf20Sopenharmony_ci#endif 4278c2ecf20Sopenharmony_ci } s; 4288c2ecf20Sopenharmony_ci}; 4298c2ecf20Sopenharmony_ci 4308c2ecf20Sopenharmony_ciunion cvmx_sriox_imsg_statusx { 4318c2ecf20Sopenharmony_ci uint64_t u64; 4328c2ecf20Sopenharmony_ci struct cvmx_sriox_imsg_statusx_s { 4338c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4348c2ecf20Sopenharmony_ci uint64_t val1:1; 4358c2ecf20Sopenharmony_ci uint64_t err1:1; 4368c2ecf20Sopenharmony_ci uint64_t toe1:1; 4378c2ecf20Sopenharmony_ci uint64_t toc1:1; 4388c2ecf20Sopenharmony_ci uint64_t prt1:1; 4398c2ecf20Sopenharmony_ci uint64_t reserved_58_58:1; 4408c2ecf20Sopenharmony_ci uint64_t tt1:1; 4418c2ecf20Sopenharmony_ci uint64_t dis1:1; 4428c2ecf20Sopenharmony_ci uint64_t seg1:4; 4438c2ecf20Sopenharmony_ci uint64_t mbox1:2; 4448c2ecf20Sopenharmony_ci uint64_t lttr1:2; 4458c2ecf20Sopenharmony_ci uint64_t sid1:16; 4468c2ecf20Sopenharmony_ci uint64_t val0:1; 4478c2ecf20Sopenharmony_ci uint64_t err0:1; 4488c2ecf20Sopenharmony_ci uint64_t toe0:1; 4498c2ecf20Sopenharmony_ci uint64_t toc0:1; 4508c2ecf20Sopenharmony_ci uint64_t prt0:1; 4518c2ecf20Sopenharmony_ci uint64_t reserved_26_26:1; 4528c2ecf20Sopenharmony_ci uint64_t tt0:1; 4538c2ecf20Sopenharmony_ci uint64_t dis0:1; 4548c2ecf20Sopenharmony_ci uint64_t seg0:4; 4558c2ecf20Sopenharmony_ci uint64_t mbox0:2; 4568c2ecf20Sopenharmony_ci uint64_t lttr0:2; 4578c2ecf20Sopenharmony_ci uint64_t sid0:16; 4588c2ecf20Sopenharmony_ci#else 4598c2ecf20Sopenharmony_ci uint64_t sid0:16; 4608c2ecf20Sopenharmony_ci uint64_t lttr0:2; 4618c2ecf20Sopenharmony_ci uint64_t mbox0:2; 4628c2ecf20Sopenharmony_ci uint64_t seg0:4; 4638c2ecf20Sopenharmony_ci uint64_t dis0:1; 4648c2ecf20Sopenharmony_ci uint64_t tt0:1; 4658c2ecf20Sopenharmony_ci uint64_t reserved_26_26:1; 4668c2ecf20Sopenharmony_ci uint64_t prt0:1; 4678c2ecf20Sopenharmony_ci uint64_t toc0:1; 4688c2ecf20Sopenharmony_ci uint64_t toe0:1; 4698c2ecf20Sopenharmony_ci uint64_t err0:1; 4708c2ecf20Sopenharmony_ci uint64_t val0:1; 4718c2ecf20Sopenharmony_ci uint64_t sid1:16; 4728c2ecf20Sopenharmony_ci uint64_t lttr1:2; 4738c2ecf20Sopenharmony_ci uint64_t mbox1:2; 4748c2ecf20Sopenharmony_ci uint64_t seg1:4; 4758c2ecf20Sopenharmony_ci uint64_t dis1:1; 4768c2ecf20Sopenharmony_ci uint64_t tt1:1; 4778c2ecf20Sopenharmony_ci uint64_t reserved_58_58:1; 4788c2ecf20Sopenharmony_ci uint64_t prt1:1; 4798c2ecf20Sopenharmony_ci uint64_t toc1:1; 4808c2ecf20Sopenharmony_ci uint64_t toe1:1; 4818c2ecf20Sopenharmony_ci uint64_t err1:1; 4828c2ecf20Sopenharmony_ci uint64_t val1:1; 4838c2ecf20Sopenharmony_ci#endif 4848c2ecf20Sopenharmony_ci } s; 4858c2ecf20Sopenharmony_ci}; 4868c2ecf20Sopenharmony_ci 4878c2ecf20Sopenharmony_ciunion cvmx_sriox_imsg_vport_thr { 4888c2ecf20Sopenharmony_ci uint64_t u64; 4898c2ecf20Sopenharmony_ci struct cvmx_sriox_imsg_vport_thr_s { 4908c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4918c2ecf20Sopenharmony_ci uint64_t reserved_54_63:10; 4928c2ecf20Sopenharmony_ci uint64_t max_tot:6; 4938c2ecf20Sopenharmony_ci uint64_t reserved_46_47:2; 4948c2ecf20Sopenharmony_ci uint64_t max_s1:6; 4958c2ecf20Sopenharmony_ci uint64_t reserved_38_39:2; 4968c2ecf20Sopenharmony_ci uint64_t max_s0:6; 4978c2ecf20Sopenharmony_ci uint64_t sp_vport:1; 4988c2ecf20Sopenharmony_ci uint64_t reserved_20_30:11; 4998c2ecf20Sopenharmony_ci uint64_t buf_thr:4; 5008c2ecf20Sopenharmony_ci uint64_t reserved_14_15:2; 5018c2ecf20Sopenharmony_ci uint64_t max_p1:6; 5028c2ecf20Sopenharmony_ci uint64_t reserved_6_7:2; 5038c2ecf20Sopenharmony_ci uint64_t max_p0:6; 5048c2ecf20Sopenharmony_ci#else 5058c2ecf20Sopenharmony_ci uint64_t max_p0:6; 5068c2ecf20Sopenharmony_ci uint64_t reserved_6_7:2; 5078c2ecf20Sopenharmony_ci uint64_t max_p1:6; 5088c2ecf20Sopenharmony_ci uint64_t reserved_14_15:2; 5098c2ecf20Sopenharmony_ci uint64_t buf_thr:4; 5108c2ecf20Sopenharmony_ci uint64_t reserved_20_30:11; 5118c2ecf20Sopenharmony_ci uint64_t sp_vport:1; 5128c2ecf20Sopenharmony_ci uint64_t max_s0:6; 5138c2ecf20Sopenharmony_ci uint64_t reserved_38_39:2; 5148c2ecf20Sopenharmony_ci uint64_t max_s1:6; 5158c2ecf20Sopenharmony_ci uint64_t reserved_46_47:2; 5168c2ecf20Sopenharmony_ci uint64_t max_tot:6; 5178c2ecf20Sopenharmony_ci uint64_t reserved_54_63:10; 5188c2ecf20Sopenharmony_ci#endif 5198c2ecf20Sopenharmony_ci } s; 5208c2ecf20Sopenharmony_ci}; 5218c2ecf20Sopenharmony_ci 5228c2ecf20Sopenharmony_ciunion cvmx_sriox_imsg_vport_thr2 { 5238c2ecf20Sopenharmony_ci uint64_t u64; 5248c2ecf20Sopenharmony_ci struct cvmx_sriox_imsg_vport_thr2_s { 5258c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5268c2ecf20Sopenharmony_ci uint64_t reserved_46_63:18; 5278c2ecf20Sopenharmony_ci uint64_t max_s3:6; 5288c2ecf20Sopenharmony_ci uint64_t reserved_38_39:2; 5298c2ecf20Sopenharmony_ci uint64_t max_s2:6; 5308c2ecf20Sopenharmony_ci uint64_t reserved_0_31:32; 5318c2ecf20Sopenharmony_ci#else 5328c2ecf20Sopenharmony_ci uint64_t reserved_0_31:32; 5338c2ecf20Sopenharmony_ci uint64_t max_s2:6; 5348c2ecf20Sopenharmony_ci uint64_t reserved_38_39:2; 5358c2ecf20Sopenharmony_ci uint64_t max_s3:6; 5368c2ecf20Sopenharmony_ci uint64_t reserved_46_63:18; 5378c2ecf20Sopenharmony_ci#endif 5388c2ecf20Sopenharmony_ci } s; 5398c2ecf20Sopenharmony_ci}; 5408c2ecf20Sopenharmony_ci 5418c2ecf20Sopenharmony_ciunion cvmx_sriox_int2_enable { 5428c2ecf20Sopenharmony_ci uint64_t u64; 5438c2ecf20Sopenharmony_ci struct cvmx_sriox_int2_enable_s { 5448c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5458c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 5468c2ecf20Sopenharmony_ci uint64_t pko_rst:1; 5478c2ecf20Sopenharmony_ci#else 5488c2ecf20Sopenharmony_ci uint64_t pko_rst:1; 5498c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 5508c2ecf20Sopenharmony_ci#endif 5518c2ecf20Sopenharmony_ci } s; 5528c2ecf20Sopenharmony_ci}; 5538c2ecf20Sopenharmony_ci 5548c2ecf20Sopenharmony_ciunion cvmx_sriox_int2_reg { 5558c2ecf20Sopenharmony_ci uint64_t u64; 5568c2ecf20Sopenharmony_ci struct cvmx_sriox_int2_reg_s { 5578c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5588c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 5598c2ecf20Sopenharmony_ci uint64_t int_sum:1; 5608c2ecf20Sopenharmony_ci uint64_t reserved_1_30:30; 5618c2ecf20Sopenharmony_ci uint64_t pko_rst:1; 5628c2ecf20Sopenharmony_ci#else 5638c2ecf20Sopenharmony_ci uint64_t pko_rst:1; 5648c2ecf20Sopenharmony_ci uint64_t reserved_1_30:30; 5658c2ecf20Sopenharmony_ci uint64_t int_sum:1; 5668c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 5678c2ecf20Sopenharmony_ci#endif 5688c2ecf20Sopenharmony_ci } s; 5698c2ecf20Sopenharmony_ci}; 5708c2ecf20Sopenharmony_ci 5718c2ecf20Sopenharmony_ciunion cvmx_sriox_int_enable { 5728c2ecf20Sopenharmony_ci uint64_t u64; 5738c2ecf20Sopenharmony_ci struct cvmx_sriox_int_enable_s { 5748c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5758c2ecf20Sopenharmony_ci uint64_t reserved_27_63:37; 5768c2ecf20Sopenharmony_ci uint64_t zero_pkt:1; 5778c2ecf20Sopenharmony_ci uint64_t ttl_tout:1; 5788c2ecf20Sopenharmony_ci uint64_t fail:1; 5798c2ecf20Sopenharmony_ci uint64_t degrade:1; 5808c2ecf20Sopenharmony_ci uint64_t mac_buf:1; 5818c2ecf20Sopenharmony_ci uint64_t f_error:1; 5828c2ecf20Sopenharmony_ci uint64_t rtry_err:1; 5838c2ecf20Sopenharmony_ci uint64_t pko_err:1; 5848c2ecf20Sopenharmony_ci uint64_t omsg_err:1; 5858c2ecf20Sopenharmony_ci uint64_t omsg1:1; 5868c2ecf20Sopenharmony_ci uint64_t omsg0:1; 5878c2ecf20Sopenharmony_ci uint64_t link_up:1; 5888c2ecf20Sopenharmony_ci uint64_t link_dwn:1; 5898c2ecf20Sopenharmony_ci uint64_t phy_erb:1; 5908c2ecf20Sopenharmony_ci uint64_t log_erb:1; 5918c2ecf20Sopenharmony_ci uint64_t soft_rx:1; 5928c2ecf20Sopenharmony_ci uint64_t soft_tx:1; 5938c2ecf20Sopenharmony_ci uint64_t mce_rx:1; 5948c2ecf20Sopenharmony_ci uint64_t mce_tx:1; 5958c2ecf20Sopenharmony_ci uint64_t wr_done:1; 5968c2ecf20Sopenharmony_ci uint64_t sli_err:1; 5978c2ecf20Sopenharmony_ci uint64_t deny_wr:1; 5988c2ecf20Sopenharmony_ci uint64_t bar_err:1; 5998c2ecf20Sopenharmony_ci uint64_t maint_op:1; 6008c2ecf20Sopenharmony_ci uint64_t rxbell:1; 6018c2ecf20Sopenharmony_ci uint64_t bell_err:1; 6028c2ecf20Sopenharmony_ci uint64_t txbell:1; 6038c2ecf20Sopenharmony_ci#else 6048c2ecf20Sopenharmony_ci uint64_t txbell:1; 6058c2ecf20Sopenharmony_ci uint64_t bell_err:1; 6068c2ecf20Sopenharmony_ci uint64_t rxbell:1; 6078c2ecf20Sopenharmony_ci uint64_t maint_op:1; 6088c2ecf20Sopenharmony_ci uint64_t bar_err:1; 6098c2ecf20Sopenharmony_ci uint64_t deny_wr:1; 6108c2ecf20Sopenharmony_ci uint64_t sli_err:1; 6118c2ecf20Sopenharmony_ci uint64_t wr_done:1; 6128c2ecf20Sopenharmony_ci uint64_t mce_tx:1; 6138c2ecf20Sopenharmony_ci uint64_t mce_rx:1; 6148c2ecf20Sopenharmony_ci uint64_t soft_tx:1; 6158c2ecf20Sopenharmony_ci uint64_t soft_rx:1; 6168c2ecf20Sopenharmony_ci uint64_t log_erb:1; 6178c2ecf20Sopenharmony_ci uint64_t phy_erb:1; 6188c2ecf20Sopenharmony_ci uint64_t link_dwn:1; 6198c2ecf20Sopenharmony_ci uint64_t link_up:1; 6208c2ecf20Sopenharmony_ci uint64_t omsg0:1; 6218c2ecf20Sopenharmony_ci uint64_t omsg1:1; 6228c2ecf20Sopenharmony_ci uint64_t omsg_err:1; 6238c2ecf20Sopenharmony_ci uint64_t pko_err:1; 6248c2ecf20Sopenharmony_ci uint64_t rtry_err:1; 6258c2ecf20Sopenharmony_ci uint64_t f_error:1; 6268c2ecf20Sopenharmony_ci uint64_t mac_buf:1; 6278c2ecf20Sopenharmony_ci uint64_t degrade:1; 6288c2ecf20Sopenharmony_ci uint64_t fail:1; 6298c2ecf20Sopenharmony_ci uint64_t ttl_tout:1; 6308c2ecf20Sopenharmony_ci uint64_t zero_pkt:1; 6318c2ecf20Sopenharmony_ci uint64_t reserved_27_63:37; 6328c2ecf20Sopenharmony_ci#endif 6338c2ecf20Sopenharmony_ci } s; 6348c2ecf20Sopenharmony_ci struct cvmx_sriox_int_enable_cn63xxp1 { 6358c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6368c2ecf20Sopenharmony_ci uint64_t reserved_22_63:42; 6378c2ecf20Sopenharmony_ci uint64_t f_error:1; 6388c2ecf20Sopenharmony_ci uint64_t rtry_err:1; 6398c2ecf20Sopenharmony_ci uint64_t pko_err:1; 6408c2ecf20Sopenharmony_ci uint64_t omsg_err:1; 6418c2ecf20Sopenharmony_ci uint64_t omsg1:1; 6428c2ecf20Sopenharmony_ci uint64_t omsg0:1; 6438c2ecf20Sopenharmony_ci uint64_t link_up:1; 6448c2ecf20Sopenharmony_ci uint64_t link_dwn:1; 6458c2ecf20Sopenharmony_ci uint64_t phy_erb:1; 6468c2ecf20Sopenharmony_ci uint64_t log_erb:1; 6478c2ecf20Sopenharmony_ci uint64_t soft_rx:1; 6488c2ecf20Sopenharmony_ci uint64_t soft_tx:1; 6498c2ecf20Sopenharmony_ci uint64_t mce_rx:1; 6508c2ecf20Sopenharmony_ci uint64_t mce_tx:1; 6518c2ecf20Sopenharmony_ci uint64_t wr_done:1; 6528c2ecf20Sopenharmony_ci uint64_t sli_err:1; 6538c2ecf20Sopenharmony_ci uint64_t deny_wr:1; 6548c2ecf20Sopenharmony_ci uint64_t bar_err:1; 6558c2ecf20Sopenharmony_ci uint64_t maint_op:1; 6568c2ecf20Sopenharmony_ci uint64_t rxbell:1; 6578c2ecf20Sopenharmony_ci uint64_t bell_err:1; 6588c2ecf20Sopenharmony_ci uint64_t txbell:1; 6598c2ecf20Sopenharmony_ci#else 6608c2ecf20Sopenharmony_ci uint64_t txbell:1; 6618c2ecf20Sopenharmony_ci uint64_t bell_err:1; 6628c2ecf20Sopenharmony_ci uint64_t rxbell:1; 6638c2ecf20Sopenharmony_ci uint64_t maint_op:1; 6648c2ecf20Sopenharmony_ci uint64_t bar_err:1; 6658c2ecf20Sopenharmony_ci uint64_t deny_wr:1; 6668c2ecf20Sopenharmony_ci uint64_t sli_err:1; 6678c2ecf20Sopenharmony_ci uint64_t wr_done:1; 6688c2ecf20Sopenharmony_ci uint64_t mce_tx:1; 6698c2ecf20Sopenharmony_ci uint64_t mce_rx:1; 6708c2ecf20Sopenharmony_ci uint64_t soft_tx:1; 6718c2ecf20Sopenharmony_ci uint64_t soft_rx:1; 6728c2ecf20Sopenharmony_ci uint64_t log_erb:1; 6738c2ecf20Sopenharmony_ci uint64_t phy_erb:1; 6748c2ecf20Sopenharmony_ci uint64_t link_dwn:1; 6758c2ecf20Sopenharmony_ci uint64_t link_up:1; 6768c2ecf20Sopenharmony_ci uint64_t omsg0:1; 6778c2ecf20Sopenharmony_ci uint64_t omsg1:1; 6788c2ecf20Sopenharmony_ci uint64_t omsg_err:1; 6798c2ecf20Sopenharmony_ci uint64_t pko_err:1; 6808c2ecf20Sopenharmony_ci uint64_t rtry_err:1; 6818c2ecf20Sopenharmony_ci uint64_t f_error:1; 6828c2ecf20Sopenharmony_ci uint64_t reserved_22_63:42; 6838c2ecf20Sopenharmony_ci#endif 6848c2ecf20Sopenharmony_ci } cn63xxp1; 6858c2ecf20Sopenharmony_ci}; 6868c2ecf20Sopenharmony_ci 6878c2ecf20Sopenharmony_ciunion cvmx_sriox_int_info0 { 6888c2ecf20Sopenharmony_ci uint64_t u64; 6898c2ecf20Sopenharmony_ci struct cvmx_sriox_int_info0_s { 6908c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6918c2ecf20Sopenharmony_ci uint64_t cmd:4; 6928c2ecf20Sopenharmony_ci uint64_t type:4; 6938c2ecf20Sopenharmony_ci uint64_t tag:8; 6948c2ecf20Sopenharmony_ci uint64_t reserved_42_47:6; 6958c2ecf20Sopenharmony_ci uint64_t length:10; 6968c2ecf20Sopenharmony_ci uint64_t status:3; 6978c2ecf20Sopenharmony_ci uint64_t reserved_16_28:13; 6988c2ecf20Sopenharmony_ci uint64_t be0:8; 6998c2ecf20Sopenharmony_ci uint64_t be1:8; 7008c2ecf20Sopenharmony_ci#else 7018c2ecf20Sopenharmony_ci uint64_t be1:8; 7028c2ecf20Sopenharmony_ci uint64_t be0:8; 7038c2ecf20Sopenharmony_ci uint64_t reserved_16_28:13; 7048c2ecf20Sopenharmony_ci uint64_t status:3; 7058c2ecf20Sopenharmony_ci uint64_t length:10; 7068c2ecf20Sopenharmony_ci uint64_t reserved_42_47:6; 7078c2ecf20Sopenharmony_ci uint64_t tag:8; 7088c2ecf20Sopenharmony_ci uint64_t type:4; 7098c2ecf20Sopenharmony_ci uint64_t cmd:4; 7108c2ecf20Sopenharmony_ci#endif 7118c2ecf20Sopenharmony_ci } s; 7128c2ecf20Sopenharmony_ci}; 7138c2ecf20Sopenharmony_ci 7148c2ecf20Sopenharmony_ciunion cvmx_sriox_int_info1 { 7158c2ecf20Sopenharmony_ci uint64_t u64; 7168c2ecf20Sopenharmony_ci struct cvmx_sriox_int_info1_s { 7178c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7188c2ecf20Sopenharmony_ci uint64_t info1:64; 7198c2ecf20Sopenharmony_ci#else 7208c2ecf20Sopenharmony_ci uint64_t info1:64; 7218c2ecf20Sopenharmony_ci#endif 7228c2ecf20Sopenharmony_ci } s; 7238c2ecf20Sopenharmony_ci}; 7248c2ecf20Sopenharmony_ci 7258c2ecf20Sopenharmony_ciunion cvmx_sriox_int_info2 { 7268c2ecf20Sopenharmony_ci uint64_t u64; 7278c2ecf20Sopenharmony_ci struct cvmx_sriox_int_info2_s { 7288c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7298c2ecf20Sopenharmony_ci uint64_t prio:2; 7308c2ecf20Sopenharmony_ci uint64_t tt:1; 7318c2ecf20Sopenharmony_ci uint64_t sis:1; 7328c2ecf20Sopenharmony_ci uint64_t ssize:4; 7338c2ecf20Sopenharmony_ci uint64_t did:16; 7348c2ecf20Sopenharmony_ci uint64_t xmbox:4; 7358c2ecf20Sopenharmony_ci uint64_t mbox:2; 7368c2ecf20Sopenharmony_ci uint64_t letter:2; 7378c2ecf20Sopenharmony_ci uint64_t rsrvd:30; 7388c2ecf20Sopenharmony_ci uint64_t lns:1; 7398c2ecf20Sopenharmony_ci uint64_t intr:1; 7408c2ecf20Sopenharmony_ci#else 7418c2ecf20Sopenharmony_ci uint64_t intr:1; 7428c2ecf20Sopenharmony_ci uint64_t lns:1; 7438c2ecf20Sopenharmony_ci uint64_t rsrvd:30; 7448c2ecf20Sopenharmony_ci uint64_t letter:2; 7458c2ecf20Sopenharmony_ci uint64_t mbox:2; 7468c2ecf20Sopenharmony_ci uint64_t xmbox:4; 7478c2ecf20Sopenharmony_ci uint64_t did:16; 7488c2ecf20Sopenharmony_ci uint64_t ssize:4; 7498c2ecf20Sopenharmony_ci uint64_t sis:1; 7508c2ecf20Sopenharmony_ci uint64_t tt:1; 7518c2ecf20Sopenharmony_ci uint64_t prio:2; 7528c2ecf20Sopenharmony_ci#endif 7538c2ecf20Sopenharmony_ci } s; 7548c2ecf20Sopenharmony_ci}; 7558c2ecf20Sopenharmony_ci 7568c2ecf20Sopenharmony_ciunion cvmx_sriox_int_info3 { 7578c2ecf20Sopenharmony_ci uint64_t u64; 7588c2ecf20Sopenharmony_ci struct cvmx_sriox_int_info3_s { 7598c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7608c2ecf20Sopenharmony_ci uint64_t prio:2; 7618c2ecf20Sopenharmony_ci uint64_t tt:2; 7628c2ecf20Sopenharmony_ci uint64_t type:4; 7638c2ecf20Sopenharmony_ci uint64_t other:48; 7648c2ecf20Sopenharmony_ci uint64_t reserved_0_7:8; 7658c2ecf20Sopenharmony_ci#else 7668c2ecf20Sopenharmony_ci uint64_t reserved_0_7:8; 7678c2ecf20Sopenharmony_ci uint64_t other:48; 7688c2ecf20Sopenharmony_ci uint64_t type:4; 7698c2ecf20Sopenharmony_ci uint64_t tt:2; 7708c2ecf20Sopenharmony_ci uint64_t prio:2; 7718c2ecf20Sopenharmony_ci#endif 7728c2ecf20Sopenharmony_ci } s; 7738c2ecf20Sopenharmony_ci}; 7748c2ecf20Sopenharmony_ci 7758c2ecf20Sopenharmony_ciunion cvmx_sriox_int_reg { 7768c2ecf20Sopenharmony_ci uint64_t u64; 7778c2ecf20Sopenharmony_ci struct cvmx_sriox_int_reg_s { 7788c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7798c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 7808c2ecf20Sopenharmony_ci uint64_t int2_sum:1; 7818c2ecf20Sopenharmony_ci uint64_t reserved_27_30:4; 7828c2ecf20Sopenharmony_ci uint64_t zero_pkt:1; 7838c2ecf20Sopenharmony_ci uint64_t ttl_tout:1; 7848c2ecf20Sopenharmony_ci uint64_t fail:1; 7858c2ecf20Sopenharmony_ci uint64_t degrad:1; 7868c2ecf20Sopenharmony_ci uint64_t mac_buf:1; 7878c2ecf20Sopenharmony_ci uint64_t f_error:1; 7888c2ecf20Sopenharmony_ci uint64_t rtry_err:1; 7898c2ecf20Sopenharmony_ci uint64_t pko_err:1; 7908c2ecf20Sopenharmony_ci uint64_t omsg_err:1; 7918c2ecf20Sopenharmony_ci uint64_t omsg1:1; 7928c2ecf20Sopenharmony_ci uint64_t omsg0:1; 7938c2ecf20Sopenharmony_ci uint64_t link_up:1; 7948c2ecf20Sopenharmony_ci uint64_t link_dwn:1; 7958c2ecf20Sopenharmony_ci uint64_t phy_erb:1; 7968c2ecf20Sopenharmony_ci uint64_t log_erb:1; 7978c2ecf20Sopenharmony_ci uint64_t soft_rx:1; 7988c2ecf20Sopenharmony_ci uint64_t soft_tx:1; 7998c2ecf20Sopenharmony_ci uint64_t mce_rx:1; 8008c2ecf20Sopenharmony_ci uint64_t mce_tx:1; 8018c2ecf20Sopenharmony_ci uint64_t wr_done:1; 8028c2ecf20Sopenharmony_ci uint64_t sli_err:1; 8038c2ecf20Sopenharmony_ci uint64_t deny_wr:1; 8048c2ecf20Sopenharmony_ci uint64_t bar_err:1; 8058c2ecf20Sopenharmony_ci uint64_t maint_op:1; 8068c2ecf20Sopenharmony_ci uint64_t rxbell:1; 8078c2ecf20Sopenharmony_ci uint64_t bell_err:1; 8088c2ecf20Sopenharmony_ci uint64_t txbell:1; 8098c2ecf20Sopenharmony_ci#else 8108c2ecf20Sopenharmony_ci uint64_t txbell:1; 8118c2ecf20Sopenharmony_ci uint64_t bell_err:1; 8128c2ecf20Sopenharmony_ci uint64_t rxbell:1; 8138c2ecf20Sopenharmony_ci uint64_t maint_op:1; 8148c2ecf20Sopenharmony_ci uint64_t bar_err:1; 8158c2ecf20Sopenharmony_ci uint64_t deny_wr:1; 8168c2ecf20Sopenharmony_ci uint64_t sli_err:1; 8178c2ecf20Sopenharmony_ci uint64_t wr_done:1; 8188c2ecf20Sopenharmony_ci uint64_t mce_tx:1; 8198c2ecf20Sopenharmony_ci uint64_t mce_rx:1; 8208c2ecf20Sopenharmony_ci uint64_t soft_tx:1; 8218c2ecf20Sopenharmony_ci uint64_t soft_rx:1; 8228c2ecf20Sopenharmony_ci uint64_t log_erb:1; 8238c2ecf20Sopenharmony_ci uint64_t phy_erb:1; 8248c2ecf20Sopenharmony_ci uint64_t link_dwn:1; 8258c2ecf20Sopenharmony_ci uint64_t link_up:1; 8268c2ecf20Sopenharmony_ci uint64_t omsg0:1; 8278c2ecf20Sopenharmony_ci uint64_t omsg1:1; 8288c2ecf20Sopenharmony_ci uint64_t omsg_err:1; 8298c2ecf20Sopenharmony_ci uint64_t pko_err:1; 8308c2ecf20Sopenharmony_ci uint64_t rtry_err:1; 8318c2ecf20Sopenharmony_ci uint64_t f_error:1; 8328c2ecf20Sopenharmony_ci uint64_t mac_buf:1; 8338c2ecf20Sopenharmony_ci uint64_t degrad:1; 8348c2ecf20Sopenharmony_ci uint64_t fail:1; 8358c2ecf20Sopenharmony_ci uint64_t ttl_tout:1; 8368c2ecf20Sopenharmony_ci uint64_t zero_pkt:1; 8378c2ecf20Sopenharmony_ci uint64_t reserved_27_30:4; 8388c2ecf20Sopenharmony_ci uint64_t int2_sum:1; 8398c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 8408c2ecf20Sopenharmony_ci#endif 8418c2ecf20Sopenharmony_ci } s; 8428c2ecf20Sopenharmony_ci struct cvmx_sriox_int_reg_cn63xxp1 { 8438c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8448c2ecf20Sopenharmony_ci uint64_t reserved_22_63:42; 8458c2ecf20Sopenharmony_ci uint64_t f_error:1; 8468c2ecf20Sopenharmony_ci uint64_t rtry_err:1; 8478c2ecf20Sopenharmony_ci uint64_t pko_err:1; 8488c2ecf20Sopenharmony_ci uint64_t omsg_err:1; 8498c2ecf20Sopenharmony_ci uint64_t omsg1:1; 8508c2ecf20Sopenharmony_ci uint64_t omsg0:1; 8518c2ecf20Sopenharmony_ci uint64_t link_up:1; 8528c2ecf20Sopenharmony_ci uint64_t link_dwn:1; 8538c2ecf20Sopenharmony_ci uint64_t phy_erb:1; 8548c2ecf20Sopenharmony_ci uint64_t log_erb:1; 8558c2ecf20Sopenharmony_ci uint64_t soft_rx:1; 8568c2ecf20Sopenharmony_ci uint64_t soft_tx:1; 8578c2ecf20Sopenharmony_ci uint64_t mce_rx:1; 8588c2ecf20Sopenharmony_ci uint64_t mce_tx:1; 8598c2ecf20Sopenharmony_ci uint64_t wr_done:1; 8608c2ecf20Sopenharmony_ci uint64_t sli_err:1; 8618c2ecf20Sopenharmony_ci uint64_t deny_wr:1; 8628c2ecf20Sopenharmony_ci uint64_t bar_err:1; 8638c2ecf20Sopenharmony_ci uint64_t maint_op:1; 8648c2ecf20Sopenharmony_ci uint64_t rxbell:1; 8658c2ecf20Sopenharmony_ci uint64_t bell_err:1; 8668c2ecf20Sopenharmony_ci uint64_t txbell:1; 8678c2ecf20Sopenharmony_ci#else 8688c2ecf20Sopenharmony_ci uint64_t txbell:1; 8698c2ecf20Sopenharmony_ci uint64_t bell_err:1; 8708c2ecf20Sopenharmony_ci uint64_t rxbell:1; 8718c2ecf20Sopenharmony_ci uint64_t maint_op:1; 8728c2ecf20Sopenharmony_ci uint64_t bar_err:1; 8738c2ecf20Sopenharmony_ci uint64_t deny_wr:1; 8748c2ecf20Sopenharmony_ci uint64_t sli_err:1; 8758c2ecf20Sopenharmony_ci uint64_t wr_done:1; 8768c2ecf20Sopenharmony_ci uint64_t mce_tx:1; 8778c2ecf20Sopenharmony_ci uint64_t mce_rx:1; 8788c2ecf20Sopenharmony_ci uint64_t soft_tx:1; 8798c2ecf20Sopenharmony_ci uint64_t soft_rx:1; 8808c2ecf20Sopenharmony_ci uint64_t log_erb:1; 8818c2ecf20Sopenharmony_ci uint64_t phy_erb:1; 8828c2ecf20Sopenharmony_ci uint64_t link_dwn:1; 8838c2ecf20Sopenharmony_ci uint64_t link_up:1; 8848c2ecf20Sopenharmony_ci uint64_t omsg0:1; 8858c2ecf20Sopenharmony_ci uint64_t omsg1:1; 8868c2ecf20Sopenharmony_ci uint64_t omsg_err:1; 8878c2ecf20Sopenharmony_ci uint64_t pko_err:1; 8888c2ecf20Sopenharmony_ci uint64_t rtry_err:1; 8898c2ecf20Sopenharmony_ci uint64_t f_error:1; 8908c2ecf20Sopenharmony_ci uint64_t reserved_22_63:42; 8918c2ecf20Sopenharmony_ci#endif 8928c2ecf20Sopenharmony_ci } cn63xxp1; 8938c2ecf20Sopenharmony_ci}; 8948c2ecf20Sopenharmony_ci 8958c2ecf20Sopenharmony_ciunion cvmx_sriox_ip_feature { 8968c2ecf20Sopenharmony_ci uint64_t u64; 8978c2ecf20Sopenharmony_ci struct cvmx_sriox_ip_feature_s { 8988c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8998c2ecf20Sopenharmony_ci uint64_t ops:32; 9008c2ecf20Sopenharmony_ci uint64_t reserved_15_31:17; 9018c2ecf20Sopenharmony_ci uint64_t no_vmin:1; 9028c2ecf20Sopenharmony_ci uint64_t a66:1; 9038c2ecf20Sopenharmony_ci uint64_t a50:1; 9048c2ecf20Sopenharmony_ci uint64_t reserved_11_11:1; 9058c2ecf20Sopenharmony_ci uint64_t tx_flow:1; 9068c2ecf20Sopenharmony_ci uint64_t pt_width:2; 9078c2ecf20Sopenharmony_ci uint64_t tx_pol:4; 9088c2ecf20Sopenharmony_ci uint64_t rx_pol:4; 9098c2ecf20Sopenharmony_ci#else 9108c2ecf20Sopenharmony_ci uint64_t rx_pol:4; 9118c2ecf20Sopenharmony_ci uint64_t tx_pol:4; 9128c2ecf20Sopenharmony_ci uint64_t pt_width:2; 9138c2ecf20Sopenharmony_ci uint64_t tx_flow:1; 9148c2ecf20Sopenharmony_ci uint64_t reserved_11_11:1; 9158c2ecf20Sopenharmony_ci uint64_t a50:1; 9168c2ecf20Sopenharmony_ci uint64_t a66:1; 9178c2ecf20Sopenharmony_ci uint64_t no_vmin:1; 9188c2ecf20Sopenharmony_ci uint64_t reserved_15_31:17; 9198c2ecf20Sopenharmony_ci uint64_t ops:32; 9208c2ecf20Sopenharmony_ci#endif 9218c2ecf20Sopenharmony_ci } s; 9228c2ecf20Sopenharmony_ci struct cvmx_sriox_ip_feature_cn63xx { 9238c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 9248c2ecf20Sopenharmony_ci uint64_t ops:32; 9258c2ecf20Sopenharmony_ci uint64_t reserved_14_31:18; 9268c2ecf20Sopenharmony_ci uint64_t a66:1; 9278c2ecf20Sopenharmony_ci uint64_t a50:1; 9288c2ecf20Sopenharmony_ci uint64_t reserved_11_11:1; 9298c2ecf20Sopenharmony_ci uint64_t tx_flow:1; 9308c2ecf20Sopenharmony_ci uint64_t pt_width:2; 9318c2ecf20Sopenharmony_ci uint64_t tx_pol:4; 9328c2ecf20Sopenharmony_ci uint64_t rx_pol:4; 9338c2ecf20Sopenharmony_ci#else 9348c2ecf20Sopenharmony_ci uint64_t rx_pol:4; 9358c2ecf20Sopenharmony_ci uint64_t tx_pol:4; 9368c2ecf20Sopenharmony_ci uint64_t pt_width:2; 9378c2ecf20Sopenharmony_ci uint64_t tx_flow:1; 9388c2ecf20Sopenharmony_ci uint64_t reserved_11_11:1; 9398c2ecf20Sopenharmony_ci uint64_t a50:1; 9408c2ecf20Sopenharmony_ci uint64_t a66:1; 9418c2ecf20Sopenharmony_ci uint64_t reserved_14_31:18; 9428c2ecf20Sopenharmony_ci uint64_t ops:32; 9438c2ecf20Sopenharmony_ci#endif 9448c2ecf20Sopenharmony_ci } cn63xx; 9458c2ecf20Sopenharmony_ci}; 9468c2ecf20Sopenharmony_ci 9478c2ecf20Sopenharmony_ciunion cvmx_sriox_mac_buffers { 9488c2ecf20Sopenharmony_ci uint64_t u64; 9498c2ecf20Sopenharmony_ci struct cvmx_sriox_mac_buffers_s { 9508c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 9518c2ecf20Sopenharmony_ci uint64_t reserved_56_63:8; 9528c2ecf20Sopenharmony_ci uint64_t tx_enb:8; 9538c2ecf20Sopenharmony_ci uint64_t reserved_44_47:4; 9548c2ecf20Sopenharmony_ci uint64_t tx_inuse:4; 9558c2ecf20Sopenharmony_ci uint64_t tx_stat:8; 9568c2ecf20Sopenharmony_ci uint64_t reserved_24_31:8; 9578c2ecf20Sopenharmony_ci uint64_t rx_enb:8; 9588c2ecf20Sopenharmony_ci uint64_t reserved_12_15:4; 9598c2ecf20Sopenharmony_ci uint64_t rx_inuse:4; 9608c2ecf20Sopenharmony_ci uint64_t rx_stat:8; 9618c2ecf20Sopenharmony_ci#else 9628c2ecf20Sopenharmony_ci uint64_t rx_stat:8; 9638c2ecf20Sopenharmony_ci uint64_t rx_inuse:4; 9648c2ecf20Sopenharmony_ci uint64_t reserved_12_15:4; 9658c2ecf20Sopenharmony_ci uint64_t rx_enb:8; 9668c2ecf20Sopenharmony_ci uint64_t reserved_24_31:8; 9678c2ecf20Sopenharmony_ci uint64_t tx_stat:8; 9688c2ecf20Sopenharmony_ci uint64_t tx_inuse:4; 9698c2ecf20Sopenharmony_ci uint64_t reserved_44_47:4; 9708c2ecf20Sopenharmony_ci uint64_t tx_enb:8; 9718c2ecf20Sopenharmony_ci uint64_t reserved_56_63:8; 9728c2ecf20Sopenharmony_ci#endif 9738c2ecf20Sopenharmony_ci } s; 9748c2ecf20Sopenharmony_ci}; 9758c2ecf20Sopenharmony_ci 9768c2ecf20Sopenharmony_ciunion cvmx_sriox_maint_op { 9778c2ecf20Sopenharmony_ci uint64_t u64; 9788c2ecf20Sopenharmony_ci struct cvmx_sriox_maint_op_s { 9798c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 9808c2ecf20Sopenharmony_ci uint64_t wr_data:32; 9818c2ecf20Sopenharmony_ci uint64_t reserved_27_31:5; 9828c2ecf20Sopenharmony_ci uint64_t fail:1; 9838c2ecf20Sopenharmony_ci uint64_t pending:1; 9848c2ecf20Sopenharmony_ci uint64_t op:1; 9858c2ecf20Sopenharmony_ci uint64_t addr:24; 9868c2ecf20Sopenharmony_ci#else 9878c2ecf20Sopenharmony_ci uint64_t addr:24; 9888c2ecf20Sopenharmony_ci uint64_t op:1; 9898c2ecf20Sopenharmony_ci uint64_t pending:1; 9908c2ecf20Sopenharmony_ci uint64_t fail:1; 9918c2ecf20Sopenharmony_ci uint64_t reserved_27_31:5; 9928c2ecf20Sopenharmony_ci uint64_t wr_data:32; 9938c2ecf20Sopenharmony_ci#endif 9948c2ecf20Sopenharmony_ci } s; 9958c2ecf20Sopenharmony_ci}; 9968c2ecf20Sopenharmony_ci 9978c2ecf20Sopenharmony_ciunion cvmx_sriox_maint_rd_data { 9988c2ecf20Sopenharmony_ci uint64_t u64; 9998c2ecf20Sopenharmony_ci struct cvmx_sriox_maint_rd_data_s { 10008c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10018c2ecf20Sopenharmony_ci uint64_t reserved_33_63:31; 10028c2ecf20Sopenharmony_ci uint64_t valid:1; 10038c2ecf20Sopenharmony_ci uint64_t rd_data:32; 10048c2ecf20Sopenharmony_ci#else 10058c2ecf20Sopenharmony_ci uint64_t rd_data:32; 10068c2ecf20Sopenharmony_ci uint64_t valid:1; 10078c2ecf20Sopenharmony_ci uint64_t reserved_33_63:31; 10088c2ecf20Sopenharmony_ci#endif 10098c2ecf20Sopenharmony_ci } s; 10108c2ecf20Sopenharmony_ci}; 10118c2ecf20Sopenharmony_ci 10128c2ecf20Sopenharmony_ciunion cvmx_sriox_mce_tx_ctl { 10138c2ecf20Sopenharmony_ci uint64_t u64; 10148c2ecf20Sopenharmony_ci struct cvmx_sriox_mce_tx_ctl_s { 10158c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10168c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 10178c2ecf20Sopenharmony_ci uint64_t mce:1; 10188c2ecf20Sopenharmony_ci#else 10198c2ecf20Sopenharmony_ci uint64_t mce:1; 10208c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 10218c2ecf20Sopenharmony_ci#endif 10228c2ecf20Sopenharmony_ci } s; 10238c2ecf20Sopenharmony_ci}; 10248c2ecf20Sopenharmony_ci 10258c2ecf20Sopenharmony_ciunion cvmx_sriox_mem_op_ctrl { 10268c2ecf20Sopenharmony_ci uint64_t u64; 10278c2ecf20Sopenharmony_ci struct cvmx_sriox_mem_op_ctrl_s { 10288c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10298c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 10308c2ecf20Sopenharmony_ci uint64_t rr_ro:1; 10318c2ecf20Sopenharmony_ci uint64_t w_ro:1; 10328c2ecf20Sopenharmony_ci uint64_t reserved_6_7:2; 10338c2ecf20Sopenharmony_ci uint64_t rp1_sid:1; 10348c2ecf20Sopenharmony_ci uint64_t rp0_sid:2; 10358c2ecf20Sopenharmony_ci uint64_t rp1_pid:1; 10368c2ecf20Sopenharmony_ci uint64_t rp0_pid:2; 10378c2ecf20Sopenharmony_ci#else 10388c2ecf20Sopenharmony_ci uint64_t rp0_pid:2; 10398c2ecf20Sopenharmony_ci uint64_t rp1_pid:1; 10408c2ecf20Sopenharmony_ci uint64_t rp0_sid:2; 10418c2ecf20Sopenharmony_ci uint64_t rp1_sid:1; 10428c2ecf20Sopenharmony_ci uint64_t reserved_6_7:2; 10438c2ecf20Sopenharmony_ci uint64_t w_ro:1; 10448c2ecf20Sopenharmony_ci uint64_t rr_ro:1; 10458c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 10468c2ecf20Sopenharmony_ci#endif 10478c2ecf20Sopenharmony_ci } s; 10488c2ecf20Sopenharmony_ci}; 10498c2ecf20Sopenharmony_ci 10508c2ecf20Sopenharmony_ciunion cvmx_sriox_omsg_ctrlx { 10518c2ecf20Sopenharmony_ci uint64_t u64; 10528c2ecf20Sopenharmony_ci struct cvmx_sriox_omsg_ctrlx_s { 10538c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10548c2ecf20Sopenharmony_ci uint64_t testmode:1; 10558c2ecf20Sopenharmony_ci uint64_t reserved_37_62:26; 10568c2ecf20Sopenharmony_ci uint64_t silo_max:5; 10578c2ecf20Sopenharmony_ci uint64_t rtry_thr:16; 10588c2ecf20Sopenharmony_ci uint64_t rtry_en:1; 10598c2ecf20Sopenharmony_ci uint64_t reserved_11_14:4; 10608c2ecf20Sopenharmony_ci uint64_t idm_tt:1; 10618c2ecf20Sopenharmony_ci uint64_t idm_sis:1; 10628c2ecf20Sopenharmony_ci uint64_t idm_did:1; 10638c2ecf20Sopenharmony_ci uint64_t lttr_sp:4; 10648c2ecf20Sopenharmony_ci uint64_t lttr_mp:4; 10658c2ecf20Sopenharmony_ci#else 10668c2ecf20Sopenharmony_ci uint64_t lttr_mp:4; 10678c2ecf20Sopenharmony_ci uint64_t lttr_sp:4; 10688c2ecf20Sopenharmony_ci uint64_t idm_did:1; 10698c2ecf20Sopenharmony_ci uint64_t idm_sis:1; 10708c2ecf20Sopenharmony_ci uint64_t idm_tt:1; 10718c2ecf20Sopenharmony_ci uint64_t reserved_11_14:4; 10728c2ecf20Sopenharmony_ci uint64_t rtry_en:1; 10738c2ecf20Sopenharmony_ci uint64_t rtry_thr:16; 10748c2ecf20Sopenharmony_ci uint64_t silo_max:5; 10758c2ecf20Sopenharmony_ci uint64_t reserved_37_62:26; 10768c2ecf20Sopenharmony_ci uint64_t testmode:1; 10778c2ecf20Sopenharmony_ci#endif 10788c2ecf20Sopenharmony_ci } s; 10798c2ecf20Sopenharmony_ci struct cvmx_sriox_omsg_ctrlx_cn63xxp1 { 10808c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10818c2ecf20Sopenharmony_ci uint64_t testmode:1; 10828c2ecf20Sopenharmony_ci uint64_t reserved_32_62:31; 10838c2ecf20Sopenharmony_ci uint64_t rtry_thr:16; 10848c2ecf20Sopenharmony_ci uint64_t rtry_en:1; 10858c2ecf20Sopenharmony_ci uint64_t reserved_11_14:4; 10868c2ecf20Sopenharmony_ci uint64_t idm_tt:1; 10878c2ecf20Sopenharmony_ci uint64_t idm_sis:1; 10888c2ecf20Sopenharmony_ci uint64_t idm_did:1; 10898c2ecf20Sopenharmony_ci uint64_t lttr_sp:4; 10908c2ecf20Sopenharmony_ci uint64_t lttr_mp:4; 10918c2ecf20Sopenharmony_ci#else 10928c2ecf20Sopenharmony_ci uint64_t lttr_mp:4; 10938c2ecf20Sopenharmony_ci uint64_t lttr_sp:4; 10948c2ecf20Sopenharmony_ci uint64_t idm_did:1; 10958c2ecf20Sopenharmony_ci uint64_t idm_sis:1; 10968c2ecf20Sopenharmony_ci uint64_t idm_tt:1; 10978c2ecf20Sopenharmony_ci uint64_t reserved_11_14:4; 10988c2ecf20Sopenharmony_ci uint64_t rtry_en:1; 10998c2ecf20Sopenharmony_ci uint64_t rtry_thr:16; 11008c2ecf20Sopenharmony_ci uint64_t reserved_32_62:31; 11018c2ecf20Sopenharmony_ci uint64_t testmode:1; 11028c2ecf20Sopenharmony_ci#endif 11038c2ecf20Sopenharmony_ci } cn63xxp1; 11048c2ecf20Sopenharmony_ci}; 11058c2ecf20Sopenharmony_ci 11068c2ecf20Sopenharmony_ciunion cvmx_sriox_omsg_done_countsx { 11078c2ecf20Sopenharmony_ci uint64_t u64; 11088c2ecf20Sopenharmony_ci struct cvmx_sriox_omsg_done_countsx_s { 11098c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 11108c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 11118c2ecf20Sopenharmony_ci uint64_t bad:16; 11128c2ecf20Sopenharmony_ci uint64_t good:16; 11138c2ecf20Sopenharmony_ci#else 11148c2ecf20Sopenharmony_ci uint64_t good:16; 11158c2ecf20Sopenharmony_ci uint64_t bad:16; 11168c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 11178c2ecf20Sopenharmony_ci#endif 11188c2ecf20Sopenharmony_ci } s; 11198c2ecf20Sopenharmony_ci}; 11208c2ecf20Sopenharmony_ci 11218c2ecf20Sopenharmony_ciunion cvmx_sriox_omsg_fmp_mrx { 11228c2ecf20Sopenharmony_ci uint64_t u64; 11238c2ecf20Sopenharmony_ci struct cvmx_sriox_omsg_fmp_mrx_s { 11248c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 11258c2ecf20Sopenharmony_ci uint64_t reserved_15_63:49; 11268c2ecf20Sopenharmony_ci uint64_t ctlr_sp:1; 11278c2ecf20Sopenharmony_ci uint64_t ctlr_fmp:1; 11288c2ecf20Sopenharmony_ci uint64_t ctlr_nmp:1; 11298c2ecf20Sopenharmony_ci uint64_t id_sp:1; 11308c2ecf20Sopenharmony_ci uint64_t id_fmp:1; 11318c2ecf20Sopenharmony_ci uint64_t id_nmp:1; 11328c2ecf20Sopenharmony_ci uint64_t id_psd:1; 11338c2ecf20Sopenharmony_ci uint64_t mbox_sp:1; 11348c2ecf20Sopenharmony_ci uint64_t mbox_fmp:1; 11358c2ecf20Sopenharmony_ci uint64_t mbox_nmp:1; 11368c2ecf20Sopenharmony_ci uint64_t mbox_psd:1; 11378c2ecf20Sopenharmony_ci uint64_t all_sp:1; 11388c2ecf20Sopenharmony_ci uint64_t all_fmp:1; 11398c2ecf20Sopenharmony_ci uint64_t all_nmp:1; 11408c2ecf20Sopenharmony_ci uint64_t all_psd:1; 11418c2ecf20Sopenharmony_ci#else 11428c2ecf20Sopenharmony_ci uint64_t all_psd:1; 11438c2ecf20Sopenharmony_ci uint64_t all_nmp:1; 11448c2ecf20Sopenharmony_ci uint64_t all_fmp:1; 11458c2ecf20Sopenharmony_ci uint64_t all_sp:1; 11468c2ecf20Sopenharmony_ci uint64_t mbox_psd:1; 11478c2ecf20Sopenharmony_ci uint64_t mbox_nmp:1; 11488c2ecf20Sopenharmony_ci uint64_t mbox_fmp:1; 11498c2ecf20Sopenharmony_ci uint64_t mbox_sp:1; 11508c2ecf20Sopenharmony_ci uint64_t id_psd:1; 11518c2ecf20Sopenharmony_ci uint64_t id_nmp:1; 11528c2ecf20Sopenharmony_ci uint64_t id_fmp:1; 11538c2ecf20Sopenharmony_ci uint64_t id_sp:1; 11548c2ecf20Sopenharmony_ci uint64_t ctlr_nmp:1; 11558c2ecf20Sopenharmony_ci uint64_t ctlr_fmp:1; 11568c2ecf20Sopenharmony_ci uint64_t ctlr_sp:1; 11578c2ecf20Sopenharmony_ci uint64_t reserved_15_63:49; 11588c2ecf20Sopenharmony_ci#endif 11598c2ecf20Sopenharmony_ci } s; 11608c2ecf20Sopenharmony_ci}; 11618c2ecf20Sopenharmony_ci 11628c2ecf20Sopenharmony_ciunion cvmx_sriox_omsg_nmp_mrx { 11638c2ecf20Sopenharmony_ci uint64_t u64; 11648c2ecf20Sopenharmony_ci struct cvmx_sriox_omsg_nmp_mrx_s { 11658c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 11668c2ecf20Sopenharmony_ci uint64_t reserved_15_63:49; 11678c2ecf20Sopenharmony_ci uint64_t ctlr_sp:1; 11688c2ecf20Sopenharmony_ci uint64_t ctlr_fmp:1; 11698c2ecf20Sopenharmony_ci uint64_t ctlr_nmp:1; 11708c2ecf20Sopenharmony_ci uint64_t id_sp:1; 11718c2ecf20Sopenharmony_ci uint64_t id_fmp:1; 11728c2ecf20Sopenharmony_ci uint64_t id_nmp:1; 11738c2ecf20Sopenharmony_ci uint64_t reserved_8_8:1; 11748c2ecf20Sopenharmony_ci uint64_t mbox_sp:1; 11758c2ecf20Sopenharmony_ci uint64_t mbox_fmp:1; 11768c2ecf20Sopenharmony_ci uint64_t mbox_nmp:1; 11778c2ecf20Sopenharmony_ci uint64_t reserved_4_4:1; 11788c2ecf20Sopenharmony_ci uint64_t all_sp:1; 11798c2ecf20Sopenharmony_ci uint64_t all_fmp:1; 11808c2ecf20Sopenharmony_ci uint64_t all_nmp:1; 11818c2ecf20Sopenharmony_ci uint64_t reserved_0_0:1; 11828c2ecf20Sopenharmony_ci#else 11838c2ecf20Sopenharmony_ci uint64_t reserved_0_0:1; 11848c2ecf20Sopenharmony_ci uint64_t all_nmp:1; 11858c2ecf20Sopenharmony_ci uint64_t all_fmp:1; 11868c2ecf20Sopenharmony_ci uint64_t all_sp:1; 11878c2ecf20Sopenharmony_ci uint64_t reserved_4_4:1; 11888c2ecf20Sopenharmony_ci uint64_t mbox_nmp:1; 11898c2ecf20Sopenharmony_ci uint64_t mbox_fmp:1; 11908c2ecf20Sopenharmony_ci uint64_t mbox_sp:1; 11918c2ecf20Sopenharmony_ci uint64_t reserved_8_8:1; 11928c2ecf20Sopenharmony_ci uint64_t id_nmp:1; 11938c2ecf20Sopenharmony_ci uint64_t id_fmp:1; 11948c2ecf20Sopenharmony_ci uint64_t id_sp:1; 11958c2ecf20Sopenharmony_ci uint64_t ctlr_nmp:1; 11968c2ecf20Sopenharmony_ci uint64_t ctlr_fmp:1; 11978c2ecf20Sopenharmony_ci uint64_t ctlr_sp:1; 11988c2ecf20Sopenharmony_ci uint64_t reserved_15_63:49; 11998c2ecf20Sopenharmony_ci#endif 12008c2ecf20Sopenharmony_ci } s; 12018c2ecf20Sopenharmony_ci}; 12028c2ecf20Sopenharmony_ci 12038c2ecf20Sopenharmony_ciunion cvmx_sriox_omsg_portx { 12048c2ecf20Sopenharmony_ci uint64_t u64; 12058c2ecf20Sopenharmony_ci struct cvmx_sriox_omsg_portx_s { 12068c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12078c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 12088c2ecf20Sopenharmony_ci uint64_t enable:1; 12098c2ecf20Sopenharmony_ci uint64_t reserved_3_30:28; 12108c2ecf20Sopenharmony_ci uint64_t port:3; 12118c2ecf20Sopenharmony_ci#else 12128c2ecf20Sopenharmony_ci uint64_t port:3; 12138c2ecf20Sopenharmony_ci uint64_t reserved_3_30:28; 12148c2ecf20Sopenharmony_ci uint64_t enable:1; 12158c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 12168c2ecf20Sopenharmony_ci#endif 12178c2ecf20Sopenharmony_ci } s; 12188c2ecf20Sopenharmony_ci struct cvmx_sriox_omsg_portx_cn63xx { 12198c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12208c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 12218c2ecf20Sopenharmony_ci uint64_t enable:1; 12228c2ecf20Sopenharmony_ci uint64_t reserved_2_30:29; 12238c2ecf20Sopenharmony_ci uint64_t port:2; 12248c2ecf20Sopenharmony_ci#else 12258c2ecf20Sopenharmony_ci uint64_t port:2; 12268c2ecf20Sopenharmony_ci uint64_t reserved_2_30:29; 12278c2ecf20Sopenharmony_ci uint64_t enable:1; 12288c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 12298c2ecf20Sopenharmony_ci#endif 12308c2ecf20Sopenharmony_ci } cn63xx; 12318c2ecf20Sopenharmony_ci}; 12328c2ecf20Sopenharmony_ci 12338c2ecf20Sopenharmony_ciunion cvmx_sriox_omsg_silo_thr { 12348c2ecf20Sopenharmony_ci uint64_t u64; 12358c2ecf20Sopenharmony_ci struct cvmx_sriox_omsg_silo_thr_s { 12368c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12378c2ecf20Sopenharmony_ci uint64_t reserved_5_63:59; 12388c2ecf20Sopenharmony_ci uint64_t tot_silo:5; 12398c2ecf20Sopenharmony_ci#else 12408c2ecf20Sopenharmony_ci uint64_t tot_silo:5; 12418c2ecf20Sopenharmony_ci uint64_t reserved_5_63:59; 12428c2ecf20Sopenharmony_ci#endif 12438c2ecf20Sopenharmony_ci } s; 12448c2ecf20Sopenharmony_ci}; 12458c2ecf20Sopenharmony_ci 12468c2ecf20Sopenharmony_ciunion cvmx_sriox_omsg_sp_mrx { 12478c2ecf20Sopenharmony_ci uint64_t u64; 12488c2ecf20Sopenharmony_ci struct cvmx_sriox_omsg_sp_mrx_s { 12498c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12508c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 12518c2ecf20Sopenharmony_ci uint64_t xmbox_sp:1; 12528c2ecf20Sopenharmony_ci uint64_t ctlr_sp:1; 12538c2ecf20Sopenharmony_ci uint64_t ctlr_fmp:1; 12548c2ecf20Sopenharmony_ci uint64_t ctlr_nmp:1; 12558c2ecf20Sopenharmony_ci uint64_t id_sp:1; 12568c2ecf20Sopenharmony_ci uint64_t id_fmp:1; 12578c2ecf20Sopenharmony_ci uint64_t id_nmp:1; 12588c2ecf20Sopenharmony_ci uint64_t id_psd:1; 12598c2ecf20Sopenharmony_ci uint64_t mbox_sp:1; 12608c2ecf20Sopenharmony_ci uint64_t mbox_fmp:1; 12618c2ecf20Sopenharmony_ci uint64_t mbox_nmp:1; 12628c2ecf20Sopenharmony_ci uint64_t mbox_psd:1; 12638c2ecf20Sopenharmony_ci uint64_t all_sp:1; 12648c2ecf20Sopenharmony_ci uint64_t all_fmp:1; 12658c2ecf20Sopenharmony_ci uint64_t all_nmp:1; 12668c2ecf20Sopenharmony_ci uint64_t all_psd:1; 12678c2ecf20Sopenharmony_ci#else 12688c2ecf20Sopenharmony_ci uint64_t all_psd:1; 12698c2ecf20Sopenharmony_ci uint64_t all_nmp:1; 12708c2ecf20Sopenharmony_ci uint64_t all_fmp:1; 12718c2ecf20Sopenharmony_ci uint64_t all_sp:1; 12728c2ecf20Sopenharmony_ci uint64_t mbox_psd:1; 12738c2ecf20Sopenharmony_ci uint64_t mbox_nmp:1; 12748c2ecf20Sopenharmony_ci uint64_t mbox_fmp:1; 12758c2ecf20Sopenharmony_ci uint64_t mbox_sp:1; 12768c2ecf20Sopenharmony_ci uint64_t id_psd:1; 12778c2ecf20Sopenharmony_ci uint64_t id_nmp:1; 12788c2ecf20Sopenharmony_ci uint64_t id_fmp:1; 12798c2ecf20Sopenharmony_ci uint64_t id_sp:1; 12808c2ecf20Sopenharmony_ci uint64_t ctlr_nmp:1; 12818c2ecf20Sopenharmony_ci uint64_t ctlr_fmp:1; 12828c2ecf20Sopenharmony_ci uint64_t ctlr_sp:1; 12838c2ecf20Sopenharmony_ci uint64_t xmbox_sp:1; 12848c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 12858c2ecf20Sopenharmony_ci#endif 12868c2ecf20Sopenharmony_ci } s; 12878c2ecf20Sopenharmony_ci}; 12888c2ecf20Sopenharmony_ci 12898c2ecf20Sopenharmony_ciunion cvmx_sriox_priox_in_use { 12908c2ecf20Sopenharmony_ci uint64_t u64; 12918c2ecf20Sopenharmony_ci struct cvmx_sriox_priox_in_use_s { 12928c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12938c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 12948c2ecf20Sopenharmony_ci uint64_t end_cnt:16; 12958c2ecf20Sopenharmony_ci uint64_t start_cnt:16; 12968c2ecf20Sopenharmony_ci#else 12978c2ecf20Sopenharmony_ci uint64_t start_cnt:16; 12988c2ecf20Sopenharmony_ci uint64_t end_cnt:16; 12998c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 13008c2ecf20Sopenharmony_ci#endif 13018c2ecf20Sopenharmony_ci } s; 13028c2ecf20Sopenharmony_ci}; 13038c2ecf20Sopenharmony_ci 13048c2ecf20Sopenharmony_ciunion cvmx_sriox_rx_bell { 13058c2ecf20Sopenharmony_ci uint64_t u64; 13068c2ecf20Sopenharmony_ci struct cvmx_sriox_rx_bell_s { 13078c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13088c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 13098c2ecf20Sopenharmony_ci uint64_t data:16; 13108c2ecf20Sopenharmony_ci uint64_t src_id:16; 13118c2ecf20Sopenharmony_ci uint64_t count:8; 13128c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 13138c2ecf20Sopenharmony_ci uint64_t dest_id:1; 13148c2ecf20Sopenharmony_ci uint64_t id16:1; 13158c2ecf20Sopenharmony_ci uint64_t reserved_2_2:1; 13168c2ecf20Sopenharmony_ci uint64_t priority:2; 13178c2ecf20Sopenharmony_ci#else 13188c2ecf20Sopenharmony_ci uint64_t priority:2; 13198c2ecf20Sopenharmony_ci uint64_t reserved_2_2:1; 13208c2ecf20Sopenharmony_ci uint64_t id16:1; 13218c2ecf20Sopenharmony_ci uint64_t dest_id:1; 13228c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 13238c2ecf20Sopenharmony_ci uint64_t count:8; 13248c2ecf20Sopenharmony_ci uint64_t src_id:16; 13258c2ecf20Sopenharmony_ci uint64_t data:16; 13268c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 13278c2ecf20Sopenharmony_ci#endif 13288c2ecf20Sopenharmony_ci } s; 13298c2ecf20Sopenharmony_ci}; 13308c2ecf20Sopenharmony_ci 13318c2ecf20Sopenharmony_ciunion cvmx_sriox_rx_bell_seq { 13328c2ecf20Sopenharmony_ci uint64_t u64; 13338c2ecf20Sopenharmony_ci struct cvmx_sriox_rx_bell_seq_s { 13348c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13358c2ecf20Sopenharmony_ci uint64_t reserved_40_63:24; 13368c2ecf20Sopenharmony_ci uint64_t count:8; 13378c2ecf20Sopenharmony_ci uint64_t seq:32; 13388c2ecf20Sopenharmony_ci#else 13398c2ecf20Sopenharmony_ci uint64_t seq:32; 13408c2ecf20Sopenharmony_ci uint64_t count:8; 13418c2ecf20Sopenharmony_ci uint64_t reserved_40_63:24; 13428c2ecf20Sopenharmony_ci#endif 13438c2ecf20Sopenharmony_ci } s; 13448c2ecf20Sopenharmony_ci}; 13458c2ecf20Sopenharmony_ci 13468c2ecf20Sopenharmony_ciunion cvmx_sriox_rx_status { 13478c2ecf20Sopenharmony_ci uint64_t u64; 13488c2ecf20Sopenharmony_ci struct cvmx_sriox_rx_status_s { 13498c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13508c2ecf20Sopenharmony_ci uint64_t rtn_pr3:8; 13518c2ecf20Sopenharmony_ci uint64_t rtn_pr2:8; 13528c2ecf20Sopenharmony_ci uint64_t rtn_pr1:8; 13538c2ecf20Sopenharmony_ci uint64_t reserved_28_39:12; 13548c2ecf20Sopenharmony_ci uint64_t mbox:4; 13558c2ecf20Sopenharmony_ci uint64_t comp:8; 13568c2ecf20Sopenharmony_ci uint64_t reserved_13_15:3; 13578c2ecf20Sopenharmony_ci uint64_t n_post:5; 13588c2ecf20Sopenharmony_ci uint64_t post:8; 13598c2ecf20Sopenharmony_ci#else 13608c2ecf20Sopenharmony_ci uint64_t post:8; 13618c2ecf20Sopenharmony_ci uint64_t n_post:5; 13628c2ecf20Sopenharmony_ci uint64_t reserved_13_15:3; 13638c2ecf20Sopenharmony_ci uint64_t comp:8; 13648c2ecf20Sopenharmony_ci uint64_t mbox:4; 13658c2ecf20Sopenharmony_ci uint64_t reserved_28_39:12; 13668c2ecf20Sopenharmony_ci uint64_t rtn_pr1:8; 13678c2ecf20Sopenharmony_ci uint64_t rtn_pr2:8; 13688c2ecf20Sopenharmony_ci uint64_t rtn_pr3:8; 13698c2ecf20Sopenharmony_ci#endif 13708c2ecf20Sopenharmony_ci } s; 13718c2ecf20Sopenharmony_ci}; 13728c2ecf20Sopenharmony_ci 13738c2ecf20Sopenharmony_ciunion cvmx_sriox_s2m_typex { 13748c2ecf20Sopenharmony_ci uint64_t u64; 13758c2ecf20Sopenharmony_ci struct cvmx_sriox_s2m_typex_s { 13768c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13778c2ecf20Sopenharmony_ci uint64_t reserved_19_63:45; 13788c2ecf20Sopenharmony_ci uint64_t wr_op:3; 13798c2ecf20Sopenharmony_ci uint64_t reserved_15_15:1; 13808c2ecf20Sopenharmony_ci uint64_t rd_op:3; 13818c2ecf20Sopenharmony_ci uint64_t wr_prior:2; 13828c2ecf20Sopenharmony_ci uint64_t rd_prior:2; 13838c2ecf20Sopenharmony_ci uint64_t reserved_6_7:2; 13848c2ecf20Sopenharmony_ci uint64_t src_id:1; 13858c2ecf20Sopenharmony_ci uint64_t id16:1; 13868c2ecf20Sopenharmony_ci uint64_t reserved_2_3:2; 13878c2ecf20Sopenharmony_ci uint64_t iaow_sel:2; 13888c2ecf20Sopenharmony_ci#else 13898c2ecf20Sopenharmony_ci uint64_t iaow_sel:2; 13908c2ecf20Sopenharmony_ci uint64_t reserved_2_3:2; 13918c2ecf20Sopenharmony_ci uint64_t id16:1; 13928c2ecf20Sopenharmony_ci uint64_t src_id:1; 13938c2ecf20Sopenharmony_ci uint64_t reserved_6_7:2; 13948c2ecf20Sopenharmony_ci uint64_t rd_prior:2; 13958c2ecf20Sopenharmony_ci uint64_t wr_prior:2; 13968c2ecf20Sopenharmony_ci uint64_t rd_op:3; 13978c2ecf20Sopenharmony_ci uint64_t reserved_15_15:1; 13988c2ecf20Sopenharmony_ci uint64_t wr_op:3; 13998c2ecf20Sopenharmony_ci uint64_t reserved_19_63:45; 14008c2ecf20Sopenharmony_ci#endif 14018c2ecf20Sopenharmony_ci } s; 14028c2ecf20Sopenharmony_ci}; 14038c2ecf20Sopenharmony_ci 14048c2ecf20Sopenharmony_ciunion cvmx_sriox_seq { 14058c2ecf20Sopenharmony_ci uint64_t u64; 14068c2ecf20Sopenharmony_ci struct cvmx_sriox_seq_s { 14078c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 14088c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 14098c2ecf20Sopenharmony_ci uint64_t seq:32; 14108c2ecf20Sopenharmony_ci#else 14118c2ecf20Sopenharmony_ci uint64_t seq:32; 14128c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 14138c2ecf20Sopenharmony_ci#endif 14148c2ecf20Sopenharmony_ci } s; 14158c2ecf20Sopenharmony_ci}; 14168c2ecf20Sopenharmony_ci 14178c2ecf20Sopenharmony_ciunion cvmx_sriox_status_reg { 14188c2ecf20Sopenharmony_ci uint64_t u64; 14198c2ecf20Sopenharmony_ci struct cvmx_sriox_status_reg_s { 14208c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 14218c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 14228c2ecf20Sopenharmony_ci uint64_t access:1; 14238c2ecf20Sopenharmony_ci uint64_t srio:1; 14248c2ecf20Sopenharmony_ci#else 14258c2ecf20Sopenharmony_ci uint64_t srio:1; 14268c2ecf20Sopenharmony_ci uint64_t access:1; 14278c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 14288c2ecf20Sopenharmony_ci#endif 14298c2ecf20Sopenharmony_ci } s; 14308c2ecf20Sopenharmony_ci}; 14318c2ecf20Sopenharmony_ci 14328c2ecf20Sopenharmony_ciunion cvmx_sriox_tag_ctrl { 14338c2ecf20Sopenharmony_ci uint64_t u64; 14348c2ecf20Sopenharmony_ci struct cvmx_sriox_tag_ctrl_s { 14358c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 14368c2ecf20Sopenharmony_ci uint64_t reserved_17_63:47; 14378c2ecf20Sopenharmony_ci uint64_t o_clr:1; 14388c2ecf20Sopenharmony_ci uint64_t reserved_13_15:3; 14398c2ecf20Sopenharmony_ci uint64_t otag:5; 14408c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 14418c2ecf20Sopenharmony_ci uint64_t itag:5; 14428c2ecf20Sopenharmony_ci#else 14438c2ecf20Sopenharmony_ci uint64_t itag:5; 14448c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 14458c2ecf20Sopenharmony_ci uint64_t otag:5; 14468c2ecf20Sopenharmony_ci uint64_t reserved_13_15:3; 14478c2ecf20Sopenharmony_ci uint64_t o_clr:1; 14488c2ecf20Sopenharmony_ci uint64_t reserved_17_63:47; 14498c2ecf20Sopenharmony_ci#endif 14508c2ecf20Sopenharmony_ci } s; 14518c2ecf20Sopenharmony_ci}; 14528c2ecf20Sopenharmony_ci 14538c2ecf20Sopenharmony_ciunion cvmx_sriox_tlp_credits { 14548c2ecf20Sopenharmony_ci uint64_t u64; 14558c2ecf20Sopenharmony_ci struct cvmx_sriox_tlp_credits_s { 14568c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 14578c2ecf20Sopenharmony_ci uint64_t reserved_28_63:36; 14588c2ecf20Sopenharmony_ci uint64_t mbox:4; 14598c2ecf20Sopenharmony_ci uint64_t comp:8; 14608c2ecf20Sopenharmony_ci uint64_t reserved_13_15:3; 14618c2ecf20Sopenharmony_ci uint64_t n_post:5; 14628c2ecf20Sopenharmony_ci uint64_t post:8; 14638c2ecf20Sopenharmony_ci#else 14648c2ecf20Sopenharmony_ci uint64_t post:8; 14658c2ecf20Sopenharmony_ci uint64_t n_post:5; 14668c2ecf20Sopenharmony_ci uint64_t reserved_13_15:3; 14678c2ecf20Sopenharmony_ci uint64_t comp:8; 14688c2ecf20Sopenharmony_ci uint64_t mbox:4; 14698c2ecf20Sopenharmony_ci uint64_t reserved_28_63:36; 14708c2ecf20Sopenharmony_ci#endif 14718c2ecf20Sopenharmony_ci } s; 14728c2ecf20Sopenharmony_ci}; 14738c2ecf20Sopenharmony_ci 14748c2ecf20Sopenharmony_ciunion cvmx_sriox_tx_bell { 14758c2ecf20Sopenharmony_ci uint64_t u64; 14768c2ecf20Sopenharmony_ci struct cvmx_sriox_tx_bell_s { 14778c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 14788c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 14798c2ecf20Sopenharmony_ci uint64_t data:16; 14808c2ecf20Sopenharmony_ci uint64_t dest_id:16; 14818c2ecf20Sopenharmony_ci uint64_t reserved_9_15:7; 14828c2ecf20Sopenharmony_ci uint64_t pending:1; 14838c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 14848c2ecf20Sopenharmony_ci uint64_t src_id:1; 14858c2ecf20Sopenharmony_ci uint64_t id16:1; 14868c2ecf20Sopenharmony_ci uint64_t reserved_2_2:1; 14878c2ecf20Sopenharmony_ci uint64_t priority:2; 14888c2ecf20Sopenharmony_ci#else 14898c2ecf20Sopenharmony_ci uint64_t priority:2; 14908c2ecf20Sopenharmony_ci uint64_t reserved_2_2:1; 14918c2ecf20Sopenharmony_ci uint64_t id16:1; 14928c2ecf20Sopenharmony_ci uint64_t src_id:1; 14938c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 14948c2ecf20Sopenharmony_ci uint64_t pending:1; 14958c2ecf20Sopenharmony_ci uint64_t reserved_9_15:7; 14968c2ecf20Sopenharmony_ci uint64_t dest_id:16; 14978c2ecf20Sopenharmony_ci uint64_t data:16; 14988c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 14998c2ecf20Sopenharmony_ci#endif 15008c2ecf20Sopenharmony_ci } s; 15018c2ecf20Sopenharmony_ci}; 15028c2ecf20Sopenharmony_ci 15038c2ecf20Sopenharmony_ciunion cvmx_sriox_tx_bell_info { 15048c2ecf20Sopenharmony_ci uint64_t u64; 15058c2ecf20Sopenharmony_ci struct cvmx_sriox_tx_bell_info_s { 15068c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 15078c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 15088c2ecf20Sopenharmony_ci uint64_t data:16; 15098c2ecf20Sopenharmony_ci uint64_t dest_id:16; 15108c2ecf20Sopenharmony_ci uint64_t reserved_8_15:8; 15118c2ecf20Sopenharmony_ci uint64_t timeout:1; 15128c2ecf20Sopenharmony_ci uint64_t error:1; 15138c2ecf20Sopenharmony_ci uint64_t retry:1; 15148c2ecf20Sopenharmony_ci uint64_t src_id:1; 15158c2ecf20Sopenharmony_ci uint64_t id16:1; 15168c2ecf20Sopenharmony_ci uint64_t reserved_2_2:1; 15178c2ecf20Sopenharmony_ci uint64_t priority:2; 15188c2ecf20Sopenharmony_ci#else 15198c2ecf20Sopenharmony_ci uint64_t priority:2; 15208c2ecf20Sopenharmony_ci uint64_t reserved_2_2:1; 15218c2ecf20Sopenharmony_ci uint64_t id16:1; 15228c2ecf20Sopenharmony_ci uint64_t src_id:1; 15238c2ecf20Sopenharmony_ci uint64_t retry:1; 15248c2ecf20Sopenharmony_ci uint64_t error:1; 15258c2ecf20Sopenharmony_ci uint64_t timeout:1; 15268c2ecf20Sopenharmony_ci uint64_t reserved_8_15:8; 15278c2ecf20Sopenharmony_ci uint64_t dest_id:16; 15288c2ecf20Sopenharmony_ci uint64_t data:16; 15298c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 15308c2ecf20Sopenharmony_ci#endif 15318c2ecf20Sopenharmony_ci } s; 15328c2ecf20Sopenharmony_ci}; 15338c2ecf20Sopenharmony_ci 15348c2ecf20Sopenharmony_ciunion cvmx_sriox_tx_ctrl { 15358c2ecf20Sopenharmony_ci uint64_t u64; 15368c2ecf20Sopenharmony_ci struct cvmx_sriox_tx_ctrl_s { 15378c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 15388c2ecf20Sopenharmony_ci uint64_t reserved_53_63:11; 15398c2ecf20Sopenharmony_ci uint64_t tag_th2:5; 15408c2ecf20Sopenharmony_ci uint64_t reserved_45_47:3; 15418c2ecf20Sopenharmony_ci uint64_t tag_th1:5; 15428c2ecf20Sopenharmony_ci uint64_t reserved_37_39:3; 15438c2ecf20Sopenharmony_ci uint64_t tag_th0:5; 15448c2ecf20Sopenharmony_ci uint64_t reserved_20_31:12; 15458c2ecf20Sopenharmony_ci uint64_t tx_th2:4; 15468c2ecf20Sopenharmony_ci uint64_t reserved_12_15:4; 15478c2ecf20Sopenharmony_ci uint64_t tx_th1:4; 15488c2ecf20Sopenharmony_ci uint64_t reserved_4_7:4; 15498c2ecf20Sopenharmony_ci uint64_t tx_th0:4; 15508c2ecf20Sopenharmony_ci#else 15518c2ecf20Sopenharmony_ci uint64_t tx_th0:4; 15528c2ecf20Sopenharmony_ci uint64_t reserved_4_7:4; 15538c2ecf20Sopenharmony_ci uint64_t tx_th1:4; 15548c2ecf20Sopenharmony_ci uint64_t reserved_12_15:4; 15558c2ecf20Sopenharmony_ci uint64_t tx_th2:4; 15568c2ecf20Sopenharmony_ci uint64_t reserved_20_31:12; 15578c2ecf20Sopenharmony_ci uint64_t tag_th0:5; 15588c2ecf20Sopenharmony_ci uint64_t reserved_37_39:3; 15598c2ecf20Sopenharmony_ci uint64_t tag_th1:5; 15608c2ecf20Sopenharmony_ci uint64_t reserved_45_47:3; 15618c2ecf20Sopenharmony_ci uint64_t tag_th2:5; 15628c2ecf20Sopenharmony_ci uint64_t reserved_53_63:11; 15638c2ecf20Sopenharmony_ci#endif 15648c2ecf20Sopenharmony_ci } s; 15658c2ecf20Sopenharmony_ci}; 15668c2ecf20Sopenharmony_ci 15678c2ecf20Sopenharmony_ciunion cvmx_sriox_tx_emphasis { 15688c2ecf20Sopenharmony_ci uint64_t u64; 15698c2ecf20Sopenharmony_ci struct cvmx_sriox_tx_emphasis_s { 15708c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 15718c2ecf20Sopenharmony_ci uint64_t reserved_4_63:60; 15728c2ecf20Sopenharmony_ci uint64_t emph:4; 15738c2ecf20Sopenharmony_ci#else 15748c2ecf20Sopenharmony_ci uint64_t emph:4; 15758c2ecf20Sopenharmony_ci uint64_t reserved_4_63:60; 15768c2ecf20Sopenharmony_ci#endif 15778c2ecf20Sopenharmony_ci } s; 15788c2ecf20Sopenharmony_ci}; 15798c2ecf20Sopenharmony_ci 15808c2ecf20Sopenharmony_ciunion cvmx_sriox_tx_status { 15818c2ecf20Sopenharmony_ci uint64_t u64; 15828c2ecf20Sopenharmony_ci struct cvmx_sriox_tx_status_s { 15838c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 15848c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 15858c2ecf20Sopenharmony_ci uint64_t s2m_pr3:8; 15868c2ecf20Sopenharmony_ci uint64_t s2m_pr2:8; 15878c2ecf20Sopenharmony_ci uint64_t s2m_pr1:8; 15888c2ecf20Sopenharmony_ci uint64_t s2m_pr0:8; 15898c2ecf20Sopenharmony_ci#else 15908c2ecf20Sopenharmony_ci uint64_t s2m_pr0:8; 15918c2ecf20Sopenharmony_ci uint64_t s2m_pr1:8; 15928c2ecf20Sopenharmony_ci uint64_t s2m_pr2:8; 15938c2ecf20Sopenharmony_ci uint64_t s2m_pr3:8; 15948c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 15958c2ecf20Sopenharmony_ci#endif 15968c2ecf20Sopenharmony_ci } s; 15978c2ecf20Sopenharmony_ci}; 15988c2ecf20Sopenharmony_ci 15998c2ecf20Sopenharmony_ciunion cvmx_sriox_wr_done_counts { 16008c2ecf20Sopenharmony_ci uint64_t u64; 16018c2ecf20Sopenharmony_ci struct cvmx_sriox_wr_done_counts_s { 16028c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 16038c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 16048c2ecf20Sopenharmony_ci uint64_t bad:16; 16058c2ecf20Sopenharmony_ci uint64_t good:16; 16068c2ecf20Sopenharmony_ci#else 16078c2ecf20Sopenharmony_ci uint64_t good:16; 16088c2ecf20Sopenharmony_ci uint64_t bad:16; 16098c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 16108c2ecf20Sopenharmony_ci#endif 16118c2ecf20Sopenharmony_ci } s; 16128c2ecf20Sopenharmony_ci}; 16138c2ecf20Sopenharmony_ci 16148c2ecf20Sopenharmony_ci#endif 1615