162306a36Sopenharmony_ci/***********************license start*************** 262306a36Sopenharmony_ci * Author: Cavium Networks 362306a36Sopenharmony_ci * 462306a36Sopenharmony_ci * Contact: support@caviumnetworks.com 562306a36Sopenharmony_ci * This file is part of the OCTEON SDK 662306a36Sopenharmony_ci * 762306a36Sopenharmony_ci * Copyright (c) 2003-2012 Cavium Networks 862306a36Sopenharmony_ci * 962306a36Sopenharmony_ci * This file is free software; you can redistribute it and/or modify 1062306a36Sopenharmony_ci * it under the terms of the GNU General Public License, Version 2, as 1162306a36Sopenharmony_ci * published by the Free Software Foundation. 1262306a36Sopenharmony_ci * 1362306a36Sopenharmony_ci * This file is distributed in the hope that it will be useful, but 1462306a36Sopenharmony_ci * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 1562306a36Sopenharmony_ci * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or 1662306a36Sopenharmony_ci * NONINFRINGEMENT. See the GNU General Public License for more 1762306a36Sopenharmony_ci * details. 1862306a36Sopenharmony_ci * 1962306a36Sopenharmony_ci * You should have received a copy of the GNU General Public License 2062306a36Sopenharmony_ci * along with this file; if not, write to the Free Software 2162306a36Sopenharmony_ci * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 2262306a36Sopenharmony_ci * or visit http://www.gnu.org/licenses/. 2362306a36Sopenharmony_ci * 2462306a36Sopenharmony_ci * This file may also be available under a different license from Cavium. 2562306a36Sopenharmony_ci * Contact Cavium Networks for more information 2662306a36Sopenharmony_ci ***********************license end**************************************/ 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ci#ifndef __CVMX_SRIOX_DEFS_H__ 2962306a36Sopenharmony_ci#define __CVMX_SRIOX_DEFS_H__ 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ci#define CVMX_SRIOX_ACC_CTRL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000148ull) + ((block_id) & 3) * 0x1000000ull) 3262306a36Sopenharmony_ci#define CVMX_SRIOX_ASMBLY_ID(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000200ull) + ((block_id) & 3) * 0x1000000ull) 3362306a36Sopenharmony_ci#define CVMX_SRIOX_ASMBLY_INFO(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000208ull) + ((block_id) & 3) * 0x1000000ull) 3462306a36Sopenharmony_ci#define CVMX_SRIOX_BELL_RESP_CTRL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000310ull) + ((block_id) & 3) * 0x1000000ull) 3562306a36Sopenharmony_ci#define CVMX_SRIOX_BIST_STATUS(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000108ull) + ((block_id) & 3) * 0x1000000ull) 3662306a36Sopenharmony_ci#define CVMX_SRIOX_IMSG_CTRL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000508ull) + ((block_id) & 3) * 0x1000000ull) 3762306a36Sopenharmony_ci#define CVMX_SRIOX_IMSG_INST_HDRX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C8000510ull) + (((offset) & 1) + ((block_id) & 3) * 0x200000ull) * 8) 3862306a36Sopenharmony_ci#define CVMX_SRIOX_IMSG_QOS_GRPX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C8000600ull) + (((offset) & 31) + ((block_id) & 3) * 0x200000ull) * 8) 3962306a36Sopenharmony_ci#define CVMX_SRIOX_IMSG_STATUSX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C8000700ull) + (((offset) & 31) + ((block_id) & 3) * 0x200000ull) * 8) 4062306a36Sopenharmony_ci#define CVMX_SRIOX_IMSG_VPORT_THR(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000500ull) + ((block_id) & 3) * 0x1000000ull) 4162306a36Sopenharmony_ci#define CVMX_SRIOX_IMSG_VPORT_THR2(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000528ull) + ((block_id) & 3) * 0x1000000ull) 4262306a36Sopenharmony_ci#define CVMX_SRIOX_INT2_ENABLE(block_id) (CVMX_ADD_IO_SEG(0x00011800C80003E0ull) + ((block_id) & 3) * 0x1000000ull) 4362306a36Sopenharmony_ci#define CVMX_SRIOX_INT2_REG(block_id) (CVMX_ADD_IO_SEG(0x00011800C80003E8ull) + ((block_id) & 3) * 0x1000000ull) 4462306a36Sopenharmony_ci#define CVMX_SRIOX_INT_ENABLE(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000110ull) + ((block_id) & 3) * 0x1000000ull) 4562306a36Sopenharmony_ci#define CVMX_SRIOX_INT_INFO0(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000120ull) + ((block_id) & 3) * 0x1000000ull) 4662306a36Sopenharmony_ci#define CVMX_SRIOX_INT_INFO1(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000128ull) + ((block_id) & 3) * 0x1000000ull) 4762306a36Sopenharmony_ci#define CVMX_SRIOX_INT_INFO2(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000130ull) + ((block_id) & 3) * 0x1000000ull) 4862306a36Sopenharmony_ci#define CVMX_SRIOX_INT_INFO3(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000138ull) + ((block_id) & 3) * 0x1000000ull) 4962306a36Sopenharmony_ci#define CVMX_SRIOX_INT_REG(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000118ull) + ((block_id) & 3) * 0x1000000ull) 5062306a36Sopenharmony_ci#define CVMX_SRIOX_IP_FEATURE(block_id) (CVMX_ADD_IO_SEG(0x00011800C80003F8ull) + ((block_id) & 3) * 0x1000000ull) 5162306a36Sopenharmony_ci#define CVMX_SRIOX_MAC_BUFFERS(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000390ull) + ((block_id) & 3) * 0x1000000ull) 5262306a36Sopenharmony_ci#define CVMX_SRIOX_MAINT_OP(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000158ull) + ((block_id) & 3) * 0x1000000ull) 5362306a36Sopenharmony_ci#define CVMX_SRIOX_MAINT_RD_DATA(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000160ull) + ((block_id) & 3) * 0x1000000ull) 5462306a36Sopenharmony_ci#define CVMX_SRIOX_MCE_TX_CTL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000240ull) + ((block_id) & 3) * 0x1000000ull) 5562306a36Sopenharmony_ci#define CVMX_SRIOX_MEM_OP_CTRL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000168ull) + ((block_id) & 3) * 0x1000000ull) 5662306a36Sopenharmony_ci#define CVMX_SRIOX_OMSG_CTRLX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C8000488ull) + (((offset) & 1) + ((block_id) & 3) * 0x40000ull) * 64) 5762306a36Sopenharmony_ci#define CVMX_SRIOX_OMSG_DONE_COUNTSX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C80004B0ull) + (((offset) & 1) + ((block_id) & 3) * 0x40000ull) * 64) 5862306a36Sopenharmony_ci#define CVMX_SRIOX_OMSG_FMP_MRX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C8000498ull) + (((offset) & 1) + ((block_id) & 3) * 0x40000ull) * 64) 5962306a36Sopenharmony_ci#define CVMX_SRIOX_OMSG_NMP_MRX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C80004A0ull) + (((offset) & 1) + ((block_id) & 3) * 0x40000ull) * 64) 6062306a36Sopenharmony_ci#define CVMX_SRIOX_OMSG_PORTX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C8000480ull) + (((offset) & 1) + ((block_id) & 3) * 0x40000ull) * 64) 6162306a36Sopenharmony_ci#define CVMX_SRIOX_OMSG_SILO_THR(block_id) (CVMX_ADD_IO_SEG(0x00011800C80004F8ull) + ((block_id) & 3) * 0x1000000ull) 6262306a36Sopenharmony_ci#define CVMX_SRIOX_OMSG_SP_MRX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C8000490ull) + (((offset) & 1) + ((block_id) & 3) * 0x40000ull) * 64) 6362306a36Sopenharmony_ci#define CVMX_SRIOX_PRIOX_IN_USE(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C80003C0ull) + (((offset) & 3) + ((block_id) & 3) * 0x200000ull) * 8) 6462306a36Sopenharmony_ci#define CVMX_SRIOX_RX_BELL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000308ull) + ((block_id) & 3) * 0x1000000ull) 6562306a36Sopenharmony_ci#define CVMX_SRIOX_RX_BELL_SEQ(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000300ull) + ((block_id) & 3) * 0x1000000ull) 6662306a36Sopenharmony_ci#define CVMX_SRIOX_RX_STATUS(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000380ull) + ((block_id) & 3) * 0x1000000ull) 6762306a36Sopenharmony_ci#define CVMX_SRIOX_S2M_TYPEX(offset, block_id) (CVMX_ADD_IO_SEG(0x00011800C8000180ull) + (((offset) & 15) + ((block_id) & 3) * 0x200000ull) * 8) 6862306a36Sopenharmony_ci#define CVMX_SRIOX_SEQ(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000278ull) + ((block_id) & 3) * 0x1000000ull) 6962306a36Sopenharmony_ci#define CVMX_SRIOX_STATUS_REG(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000100ull) + ((block_id) & 3) * 0x1000000ull) 7062306a36Sopenharmony_ci#define CVMX_SRIOX_TAG_CTRL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000178ull) + ((block_id) & 3) * 0x1000000ull) 7162306a36Sopenharmony_ci#define CVMX_SRIOX_TLP_CREDITS(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000150ull) + ((block_id) & 3) * 0x1000000ull) 7262306a36Sopenharmony_ci#define CVMX_SRIOX_TX_BELL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000280ull) + ((block_id) & 3) * 0x1000000ull) 7362306a36Sopenharmony_ci#define CVMX_SRIOX_TX_BELL_INFO(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000288ull) + ((block_id) & 3) * 0x1000000ull) 7462306a36Sopenharmony_ci#define CVMX_SRIOX_TX_CTRL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000170ull) + ((block_id) & 3) * 0x1000000ull) 7562306a36Sopenharmony_ci#define CVMX_SRIOX_TX_EMPHASIS(block_id) (CVMX_ADD_IO_SEG(0x00011800C80003F0ull) + ((block_id) & 3) * 0x1000000ull) 7662306a36Sopenharmony_ci#define CVMX_SRIOX_TX_STATUS(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000388ull) + ((block_id) & 3) * 0x1000000ull) 7762306a36Sopenharmony_ci#define CVMX_SRIOX_WR_DONE_COUNTS(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000340ull) + ((block_id) & 3) * 0x1000000ull) 7862306a36Sopenharmony_ci 7962306a36Sopenharmony_ciunion cvmx_sriox_acc_ctrl { 8062306a36Sopenharmony_ci uint64_t u64; 8162306a36Sopenharmony_ci struct cvmx_sriox_acc_ctrl_s { 8262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8362306a36Sopenharmony_ci uint64_t reserved_7_63:57; 8462306a36Sopenharmony_ci uint64_t deny_adr2:1; 8562306a36Sopenharmony_ci uint64_t deny_adr1:1; 8662306a36Sopenharmony_ci uint64_t deny_adr0:1; 8762306a36Sopenharmony_ci uint64_t reserved_3_3:1; 8862306a36Sopenharmony_ci uint64_t deny_bar2:1; 8962306a36Sopenharmony_ci uint64_t deny_bar1:1; 9062306a36Sopenharmony_ci uint64_t deny_bar0:1; 9162306a36Sopenharmony_ci#else 9262306a36Sopenharmony_ci uint64_t deny_bar0:1; 9362306a36Sopenharmony_ci uint64_t deny_bar1:1; 9462306a36Sopenharmony_ci uint64_t deny_bar2:1; 9562306a36Sopenharmony_ci uint64_t reserved_3_3:1; 9662306a36Sopenharmony_ci uint64_t deny_adr0:1; 9762306a36Sopenharmony_ci uint64_t deny_adr1:1; 9862306a36Sopenharmony_ci uint64_t deny_adr2:1; 9962306a36Sopenharmony_ci uint64_t reserved_7_63:57; 10062306a36Sopenharmony_ci#endif 10162306a36Sopenharmony_ci } s; 10262306a36Sopenharmony_ci struct cvmx_sriox_acc_ctrl_cn63xx { 10362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10462306a36Sopenharmony_ci uint64_t reserved_3_63:61; 10562306a36Sopenharmony_ci uint64_t deny_bar2:1; 10662306a36Sopenharmony_ci uint64_t deny_bar1:1; 10762306a36Sopenharmony_ci uint64_t deny_bar0:1; 10862306a36Sopenharmony_ci#else 10962306a36Sopenharmony_ci uint64_t deny_bar0:1; 11062306a36Sopenharmony_ci uint64_t deny_bar1:1; 11162306a36Sopenharmony_ci uint64_t deny_bar2:1; 11262306a36Sopenharmony_ci uint64_t reserved_3_63:61; 11362306a36Sopenharmony_ci#endif 11462306a36Sopenharmony_ci } cn63xx; 11562306a36Sopenharmony_ci}; 11662306a36Sopenharmony_ci 11762306a36Sopenharmony_ciunion cvmx_sriox_asmbly_id { 11862306a36Sopenharmony_ci uint64_t u64; 11962306a36Sopenharmony_ci struct cvmx_sriox_asmbly_id_s { 12062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12162306a36Sopenharmony_ci uint64_t reserved_32_63:32; 12262306a36Sopenharmony_ci uint64_t assy_id:16; 12362306a36Sopenharmony_ci uint64_t assy_ven:16; 12462306a36Sopenharmony_ci#else 12562306a36Sopenharmony_ci uint64_t assy_ven:16; 12662306a36Sopenharmony_ci uint64_t assy_id:16; 12762306a36Sopenharmony_ci uint64_t reserved_32_63:32; 12862306a36Sopenharmony_ci#endif 12962306a36Sopenharmony_ci } s; 13062306a36Sopenharmony_ci}; 13162306a36Sopenharmony_ci 13262306a36Sopenharmony_ciunion cvmx_sriox_asmbly_info { 13362306a36Sopenharmony_ci uint64_t u64; 13462306a36Sopenharmony_ci struct cvmx_sriox_asmbly_info_s { 13562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13662306a36Sopenharmony_ci uint64_t reserved_32_63:32; 13762306a36Sopenharmony_ci uint64_t assy_rev:16; 13862306a36Sopenharmony_ci uint64_t reserved_0_15:16; 13962306a36Sopenharmony_ci#else 14062306a36Sopenharmony_ci uint64_t reserved_0_15:16; 14162306a36Sopenharmony_ci uint64_t assy_rev:16; 14262306a36Sopenharmony_ci uint64_t reserved_32_63:32; 14362306a36Sopenharmony_ci#endif 14462306a36Sopenharmony_ci } s; 14562306a36Sopenharmony_ci}; 14662306a36Sopenharmony_ci 14762306a36Sopenharmony_ciunion cvmx_sriox_bell_resp_ctrl { 14862306a36Sopenharmony_ci uint64_t u64; 14962306a36Sopenharmony_ci struct cvmx_sriox_bell_resp_ctrl_s { 15062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 15162306a36Sopenharmony_ci uint64_t reserved_6_63:58; 15262306a36Sopenharmony_ci uint64_t rp1_sid:1; 15362306a36Sopenharmony_ci uint64_t rp0_sid:2; 15462306a36Sopenharmony_ci uint64_t rp1_pid:1; 15562306a36Sopenharmony_ci uint64_t rp0_pid:2; 15662306a36Sopenharmony_ci#else 15762306a36Sopenharmony_ci uint64_t rp0_pid:2; 15862306a36Sopenharmony_ci uint64_t rp1_pid:1; 15962306a36Sopenharmony_ci uint64_t rp0_sid:2; 16062306a36Sopenharmony_ci uint64_t rp1_sid:1; 16162306a36Sopenharmony_ci uint64_t reserved_6_63:58; 16262306a36Sopenharmony_ci#endif 16362306a36Sopenharmony_ci } s; 16462306a36Sopenharmony_ci}; 16562306a36Sopenharmony_ci 16662306a36Sopenharmony_ciunion cvmx_sriox_bist_status { 16762306a36Sopenharmony_ci uint64_t u64; 16862306a36Sopenharmony_ci struct cvmx_sriox_bist_status_s { 16962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 17062306a36Sopenharmony_ci uint64_t reserved_45_63:19; 17162306a36Sopenharmony_ci uint64_t lram:1; 17262306a36Sopenharmony_ci uint64_t mram:2; 17362306a36Sopenharmony_ci uint64_t cram:2; 17462306a36Sopenharmony_ci uint64_t bell:2; 17562306a36Sopenharmony_ci uint64_t otag:2; 17662306a36Sopenharmony_ci uint64_t itag:1; 17762306a36Sopenharmony_ci uint64_t ofree:1; 17862306a36Sopenharmony_ci uint64_t rtn:2; 17962306a36Sopenharmony_ci uint64_t obulk:4; 18062306a36Sopenharmony_ci uint64_t optrs:4; 18162306a36Sopenharmony_ci uint64_t oarb2:2; 18262306a36Sopenharmony_ci uint64_t rxbuf2:2; 18362306a36Sopenharmony_ci uint64_t oarb:2; 18462306a36Sopenharmony_ci uint64_t ispf:1; 18562306a36Sopenharmony_ci uint64_t ospf:1; 18662306a36Sopenharmony_ci uint64_t txbuf:2; 18762306a36Sopenharmony_ci uint64_t rxbuf:2; 18862306a36Sopenharmony_ci uint64_t imsg:5; 18962306a36Sopenharmony_ci uint64_t omsg:7; 19062306a36Sopenharmony_ci#else 19162306a36Sopenharmony_ci uint64_t omsg:7; 19262306a36Sopenharmony_ci uint64_t imsg:5; 19362306a36Sopenharmony_ci uint64_t rxbuf:2; 19462306a36Sopenharmony_ci uint64_t txbuf:2; 19562306a36Sopenharmony_ci uint64_t ospf:1; 19662306a36Sopenharmony_ci uint64_t ispf:1; 19762306a36Sopenharmony_ci uint64_t oarb:2; 19862306a36Sopenharmony_ci uint64_t rxbuf2:2; 19962306a36Sopenharmony_ci uint64_t oarb2:2; 20062306a36Sopenharmony_ci uint64_t optrs:4; 20162306a36Sopenharmony_ci uint64_t obulk:4; 20262306a36Sopenharmony_ci uint64_t rtn:2; 20362306a36Sopenharmony_ci uint64_t ofree:1; 20462306a36Sopenharmony_ci uint64_t itag:1; 20562306a36Sopenharmony_ci uint64_t otag:2; 20662306a36Sopenharmony_ci uint64_t bell:2; 20762306a36Sopenharmony_ci uint64_t cram:2; 20862306a36Sopenharmony_ci uint64_t mram:2; 20962306a36Sopenharmony_ci uint64_t lram:1; 21062306a36Sopenharmony_ci uint64_t reserved_45_63:19; 21162306a36Sopenharmony_ci#endif 21262306a36Sopenharmony_ci } s; 21362306a36Sopenharmony_ci struct cvmx_sriox_bist_status_cn63xx { 21462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 21562306a36Sopenharmony_ci uint64_t reserved_44_63:20; 21662306a36Sopenharmony_ci uint64_t mram:2; 21762306a36Sopenharmony_ci uint64_t cram:2; 21862306a36Sopenharmony_ci uint64_t bell:2; 21962306a36Sopenharmony_ci uint64_t otag:2; 22062306a36Sopenharmony_ci uint64_t itag:1; 22162306a36Sopenharmony_ci uint64_t ofree:1; 22262306a36Sopenharmony_ci uint64_t rtn:2; 22362306a36Sopenharmony_ci uint64_t obulk:4; 22462306a36Sopenharmony_ci uint64_t optrs:4; 22562306a36Sopenharmony_ci uint64_t oarb2:2; 22662306a36Sopenharmony_ci uint64_t rxbuf2:2; 22762306a36Sopenharmony_ci uint64_t oarb:2; 22862306a36Sopenharmony_ci uint64_t ispf:1; 22962306a36Sopenharmony_ci uint64_t ospf:1; 23062306a36Sopenharmony_ci uint64_t txbuf:2; 23162306a36Sopenharmony_ci uint64_t rxbuf:2; 23262306a36Sopenharmony_ci uint64_t imsg:5; 23362306a36Sopenharmony_ci uint64_t omsg:7; 23462306a36Sopenharmony_ci#else 23562306a36Sopenharmony_ci uint64_t omsg:7; 23662306a36Sopenharmony_ci uint64_t imsg:5; 23762306a36Sopenharmony_ci uint64_t rxbuf:2; 23862306a36Sopenharmony_ci uint64_t txbuf:2; 23962306a36Sopenharmony_ci uint64_t ospf:1; 24062306a36Sopenharmony_ci uint64_t ispf:1; 24162306a36Sopenharmony_ci uint64_t oarb:2; 24262306a36Sopenharmony_ci uint64_t rxbuf2:2; 24362306a36Sopenharmony_ci uint64_t oarb2:2; 24462306a36Sopenharmony_ci uint64_t optrs:4; 24562306a36Sopenharmony_ci uint64_t obulk:4; 24662306a36Sopenharmony_ci uint64_t rtn:2; 24762306a36Sopenharmony_ci uint64_t ofree:1; 24862306a36Sopenharmony_ci uint64_t itag:1; 24962306a36Sopenharmony_ci uint64_t otag:2; 25062306a36Sopenharmony_ci uint64_t bell:2; 25162306a36Sopenharmony_ci uint64_t cram:2; 25262306a36Sopenharmony_ci uint64_t mram:2; 25362306a36Sopenharmony_ci uint64_t reserved_44_63:20; 25462306a36Sopenharmony_ci#endif 25562306a36Sopenharmony_ci } cn63xx; 25662306a36Sopenharmony_ci struct cvmx_sriox_bist_status_cn63xxp1 { 25762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 25862306a36Sopenharmony_ci uint64_t reserved_44_63:20; 25962306a36Sopenharmony_ci uint64_t mram:2; 26062306a36Sopenharmony_ci uint64_t cram:2; 26162306a36Sopenharmony_ci uint64_t bell:2; 26262306a36Sopenharmony_ci uint64_t otag:2; 26362306a36Sopenharmony_ci uint64_t itag:1; 26462306a36Sopenharmony_ci uint64_t ofree:1; 26562306a36Sopenharmony_ci uint64_t rtn:2; 26662306a36Sopenharmony_ci uint64_t obulk:4; 26762306a36Sopenharmony_ci uint64_t optrs:4; 26862306a36Sopenharmony_ci uint64_t reserved_20_23:4; 26962306a36Sopenharmony_ci uint64_t oarb:2; 27062306a36Sopenharmony_ci uint64_t ispf:1; 27162306a36Sopenharmony_ci uint64_t ospf:1; 27262306a36Sopenharmony_ci uint64_t txbuf:2; 27362306a36Sopenharmony_ci uint64_t rxbuf:2; 27462306a36Sopenharmony_ci uint64_t imsg:5; 27562306a36Sopenharmony_ci uint64_t omsg:7; 27662306a36Sopenharmony_ci#else 27762306a36Sopenharmony_ci uint64_t omsg:7; 27862306a36Sopenharmony_ci uint64_t imsg:5; 27962306a36Sopenharmony_ci uint64_t rxbuf:2; 28062306a36Sopenharmony_ci uint64_t txbuf:2; 28162306a36Sopenharmony_ci uint64_t ospf:1; 28262306a36Sopenharmony_ci uint64_t ispf:1; 28362306a36Sopenharmony_ci uint64_t oarb:2; 28462306a36Sopenharmony_ci uint64_t reserved_20_23:4; 28562306a36Sopenharmony_ci uint64_t optrs:4; 28662306a36Sopenharmony_ci uint64_t obulk:4; 28762306a36Sopenharmony_ci uint64_t rtn:2; 28862306a36Sopenharmony_ci uint64_t ofree:1; 28962306a36Sopenharmony_ci uint64_t itag:1; 29062306a36Sopenharmony_ci uint64_t otag:2; 29162306a36Sopenharmony_ci uint64_t bell:2; 29262306a36Sopenharmony_ci uint64_t cram:2; 29362306a36Sopenharmony_ci uint64_t mram:2; 29462306a36Sopenharmony_ci uint64_t reserved_44_63:20; 29562306a36Sopenharmony_ci#endif 29662306a36Sopenharmony_ci } cn63xxp1; 29762306a36Sopenharmony_ci}; 29862306a36Sopenharmony_ci 29962306a36Sopenharmony_ciunion cvmx_sriox_imsg_ctrl { 30062306a36Sopenharmony_ci uint64_t u64; 30162306a36Sopenharmony_ci struct cvmx_sriox_imsg_ctrl_s { 30262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 30362306a36Sopenharmony_ci uint64_t reserved_32_63:32; 30462306a36Sopenharmony_ci uint64_t to_mode:1; 30562306a36Sopenharmony_ci uint64_t reserved_30_30:1; 30662306a36Sopenharmony_ci uint64_t rsp_thr:6; 30762306a36Sopenharmony_ci uint64_t reserved_22_23:2; 30862306a36Sopenharmony_ci uint64_t rp1_sid:1; 30962306a36Sopenharmony_ci uint64_t rp0_sid:2; 31062306a36Sopenharmony_ci uint64_t rp1_pid:1; 31162306a36Sopenharmony_ci uint64_t rp0_pid:2; 31262306a36Sopenharmony_ci uint64_t reserved_15_15:1; 31362306a36Sopenharmony_ci uint64_t prt_sel:3; 31462306a36Sopenharmony_ci uint64_t lttr:4; 31562306a36Sopenharmony_ci uint64_t prio:4; 31662306a36Sopenharmony_ci uint64_t mbox:4; 31762306a36Sopenharmony_ci#else 31862306a36Sopenharmony_ci uint64_t mbox:4; 31962306a36Sopenharmony_ci uint64_t prio:4; 32062306a36Sopenharmony_ci uint64_t lttr:4; 32162306a36Sopenharmony_ci uint64_t prt_sel:3; 32262306a36Sopenharmony_ci uint64_t reserved_15_15:1; 32362306a36Sopenharmony_ci uint64_t rp0_pid:2; 32462306a36Sopenharmony_ci uint64_t rp1_pid:1; 32562306a36Sopenharmony_ci uint64_t rp0_sid:2; 32662306a36Sopenharmony_ci uint64_t rp1_sid:1; 32762306a36Sopenharmony_ci uint64_t reserved_22_23:2; 32862306a36Sopenharmony_ci uint64_t rsp_thr:6; 32962306a36Sopenharmony_ci uint64_t reserved_30_30:1; 33062306a36Sopenharmony_ci uint64_t to_mode:1; 33162306a36Sopenharmony_ci uint64_t reserved_32_63:32; 33262306a36Sopenharmony_ci#endif 33362306a36Sopenharmony_ci } s; 33462306a36Sopenharmony_ci}; 33562306a36Sopenharmony_ci 33662306a36Sopenharmony_ciunion cvmx_sriox_imsg_inst_hdrx { 33762306a36Sopenharmony_ci uint64_t u64; 33862306a36Sopenharmony_ci struct cvmx_sriox_imsg_inst_hdrx_s { 33962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 34062306a36Sopenharmony_ci uint64_t r:1; 34162306a36Sopenharmony_ci uint64_t reserved_58_62:5; 34262306a36Sopenharmony_ci uint64_t pm:2; 34362306a36Sopenharmony_ci uint64_t reserved_55_55:1; 34462306a36Sopenharmony_ci uint64_t sl:7; 34562306a36Sopenharmony_ci uint64_t reserved_46_47:2; 34662306a36Sopenharmony_ci uint64_t nqos:1; 34762306a36Sopenharmony_ci uint64_t ngrp:1; 34862306a36Sopenharmony_ci uint64_t ntt:1; 34962306a36Sopenharmony_ci uint64_t ntag:1; 35062306a36Sopenharmony_ci uint64_t reserved_35_41:7; 35162306a36Sopenharmony_ci uint64_t rs:1; 35262306a36Sopenharmony_ci uint64_t tt:2; 35362306a36Sopenharmony_ci uint64_t tag:32; 35462306a36Sopenharmony_ci#else 35562306a36Sopenharmony_ci uint64_t tag:32; 35662306a36Sopenharmony_ci uint64_t tt:2; 35762306a36Sopenharmony_ci uint64_t rs:1; 35862306a36Sopenharmony_ci uint64_t reserved_35_41:7; 35962306a36Sopenharmony_ci uint64_t ntag:1; 36062306a36Sopenharmony_ci uint64_t ntt:1; 36162306a36Sopenharmony_ci uint64_t ngrp:1; 36262306a36Sopenharmony_ci uint64_t nqos:1; 36362306a36Sopenharmony_ci uint64_t reserved_46_47:2; 36462306a36Sopenharmony_ci uint64_t sl:7; 36562306a36Sopenharmony_ci uint64_t reserved_55_55:1; 36662306a36Sopenharmony_ci uint64_t pm:2; 36762306a36Sopenharmony_ci uint64_t reserved_58_62:5; 36862306a36Sopenharmony_ci uint64_t r:1; 36962306a36Sopenharmony_ci#endif 37062306a36Sopenharmony_ci } s; 37162306a36Sopenharmony_ci}; 37262306a36Sopenharmony_ci 37362306a36Sopenharmony_ciunion cvmx_sriox_imsg_qos_grpx { 37462306a36Sopenharmony_ci uint64_t u64; 37562306a36Sopenharmony_ci struct cvmx_sriox_imsg_qos_grpx_s { 37662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 37762306a36Sopenharmony_ci uint64_t reserved_63_63:1; 37862306a36Sopenharmony_ci uint64_t qos7:3; 37962306a36Sopenharmony_ci uint64_t grp7:4; 38062306a36Sopenharmony_ci uint64_t reserved_55_55:1; 38162306a36Sopenharmony_ci uint64_t qos6:3; 38262306a36Sopenharmony_ci uint64_t grp6:4; 38362306a36Sopenharmony_ci uint64_t reserved_47_47:1; 38462306a36Sopenharmony_ci uint64_t qos5:3; 38562306a36Sopenharmony_ci uint64_t grp5:4; 38662306a36Sopenharmony_ci uint64_t reserved_39_39:1; 38762306a36Sopenharmony_ci uint64_t qos4:3; 38862306a36Sopenharmony_ci uint64_t grp4:4; 38962306a36Sopenharmony_ci uint64_t reserved_31_31:1; 39062306a36Sopenharmony_ci uint64_t qos3:3; 39162306a36Sopenharmony_ci uint64_t grp3:4; 39262306a36Sopenharmony_ci uint64_t reserved_23_23:1; 39362306a36Sopenharmony_ci uint64_t qos2:3; 39462306a36Sopenharmony_ci uint64_t grp2:4; 39562306a36Sopenharmony_ci uint64_t reserved_15_15:1; 39662306a36Sopenharmony_ci uint64_t qos1:3; 39762306a36Sopenharmony_ci uint64_t grp1:4; 39862306a36Sopenharmony_ci uint64_t reserved_7_7:1; 39962306a36Sopenharmony_ci uint64_t qos0:3; 40062306a36Sopenharmony_ci uint64_t grp0:4; 40162306a36Sopenharmony_ci#else 40262306a36Sopenharmony_ci uint64_t grp0:4; 40362306a36Sopenharmony_ci uint64_t qos0:3; 40462306a36Sopenharmony_ci uint64_t reserved_7_7:1; 40562306a36Sopenharmony_ci uint64_t grp1:4; 40662306a36Sopenharmony_ci uint64_t qos1:3; 40762306a36Sopenharmony_ci uint64_t reserved_15_15:1; 40862306a36Sopenharmony_ci uint64_t grp2:4; 40962306a36Sopenharmony_ci uint64_t qos2:3; 41062306a36Sopenharmony_ci uint64_t reserved_23_23:1; 41162306a36Sopenharmony_ci uint64_t grp3:4; 41262306a36Sopenharmony_ci uint64_t qos3:3; 41362306a36Sopenharmony_ci uint64_t reserved_31_31:1; 41462306a36Sopenharmony_ci uint64_t grp4:4; 41562306a36Sopenharmony_ci uint64_t qos4:3; 41662306a36Sopenharmony_ci uint64_t reserved_39_39:1; 41762306a36Sopenharmony_ci uint64_t grp5:4; 41862306a36Sopenharmony_ci uint64_t qos5:3; 41962306a36Sopenharmony_ci uint64_t reserved_47_47:1; 42062306a36Sopenharmony_ci uint64_t grp6:4; 42162306a36Sopenharmony_ci uint64_t qos6:3; 42262306a36Sopenharmony_ci uint64_t reserved_55_55:1; 42362306a36Sopenharmony_ci uint64_t grp7:4; 42462306a36Sopenharmony_ci uint64_t qos7:3; 42562306a36Sopenharmony_ci uint64_t reserved_63_63:1; 42662306a36Sopenharmony_ci#endif 42762306a36Sopenharmony_ci } s; 42862306a36Sopenharmony_ci}; 42962306a36Sopenharmony_ci 43062306a36Sopenharmony_ciunion cvmx_sriox_imsg_statusx { 43162306a36Sopenharmony_ci uint64_t u64; 43262306a36Sopenharmony_ci struct cvmx_sriox_imsg_statusx_s { 43362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 43462306a36Sopenharmony_ci uint64_t val1:1; 43562306a36Sopenharmony_ci uint64_t err1:1; 43662306a36Sopenharmony_ci uint64_t toe1:1; 43762306a36Sopenharmony_ci uint64_t toc1:1; 43862306a36Sopenharmony_ci uint64_t prt1:1; 43962306a36Sopenharmony_ci uint64_t reserved_58_58:1; 44062306a36Sopenharmony_ci uint64_t tt1:1; 44162306a36Sopenharmony_ci uint64_t dis1:1; 44262306a36Sopenharmony_ci uint64_t seg1:4; 44362306a36Sopenharmony_ci uint64_t mbox1:2; 44462306a36Sopenharmony_ci uint64_t lttr1:2; 44562306a36Sopenharmony_ci uint64_t sid1:16; 44662306a36Sopenharmony_ci uint64_t val0:1; 44762306a36Sopenharmony_ci uint64_t err0:1; 44862306a36Sopenharmony_ci uint64_t toe0:1; 44962306a36Sopenharmony_ci uint64_t toc0:1; 45062306a36Sopenharmony_ci uint64_t prt0:1; 45162306a36Sopenharmony_ci uint64_t reserved_26_26:1; 45262306a36Sopenharmony_ci uint64_t tt0:1; 45362306a36Sopenharmony_ci uint64_t dis0:1; 45462306a36Sopenharmony_ci uint64_t seg0:4; 45562306a36Sopenharmony_ci uint64_t mbox0:2; 45662306a36Sopenharmony_ci uint64_t lttr0:2; 45762306a36Sopenharmony_ci uint64_t sid0:16; 45862306a36Sopenharmony_ci#else 45962306a36Sopenharmony_ci uint64_t sid0:16; 46062306a36Sopenharmony_ci uint64_t lttr0:2; 46162306a36Sopenharmony_ci uint64_t mbox0:2; 46262306a36Sopenharmony_ci uint64_t seg0:4; 46362306a36Sopenharmony_ci uint64_t dis0:1; 46462306a36Sopenharmony_ci uint64_t tt0:1; 46562306a36Sopenharmony_ci uint64_t reserved_26_26:1; 46662306a36Sopenharmony_ci uint64_t prt0:1; 46762306a36Sopenharmony_ci uint64_t toc0:1; 46862306a36Sopenharmony_ci uint64_t toe0:1; 46962306a36Sopenharmony_ci uint64_t err0:1; 47062306a36Sopenharmony_ci uint64_t val0:1; 47162306a36Sopenharmony_ci uint64_t sid1:16; 47262306a36Sopenharmony_ci uint64_t lttr1:2; 47362306a36Sopenharmony_ci uint64_t mbox1:2; 47462306a36Sopenharmony_ci uint64_t seg1:4; 47562306a36Sopenharmony_ci uint64_t dis1:1; 47662306a36Sopenharmony_ci uint64_t tt1:1; 47762306a36Sopenharmony_ci uint64_t reserved_58_58:1; 47862306a36Sopenharmony_ci uint64_t prt1:1; 47962306a36Sopenharmony_ci uint64_t toc1:1; 48062306a36Sopenharmony_ci uint64_t toe1:1; 48162306a36Sopenharmony_ci uint64_t err1:1; 48262306a36Sopenharmony_ci uint64_t val1:1; 48362306a36Sopenharmony_ci#endif 48462306a36Sopenharmony_ci } s; 48562306a36Sopenharmony_ci}; 48662306a36Sopenharmony_ci 48762306a36Sopenharmony_ciunion cvmx_sriox_imsg_vport_thr { 48862306a36Sopenharmony_ci uint64_t u64; 48962306a36Sopenharmony_ci struct cvmx_sriox_imsg_vport_thr_s { 49062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 49162306a36Sopenharmony_ci uint64_t reserved_54_63:10; 49262306a36Sopenharmony_ci uint64_t max_tot:6; 49362306a36Sopenharmony_ci uint64_t reserved_46_47:2; 49462306a36Sopenharmony_ci uint64_t max_s1:6; 49562306a36Sopenharmony_ci uint64_t reserved_38_39:2; 49662306a36Sopenharmony_ci uint64_t max_s0:6; 49762306a36Sopenharmony_ci uint64_t sp_vport:1; 49862306a36Sopenharmony_ci uint64_t reserved_20_30:11; 49962306a36Sopenharmony_ci uint64_t buf_thr:4; 50062306a36Sopenharmony_ci uint64_t reserved_14_15:2; 50162306a36Sopenharmony_ci uint64_t max_p1:6; 50262306a36Sopenharmony_ci uint64_t reserved_6_7:2; 50362306a36Sopenharmony_ci uint64_t max_p0:6; 50462306a36Sopenharmony_ci#else 50562306a36Sopenharmony_ci uint64_t max_p0:6; 50662306a36Sopenharmony_ci uint64_t reserved_6_7:2; 50762306a36Sopenharmony_ci uint64_t max_p1:6; 50862306a36Sopenharmony_ci uint64_t reserved_14_15:2; 50962306a36Sopenharmony_ci uint64_t buf_thr:4; 51062306a36Sopenharmony_ci uint64_t reserved_20_30:11; 51162306a36Sopenharmony_ci uint64_t sp_vport:1; 51262306a36Sopenharmony_ci uint64_t max_s0:6; 51362306a36Sopenharmony_ci uint64_t reserved_38_39:2; 51462306a36Sopenharmony_ci uint64_t max_s1:6; 51562306a36Sopenharmony_ci uint64_t reserved_46_47:2; 51662306a36Sopenharmony_ci uint64_t max_tot:6; 51762306a36Sopenharmony_ci uint64_t reserved_54_63:10; 51862306a36Sopenharmony_ci#endif 51962306a36Sopenharmony_ci } s; 52062306a36Sopenharmony_ci}; 52162306a36Sopenharmony_ci 52262306a36Sopenharmony_ciunion cvmx_sriox_imsg_vport_thr2 { 52362306a36Sopenharmony_ci uint64_t u64; 52462306a36Sopenharmony_ci struct cvmx_sriox_imsg_vport_thr2_s { 52562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 52662306a36Sopenharmony_ci uint64_t reserved_46_63:18; 52762306a36Sopenharmony_ci uint64_t max_s3:6; 52862306a36Sopenharmony_ci uint64_t reserved_38_39:2; 52962306a36Sopenharmony_ci uint64_t max_s2:6; 53062306a36Sopenharmony_ci uint64_t reserved_0_31:32; 53162306a36Sopenharmony_ci#else 53262306a36Sopenharmony_ci uint64_t reserved_0_31:32; 53362306a36Sopenharmony_ci uint64_t max_s2:6; 53462306a36Sopenharmony_ci uint64_t reserved_38_39:2; 53562306a36Sopenharmony_ci uint64_t max_s3:6; 53662306a36Sopenharmony_ci uint64_t reserved_46_63:18; 53762306a36Sopenharmony_ci#endif 53862306a36Sopenharmony_ci } s; 53962306a36Sopenharmony_ci}; 54062306a36Sopenharmony_ci 54162306a36Sopenharmony_ciunion cvmx_sriox_int2_enable { 54262306a36Sopenharmony_ci uint64_t u64; 54362306a36Sopenharmony_ci struct cvmx_sriox_int2_enable_s { 54462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 54562306a36Sopenharmony_ci uint64_t reserved_1_63:63; 54662306a36Sopenharmony_ci uint64_t pko_rst:1; 54762306a36Sopenharmony_ci#else 54862306a36Sopenharmony_ci uint64_t pko_rst:1; 54962306a36Sopenharmony_ci uint64_t reserved_1_63:63; 55062306a36Sopenharmony_ci#endif 55162306a36Sopenharmony_ci } s; 55262306a36Sopenharmony_ci}; 55362306a36Sopenharmony_ci 55462306a36Sopenharmony_ciunion cvmx_sriox_int2_reg { 55562306a36Sopenharmony_ci uint64_t u64; 55662306a36Sopenharmony_ci struct cvmx_sriox_int2_reg_s { 55762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 55862306a36Sopenharmony_ci uint64_t reserved_32_63:32; 55962306a36Sopenharmony_ci uint64_t int_sum:1; 56062306a36Sopenharmony_ci uint64_t reserved_1_30:30; 56162306a36Sopenharmony_ci uint64_t pko_rst:1; 56262306a36Sopenharmony_ci#else 56362306a36Sopenharmony_ci uint64_t pko_rst:1; 56462306a36Sopenharmony_ci uint64_t reserved_1_30:30; 56562306a36Sopenharmony_ci uint64_t int_sum:1; 56662306a36Sopenharmony_ci uint64_t reserved_32_63:32; 56762306a36Sopenharmony_ci#endif 56862306a36Sopenharmony_ci } s; 56962306a36Sopenharmony_ci}; 57062306a36Sopenharmony_ci 57162306a36Sopenharmony_ciunion cvmx_sriox_int_enable { 57262306a36Sopenharmony_ci uint64_t u64; 57362306a36Sopenharmony_ci struct cvmx_sriox_int_enable_s { 57462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 57562306a36Sopenharmony_ci uint64_t reserved_27_63:37; 57662306a36Sopenharmony_ci uint64_t zero_pkt:1; 57762306a36Sopenharmony_ci uint64_t ttl_tout:1; 57862306a36Sopenharmony_ci uint64_t fail:1; 57962306a36Sopenharmony_ci uint64_t degrade:1; 58062306a36Sopenharmony_ci uint64_t mac_buf:1; 58162306a36Sopenharmony_ci uint64_t f_error:1; 58262306a36Sopenharmony_ci uint64_t rtry_err:1; 58362306a36Sopenharmony_ci uint64_t pko_err:1; 58462306a36Sopenharmony_ci uint64_t omsg_err:1; 58562306a36Sopenharmony_ci uint64_t omsg1:1; 58662306a36Sopenharmony_ci uint64_t omsg0:1; 58762306a36Sopenharmony_ci uint64_t link_up:1; 58862306a36Sopenharmony_ci uint64_t link_dwn:1; 58962306a36Sopenharmony_ci uint64_t phy_erb:1; 59062306a36Sopenharmony_ci uint64_t log_erb:1; 59162306a36Sopenharmony_ci uint64_t soft_rx:1; 59262306a36Sopenharmony_ci uint64_t soft_tx:1; 59362306a36Sopenharmony_ci uint64_t mce_rx:1; 59462306a36Sopenharmony_ci uint64_t mce_tx:1; 59562306a36Sopenharmony_ci uint64_t wr_done:1; 59662306a36Sopenharmony_ci uint64_t sli_err:1; 59762306a36Sopenharmony_ci uint64_t deny_wr:1; 59862306a36Sopenharmony_ci uint64_t bar_err:1; 59962306a36Sopenharmony_ci uint64_t maint_op:1; 60062306a36Sopenharmony_ci uint64_t rxbell:1; 60162306a36Sopenharmony_ci uint64_t bell_err:1; 60262306a36Sopenharmony_ci uint64_t txbell:1; 60362306a36Sopenharmony_ci#else 60462306a36Sopenharmony_ci uint64_t txbell:1; 60562306a36Sopenharmony_ci uint64_t bell_err:1; 60662306a36Sopenharmony_ci uint64_t rxbell:1; 60762306a36Sopenharmony_ci uint64_t maint_op:1; 60862306a36Sopenharmony_ci uint64_t bar_err:1; 60962306a36Sopenharmony_ci uint64_t deny_wr:1; 61062306a36Sopenharmony_ci uint64_t sli_err:1; 61162306a36Sopenharmony_ci uint64_t wr_done:1; 61262306a36Sopenharmony_ci uint64_t mce_tx:1; 61362306a36Sopenharmony_ci uint64_t mce_rx:1; 61462306a36Sopenharmony_ci uint64_t soft_tx:1; 61562306a36Sopenharmony_ci uint64_t soft_rx:1; 61662306a36Sopenharmony_ci uint64_t log_erb:1; 61762306a36Sopenharmony_ci uint64_t phy_erb:1; 61862306a36Sopenharmony_ci uint64_t link_dwn:1; 61962306a36Sopenharmony_ci uint64_t link_up:1; 62062306a36Sopenharmony_ci uint64_t omsg0:1; 62162306a36Sopenharmony_ci uint64_t omsg1:1; 62262306a36Sopenharmony_ci uint64_t omsg_err:1; 62362306a36Sopenharmony_ci uint64_t pko_err:1; 62462306a36Sopenharmony_ci uint64_t rtry_err:1; 62562306a36Sopenharmony_ci uint64_t f_error:1; 62662306a36Sopenharmony_ci uint64_t mac_buf:1; 62762306a36Sopenharmony_ci uint64_t degrade:1; 62862306a36Sopenharmony_ci uint64_t fail:1; 62962306a36Sopenharmony_ci uint64_t ttl_tout:1; 63062306a36Sopenharmony_ci uint64_t zero_pkt:1; 63162306a36Sopenharmony_ci uint64_t reserved_27_63:37; 63262306a36Sopenharmony_ci#endif 63362306a36Sopenharmony_ci } s; 63462306a36Sopenharmony_ci struct cvmx_sriox_int_enable_cn63xxp1 { 63562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 63662306a36Sopenharmony_ci uint64_t reserved_22_63:42; 63762306a36Sopenharmony_ci uint64_t f_error:1; 63862306a36Sopenharmony_ci uint64_t rtry_err:1; 63962306a36Sopenharmony_ci uint64_t pko_err:1; 64062306a36Sopenharmony_ci uint64_t omsg_err:1; 64162306a36Sopenharmony_ci uint64_t omsg1:1; 64262306a36Sopenharmony_ci uint64_t omsg0:1; 64362306a36Sopenharmony_ci uint64_t link_up:1; 64462306a36Sopenharmony_ci uint64_t link_dwn:1; 64562306a36Sopenharmony_ci uint64_t phy_erb:1; 64662306a36Sopenharmony_ci uint64_t log_erb:1; 64762306a36Sopenharmony_ci uint64_t soft_rx:1; 64862306a36Sopenharmony_ci uint64_t soft_tx:1; 64962306a36Sopenharmony_ci uint64_t mce_rx:1; 65062306a36Sopenharmony_ci uint64_t mce_tx:1; 65162306a36Sopenharmony_ci uint64_t wr_done:1; 65262306a36Sopenharmony_ci uint64_t sli_err:1; 65362306a36Sopenharmony_ci uint64_t deny_wr:1; 65462306a36Sopenharmony_ci uint64_t bar_err:1; 65562306a36Sopenharmony_ci uint64_t maint_op:1; 65662306a36Sopenharmony_ci uint64_t rxbell:1; 65762306a36Sopenharmony_ci uint64_t bell_err:1; 65862306a36Sopenharmony_ci uint64_t txbell:1; 65962306a36Sopenharmony_ci#else 66062306a36Sopenharmony_ci uint64_t txbell:1; 66162306a36Sopenharmony_ci uint64_t bell_err:1; 66262306a36Sopenharmony_ci uint64_t rxbell:1; 66362306a36Sopenharmony_ci uint64_t maint_op:1; 66462306a36Sopenharmony_ci uint64_t bar_err:1; 66562306a36Sopenharmony_ci uint64_t deny_wr:1; 66662306a36Sopenharmony_ci uint64_t sli_err:1; 66762306a36Sopenharmony_ci uint64_t wr_done:1; 66862306a36Sopenharmony_ci uint64_t mce_tx:1; 66962306a36Sopenharmony_ci uint64_t mce_rx:1; 67062306a36Sopenharmony_ci uint64_t soft_tx:1; 67162306a36Sopenharmony_ci uint64_t soft_rx:1; 67262306a36Sopenharmony_ci uint64_t log_erb:1; 67362306a36Sopenharmony_ci uint64_t phy_erb:1; 67462306a36Sopenharmony_ci uint64_t link_dwn:1; 67562306a36Sopenharmony_ci uint64_t link_up:1; 67662306a36Sopenharmony_ci uint64_t omsg0:1; 67762306a36Sopenharmony_ci uint64_t omsg1:1; 67862306a36Sopenharmony_ci uint64_t omsg_err:1; 67962306a36Sopenharmony_ci uint64_t pko_err:1; 68062306a36Sopenharmony_ci uint64_t rtry_err:1; 68162306a36Sopenharmony_ci uint64_t f_error:1; 68262306a36Sopenharmony_ci uint64_t reserved_22_63:42; 68362306a36Sopenharmony_ci#endif 68462306a36Sopenharmony_ci } cn63xxp1; 68562306a36Sopenharmony_ci}; 68662306a36Sopenharmony_ci 68762306a36Sopenharmony_ciunion cvmx_sriox_int_info0 { 68862306a36Sopenharmony_ci uint64_t u64; 68962306a36Sopenharmony_ci struct cvmx_sriox_int_info0_s { 69062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 69162306a36Sopenharmony_ci uint64_t cmd:4; 69262306a36Sopenharmony_ci uint64_t type:4; 69362306a36Sopenharmony_ci uint64_t tag:8; 69462306a36Sopenharmony_ci uint64_t reserved_42_47:6; 69562306a36Sopenharmony_ci uint64_t length:10; 69662306a36Sopenharmony_ci uint64_t status:3; 69762306a36Sopenharmony_ci uint64_t reserved_16_28:13; 69862306a36Sopenharmony_ci uint64_t be0:8; 69962306a36Sopenharmony_ci uint64_t be1:8; 70062306a36Sopenharmony_ci#else 70162306a36Sopenharmony_ci uint64_t be1:8; 70262306a36Sopenharmony_ci uint64_t be0:8; 70362306a36Sopenharmony_ci uint64_t reserved_16_28:13; 70462306a36Sopenharmony_ci uint64_t status:3; 70562306a36Sopenharmony_ci uint64_t length:10; 70662306a36Sopenharmony_ci uint64_t reserved_42_47:6; 70762306a36Sopenharmony_ci uint64_t tag:8; 70862306a36Sopenharmony_ci uint64_t type:4; 70962306a36Sopenharmony_ci uint64_t cmd:4; 71062306a36Sopenharmony_ci#endif 71162306a36Sopenharmony_ci } s; 71262306a36Sopenharmony_ci}; 71362306a36Sopenharmony_ci 71462306a36Sopenharmony_ciunion cvmx_sriox_int_info1 { 71562306a36Sopenharmony_ci uint64_t u64; 71662306a36Sopenharmony_ci struct cvmx_sriox_int_info1_s { 71762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 71862306a36Sopenharmony_ci uint64_t info1:64; 71962306a36Sopenharmony_ci#else 72062306a36Sopenharmony_ci uint64_t info1:64; 72162306a36Sopenharmony_ci#endif 72262306a36Sopenharmony_ci } s; 72362306a36Sopenharmony_ci}; 72462306a36Sopenharmony_ci 72562306a36Sopenharmony_ciunion cvmx_sriox_int_info2 { 72662306a36Sopenharmony_ci uint64_t u64; 72762306a36Sopenharmony_ci struct cvmx_sriox_int_info2_s { 72862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 72962306a36Sopenharmony_ci uint64_t prio:2; 73062306a36Sopenharmony_ci uint64_t tt:1; 73162306a36Sopenharmony_ci uint64_t sis:1; 73262306a36Sopenharmony_ci uint64_t ssize:4; 73362306a36Sopenharmony_ci uint64_t did:16; 73462306a36Sopenharmony_ci uint64_t xmbox:4; 73562306a36Sopenharmony_ci uint64_t mbox:2; 73662306a36Sopenharmony_ci uint64_t letter:2; 73762306a36Sopenharmony_ci uint64_t rsrvd:30; 73862306a36Sopenharmony_ci uint64_t lns:1; 73962306a36Sopenharmony_ci uint64_t intr:1; 74062306a36Sopenharmony_ci#else 74162306a36Sopenharmony_ci uint64_t intr:1; 74262306a36Sopenharmony_ci uint64_t lns:1; 74362306a36Sopenharmony_ci uint64_t rsrvd:30; 74462306a36Sopenharmony_ci uint64_t letter:2; 74562306a36Sopenharmony_ci uint64_t mbox:2; 74662306a36Sopenharmony_ci uint64_t xmbox:4; 74762306a36Sopenharmony_ci uint64_t did:16; 74862306a36Sopenharmony_ci uint64_t ssize:4; 74962306a36Sopenharmony_ci uint64_t sis:1; 75062306a36Sopenharmony_ci uint64_t tt:1; 75162306a36Sopenharmony_ci uint64_t prio:2; 75262306a36Sopenharmony_ci#endif 75362306a36Sopenharmony_ci } s; 75462306a36Sopenharmony_ci}; 75562306a36Sopenharmony_ci 75662306a36Sopenharmony_ciunion cvmx_sriox_int_info3 { 75762306a36Sopenharmony_ci uint64_t u64; 75862306a36Sopenharmony_ci struct cvmx_sriox_int_info3_s { 75962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 76062306a36Sopenharmony_ci uint64_t prio:2; 76162306a36Sopenharmony_ci uint64_t tt:2; 76262306a36Sopenharmony_ci uint64_t type:4; 76362306a36Sopenharmony_ci uint64_t other:48; 76462306a36Sopenharmony_ci uint64_t reserved_0_7:8; 76562306a36Sopenharmony_ci#else 76662306a36Sopenharmony_ci uint64_t reserved_0_7:8; 76762306a36Sopenharmony_ci uint64_t other:48; 76862306a36Sopenharmony_ci uint64_t type:4; 76962306a36Sopenharmony_ci uint64_t tt:2; 77062306a36Sopenharmony_ci uint64_t prio:2; 77162306a36Sopenharmony_ci#endif 77262306a36Sopenharmony_ci } s; 77362306a36Sopenharmony_ci}; 77462306a36Sopenharmony_ci 77562306a36Sopenharmony_ciunion cvmx_sriox_int_reg { 77662306a36Sopenharmony_ci uint64_t u64; 77762306a36Sopenharmony_ci struct cvmx_sriox_int_reg_s { 77862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 77962306a36Sopenharmony_ci uint64_t reserved_32_63:32; 78062306a36Sopenharmony_ci uint64_t int2_sum:1; 78162306a36Sopenharmony_ci uint64_t reserved_27_30:4; 78262306a36Sopenharmony_ci uint64_t zero_pkt:1; 78362306a36Sopenharmony_ci uint64_t ttl_tout:1; 78462306a36Sopenharmony_ci uint64_t fail:1; 78562306a36Sopenharmony_ci uint64_t degrad:1; 78662306a36Sopenharmony_ci uint64_t mac_buf:1; 78762306a36Sopenharmony_ci uint64_t f_error:1; 78862306a36Sopenharmony_ci uint64_t rtry_err:1; 78962306a36Sopenharmony_ci uint64_t pko_err:1; 79062306a36Sopenharmony_ci uint64_t omsg_err:1; 79162306a36Sopenharmony_ci uint64_t omsg1:1; 79262306a36Sopenharmony_ci uint64_t omsg0:1; 79362306a36Sopenharmony_ci uint64_t link_up:1; 79462306a36Sopenharmony_ci uint64_t link_dwn:1; 79562306a36Sopenharmony_ci uint64_t phy_erb:1; 79662306a36Sopenharmony_ci uint64_t log_erb:1; 79762306a36Sopenharmony_ci uint64_t soft_rx:1; 79862306a36Sopenharmony_ci uint64_t soft_tx:1; 79962306a36Sopenharmony_ci uint64_t mce_rx:1; 80062306a36Sopenharmony_ci uint64_t mce_tx:1; 80162306a36Sopenharmony_ci uint64_t wr_done:1; 80262306a36Sopenharmony_ci uint64_t sli_err:1; 80362306a36Sopenharmony_ci uint64_t deny_wr:1; 80462306a36Sopenharmony_ci uint64_t bar_err:1; 80562306a36Sopenharmony_ci uint64_t maint_op:1; 80662306a36Sopenharmony_ci uint64_t rxbell:1; 80762306a36Sopenharmony_ci uint64_t bell_err:1; 80862306a36Sopenharmony_ci uint64_t txbell:1; 80962306a36Sopenharmony_ci#else 81062306a36Sopenharmony_ci uint64_t txbell:1; 81162306a36Sopenharmony_ci uint64_t bell_err:1; 81262306a36Sopenharmony_ci uint64_t rxbell:1; 81362306a36Sopenharmony_ci uint64_t maint_op:1; 81462306a36Sopenharmony_ci uint64_t bar_err:1; 81562306a36Sopenharmony_ci uint64_t deny_wr:1; 81662306a36Sopenharmony_ci uint64_t sli_err:1; 81762306a36Sopenharmony_ci uint64_t wr_done:1; 81862306a36Sopenharmony_ci uint64_t mce_tx:1; 81962306a36Sopenharmony_ci uint64_t mce_rx:1; 82062306a36Sopenharmony_ci uint64_t soft_tx:1; 82162306a36Sopenharmony_ci uint64_t soft_rx:1; 82262306a36Sopenharmony_ci uint64_t log_erb:1; 82362306a36Sopenharmony_ci uint64_t phy_erb:1; 82462306a36Sopenharmony_ci uint64_t link_dwn:1; 82562306a36Sopenharmony_ci uint64_t link_up:1; 82662306a36Sopenharmony_ci uint64_t omsg0:1; 82762306a36Sopenharmony_ci uint64_t omsg1:1; 82862306a36Sopenharmony_ci uint64_t omsg_err:1; 82962306a36Sopenharmony_ci uint64_t pko_err:1; 83062306a36Sopenharmony_ci uint64_t rtry_err:1; 83162306a36Sopenharmony_ci uint64_t f_error:1; 83262306a36Sopenharmony_ci uint64_t mac_buf:1; 83362306a36Sopenharmony_ci uint64_t degrad:1; 83462306a36Sopenharmony_ci uint64_t fail:1; 83562306a36Sopenharmony_ci uint64_t ttl_tout:1; 83662306a36Sopenharmony_ci uint64_t zero_pkt:1; 83762306a36Sopenharmony_ci uint64_t reserved_27_30:4; 83862306a36Sopenharmony_ci uint64_t int2_sum:1; 83962306a36Sopenharmony_ci uint64_t reserved_32_63:32; 84062306a36Sopenharmony_ci#endif 84162306a36Sopenharmony_ci } s; 84262306a36Sopenharmony_ci struct cvmx_sriox_int_reg_cn63xxp1 { 84362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 84462306a36Sopenharmony_ci uint64_t reserved_22_63:42; 84562306a36Sopenharmony_ci uint64_t f_error:1; 84662306a36Sopenharmony_ci uint64_t rtry_err:1; 84762306a36Sopenharmony_ci uint64_t pko_err:1; 84862306a36Sopenharmony_ci uint64_t omsg_err:1; 84962306a36Sopenharmony_ci uint64_t omsg1:1; 85062306a36Sopenharmony_ci uint64_t omsg0:1; 85162306a36Sopenharmony_ci uint64_t link_up:1; 85262306a36Sopenharmony_ci uint64_t link_dwn:1; 85362306a36Sopenharmony_ci uint64_t phy_erb:1; 85462306a36Sopenharmony_ci uint64_t log_erb:1; 85562306a36Sopenharmony_ci uint64_t soft_rx:1; 85662306a36Sopenharmony_ci uint64_t soft_tx:1; 85762306a36Sopenharmony_ci uint64_t mce_rx:1; 85862306a36Sopenharmony_ci uint64_t mce_tx:1; 85962306a36Sopenharmony_ci uint64_t wr_done:1; 86062306a36Sopenharmony_ci uint64_t sli_err:1; 86162306a36Sopenharmony_ci uint64_t deny_wr:1; 86262306a36Sopenharmony_ci uint64_t bar_err:1; 86362306a36Sopenharmony_ci uint64_t maint_op:1; 86462306a36Sopenharmony_ci uint64_t rxbell:1; 86562306a36Sopenharmony_ci uint64_t bell_err:1; 86662306a36Sopenharmony_ci uint64_t txbell:1; 86762306a36Sopenharmony_ci#else 86862306a36Sopenharmony_ci uint64_t txbell:1; 86962306a36Sopenharmony_ci uint64_t bell_err:1; 87062306a36Sopenharmony_ci uint64_t rxbell:1; 87162306a36Sopenharmony_ci uint64_t maint_op:1; 87262306a36Sopenharmony_ci uint64_t bar_err:1; 87362306a36Sopenharmony_ci uint64_t deny_wr:1; 87462306a36Sopenharmony_ci uint64_t sli_err:1; 87562306a36Sopenharmony_ci uint64_t wr_done:1; 87662306a36Sopenharmony_ci uint64_t mce_tx:1; 87762306a36Sopenharmony_ci uint64_t mce_rx:1; 87862306a36Sopenharmony_ci uint64_t soft_tx:1; 87962306a36Sopenharmony_ci uint64_t soft_rx:1; 88062306a36Sopenharmony_ci uint64_t log_erb:1; 88162306a36Sopenharmony_ci uint64_t phy_erb:1; 88262306a36Sopenharmony_ci uint64_t link_dwn:1; 88362306a36Sopenharmony_ci uint64_t link_up:1; 88462306a36Sopenharmony_ci uint64_t omsg0:1; 88562306a36Sopenharmony_ci uint64_t omsg1:1; 88662306a36Sopenharmony_ci uint64_t omsg_err:1; 88762306a36Sopenharmony_ci uint64_t pko_err:1; 88862306a36Sopenharmony_ci uint64_t rtry_err:1; 88962306a36Sopenharmony_ci uint64_t f_error:1; 89062306a36Sopenharmony_ci uint64_t reserved_22_63:42; 89162306a36Sopenharmony_ci#endif 89262306a36Sopenharmony_ci } cn63xxp1; 89362306a36Sopenharmony_ci}; 89462306a36Sopenharmony_ci 89562306a36Sopenharmony_ciunion cvmx_sriox_ip_feature { 89662306a36Sopenharmony_ci uint64_t u64; 89762306a36Sopenharmony_ci struct cvmx_sriox_ip_feature_s { 89862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 89962306a36Sopenharmony_ci uint64_t ops:32; 90062306a36Sopenharmony_ci uint64_t reserved_15_31:17; 90162306a36Sopenharmony_ci uint64_t no_vmin:1; 90262306a36Sopenharmony_ci uint64_t a66:1; 90362306a36Sopenharmony_ci uint64_t a50:1; 90462306a36Sopenharmony_ci uint64_t reserved_11_11:1; 90562306a36Sopenharmony_ci uint64_t tx_flow:1; 90662306a36Sopenharmony_ci uint64_t pt_width:2; 90762306a36Sopenharmony_ci uint64_t tx_pol:4; 90862306a36Sopenharmony_ci uint64_t rx_pol:4; 90962306a36Sopenharmony_ci#else 91062306a36Sopenharmony_ci uint64_t rx_pol:4; 91162306a36Sopenharmony_ci uint64_t tx_pol:4; 91262306a36Sopenharmony_ci uint64_t pt_width:2; 91362306a36Sopenharmony_ci uint64_t tx_flow:1; 91462306a36Sopenharmony_ci uint64_t reserved_11_11:1; 91562306a36Sopenharmony_ci uint64_t a50:1; 91662306a36Sopenharmony_ci uint64_t a66:1; 91762306a36Sopenharmony_ci uint64_t no_vmin:1; 91862306a36Sopenharmony_ci uint64_t reserved_15_31:17; 91962306a36Sopenharmony_ci uint64_t ops:32; 92062306a36Sopenharmony_ci#endif 92162306a36Sopenharmony_ci } s; 92262306a36Sopenharmony_ci struct cvmx_sriox_ip_feature_cn63xx { 92362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 92462306a36Sopenharmony_ci uint64_t ops:32; 92562306a36Sopenharmony_ci uint64_t reserved_14_31:18; 92662306a36Sopenharmony_ci uint64_t a66:1; 92762306a36Sopenharmony_ci uint64_t a50:1; 92862306a36Sopenharmony_ci uint64_t reserved_11_11:1; 92962306a36Sopenharmony_ci uint64_t tx_flow:1; 93062306a36Sopenharmony_ci uint64_t pt_width:2; 93162306a36Sopenharmony_ci uint64_t tx_pol:4; 93262306a36Sopenharmony_ci uint64_t rx_pol:4; 93362306a36Sopenharmony_ci#else 93462306a36Sopenharmony_ci uint64_t rx_pol:4; 93562306a36Sopenharmony_ci uint64_t tx_pol:4; 93662306a36Sopenharmony_ci uint64_t pt_width:2; 93762306a36Sopenharmony_ci uint64_t tx_flow:1; 93862306a36Sopenharmony_ci uint64_t reserved_11_11:1; 93962306a36Sopenharmony_ci uint64_t a50:1; 94062306a36Sopenharmony_ci uint64_t a66:1; 94162306a36Sopenharmony_ci uint64_t reserved_14_31:18; 94262306a36Sopenharmony_ci uint64_t ops:32; 94362306a36Sopenharmony_ci#endif 94462306a36Sopenharmony_ci } cn63xx; 94562306a36Sopenharmony_ci}; 94662306a36Sopenharmony_ci 94762306a36Sopenharmony_ciunion cvmx_sriox_mac_buffers { 94862306a36Sopenharmony_ci uint64_t u64; 94962306a36Sopenharmony_ci struct cvmx_sriox_mac_buffers_s { 95062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 95162306a36Sopenharmony_ci uint64_t reserved_56_63:8; 95262306a36Sopenharmony_ci uint64_t tx_enb:8; 95362306a36Sopenharmony_ci uint64_t reserved_44_47:4; 95462306a36Sopenharmony_ci uint64_t tx_inuse:4; 95562306a36Sopenharmony_ci uint64_t tx_stat:8; 95662306a36Sopenharmony_ci uint64_t reserved_24_31:8; 95762306a36Sopenharmony_ci uint64_t rx_enb:8; 95862306a36Sopenharmony_ci uint64_t reserved_12_15:4; 95962306a36Sopenharmony_ci uint64_t rx_inuse:4; 96062306a36Sopenharmony_ci uint64_t rx_stat:8; 96162306a36Sopenharmony_ci#else 96262306a36Sopenharmony_ci uint64_t rx_stat:8; 96362306a36Sopenharmony_ci uint64_t rx_inuse:4; 96462306a36Sopenharmony_ci uint64_t reserved_12_15:4; 96562306a36Sopenharmony_ci uint64_t rx_enb:8; 96662306a36Sopenharmony_ci uint64_t reserved_24_31:8; 96762306a36Sopenharmony_ci uint64_t tx_stat:8; 96862306a36Sopenharmony_ci uint64_t tx_inuse:4; 96962306a36Sopenharmony_ci uint64_t reserved_44_47:4; 97062306a36Sopenharmony_ci uint64_t tx_enb:8; 97162306a36Sopenharmony_ci uint64_t reserved_56_63:8; 97262306a36Sopenharmony_ci#endif 97362306a36Sopenharmony_ci } s; 97462306a36Sopenharmony_ci}; 97562306a36Sopenharmony_ci 97662306a36Sopenharmony_ciunion cvmx_sriox_maint_op { 97762306a36Sopenharmony_ci uint64_t u64; 97862306a36Sopenharmony_ci struct cvmx_sriox_maint_op_s { 97962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 98062306a36Sopenharmony_ci uint64_t wr_data:32; 98162306a36Sopenharmony_ci uint64_t reserved_27_31:5; 98262306a36Sopenharmony_ci uint64_t fail:1; 98362306a36Sopenharmony_ci uint64_t pending:1; 98462306a36Sopenharmony_ci uint64_t op:1; 98562306a36Sopenharmony_ci uint64_t addr:24; 98662306a36Sopenharmony_ci#else 98762306a36Sopenharmony_ci uint64_t addr:24; 98862306a36Sopenharmony_ci uint64_t op:1; 98962306a36Sopenharmony_ci uint64_t pending:1; 99062306a36Sopenharmony_ci uint64_t fail:1; 99162306a36Sopenharmony_ci uint64_t reserved_27_31:5; 99262306a36Sopenharmony_ci uint64_t wr_data:32; 99362306a36Sopenharmony_ci#endif 99462306a36Sopenharmony_ci } s; 99562306a36Sopenharmony_ci}; 99662306a36Sopenharmony_ci 99762306a36Sopenharmony_ciunion cvmx_sriox_maint_rd_data { 99862306a36Sopenharmony_ci uint64_t u64; 99962306a36Sopenharmony_ci struct cvmx_sriox_maint_rd_data_s { 100062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 100162306a36Sopenharmony_ci uint64_t reserved_33_63:31; 100262306a36Sopenharmony_ci uint64_t valid:1; 100362306a36Sopenharmony_ci uint64_t rd_data:32; 100462306a36Sopenharmony_ci#else 100562306a36Sopenharmony_ci uint64_t rd_data:32; 100662306a36Sopenharmony_ci uint64_t valid:1; 100762306a36Sopenharmony_ci uint64_t reserved_33_63:31; 100862306a36Sopenharmony_ci#endif 100962306a36Sopenharmony_ci } s; 101062306a36Sopenharmony_ci}; 101162306a36Sopenharmony_ci 101262306a36Sopenharmony_ciunion cvmx_sriox_mce_tx_ctl { 101362306a36Sopenharmony_ci uint64_t u64; 101462306a36Sopenharmony_ci struct cvmx_sriox_mce_tx_ctl_s { 101562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 101662306a36Sopenharmony_ci uint64_t reserved_1_63:63; 101762306a36Sopenharmony_ci uint64_t mce:1; 101862306a36Sopenharmony_ci#else 101962306a36Sopenharmony_ci uint64_t mce:1; 102062306a36Sopenharmony_ci uint64_t reserved_1_63:63; 102162306a36Sopenharmony_ci#endif 102262306a36Sopenharmony_ci } s; 102362306a36Sopenharmony_ci}; 102462306a36Sopenharmony_ci 102562306a36Sopenharmony_ciunion cvmx_sriox_mem_op_ctrl { 102662306a36Sopenharmony_ci uint64_t u64; 102762306a36Sopenharmony_ci struct cvmx_sriox_mem_op_ctrl_s { 102862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 102962306a36Sopenharmony_ci uint64_t reserved_10_63:54; 103062306a36Sopenharmony_ci uint64_t rr_ro:1; 103162306a36Sopenharmony_ci uint64_t w_ro:1; 103262306a36Sopenharmony_ci uint64_t reserved_6_7:2; 103362306a36Sopenharmony_ci uint64_t rp1_sid:1; 103462306a36Sopenharmony_ci uint64_t rp0_sid:2; 103562306a36Sopenharmony_ci uint64_t rp1_pid:1; 103662306a36Sopenharmony_ci uint64_t rp0_pid:2; 103762306a36Sopenharmony_ci#else 103862306a36Sopenharmony_ci uint64_t rp0_pid:2; 103962306a36Sopenharmony_ci uint64_t rp1_pid:1; 104062306a36Sopenharmony_ci uint64_t rp0_sid:2; 104162306a36Sopenharmony_ci uint64_t rp1_sid:1; 104262306a36Sopenharmony_ci uint64_t reserved_6_7:2; 104362306a36Sopenharmony_ci uint64_t w_ro:1; 104462306a36Sopenharmony_ci uint64_t rr_ro:1; 104562306a36Sopenharmony_ci uint64_t reserved_10_63:54; 104662306a36Sopenharmony_ci#endif 104762306a36Sopenharmony_ci } s; 104862306a36Sopenharmony_ci}; 104962306a36Sopenharmony_ci 105062306a36Sopenharmony_ciunion cvmx_sriox_omsg_ctrlx { 105162306a36Sopenharmony_ci uint64_t u64; 105262306a36Sopenharmony_ci struct cvmx_sriox_omsg_ctrlx_s { 105362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 105462306a36Sopenharmony_ci uint64_t testmode:1; 105562306a36Sopenharmony_ci uint64_t reserved_37_62:26; 105662306a36Sopenharmony_ci uint64_t silo_max:5; 105762306a36Sopenharmony_ci uint64_t rtry_thr:16; 105862306a36Sopenharmony_ci uint64_t rtry_en:1; 105962306a36Sopenharmony_ci uint64_t reserved_11_14:4; 106062306a36Sopenharmony_ci uint64_t idm_tt:1; 106162306a36Sopenharmony_ci uint64_t idm_sis:1; 106262306a36Sopenharmony_ci uint64_t idm_did:1; 106362306a36Sopenharmony_ci uint64_t lttr_sp:4; 106462306a36Sopenharmony_ci uint64_t lttr_mp:4; 106562306a36Sopenharmony_ci#else 106662306a36Sopenharmony_ci uint64_t lttr_mp:4; 106762306a36Sopenharmony_ci uint64_t lttr_sp:4; 106862306a36Sopenharmony_ci uint64_t idm_did:1; 106962306a36Sopenharmony_ci uint64_t idm_sis:1; 107062306a36Sopenharmony_ci uint64_t idm_tt:1; 107162306a36Sopenharmony_ci uint64_t reserved_11_14:4; 107262306a36Sopenharmony_ci uint64_t rtry_en:1; 107362306a36Sopenharmony_ci uint64_t rtry_thr:16; 107462306a36Sopenharmony_ci uint64_t silo_max:5; 107562306a36Sopenharmony_ci uint64_t reserved_37_62:26; 107662306a36Sopenharmony_ci uint64_t testmode:1; 107762306a36Sopenharmony_ci#endif 107862306a36Sopenharmony_ci } s; 107962306a36Sopenharmony_ci struct cvmx_sriox_omsg_ctrlx_cn63xxp1 { 108062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 108162306a36Sopenharmony_ci uint64_t testmode:1; 108262306a36Sopenharmony_ci uint64_t reserved_32_62:31; 108362306a36Sopenharmony_ci uint64_t rtry_thr:16; 108462306a36Sopenharmony_ci uint64_t rtry_en:1; 108562306a36Sopenharmony_ci uint64_t reserved_11_14:4; 108662306a36Sopenharmony_ci uint64_t idm_tt:1; 108762306a36Sopenharmony_ci uint64_t idm_sis:1; 108862306a36Sopenharmony_ci uint64_t idm_did:1; 108962306a36Sopenharmony_ci uint64_t lttr_sp:4; 109062306a36Sopenharmony_ci uint64_t lttr_mp:4; 109162306a36Sopenharmony_ci#else 109262306a36Sopenharmony_ci uint64_t lttr_mp:4; 109362306a36Sopenharmony_ci uint64_t lttr_sp:4; 109462306a36Sopenharmony_ci uint64_t idm_did:1; 109562306a36Sopenharmony_ci uint64_t idm_sis:1; 109662306a36Sopenharmony_ci uint64_t idm_tt:1; 109762306a36Sopenharmony_ci uint64_t reserved_11_14:4; 109862306a36Sopenharmony_ci uint64_t rtry_en:1; 109962306a36Sopenharmony_ci uint64_t rtry_thr:16; 110062306a36Sopenharmony_ci uint64_t reserved_32_62:31; 110162306a36Sopenharmony_ci uint64_t testmode:1; 110262306a36Sopenharmony_ci#endif 110362306a36Sopenharmony_ci } cn63xxp1; 110462306a36Sopenharmony_ci}; 110562306a36Sopenharmony_ci 110662306a36Sopenharmony_ciunion cvmx_sriox_omsg_done_countsx { 110762306a36Sopenharmony_ci uint64_t u64; 110862306a36Sopenharmony_ci struct cvmx_sriox_omsg_done_countsx_s { 110962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 111062306a36Sopenharmony_ci uint64_t reserved_32_63:32; 111162306a36Sopenharmony_ci uint64_t bad:16; 111262306a36Sopenharmony_ci uint64_t good:16; 111362306a36Sopenharmony_ci#else 111462306a36Sopenharmony_ci uint64_t good:16; 111562306a36Sopenharmony_ci uint64_t bad:16; 111662306a36Sopenharmony_ci uint64_t reserved_32_63:32; 111762306a36Sopenharmony_ci#endif 111862306a36Sopenharmony_ci } s; 111962306a36Sopenharmony_ci}; 112062306a36Sopenharmony_ci 112162306a36Sopenharmony_ciunion cvmx_sriox_omsg_fmp_mrx { 112262306a36Sopenharmony_ci uint64_t u64; 112362306a36Sopenharmony_ci struct cvmx_sriox_omsg_fmp_mrx_s { 112462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 112562306a36Sopenharmony_ci uint64_t reserved_15_63:49; 112662306a36Sopenharmony_ci uint64_t ctlr_sp:1; 112762306a36Sopenharmony_ci uint64_t ctlr_fmp:1; 112862306a36Sopenharmony_ci uint64_t ctlr_nmp:1; 112962306a36Sopenharmony_ci uint64_t id_sp:1; 113062306a36Sopenharmony_ci uint64_t id_fmp:1; 113162306a36Sopenharmony_ci uint64_t id_nmp:1; 113262306a36Sopenharmony_ci uint64_t id_psd:1; 113362306a36Sopenharmony_ci uint64_t mbox_sp:1; 113462306a36Sopenharmony_ci uint64_t mbox_fmp:1; 113562306a36Sopenharmony_ci uint64_t mbox_nmp:1; 113662306a36Sopenharmony_ci uint64_t mbox_psd:1; 113762306a36Sopenharmony_ci uint64_t all_sp:1; 113862306a36Sopenharmony_ci uint64_t all_fmp:1; 113962306a36Sopenharmony_ci uint64_t all_nmp:1; 114062306a36Sopenharmony_ci uint64_t all_psd:1; 114162306a36Sopenharmony_ci#else 114262306a36Sopenharmony_ci uint64_t all_psd:1; 114362306a36Sopenharmony_ci uint64_t all_nmp:1; 114462306a36Sopenharmony_ci uint64_t all_fmp:1; 114562306a36Sopenharmony_ci uint64_t all_sp:1; 114662306a36Sopenharmony_ci uint64_t mbox_psd:1; 114762306a36Sopenharmony_ci uint64_t mbox_nmp:1; 114862306a36Sopenharmony_ci uint64_t mbox_fmp:1; 114962306a36Sopenharmony_ci uint64_t mbox_sp:1; 115062306a36Sopenharmony_ci uint64_t id_psd:1; 115162306a36Sopenharmony_ci uint64_t id_nmp:1; 115262306a36Sopenharmony_ci uint64_t id_fmp:1; 115362306a36Sopenharmony_ci uint64_t id_sp:1; 115462306a36Sopenharmony_ci uint64_t ctlr_nmp:1; 115562306a36Sopenharmony_ci uint64_t ctlr_fmp:1; 115662306a36Sopenharmony_ci uint64_t ctlr_sp:1; 115762306a36Sopenharmony_ci uint64_t reserved_15_63:49; 115862306a36Sopenharmony_ci#endif 115962306a36Sopenharmony_ci } s; 116062306a36Sopenharmony_ci}; 116162306a36Sopenharmony_ci 116262306a36Sopenharmony_ciunion cvmx_sriox_omsg_nmp_mrx { 116362306a36Sopenharmony_ci uint64_t u64; 116462306a36Sopenharmony_ci struct cvmx_sriox_omsg_nmp_mrx_s { 116562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 116662306a36Sopenharmony_ci uint64_t reserved_15_63:49; 116762306a36Sopenharmony_ci uint64_t ctlr_sp:1; 116862306a36Sopenharmony_ci uint64_t ctlr_fmp:1; 116962306a36Sopenharmony_ci uint64_t ctlr_nmp:1; 117062306a36Sopenharmony_ci uint64_t id_sp:1; 117162306a36Sopenharmony_ci uint64_t id_fmp:1; 117262306a36Sopenharmony_ci uint64_t id_nmp:1; 117362306a36Sopenharmony_ci uint64_t reserved_8_8:1; 117462306a36Sopenharmony_ci uint64_t mbox_sp:1; 117562306a36Sopenharmony_ci uint64_t mbox_fmp:1; 117662306a36Sopenharmony_ci uint64_t mbox_nmp:1; 117762306a36Sopenharmony_ci uint64_t reserved_4_4:1; 117862306a36Sopenharmony_ci uint64_t all_sp:1; 117962306a36Sopenharmony_ci uint64_t all_fmp:1; 118062306a36Sopenharmony_ci uint64_t all_nmp:1; 118162306a36Sopenharmony_ci uint64_t reserved_0_0:1; 118262306a36Sopenharmony_ci#else 118362306a36Sopenharmony_ci uint64_t reserved_0_0:1; 118462306a36Sopenharmony_ci uint64_t all_nmp:1; 118562306a36Sopenharmony_ci uint64_t all_fmp:1; 118662306a36Sopenharmony_ci uint64_t all_sp:1; 118762306a36Sopenharmony_ci uint64_t reserved_4_4:1; 118862306a36Sopenharmony_ci uint64_t mbox_nmp:1; 118962306a36Sopenharmony_ci uint64_t mbox_fmp:1; 119062306a36Sopenharmony_ci uint64_t mbox_sp:1; 119162306a36Sopenharmony_ci uint64_t reserved_8_8:1; 119262306a36Sopenharmony_ci uint64_t id_nmp:1; 119362306a36Sopenharmony_ci uint64_t id_fmp:1; 119462306a36Sopenharmony_ci uint64_t id_sp:1; 119562306a36Sopenharmony_ci uint64_t ctlr_nmp:1; 119662306a36Sopenharmony_ci uint64_t ctlr_fmp:1; 119762306a36Sopenharmony_ci uint64_t ctlr_sp:1; 119862306a36Sopenharmony_ci uint64_t reserved_15_63:49; 119962306a36Sopenharmony_ci#endif 120062306a36Sopenharmony_ci } s; 120162306a36Sopenharmony_ci}; 120262306a36Sopenharmony_ci 120362306a36Sopenharmony_ciunion cvmx_sriox_omsg_portx { 120462306a36Sopenharmony_ci uint64_t u64; 120562306a36Sopenharmony_ci struct cvmx_sriox_omsg_portx_s { 120662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 120762306a36Sopenharmony_ci uint64_t reserved_32_63:32; 120862306a36Sopenharmony_ci uint64_t enable:1; 120962306a36Sopenharmony_ci uint64_t reserved_3_30:28; 121062306a36Sopenharmony_ci uint64_t port:3; 121162306a36Sopenharmony_ci#else 121262306a36Sopenharmony_ci uint64_t port:3; 121362306a36Sopenharmony_ci uint64_t reserved_3_30:28; 121462306a36Sopenharmony_ci uint64_t enable:1; 121562306a36Sopenharmony_ci uint64_t reserved_32_63:32; 121662306a36Sopenharmony_ci#endif 121762306a36Sopenharmony_ci } s; 121862306a36Sopenharmony_ci struct cvmx_sriox_omsg_portx_cn63xx { 121962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 122062306a36Sopenharmony_ci uint64_t reserved_32_63:32; 122162306a36Sopenharmony_ci uint64_t enable:1; 122262306a36Sopenharmony_ci uint64_t reserved_2_30:29; 122362306a36Sopenharmony_ci uint64_t port:2; 122462306a36Sopenharmony_ci#else 122562306a36Sopenharmony_ci uint64_t port:2; 122662306a36Sopenharmony_ci uint64_t reserved_2_30:29; 122762306a36Sopenharmony_ci uint64_t enable:1; 122862306a36Sopenharmony_ci uint64_t reserved_32_63:32; 122962306a36Sopenharmony_ci#endif 123062306a36Sopenharmony_ci } cn63xx; 123162306a36Sopenharmony_ci}; 123262306a36Sopenharmony_ci 123362306a36Sopenharmony_ciunion cvmx_sriox_omsg_silo_thr { 123462306a36Sopenharmony_ci uint64_t u64; 123562306a36Sopenharmony_ci struct cvmx_sriox_omsg_silo_thr_s { 123662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 123762306a36Sopenharmony_ci uint64_t reserved_5_63:59; 123862306a36Sopenharmony_ci uint64_t tot_silo:5; 123962306a36Sopenharmony_ci#else 124062306a36Sopenharmony_ci uint64_t tot_silo:5; 124162306a36Sopenharmony_ci uint64_t reserved_5_63:59; 124262306a36Sopenharmony_ci#endif 124362306a36Sopenharmony_ci } s; 124462306a36Sopenharmony_ci}; 124562306a36Sopenharmony_ci 124662306a36Sopenharmony_ciunion cvmx_sriox_omsg_sp_mrx { 124762306a36Sopenharmony_ci uint64_t u64; 124862306a36Sopenharmony_ci struct cvmx_sriox_omsg_sp_mrx_s { 124962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 125062306a36Sopenharmony_ci uint64_t reserved_16_63:48; 125162306a36Sopenharmony_ci uint64_t xmbox_sp:1; 125262306a36Sopenharmony_ci uint64_t ctlr_sp:1; 125362306a36Sopenharmony_ci uint64_t ctlr_fmp:1; 125462306a36Sopenharmony_ci uint64_t ctlr_nmp:1; 125562306a36Sopenharmony_ci uint64_t id_sp:1; 125662306a36Sopenharmony_ci uint64_t id_fmp:1; 125762306a36Sopenharmony_ci uint64_t id_nmp:1; 125862306a36Sopenharmony_ci uint64_t id_psd:1; 125962306a36Sopenharmony_ci uint64_t mbox_sp:1; 126062306a36Sopenharmony_ci uint64_t mbox_fmp:1; 126162306a36Sopenharmony_ci uint64_t mbox_nmp:1; 126262306a36Sopenharmony_ci uint64_t mbox_psd:1; 126362306a36Sopenharmony_ci uint64_t all_sp:1; 126462306a36Sopenharmony_ci uint64_t all_fmp:1; 126562306a36Sopenharmony_ci uint64_t all_nmp:1; 126662306a36Sopenharmony_ci uint64_t all_psd:1; 126762306a36Sopenharmony_ci#else 126862306a36Sopenharmony_ci uint64_t all_psd:1; 126962306a36Sopenharmony_ci uint64_t all_nmp:1; 127062306a36Sopenharmony_ci uint64_t all_fmp:1; 127162306a36Sopenharmony_ci uint64_t all_sp:1; 127262306a36Sopenharmony_ci uint64_t mbox_psd:1; 127362306a36Sopenharmony_ci uint64_t mbox_nmp:1; 127462306a36Sopenharmony_ci uint64_t mbox_fmp:1; 127562306a36Sopenharmony_ci uint64_t mbox_sp:1; 127662306a36Sopenharmony_ci uint64_t id_psd:1; 127762306a36Sopenharmony_ci uint64_t id_nmp:1; 127862306a36Sopenharmony_ci uint64_t id_fmp:1; 127962306a36Sopenharmony_ci uint64_t id_sp:1; 128062306a36Sopenharmony_ci uint64_t ctlr_nmp:1; 128162306a36Sopenharmony_ci uint64_t ctlr_fmp:1; 128262306a36Sopenharmony_ci uint64_t ctlr_sp:1; 128362306a36Sopenharmony_ci uint64_t xmbox_sp:1; 128462306a36Sopenharmony_ci uint64_t reserved_16_63:48; 128562306a36Sopenharmony_ci#endif 128662306a36Sopenharmony_ci } s; 128762306a36Sopenharmony_ci}; 128862306a36Sopenharmony_ci 128962306a36Sopenharmony_ciunion cvmx_sriox_priox_in_use { 129062306a36Sopenharmony_ci uint64_t u64; 129162306a36Sopenharmony_ci struct cvmx_sriox_priox_in_use_s { 129262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 129362306a36Sopenharmony_ci uint64_t reserved_32_63:32; 129462306a36Sopenharmony_ci uint64_t end_cnt:16; 129562306a36Sopenharmony_ci uint64_t start_cnt:16; 129662306a36Sopenharmony_ci#else 129762306a36Sopenharmony_ci uint64_t start_cnt:16; 129862306a36Sopenharmony_ci uint64_t end_cnt:16; 129962306a36Sopenharmony_ci uint64_t reserved_32_63:32; 130062306a36Sopenharmony_ci#endif 130162306a36Sopenharmony_ci } s; 130262306a36Sopenharmony_ci}; 130362306a36Sopenharmony_ci 130462306a36Sopenharmony_ciunion cvmx_sriox_rx_bell { 130562306a36Sopenharmony_ci uint64_t u64; 130662306a36Sopenharmony_ci struct cvmx_sriox_rx_bell_s { 130762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 130862306a36Sopenharmony_ci uint64_t reserved_48_63:16; 130962306a36Sopenharmony_ci uint64_t data:16; 131062306a36Sopenharmony_ci uint64_t src_id:16; 131162306a36Sopenharmony_ci uint64_t count:8; 131262306a36Sopenharmony_ci uint64_t reserved_5_7:3; 131362306a36Sopenharmony_ci uint64_t dest_id:1; 131462306a36Sopenharmony_ci uint64_t id16:1; 131562306a36Sopenharmony_ci uint64_t reserved_2_2:1; 131662306a36Sopenharmony_ci uint64_t priority:2; 131762306a36Sopenharmony_ci#else 131862306a36Sopenharmony_ci uint64_t priority:2; 131962306a36Sopenharmony_ci uint64_t reserved_2_2:1; 132062306a36Sopenharmony_ci uint64_t id16:1; 132162306a36Sopenharmony_ci uint64_t dest_id:1; 132262306a36Sopenharmony_ci uint64_t reserved_5_7:3; 132362306a36Sopenharmony_ci uint64_t count:8; 132462306a36Sopenharmony_ci uint64_t src_id:16; 132562306a36Sopenharmony_ci uint64_t data:16; 132662306a36Sopenharmony_ci uint64_t reserved_48_63:16; 132762306a36Sopenharmony_ci#endif 132862306a36Sopenharmony_ci } s; 132962306a36Sopenharmony_ci}; 133062306a36Sopenharmony_ci 133162306a36Sopenharmony_ciunion cvmx_sriox_rx_bell_seq { 133262306a36Sopenharmony_ci uint64_t u64; 133362306a36Sopenharmony_ci struct cvmx_sriox_rx_bell_seq_s { 133462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 133562306a36Sopenharmony_ci uint64_t reserved_40_63:24; 133662306a36Sopenharmony_ci uint64_t count:8; 133762306a36Sopenharmony_ci uint64_t seq:32; 133862306a36Sopenharmony_ci#else 133962306a36Sopenharmony_ci uint64_t seq:32; 134062306a36Sopenharmony_ci uint64_t count:8; 134162306a36Sopenharmony_ci uint64_t reserved_40_63:24; 134262306a36Sopenharmony_ci#endif 134362306a36Sopenharmony_ci } s; 134462306a36Sopenharmony_ci}; 134562306a36Sopenharmony_ci 134662306a36Sopenharmony_ciunion cvmx_sriox_rx_status { 134762306a36Sopenharmony_ci uint64_t u64; 134862306a36Sopenharmony_ci struct cvmx_sriox_rx_status_s { 134962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 135062306a36Sopenharmony_ci uint64_t rtn_pr3:8; 135162306a36Sopenharmony_ci uint64_t rtn_pr2:8; 135262306a36Sopenharmony_ci uint64_t rtn_pr1:8; 135362306a36Sopenharmony_ci uint64_t reserved_28_39:12; 135462306a36Sopenharmony_ci uint64_t mbox:4; 135562306a36Sopenharmony_ci uint64_t comp:8; 135662306a36Sopenharmony_ci uint64_t reserved_13_15:3; 135762306a36Sopenharmony_ci uint64_t n_post:5; 135862306a36Sopenharmony_ci uint64_t post:8; 135962306a36Sopenharmony_ci#else 136062306a36Sopenharmony_ci uint64_t post:8; 136162306a36Sopenharmony_ci uint64_t n_post:5; 136262306a36Sopenharmony_ci uint64_t reserved_13_15:3; 136362306a36Sopenharmony_ci uint64_t comp:8; 136462306a36Sopenharmony_ci uint64_t mbox:4; 136562306a36Sopenharmony_ci uint64_t reserved_28_39:12; 136662306a36Sopenharmony_ci uint64_t rtn_pr1:8; 136762306a36Sopenharmony_ci uint64_t rtn_pr2:8; 136862306a36Sopenharmony_ci uint64_t rtn_pr3:8; 136962306a36Sopenharmony_ci#endif 137062306a36Sopenharmony_ci } s; 137162306a36Sopenharmony_ci}; 137262306a36Sopenharmony_ci 137362306a36Sopenharmony_ciunion cvmx_sriox_s2m_typex { 137462306a36Sopenharmony_ci uint64_t u64; 137562306a36Sopenharmony_ci struct cvmx_sriox_s2m_typex_s { 137662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 137762306a36Sopenharmony_ci uint64_t reserved_19_63:45; 137862306a36Sopenharmony_ci uint64_t wr_op:3; 137962306a36Sopenharmony_ci uint64_t reserved_15_15:1; 138062306a36Sopenharmony_ci uint64_t rd_op:3; 138162306a36Sopenharmony_ci uint64_t wr_prior:2; 138262306a36Sopenharmony_ci uint64_t rd_prior:2; 138362306a36Sopenharmony_ci uint64_t reserved_6_7:2; 138462306a36Sopenharmony_ci uint64_t src_id:1; 138562306a36Sopenharmony_ci uint64_t id16:1; 138662306a36Sopenharmony_ci uint64_t reserved_2_3:2; 138762306a36Sopenharmony_ci uint64_t iaow_sel:2; 138862306a36Sopenharmony_ci#else 138962306a36Sopenharmony_ci uint64_t iaow_sel:2; 139062306a36Sopenharmony_ci uint64_t reserved_2_3:2; 139162306a36Sopenharmony_ci uint64_t id16:1; 139262306a36Sopenharmony_ci uint64_t src_id:1; 139362306a36Sopenharmony_ci uint64_t reserved_6_7:2; 139462306a36Sopenharmony_ci uint64_t rd_prior:2; 139562306a36Sopenharmony_ci uint64_t wr_prior:2; 139662306a36Sopenharmony_ci uint64_t rd_op:3; 139762306a36Sopenharmony_ci uint64_t reserved_15_15:1; 139862306a36Sopenharmony_ci uint64_t wr_op:3; 139962306a36Sopenharmony_ci uint64_t reserved_19_63:45; 140062306a36Sopenharmony_ci#endif 140162306a36Sopenharmony_ci } s; 140262306a36Sopenharmony_ci}; 140362306a36Sopenharmony_ci 140462306a36Sopenharmony_ciunion cvmx_sriox_seq { 140562306a36Sopenharmony_ci uint64_t u64; 140662306a36Sopenharmony_ci struct cvmx_sriox_seq_s { 140762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 140862306a36Sopenharmony_ci uint64_t reserved_32_63:32; 140962306a36Sopenharmony_ci uint64_t seq:32; 141062306a36Sopenharmony_ci#else 141162306a36Sopenharmony_ci uint64_t seq:32; 141262306a36Sopenharmony_ci uint64_t reserved_32_63:32; 141362306a36Sopenharmony_ci#endif 141462306a36Sopenharmony_ci } s; 141562306a36Sopenharmony_ci}; 141662306a36Sopenharmony_ci 141762306a36Sopenharmony_ciunion cvmx_sriox_status_reg { 141862306a36Sopenharmony_ci uint64_t u64; 141962306a36Sopenharmony_ci struct cvmx_sriox_status_reg_s { 142062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 142162306a36Sopenharmony_ci uint64_t reserved_2_63:62; 142262306a36Sopenharmony_ci uint64_t access:1; 142362306a36Sopenharmony_ci uint64_t srio:1; 142462306a36Sopenharmony_ci#else 142562306a36Sopenharmony_ci uint64_t srio:1; 142662306a36Sopenharmony_ci uint64_t access:1; 142762306a36Sopenharmony_ci uint64_t reserved_2_63:62; 142862306a36Sopenharmony_ci#endif 142962306a36Sopenharmony_ci } s; 143062306a36Sopenharmony_ci}; 143162306a36Sopenharmony_ci 143262306a36Sopenharmony_ciunion cvmx_sriox_tag_ctrl { 143362306a36Sopenharmony_ci uint64_t u64; 143462306a36Sopenharmony_ci struct cvmx_sriox_tag_ctrl_s { 143562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 143662306a36Sopenharmony_ci uint64_t reserved_17_63:47; 143762306a36Sopenharmony_ci uint64_t o_clr:1; 143862306a36Sopenharmony_ci uint64_t reserved_13_15:3; 143962306a36Sopenharmony_ci uint64_t otag:5; 144062306a36Sopenharmony_ci uint64_t reserved_5_7:3; 144162306a36Sopenharmony_ci uint64_t itag:5; 144262306a36Sopenharmony_ci#else 144362306a36Sopenharmony_ci uint64_t itag:5; 144462306a36Sopenharmony_ci uint64_t reserved_5_7:3; 144562306a36Sopenharmony_ci uint64_t otag:5; 144662306a36Sopenharmony_ci uint64_t reserved_13_15:3; 144762306a36Sopenharmony_ci uint64_t o_clr:1; 144862306a36Sopenharmony_ci uint64_t reserved_17_63:47; 144962306a36Sopenharmony_ci#endif 145062306a36Sopenharmony_ci } s; 145162306a36Sopenharmony_ci}; 145262306a36Sopenharmony_ci 145362306a36Sopenharmony_ciunion cvmx_sriox_tlp_credits { 145462306a36Sopenharmony_ci uint64_t u64; 145562306a36Sopenharmony_ci struct cvmx_sriox_tlp_credits_s { 145662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 145762306a36Sopenharmony_ci uint64_t reserved_28_63:36; 145862306a36Sopenharmony_ci uint64_t mbox:4; 145962306a36Sopenharmony_ci uint64_t comp:8; 146062306a36Sopenharmony_ci uint64_t reserved_13_15:3; 146162306a36Sopenharmony_ci uint64_t n_post:5; 146262306a36Sopenharmony_ci uint64_t post:8; 146362306a36Sopenharmony_ci#else 146462306a36Sopenharmony_ci uint64_t post:8; 146562306a36Sopenharmony_ci uint64_t n_post:5; 146662306a36Sopenharmony_ci uint64_t reserved_13_15:3; 146762306a36Sopenharmony_ci uint64_t comp:8; 146862306a36Sopenharmony_ci uint64_t mbox:4; 146962306a36Sopenharmony_ci uint64_t reserved_28_63:36; 147062306a36Sopenharmony_ci#endif 147162306a36Sopenharmony_ci } s; 147262306a36Sopenharmony_ci}; 147362306a36Sopenharmony_ci 147462306a36Sopenharmony_ciunion cvmx_sriox_tx_bell { 147562306a36Sopenharmony_ci uint64_t u64; 147662306a36Sopenharmony_ci struct cvmx_sriox_tx_bell_s { 147762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 147862306a36Sopenharmony_ci uint64_t reserved_48_63:16; 147962306a36Sopenharmony_ci uint64_t data:16; 148062306a36Sopenharmony_ci uint64_t dest_id:16; 148162306a36Sopenharmony_ci uint64_t reserved_9_15:7; 148262306a36Sopenharmony_ci uint64_t pending:1; 148362306a36Sopenharmony_ci uint64_t reserved_5_7:3; 148462306a36Sopenharmony_ci uint64_t src_id:1; 148562306a36Sopenharmony_ci uint64_t id16:1; 148662306a36Sopenharmony_ci uint64_t reserved_2_2:1; 148762306a36Sopenharmony_ci uint64_t priority:2; 148862306a36Sopenharmony_ci#else 148962306a36Sopenharmony_ci uint64_t priority:2; 149062306a36Sopenharmony_ci uint64_t reserved_2_2:1; 149162306a36Sopenharmony_ci uint64_t id16:1; 149262306a36Sopenharmony_ci uint64_t src_id:1; 149362306a36Sopenharmony_ci uint64_t reserved_5_7:3; 149462306a36Sopenharmony_ci uint64_t pending:1; 149562306a36Sopenharmony_ci uint64_t reserved_9_15:7; 149662306a36Sopenharmony_ci uint64_t dest_id:16; 149762306a36Sopenharmony_ci uint64_t data:16; 149862306a36Sopenharmony_ci uint64_t reserved_48_63:16; 149962306a36Sopenharmony_ci#endif 150062306a36Sopenharmony_ci } s; 150162306a36Sopenharmony_ci}; 150262306a36Sopenharmony_ci 150362306a36Sopenharmony_ciunion cvmx_sriox_tx_bell_info { 150462306a36Sopenharmony_ci uint64_t u64; 150562306a36Sopenharmony_ci struct cvmx_sriox_tx_bell_info_s { 150662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 150762306a36Sopenharmony_ci uint64_t reserved_48_63:16; 150862306a36Sopenharmony_ci uint64_t data:16; 150962306a36Sopenharmony_ci uint64_t dest_id:16; 151062306a36Sopenharmony_ci uint64_t reserved_8_15:8; 151162306a36Sopenharmony_ci uint64_t timeout:1; 151262306a36Sopenharmony_ci uint64_t error:1; 151362306a36Sopenharmony_ci uint64_t retry:1; 151462306a36Sopenharmony_ci uint64_t src_id:1; 151562306a36Sopenharmony_ci uint64_t id16:1; 151662306a36Sopenharmony_ci uint64_t reserved_2_2:1; 151762306a36Sopenharmony_ci uint64_t priority:2; 151862306a36Sopenharmony_ci#else 151962306a36Sopenharmony_ci uint64_t priority:2; 152062306a36Sopenharmony_ci uint64_t reserved_2_2:1; 152162306a36Sopenharmony_ci uint64_t id16:1; 152262306a36Sopenharmony_ci uint64_t src_id:1; 152362306a36Sopenharmony_ci uint64_t retry:1; 152462306a36Sopenharmony_ci uint64_t error:1; 152562306a36Sopenharmony_ci uint64_t timeout:1; 152662306a36Sopenharmony_ci uint64_t reserved_8_15:8; 152762306a36Sopenharmony_ci uint64_t dest_id:16; 152862306a36Sopenharmony_ci uint64_t data:16; 152962306a36Sopenharmony_ci uint64_t reserved_48_63:16; 153062306a36Sopenharmony_ci#endif 153162306a36Sopenharmony_ci } s; 153262306a36Sopenharmony_ci}; 153362306a36Sopenharmony_ci 153462306a36Sopenharmony_ciunion cvmx_sriox_tx_ctrl { 153562306a36Sopenharmony_ci uint64_t u64; 153662306a36Sopenharmony_ci struct cvmx_sriox_tx_ctrl_s { 153762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 153862306a36Sopenharmony_ci uint64_t reserved_53_63:11; 153962306a36Sopenharmony_ci uint64_t tag_th2:5; 154062306a36Sopenharmony_ci uint64_t reserved_45_47:3; 154162306a36Sopenharmony_ci uint64_t tag_th1:5; 154262306a36Sopenharmony_ci uint64_t reserved_37_39:3; 154362306a36Sopenharmony_ci uint64_t tag_th0:5; 154462306a36Sopenharmony_ci uint64_t reserved_20_31:12; 154562306a36Sopenharmony_ci uint64_t tx_th2:4; 154662306a36Sopenharmony_ci uint64_t reserved_12_15:4; 154762306a36Sopenharmony_ci uint64_t tx_th1:4; 154862306a36Sopenharmony_ci uint64_t reserved_4_7:4; 154962306a36Sopenharmony_ci uint64_t tx_th0:4; 155062306a36Sopenharmony_ci#else 155162306a36Sopenharmony_ci uint64_t tx_th0:4; 155262306a36Sopenharmony_ci uint64_t reserved_4_7:4; 155362306a36Sopenharmony_ci uint64_t tx_th1:4; 155462306a36Sopenharmony_ci uint64_t reserved_12_15:4; 155562306a36Sopenharmony_ci uint64_t tx_th2:4; 155662306a36Sopenharmony_ci uint64_t reserved_20_31:12; 155762306a36Sopenharmony_ci uint64_t tag_th0:5; 155862306a36Sopenharmony_ci uint64_t reserved_37_39:3; 155962306a36Sopenharmony_ci uint64_t tag_th1:5; 156062306a36Sopenharmony_ci uint64_t reserved_45_47:3; 156162306a36Sopenharmony_ci uint64_t tag_th2:5; 156262306a36Sopenharmony_ci uint64_t reserved_53_63:11; 156362306a36Sopenharmony_ci#endif 156462306a36Sopenharmony_ci } s; 156562306a36Sopenharmony_ci}; 156662306a36Sopenharmony_ci 156762306a36Sopenharmony_ciunion cvmx_sriox_tx_emphasis { 156862306a36Sopenharmony_ci uint64_t u64; 156962306a36Sopenharmony_ci struct cvmx_sriox_tx_emphasis_s { 157062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 157162306a36Sopenharmony_ci uint64_t reserved_4_63:60; 157262306a36Sopenharmony_ci uint64_t emph:4; 157362306a36Sopenharmony_ci#else 157462306a36Sopenharmony_ci uint64_t emph:4; 157562306a36Sopenharmony_ci uint64_t reserved_4_63:60; 157662306a36Sopenharmony_ci#endif 157762306a36Sopenharmony_ci } s; 157862306a36Sopenharmony_ci}; 157962306a36Sopenharmony_ci 158062306a36Sopenharmony_ciunion cvmx_sriox_tx_status { 158162306a36Sopenharmony_ci uint64_t u64; 158262306a36Sopenharmony_ci struct cvmx_sriox_tx_status_s { 158362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 158462306a36Sopenharmony_ci uint64_t reserved_32_63:32; 158562306a36Sopenharmony_ci uint64_t s2m_pr3:8; 158662306a36Sopenharmony_ci uint64_t s2m_pr2:8; 158762306a36Sopenharmony_ci uint64_t s2m_pr1:8; 158862306a36Sopenharmony_ci uint64_t s2m_pr0:8; 158962306a36Sopenharmony_ci#else 159062306a36Sopenharmony_ci uint64_t s2m_pr0:8; 159162306a36Sopenharmony_ci uint64_t s2m_pr1:8; 159262306a36Sopenharmony_ci uint64_t s2m_pr2:8; 159362306a36Sopenharmony_ci uint64_t s2m_pr3:8; 159462306a36Sopenharmony_ci uint64_t reserved_32_63:32; 159562306a36Sopenharmony_ci#endif 159662306a36Sopenharmony_ci } s; 159762306a36Sopenharmony_ci}; 159862306a36Sopenharmony_ci 159962306a36Sopenharmony_ciunion cvmx_sriox_wr_done_counts { 160062306a36Sopenharmony_ci uint64_t u64; 160162306a36Sopenharmony_ci struct cvmx_sriox_wr_done_counts_s { 160262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 160362306a36Sopenharmony_ci uint64_t reserved_32_63:32; 160462306a36Sopenharmony_ci uint64_t bad:16; 160562306a36Sopenharmony_ci uint64_t good:16; 160662306a36Sopenharmony_ci#else 160762306a36Sopenharmony_ci uint64_t good:16; 160862306a36Sopenharmony_ci uint64_t bad:16; 160962306a36Sopenharmony_ci uint64_t reserved_32_63:32; 161062306a36Sopenharmony_ci#endif 161162306a36Sopenharmony_ci } s; 161262306a36Sopenharmony_ci}; 161362306a36Sopenharmony_ci 161462306a36Sopenharmony_ci#endif 1615