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_PKO_DEFS_H__ 2962306a36Sopenharmony_ci#define __CVMX_PKO_DEFS_H__ 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ci#define CVMX_PKO_MEM_COUNT0 (CVMX_ADD_IO_SEG(0x0001180050001080ull)) 3262306a36Sopenharmony_ci#define CVMX_PKO_MEM_COUNT1 (CVMX_ADD_IO_SEG(0x0001180050001088ull)) 3362306a36Sopenharmony_ci#define CVMX_PKO_MEM_DEBUG0 (CVMX_ADD_IO_SEG(0x0001180050001100ull)) 3462306a36Sopenharmony_ci#define CVMX_PKO_MEM_DEBUG1 (CVMX_ADD_IO_SEG(0x0001180050001108ull)) 3562306a36Sopenharmony_ci#define CVMX_PKO_MEM_DEBUG10 (CVMX_ADD_IO_SEG(0x0001180050001150ull)) 3662306a36Sopenharmony_ci#define CVMX_PKO_MEM_DEBUG11 (CVMX_ADD_IO_SEG(0x0001180050001158ull)) 3762306a36Sopenharmony_ci#define CVMX_PKO_MEM_DEBUG12 (CVMX_ADD_IO_SEG(0x0001180050001160ull)) 3862306a36Sopenharmony_ci#define CVMX_PKO_MEM_DEBUG13 (CVMX_ADD_IO_SEG(0x0001180050001168ull)) 3962306a36Sopenharmony_ci#define CVMX_PKO_MEM_DEBUG14 (CVMX_ADD_IO_SEG(0x0001180050001170ull)) 4062306a36Sopenharmony_ci#define CVMX_PKO_MEM_DEBUG2 (CVMX_ADD_IO_SEG(0x0001180050001110ull)) 4162306a36Sopenharmony_ci#define CVMX_PKO_MEM_DEBUG3 (CVMX_ADD_IO_SEG(0x0001180050001118ull)) 4262306a36Sopenharmony_ci#define CVMX_PKO_MEM_DEBUG4 (CVMX_ADD_IO_SEG(0x0001180050001120ull)) 4362306a36Sopenharmony_ci#define CVMX_PKO_MEM_DEBUG5 (CVMX_ADD_IO_SEG(0x0001180050001128ull)) 4462306a36Sopenharmony_ci#define CVMX_PKO_MEM_DEBUG6 (CVMX_ADD_IO_SEG(0x0001180050001130ull)) 4562306a36Sopenharmony_ci#define CVMX_PKO_MEM_DEBUG7 (CVMX_ADD_IO_SEG(0x0001180050001138ull)) 4662306a36Sopenharmony_ci#define CVMX_PKO_MEM_DEBUG8 (CVMX_ADD_IO_SEG(0x0001180050001140ull)) 4762306a36Sopenharmony_ci#define CVMX_PKO_MEM_DEBUG9 (CVMX_ADD_IO_SEG(0x0001180050001148ull)) 4862306a36Sopenharmony_ci#define CVMX_PKO_MEM_IPORT_PTRS (CVMX_ADD_IO_SEG(0x0001180050001030ull)) 4962306a36Sopenharmony_ci#define CVMX_PKO_MEM_IPORT_QOS (CVMX_ADD_IO_SEG(0x0001180050001038ull)) 5062306a36Sopenharmony_ci#define CVMX_PKO_MEM_IQUEUE_PTRS (CVMX_ADD_IO_SEG(0x0001180050001040ull)) 5162306a36Sopenharmony_ci#define CVMX_PKO_MEM_IQUEUE_QOS (CVMX_ADD_IO_SEG(0x0001180050001048ull)) 5262306a36Sopenharmony_ci#define CVMX_PKO_MEM_PORT_PTRS (CVMX_ADD_IO_SEG(0x0001180050001010ull)) 5362306a36Sopenharmony_ci#define CVMX_PKO_MEM_PORT_QOS (CVMX_ADD_IO_SEG(0x0001180050001018ull)) 5462306a36Sopenharmony_ci#define CVMX_PKO_MEM_PORT_RATE0 (CVMX_ADD_IO_SEG(0x0001180050001020ull)) 5562306a36Sopenharmony_ci#define CVMX_PKO_MEM_PORT_RATE1 (CVMX_ADD_IO_SEG(0x0001180050001028ull)) 5662306a36Sopenharmony_ci#define CVMX_PKO_MEM_QUEUE_PTRS (CVMX_ADD_IO_SEG(0x0001180050001000ull)) 5762306a36Sopenharmony_ci#define CVMX_PKO_MEM_QUEUE_QOS (CVMX_ADD_IO_SEG(0x0001180050001008ull)) 5862306a36Sopenharmony_ci#define CVMX_PKO_MEM_THROTTLE_INT (CVMX_ADD_IO_SEG(0x0001180050001058ull)) 5962306a36Sopenharmony_ci#define CVMX_PKO_MEM_THROTTLE_PIPE (CVMX_ADD_IO_SEG(0x0001180050001050ull)) 6062306a36Sopenharmony_ci#define CVMX_PKO_REG_BIST_RESULT (CVMX_ADD_IO_SEG(0x0001180050000080ull)) 6162306a36Sopenharmony_ci#define CVMX_PKO_REG_CMD_BUF (CVMX_ADD_IO_SEG(0x0001180050000010ull)) 6262306a36Sopenharmony_ci#define CVMX_PKO_REG_CRC_CTLX(offset) (CVMX_ADD_IO_SEG(0x0001180050000028ull) + ((offset) & 1) * 8) 6362306a36Sopenharmony_ci#define CVMX_PKO_REG_CRC_ENABLE (CVMX_ADD_IO_SEG(0x0001180050000020ull)) 6462306a36Sopenharmony_ci#define CVMX_PKO_REG_CRC_IVX(offset) (CVMX_ADD_IO_SEG(0x0001180050000038ull) + ((offset) & 1) * 8) 6562306a36Sopenharmony_ci#define CVMX_PKO_REG_DEBUG0 (CVMX_ADD_IO_SEG(0x0001180050000098ull)) 6662306a36Sopenharmony_ci#define CVMX_PKO_REG_DEBUG1 (CVMX_ADD_IO_SEG(0x00011800500000A0ull)) 6762306a36Sopenharmony_ci#define CVMX_PKO_REG_DEBUG2 (CVMX_ADD_IO_SEG(0x00011800500000A8ull)) 6862306a36Sopenharmony_ci#define CVMX_PKO_REG_DEBUG3 (CVMX_ADD_IO_SEG(0x00011800500000B0ull)) 6962306a36Sopenharmony_ci#define CVMX_PKO_REG_DEBUG4 (CVMX_ADD_IO_SEG(0x00011800500000B8ull)) 7062306a36Sopenharmony_ci#define CVMX_PKO_REG_ENGINE_INFLIGHT (CVMX_ADD_IO_SEG(0x0001180050000050ull)) 7162306a36Sopenharmony_ci#define CVMX_PKO_REG_ENGINE_INFLIGHT1 (CVMX_ADD_IO_SEG(0x0001180050000318ull)) 7262306a36Sopenharmony_ci#define CVMX_PKO_REG_ENGINE_STORAGEX(offset) (CVMX_ADD_IO_SEG(0x0001180050000300ull) + ((offset) & 1) * 8) 7362306a36Sopenharmony_ci#define CVMX_PKO_REG_ENGINE_THRESH (CVMX_ADD_IO_SEG(0x0001180050000058ull)) 7462306a36Sopenharmony_ci#define CVMX_PKO_REG_ERROR (CVMX_ADD_IO_SEG(0x0001180050000088ull)) 7562306a36Sopenharmony_ci#define CVMX_PKO_REG_FLAGS (CVMX_ADD_IO_SEG(0x0001180050000000ull)) 7662306a36Sopenharmony_ci#define CVMX_PKO_REG_GMX_PORT_MODE (CVMX_ADD_IO_SEG(0x0001180050000018ull)) 7762306a36Sopenharmony_ci#define CVMX_PKO_REG_INT_MASK (CVMX_ADD_IO_SEG(0x0001180050000090ull)) 7862306a36Sopenharmony_ci#define CVMX_PKO_REG_LOOPBACK_BPID (CVMX_ADD_IO_SEG(0x0001180050000118ull)) 7962306a36Sopenharmony_ci#define CVMX_PKO_REG_LOOPBACK_PKIND (CVMX_ADD_IO_SEG(0x0001180050000068ull)) 8062306a36Sopenharmony_ci#define CVMX_PKO_REG_MIN_PKT (CVMX_ADD_IO_SEG(0x0001180050000070ull)) 8162306a36Sopenharmony_ci#define CVMX_PKO_REG_PREEMPT (CVMX_ADD_IO_SEG(0x0001180050000110ull)) 8262306a36Sopenharmony_ci#define CVMX_PKO_REG_QUEUE_MODE (CVMX_ADD_IO_SEG(0x0001180050000048ull)) 8362306a36Sopenharmony_ci#define CVMX_PKO_REG_QUEUE_PREEMPT (CVMX_ADD_IO_SEG(0x0001180050000108ull)) 8462306a36Sopenharmony_ci#define CVMX_PKO_REG_QUEUE_PTRS1 (CVMX_ADD_IO_SEG(0x0001180050000100ull)) 8562306a36Sopenharmony_ci#define CVMX_PKO_REG_READ_IDX (CVMX_ADD_IO_SEG(0x0001180050000008ull)) 8662306a36Sopenharmony_ci#define CVMX_PKO_REG_THROTTLE (CVMX_ADD_IO_SEG(0x0001180050000078ull)) 8762306a36Sopenharmony_ci#define CVMX_PKO_REG_TIMESTAMP (CVMX_ADD_IO_SEG(0x0001180050000060ull)) 8862306a36Sopenharmony_ci 8962306a36Sopenharmony_ciunion cvmx_pko_mem_count0 { 9062306a36Sopenharmony_ci uint64_t u64; 9162306a36Sopenharmony_ci struct cvmx_pko_mem_count0_s { 9262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 9362306a36Sopenharmony_ci uint64_t reserved_32_63:32; 9462306a36Sopenharmony_ci uint64_t count:32; 9562306a36Sopenharmony_ci#else 9662306a36Sopenharmony_ci uint64_t count:32; 9762306a36Sopenharmony_ci uint64_t reserved_32_63:32; 9862306a36Sopenharmony_ci#endif 9962306a36Sopenharmony_ci } s; 10062306a36Sopenharmony_ci}; 10162306a36Sopenharmony_ci 10262306a36Sopenharmony_ciunion cvmx_pko_mem_count1 { 10362306a36Sopenharmony_ci uint64_t u64; 10462306a36Sopenharmony_ci struct cvmx_pko_mem_count1_s { 10562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10662306a36Sopenharmony_ci uint64_t reserved_48_63:16; 10762306a36Sopenharmony_ci uint64_t count:48; 10862306a36Sopenharmony_ci#else 10962306a36Sopenharmony_ci uint64_t count:48; 11062306a36Sopenharmony_ci uint64_t reserved_48_63:16; 11162306a36Sopenharmony_ci#endif 11262306a36Sopenharmony_ci } s; 11362306a36Sopenharmony_ci}; 11462306a36Sopenharmony_ci 11562306a36Sopenharmony_ciunion cvmx_pko_mem_debug0 { 11662306a36Sopenharmony_ci uint64_t u64; 11762306a36Sopenharmony_ci struct cvmx_pko_mem_debug0_s { 11862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 11962306a36Sopenharmony_ci uint64_t fau:28; 12062306a36Sopenharmony_ci uint64_t cmd:14; 12162306a36Sopenharmony_ci uint64_t segs:6; 12262306a36Sopenharmony_ci uint64_t size:16; 12362306a36Sopenharmony_ci#else 12462306a36Sopenharmony_ci uint64_t size:16; 12562306a36Sopenharmony_ci uint64_t segs:6; 12662306a36Sopenharmony_ci uint64_t cmd:14; 12762306a36Sopenharmony_ci uint64_t fau:28; 12862306a36Sopenharmony_ci#endif 12962306a36Sopenharmony_ci } s; 13062306a36Sopenharmony_ci}; 13162306a36Sopenharmony_ci 13262306a36Sopenharmony_ciunion cvmx_pko_mem_debug1 { 13362306a36Sopenharmony_ci uint64_t u64; 13462306a36Sopenharmony_ci struct cvmx_pko_mem_debug1_s { 13562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13662306a36Sopenharmony_ci uint64_t i:1; 13762306a36Sopenharmony_ci uint64_t back:4; 13862306a36Sopenharmony_ci uint64_t pool:3; 13962306a36Sopenharmony_ci uint64_t size:16; 14062306a36Sopenharmony_ci uint64_t ptr:40; 14162306a36Sopenharmony_ci#else 14262306a36Sopenharmony_ci uint64_t ptr:40; 14362306a36Sopenharmony_ci uint64_t size:16; 14462306a36Sopenharmony_ci uint64_t pool:3; 14562306a36Sopenharmony_ci uint64_t back:4; 14662306a36Sopenharmony_ci uint64_t i:1; 14762306a36Sopenharmony_ci#endif 14862306a36Sopenharmony_ci } s; 14962306a36Sopenharmony_ci}; 15062306a36Sopenharmony_ci 15162306a36Sopenharmony_ciunion cvmx_pko_mem_debug10 { 15262306a36Sopenharmony_ci uint64_t u64; 15362306a36Sopenharmony_ci struct cvmx_pko_mem_debug10_s { 15462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 15562306a36Sopenharmony_ci uint64_t reserved_0_63:64; 15662306a36Sopenharmony_ci#else 15762306a36Sopenharmony_ci uint64_t reserved_0_63:64; 15862306a36Sopenharmony_ci#endif 15962306a36Sopenharmony_ci } s; 16062306a36Sopenharmony_ci struct cvmx_pko_mem_debug10_cn30xx { 16162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 16262306a36Sopenharmony_ci uint64_t fau:28; 16362306a36Sopenharmony_ci uint64_t cmd:14; 16462306a36Sopenharmony_ci uint64_t segs:6; 16562306a36Sopenharmony_ci uint64_t size:16; 16662306a36Sopenharmony_ci#else 16762306a36Sopenharmony_ci uint64_t size:16; 16862306a36Sopenharmony_ci uint64_t segs:6; 16962306a36Sopenharmony_ci uint64_t cmd:14; 17062306a36Sopenharmony_ci uint64_t fau:28; 17162306a36Sopenharmony_ci#endif 17262306a36Sopenharmony_ci } cn30xx; 17362306a36Sopenharmony_ci struct cvmx_pko_mem_debug10_cn50xx { 17462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 17562306a36Sopenharmony_ci uint64_t reserved_49_63:15; 17662306a36Sopenharmony_ci uint64_t ptrs1:17; 17762306a36Sopenharmony_ci uint64_t reserved_17_31:15; 17862306a36Sopenharmony_ci uint64_t ptrs2:17; 17962306a36Sopenharmony_ci#else 18062306a36Sopenharmony_ci uint64_t ptrs2:17; 18162306a36Sopenharmony_ci uint64_t reserved_17_31:15; 18262306a36Sopenharmony_ci uint64_t ptrs1:17; 18362306a36Sopenharmony_ci uint64_t reserved_49_63:15; 18462306a36Sopenharmony_ci#endif 18562306a36Sopenharmony_ci } cn50xx; 18662306a36Sopenharmony_ci}; 18762306a36Sopenharmony_ci 18862306a36Sopenharmony_ciunion cvmx_pko_mem_debug11 { 18962306a36Sopenharmony_ci uint64_t u64; 19062306a36Sopenharmony_ci struct cvmx_pko_mem_debug11_s { 19162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 19262306a36Sopenharmony_ci uint64_t i:1; 19362306a36Sopenharmony_ci uint64_t back:4; 19462306a36Sopenharmony_ci uint64_t pool:3; 19562306a36Sopenharmony_ci uint64_t size:16; 19662306a36Sopenharmony_ci uint64_t reserved_0_39:40; 19762306a36Sopenharmony_ci#else 19862306a36Sopenharmony_ci uint64_t reserved_0_39:40; 19962306a36Sopenharmony_ci uint64_t size:16; 20062306a36Sopenharmony_ci uint64_t pool:3; 20162306a36Sopenharmony_ci uint64_t back:4; 20262306a36Sopenharmony_ci uint64_t i:1; 20362306a36Sopenharmony_ci#endif 20462306a36Sopenharmony_ci } s; 20562306a36Sopenharmony_ci struct cvmx_pko_mem_debug11_cn30xx { 20662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 20762306a36Sopenharmony_ci uint64_t i:1; 20862306a36Sopenharmony_ci uint64_t back:4; 20962306a36Sopenharmony_ci uint64_t pool:3; 21062306a36Sopenharmony_ci uint64_t size:16; 21162306a36Sopenharmony_ci uint64_t ptr:40; 21262306a36Sopenharmony_ci#else 21362306a36Sopenharmony_ci uint64_t ptr:40; 21462306a36Sopenharmony_ci uint64_t size:16; 21562306a36Sopenharmony_ci uint64_t pool:3; 21662306a36Sopenharmony_ci uint64_t back:4; 21762306a36Sopenharmony_ci uint64_t i:1; 21862306a36Sopenharmony_ci#endif 21962306a36Sopenharmony_ci } cn30xx; 22062306a36Sopenharmony_ci struct cvmx_pko_mem_debug11_cn50xx { 22162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 22262306a36Sopenharmony_ci uint64_t reserved_23_63:41; 22362306a36Sopenharmony_ci uint64_t maj:1; 22462306a36Sopenharmony_ci uint64_t uid:3; 22562306a36Sopenharmony_ci uint64_t sop:1; 22662306a36Sopenharmony_ci uint64_t len:1; 22762306a36Sopenharmony_ci uint64_t chk:1; 22862306a36Sopenharmony_ci uint64_t cnt:13; 22962306a36Sopenharmony_ci uint64_t mod:3; 23062306a36Sopenharmony_ci#else 23162306a36Sopenharmony_ci uint64_t mod:3; 23262306a36Sopenharmony_ci uint64_t cnt:13; 23362306a36Sopenharmony_ci uint64_t chk:1; 23462306a36Sopenharmony_ci uint64_t len:1; 23562306a36Sopenharmony_ci uint64_t sop:1; 23662306a36Sopenharmony_ci uint64_t uid:3; 23762306a36Sopenharmony_ci uint64_t maj:1; 23862306a36Sopenharmony_ci uint64_t reserved_23_63:41; 23962306a36Sopenharmony_ci#endif 24062306a36Sopenharmony_ci } cn50xx; 24162306a36Sopenharmony_ci}; 24262306a36Sopenharmony_ci 24362306a36Sopenharmony_ciunion cvmx_pko_mem_debug12 { 24462306a36Sopenharmony_ci uint64_t u64; 24562306a36Sopenharmony_ci struct cvmx_pko_mem_debug12_s { 24662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 24762306a36Sopenharmony_ci uint64_t reserved_0_63:64; 24862306a36Sopenharmony_ci#else 24962306a36Sopenharmony_ci uint64_t reserved_0_63:64; 25062306a36Sopenharmony_ci#endif 25162306a36Sopenharmony_ci } s; 25262306a36Sopenharmony_ci struct cvmx_pko_mem_debug12_cn30xx { 25362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 25462306a36Sopenharmony_ci uint64_t data:64; 25562306a36Sopenharmony_ci#else 25662306a36Sopenharmony_ci uint64_t data:64; 25762306a36Sopenharmony_ci#endif 25862306a36Sopenharmony_ci } cn30xx; 25962306a36Sopenharmony_ci struct cvmx_pko_mem_debug12_cn50xx { 26062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 26162306a36Sopenharmony_ci uint64_t fau:28; 26262306a36Sopenharmony_ci uint64_t cmd:14; 26362306a36Sopenharmony_ci uint64_t segs:6; 26462306a36Sopenharmony_ci uint64_t size:16; 26562306a36Sopenharmony_ci#else 26662306a36Sopenharmony_ci uint64_t size:16; 26762306a36Sopenharmony_ci uint64_t segs:6; 26862306a36Sopenharmony_ci uint64_t cmd:14; 26962306a36Sopenharmony_ci uint64_t fau:28; 27062306a36Sopenharmony_ci#endif 27162306a36Sopenharmony_ci } cn50xx; 27262306a36Sopenharmony_ci struct cvmx_pko_mem_debug12_cn68xx { 27362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 27462306a36Sopenharmony_ci uint64_t state:64; 27562306a36Sopenharmony_ci#else 27662306a36Sopenharmony_ci uint64_t state:64; 27762306a36Sopenharmony_ci#endif 27862306a36Sopenharmony_ci } cn68xx; 27962306a36Sopenharmony_ci}; 28062306a36Sopenharmony_ci 28162306a36Sopenharmony_ciunion cvmx_pko_mem_debug13 { 28262306a36Sopenharmony_ci uint64_t u64; 28362306a36Sopenharmony_ci struct cvmx_pko_mem_debug13_s { 28462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 28562306a36Sopenharmony_ci uint64_t reserved_0_63:64; 28662306a36Sopenharmony_ci#else 28762306a36Sopenharmony_ci uint64_t reserved_0_63:64; 28862306a36Sopenharmony_ci#endif 28962306a36Sopenharmony_ci } s; 29062306a36Sopenharmony_ci struct cvmx_pko_mem_debug13_cn30xx { 29162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 29262306a36Sopenharmony_ci uint64_t reserved_51_63:13; 29362306a36Sopenharmony_ci uint64_t widx:17; 29462306a36Sopenharmony_ci uint64_t ridx2:17; 29562306a36Sopenharmony_ci uint64_t widx2:17; 29662306a36Sopenharmony_ci#else 29762306a36Sopenharmony_ci uint64_t widx2:17; 29862306a36Sopenharmony_ci uint64_t ridx2:17; 29962306a36Sopenharmony_ci uint64_t widx:17; 30062306a36Sopenharmony_ci uint64_t reserved_51_63:13; 30162306a36Sopenharmony_ci#endif 30262306a36Sopenharmony_ci } cn30xx; 30362306a36Sopenharmony_ci struct cvmx_pko_mem_debug13_cn50xx { 30462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 30562306a36Sopenharmony_ci uint64_t i:1; 30662306a36Sopenharmony_ci uint64_t back:4; 30762306a36Sopenharmony_ci uint64_t pool:3; 30862306a36Sopenharmony_ci uint64_t size:16; 30962306a36Sopenharmony_ci uint64_t ptr:40; 31062306a36Sopenharmony_ci#else 31162306a36Sopenharmony_ci uint64_t ptr:40; 31262306a36Sopenharmony_ci uint64_t size:16; 31362306a36Sopenharmony_ci uint64_t pool:3; 31462306a36Sopenharmony_ci uint64_t back:4; 31562306a36Sopenharmony_ci uint64_t i:1; 31662306a36Sopenharmony_ci#endif 31762306a36Sopenharmony_ci } cn50xx; 31862306a36Sopenharmony_ci struct cvmx_pko_mem_debug13_cn68xx { 31962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 32062306a36Sopenharmony_ci uint64_t state:64; 32162306a36Sopenharmony_ci#else 32262306a36Sopenharmony_ci uint64_t state:64; 32362306a36Sopenharmony_ci#endif 32462306a36Sopenharmony_ci } cn68xx; 32562306a36Sopenharmony_ci}; 32662306a36Sopenharmony_ci 32762306a36Sopenharmony_ciunion cvmx_pko_mem_debug14 { 32862306a36Sopenharmony_ci uint64_t u64; 32962306a36Sopenharmony_ci struct cvmx_pko_mem_debug14_s { 33062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 33162306a36Sopenharmony_ci uint64_t reserved_0_63:64; 33262306a36Sopenharmony_ci#else 33362306a36Sopenharmony_ci uint64_t reserved_0_63:64; 33462306a36Sopenharmony_ci#endif 33562306a36Sopenharmony_ci } s; 33662306a36Sopenharmony_ci struct cvmx_pko_mem_debug14_cn30xx { 33762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 33862306a36Sopenharmony_ci uint64_t reserved_17_63:47; 33962306a36Sopenharmony_ci uint64_t ridx:17; 34062306a36Sopenharmony_ci#else 34162306a36Sopenharmony_ci uint64_t ridx:17; 34262306a36Sopenharmony_ci uint64_t reserved_17_63:47; 34362306a36Sopenharmony_ci#endif 34462306a36Sopenharmony_ci } cn30xx; 34562306a36Sopenharmony_ci struct cvmx_pko_mem_debug14_cn52xx { 34662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 34762306a36Sopenharmony_ci uint64_t data:64; 34862306a36Sopenharmony_ci#else 34962306a36Sopenharmony_ci uint64_t data:64; 35062306a36Sopenharmony_ci#endif 35162306a36Sopenharmony_ci } cn52xx; 35262306a36Sopenharmony_ci}; 35362306a36Sopenharmony_ci 35462306a36Sopenharmony_ciunion cvmx_pko_mem_debug2 { 35562306a36Sopenharmony_ci uint64_t u64; 35662306a36Sopenharmony_ci struct cvmx_pko_mem_debug2_s { 35762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 35862306a36Sopenharmony_ci uint64_t i:1; 35962306a36Sopenharmony_ci uint64_t back:4; 36062306a36Sopenharmony_ci uint64_t pool:3; 36162306a36Sopenharmony_ci uint64_t size:16; 36262306a36Sopenharmony_ci uint64_t ptr:40; 36362306a36Sopenharmony_ci#else 36462306a36Sopenharmony_ci uint64_t ptr:40; 36562306a36Sopenharmony_ci uint64_t size:16; 36662306a36Sopenharmony_ci uint64_t pool:3; 36762306a36Sopenharmony_ci uint64_t back:4; 36862306a36Sopenharmony_ci uint64_t i:1; 36962306a36Sopenharmony_ci#endif 37062306a36Sopenharmony_ci } s; 37162306a36Sopenharmony_ci}; 37262306a36Sopenharmony_ci 37362306a36Sopenharmony_ciunion cvmx_pko_mem_debug3 { 37462306a36Sopenharmony_ci uint64_t u64; 37562306a36Sopenharmony_ci struct cvmx_pko_mem_debug3_s { 37662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 37762306a36Sopenharmony_ci uint64_t reserved_0_63:64; 37862306a36Sopenharmony_ci#else 37962306a36Sopenharmony_ci uint64_t reserved_0_63:64; 38062306a36Sopenharmony_ci#endif 38162306a36Sopenharmony_ci } s; 38262306a36Sopenharmony_ci struct cvmx_pko_mem_debug3_cn30xx { 38362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 38462306a36Sopenharmony_ci uint64_t i:1; 38562306a36Sopenharmony_ci uint64_t back:4; 38662306a36Sopenharmony_ci uint64_t pool:3; 38762306a36Sopenharmony_ci uint64_t size:16; 38862306a36Sopenharmony_ci uint64_t ptr:40; 38962306a36Sopenharmony_ci#else 39062306a36Sopenharmony_ci uint64_t ptr:40; 39162306a36Sopenharmony_ci uint64_t size:16; 39262306a36Sopenharmony_ci uint64_t pool:3; 39362306a36Sopenharmony_ci uint64_t back:4; 39462306a36Sopenharmony_ci uint64_t i:1; 39562306a36Sopenharmony_ci#endif 39662306a36Sopenharmony_ci } cn30xx; 39762306a36Sopenharmony_ci struct cvmx_pko_mem_debug3_cn50xx { 39862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 39962306a36Sopenharmony_ci uint64_t data:64; 40062306a36Sopenharmony_ci#else 40162306a36Sopenharmony_ci uint64_t data:64; 40262306a36Sopenharmony_ci#endif 40362306a36Sopenharmony_ci } cn50xx; 40462306a36Sopenharmony_ci}; 40562306a36Sopenharmony_ci 40662306a36Sopenharmony_ciunion cvmx_pko_mem_debug4 { 40762306a36Sopenharmony_ci uint64_t u64; 40862306a36Sopenharmony_ci struct cvmx_pko_mem_debug4_s { 40962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 41062306a36Sopenharmony_ci uint64_t reserved_0_63:64; 41162306a36Sopenharmony_ci#else 41262306a36Sopenharmony_ci uint64_t reserved_0_63:64; 41362306a36Sopenharmony_ci#endif 41462306a36Sopenharmony_ci } s; 41562306a36Sopenharmony_ci struct cvmx_pko_mem_debug4_cn30xx { 41662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 41762306a36Sopenharmony_ci uint64_t data:64; 41862306a36Sopenharmony_ci#else 41962306a36Sopenharmony_ci uint64_t data:64; 42062306a36Sopenharmony_ci#endif 42162306a36Sopenharmony_ci } cn30xx; 42262306a36Sopenharmony_ci struct cvmx_pko_mem_debug4_cn50xx { 42362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 42462306a36Sopenharmony_ci uint64_t cmnd_segs:3; 42562306a36Sopenharmony_ci uint64_t cmnd_siz:16; 42662306a36Sopenharmony_ci uint64_t cmnd_off:6; 42762306a36Sopenharmony_ci uint64_t uid:3; 42862306a36Sopenharmony_ci uint64_t dread_sop:1; 42962306a36Sopenharmony_ci uint64_t init_dwrite:1; 43062306a36Sopenharmony_ci uint64_t chk_once:1; 43162306a36Sopenharmony_ci uint64_t chk_mode:1; 43262306a36Sopenharmony_ci uint64_t active:1; 43362306a36Sopenharmony_ci uint64_t static_p:1; 43462306a36Sopenharmony_ci uint64_t qos:3; 43562306a36Sopenharmony_ci uint64_t qcb_ridx:5; 43662306a36Sopenharmony_ci uint64_t qid_off_max:4; 43762306a36Sopenharmony_ci uint64_t qid_off:4; 43862306a36Sopenharmony_ci uint64_t qid_base:8; 43962306a36Sopenharmony_ci uint64_t wait:1; 44062306a36Sopenharmony_ci uint64_t minor:2; 44162306a36Sopenharmony_ci uint64_t major:3; 44262306a36Sopenharmony_ci#else 44362306a36Sopenharmony_ci uint64_t major:3; 44462306a36Sopenharmony_ci uint64_t minor:2; 44562306a36Sopenharmony_ci uint64_t wait:1; 44662306a36Sopenharmony_ci uint64_t qid_base:8; 44762306a36Sopenharmony_ci uint64_t qid_off:4; 44862306a36Sopenharmony_ci uint64_t qid_off_max:4; 44962306a36Sopenharmony_ci uint64_t qcb_ridx:5; 45062306a36Sopenharmony_ci uint64_t qos:3; 45162306a36Sopenharmony_ci uint64_t static_p:1; 45262306a36Sopenharmony_ci uint64_t active:1; 45362306a36Sopenharmony_ci uint64_t chk_mode:1; 45462306a36Sopenharmony_ci uint64_t chk_once:1; 45562306a36Sopenharmony_ci uint64_t init_dwrite:1; 45662306a36Sopenharmony_ci uint64_t dread_sop:1; 45762306a36Sopenharmony_ci uint64_t uid:3; 45862306a36Sopenharmony_ci uint64_t cmnd_off:6; 45962306a36Sopenharmony_ci uint64_t cmnd_siz:16; 46062306a36Sopenharmony_ci uint64_t cmnd_segs:3; 46162306a36Sopenharmony_ci#endif 46262306a36Sopenharmony_ci } cn50xx; 46362306a36Sopenharmony_ci struct cvmx_pko_mem_debug4_cn52xx { 46462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 46562306a36Sopenharmony_ci uint64_t curr_siz:8; 46662306a36Sopenharmony_ci uint64_t curr_off:16; 46762306a36Sopenharmony_ci uint64_t cmnd_segs:6; 46862306a36Sopenharmony_ci uint64_t cmnd_siz:16; 46962306a36Sopenharmony_ci uint64_t cmnd_off:6; 47062306a36Sopenharmony_ci uint64_t uid:2; 47162306a36Sopenharmony_ci uint64_t dread_sop:1; 47262306a36Sopenharmony_ci uint64_t init_dwrite:1; 47362306a36Sopenharmony_ci uint64_t chk_once:1; 47462306a36Sopenharmony_ci uint64_t chk_mode:1; 47562306a36Sopenharmony_ci uint64_t wait:1; 47662306a36Sopenharmony_ci uint64_t minor:2; 47762306a36Sopenharmony_ci uint64_t major:3; 47862306a36Sopenharmony_ci#else 47962306a36Sopenharmony_ci uint64_t major:3; 48062306a36Sopenharmony_ci uint64_t minor:2; 48162306a36Sopenharmony_ci uint64_t wait:1; 48262306a36Sopenharmony_ci uint64_t chk_mode:1; 48362306a36Sopenharmony_ci uint64_t chk_once:1; 48462306a36Sopenharmony_ci uint64_t init_dwrite:1; 48562306a36Sopenharmony_ci uint64_t dread_sop:1; 48662306a36Sopenharmony_ci uint64_t uid:2; 48762306a36Sopenharmony_ci uint64_t cmnd_off:6; 48862306a36Sopenharmony_ci uint64_t cmnd_siz:16; 48962306a36Sopenharmony_ci uint64_t cmnd_segs:6; 49062306a36Sopenharmony_ci uint64_t curr_off:16; 49162306a36Sopenharmony_ci uint64_t curr_siz:8; 49262306a36Sopenharmony_ci#endif 49362306a36Sopenharmony_ci } cn52xx; 49462306a36Sopenharmony_ci}; 49562306a36Sopenharmony_ci 49662306a36Sopenharmony_ciunion cvmx_pko_mem_debug5 { 49762306a36Sopenharmony_ci uint64_t u64; 49862306a36Sopenharmony_ci struct cvmx_pko_mem_debug5_s { 49962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 50062306a36Sopenharmony_ci uint64_t reserved_0_63:64; 50162306a36Sopenharmony_ci#else 50262306a36Sopenharmony_ci uint64_t reserved_0_63:64; 50362306a36Sopenharmony_ci#endif 50462306a36Sopenharmony_ci } s; 50562306a36Sopenharmony_ci struct cvmx_pko_mem_debug5_cn30xx { 50662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 50762306a36Sopenharmony_ci uint64_t dwri_mod:1; 50862306a36Sopenharmony_ci uint64_t dwri_sop:1; 50962306a36Sopenharmony_ci uint64_t dwri_len:1; 51062306a36Sopenharmony_ci uint64_t dwri_cnt:13; 51162306a36Sopenharmony_ci uint64_t cmnd_siz:16; 51262306a36Sopenharmony_ci uint64_t uid:1; 51362306a36Sopenharmony_ci uint64_t xfer_wor:1; 51462306a36Sopenharmony_ci uint64_t xfer_dwr:1; 51562306a36Sopenharmony_ci uint64_t cbuf_fre:1; 51662306a36Sopenharmony_ci uint64_t reserved_27_27:1; 51762306a36Sopenharmony_ci uint64_t chk_mode:1; 51862306a36Sopenharmony_ci uint64_t active:1; 51962306a36Sopenharmony_ci uint64_t qos:3; 52062306a36Sopenharmony_ci uint64_t qcb_ridx:5; 52162306a36Sopenharmony_ci uint64_t qid_off:3; 52262306a36Sopenharmony_ci uint64_t qid_base:7; 52362306a36Sopenharmony_ci uint64_t wait:1; 52462306a36Sopenharmony_ci uint64_t minor:2; 52562306a36Sopenharmony_ci uint64_t major:4; 52662306a36Sopenharmony_ci#else 52762306a36Sopenharmony_ci uint64_t major:4; 52862306a36Sopenharmony_ci uint64_t minor:2; 52962306a36Sopenharmony_ci uint64_t wait:1; 53062306a36Sopenharmony_ci uint64_t qid_base:7; 53162306a36Sopenharmony_ci uint64_t qid_off:3; 53262306a36Sopenharmony_ci uint64_t qcb_ridx:5; 53362306a36Sopenharmony_ci uint64_t qos:3; 53462306a36Sopenharmony_ci uint64_t active:1; 53562306a36Sopenharmony_ci uint64_t chk_mode:1; 53662306a36Sopenharmony_ci uint64_t reserved_27_27:1; 53762306a36Sopenharmony_ci uint64_t cbuf_fre:1; 53862306a36Sopenharmony_ci uint64_t xfer_dwr:1; 53962306a36Sopenharmony_ci uint64_t xfer_wor:1; 54062306a36Sopenharmony_ci uint64_t uid:1; 54162306a36Sopenharmony_ci uint64_t cmnd_siz:16; 54262306a36Sopenharmony_ci uint64_t dwri_cnt:13; 54362306a36Sopenharmony_ci uint64_t dwri_len:1; 54462306a36Sopenharmony_ci uint64_t dwri_sop:1; 54562306a36Sopenharmony_ci uint64_t dwri_mod:1; 54662306a36Sopenharmony_ci#endif 54762306a36Sopenharmony_ci } cn30xx; 54862306a36Sopenharmony_ci struct cvmx_pko_mem_debug5_cn50xx { 54962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 55062306a36Sopenharmony_ci uint64_t curr_ptr:29; 55162306a36Sopenharmony_ci uint64_t curr_siz:16; 55262306a36Sopenharmony_ci uint64_t curr_off:16; 55362306a36Sopenharmony_ci uint64_t cmnd_segs:3; 55462306a36Sopenharmony_ci#else 55562306a36Sopenharmony_ci uint64_t cmnd_segs:3; 55662306a36Sopenharmony_ci uint64_t curr_off:16; 55762306a36Sopenharmony_ci uint64_t curr_siz:16; 55862306a36Sopenharmony_ci uint64_t curr_ptr:29; 55962306a36Sopenharmony_ci#endif 56062306a36Sopenharmony_ci } cn50xx; 56162306a36Sopenharmony_ci struct cvmx_pko_mem_debug5_cn52xx { 56262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 56362306a36Sopenharmony_ci uint64_t reserved_54_63:10; 56462306a36Sopenharmony_ci uint64_t nxt_inflt:6; 56562306a36Sopenharmony_ci uint64_t curr_ptr:40; 56662306a36Sopenharmony_ci uint64_t curr_siz:8; 56762306a36Sopenharmony_ci#else 56862306a36Sopenharmony_ci uint64_t curr_siz:8; 56962306a36Sopenharmony_ci uint64_t curr_ptr:40; 57062306a36Sopenharmony_ci uint64_t nxt_inflt:6; 57162306a36Sopenharmony_ci uint64_t reserved_54_63:10; 57262306a36Sopenharmony_ci#endif 57362306a36Sopenharmony_ci } cn52xx; 57462306a36Sopenharmony_ci struct cvmx_pko_mem_debug5_cn61xx { 57562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 57662306a36Sopenharmony_ci uint64_t reserved_56_63:8; 57762306a36Sopenharmony_ci uint64_t ptp:1; 57862306a36Sopenharmony_ci uint64_t major_3:1; 57962306a36Sopenharmony_ci uint64_t nxt_inflt:6; 58062306a36Sopenharmony_ci uint64_t curr_ptr:40; 58162306a36Sopenharmony_ci uint64_t curr_siz:8; 58262306a36Sopenharmony_ci#else 58362306a36Sopenharmony_ci uint64_t curr_siz:8; 58462306a36Sopenharmony_ci uint64_t curr_ptr:40; 58562306a36Sopenharmony_ci uint64_t nxt_inflt:6; 58662306a36Sopenharmony_ci uint64_t major_3:1; 58762306a36Sopenharmony_ci uint64_t ptp:1; 58862306a36Sopenharmony_ci uint64_t reserved_56_63:8; 58962306a36Sopenharmony_ci#endif 59062306a36Sopenharmony_ci } cn61xx; 59162306a36Sopenharmony_ci struct cvmx_pko_mem_debug5_cn68xx { 59262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 59362306a36Sopenharmony_ci uint64_t reserved_57_63:7; 59462306a36Sopenharmony_ci uint64_t uid_2:1; 59562306a36Sopenharmony_ci uint64_t ptp:1; 59662306a36Sopenharmony_ci uint64_t major_3:1; 59762306a36Sopenharmony_ci uint64_t nxt_inflt:6; 59862306a36Sopenharmony_ci uint64_t curr_ptr:40; 59962306a36Sopenharmony_ci uint64_t curr_siz:8; 60062306a36Sopenharmony_ci#else 60162306a36Sopenharmony_ci uint64_t curr_siz:8; 60262306a36Sopenharmony_ci uint64_t curr_ptr:40; 60362306a36Sopenharmony_ci uint64_t nxt_inflt:6; 60462306a36Sopenharmony_ci uint64_t major_3:1; 60562306a36Sopenharmony_ci uint64_t ptp:1; 60662306a36Sopenharmony_ci uint64_t uid_2:1; 60762306a36Sopenharmony_ci uint64_t reserved_57_63:7; 60862306a36Sopenharmony_ci#endif 60962306a36Sopenharmony_ci } cn68xx; 61062306a36Sopenharmony_ci}; 61162306a36Sopenharmony_ci 61262306a36Sopenharmony_ciunion cvmx_pko_mem_debug6 { 61362306a36Sopenharmony_ci uint64_t u64; 61462306a36Sopenharmony_ci struct cvmx_pko_mem_debug6_s { 61562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 61662306a36Sopenharmony_ci uint64_t reserved_37_63:27; 61762306a36Sopenharmony_ci uint64_t qid_offres:4; 61862306a36Sopenharmony_ci uint64_t qid_offths:4; 61962306a36Sopenharmony_ci uint64_t preempter:1; 62062306a36Sopenharmony_ci uint64_t preemptee:1; 62162306a36Sopenharmony_ci uint64_t preempted:1; 62262306a36Sopenharmony_ci uint64_t active:1; 62362306a36Sopenharmony_ci uint64_t statc:1; 62462306a36Sopenharmony_ci uint64_t qos:3; 62562306a36Sopenharmony_ci uint64_t qcb_ridx:5; 62662306a36Sopenharmony_ci uint64_t qid_offmax:4; 62762306a36Sopenharmony_ci uint64_t reserved_0_11:12; 62862306a36Sopenharmony_ci#else 62962306a36Sopenharmony_ci uint64_t reserved_0_11:12; 63062306a36Sopenharmony_ci uint64_t qid_offmax:4; 63162306a36Sopenharmony_ci uint64_t qcb_ridx:5; 63262306a36Sopenharmony_ci uint64_t qos:3; 63362306a36Sopenharmony_ci uint64_t statc:1; 63462306a36Sopenharmony_ci uint64_t active:1; 63562306a36Sopenharmony_ci uint64_t preempted:1; 63662306a36Sopenharmony_ci uint64_t preemptee:1; 63762306a36Sopenharmony_ci uint64_t preempter:1; 63862306a36Sopenharmony_ci uint64_t qid_offths:4; 63962306a36Sopenharmony_ci uint64_t qid_offres:4; 64062306a36Sopenharmony_ci uint64_t reserved_37_63:27; 64162306a36Sopenharmony_ci#endif 64262306a36Sopenharmony_ci } s; 64362306a36Sopenharmony_ci struct cvmx_pko_mem_debug6_cn30xx { 64462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 64562306a36Sopenharmony_ci uint64_t reserved_11_63:53; 64662306a36Sopenharmony_ci uint64_t qid_offm:3; 64762306a36Sopenharmony_ci uint64_t static_p:1; 64862306a36Sopenharmony_ci uint64_t work_min:3; 64962306a36Sopenharmony_ci uint64_t dwri_chk:1; 65062306a36Sopenharmony_ci uint64_t dwri_uid:1; 65162306a36Sopenharmony_ci uint64_t dwri_mod:2; 65262306a36Sopenharmony_ci#else 65362306a36Sopenharmony_ci uint64_t dwri_mod:2; 65462306a36Sopenharmony_ci uint64_t dwri_uid:1; 65562306a36Sopenharmony_ci uint64_t dwri_chk:1; 65662306a36Sopenharmony_ci uint64_t work_min:3; 65762306a36Sopenharmony_ci uint64_t static_p:1; 65862306a36Sopenharmony_ci uint64_t qid_offm:3; 65962306a36Sopenharmony_ci uint64_t reserved_11_63:53; 66062306a36Sopenharmony_ci#endif 66162306a36Sopenharmony_ci } cn30xx; 66262306a36Sopenharmony_ci struct cvmx_pko_mem_debug6_cn50xx { 66362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 66462306a36Sopenharmony_ci uint64_t reserved_11_63:53; 66562306a36Sopenharmony_ci uint64_t curr_ptr:11; 66662306a36Sopenharmony_ci#else 66762306a36Sopenharmony_ci uint64_t curr_ptr:11; 66862306a36Sopenharmony_ci uint64_t reserved_11_63:53; 66962306a36Sopenharmony_ci#endif 67062306a36Sopenharmony_ci } cn50xx; 67162306a36Sopenharmony_ci struct cvmx_pko_mem_debug6_cn52xx { 67262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 67362306a36Sopenharmony_ci uint64_t reserved_37_63:27; 67462306a36Sopenharmony_ci uint64_t qid_offres:4; 67562306a36Sopenharmony_ci uint64_t qid_offths:4; 67662306a36Sopenharmony_ci uint64_t preempter:1; 67762306a36Sopenharmony_ci uint64_t preemptee:1; 67862306a36Sopenharmony_ci uint64_t preempted:1; 67962306a36Sopenharmony_ci uint64_t active:1; 68062306a36Sopenharmony_ci uint64_t statc:1; 68162306a36Sopenharmony_ci uint64_t qos:3; 68262306a36Sopenharmony_ci uint64_t qcb_ridx:5; 68362306a36Sopenharmony_ci uint64_t qid_offmax:4; 68462306a36Sopenharmony_ci uint64_t qid_off:4; 68562306a36Sopenharmony_ci uint64_t qid_base:8; 68662306a36Sopenharmony_ci#else 68762306a36Sopenharmony_ci uint64_t qid_base:8; 68862306a36Sopenharmony_ci uint64_t qid_off:4; 68962306a36Sopenharmony_ci uint64_t qid_offmax:4; 69062306a36Sopenharmony_ci uint64_t qcb_ridx:5; 69162306a36Sopenharmony_ci uint64_t qos:3; 69262306a36Sopenharmony_ci uint64_t statc:1; 69362306a36Sopenharmony_ci uint64_t active:1; 69462306a36Sopenharmony_ci uint64_t preempted:1; 69562306a36Sopenharmony_ci uint64_t preemptee:1; 69662306a36Sopenharmony_ci uint64_t preempter:1; 69762306a36Sopenharmony_ci uint64_t qid_offths:4; 69862306a36Sopenharmony_ci uint64_t qid_offres:4; 69962306a36Sopenharmony_ci uint64_t reserved_37_63:27; 70062306a36Sopenharmony_ci#endif 70162306a36Sopenharmony_ci } cn52xx; 70262306a36Sopenharmony_ci}; 70362306a36Sopenharmony_ci 70462306a36Sopenharmony_ciunion cvmx_pko_mem_debug7 { 70562306a36Sopenharmony_ci uint64_t u64; 70662306a36Sopenharmony_ci struct cvmx_pko_mem_debug7_s { 70762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 70862306a36Sopenharmony_ci uint64_t reserved_0_63:64; 70962306a36Sopenharmony_ci#else 71062306a36Sopenharmony_ci uint64_t reserved_0_63:64; 71162306a36Sopenharmony_ci#endif 71262306a36Sopenharmony_ci } s; 71362306a36Sopenharmony_ci struct cvmx_pko_mem_debug7_cn30xx { 71462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 71562306a36Sopenharmony_ci uint64_t reserved_58_63:6; 71662306a36Sopenharmony_ci uint64_t dwb:9; 71762306a36Sopenharmony_ci uint64_t start:33; 71862306a36Sopenharmony_ci uint64_t size:16; 71962306a36Sopenharmony_ci#else 72062306a36Sopenharmony_ci uint64_t size:16; 72162306a36Sopenharmony_ci uint64_t start:33; 72262306a36Sopenharmony_ci uint64_t dwb:9; 72362306a36Sopenharmony_ci uint64_t reserved_58_63:6; 72462306a36Sopenharmony_ci#endif 72562306a36Sopenharmony_ci } cn30xx; 72662306a36Sopenharmony_ci struct cvmx_pko_mem_debug7_cn50xx { 72762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 72862306a36Sopenharmony_ci uint64_t qos:5; 72962306a36Sopenharmony_ci uint64_t tail:1; 73062306a36Sopenharmony_ci uint64_t buf_siz:13; 73162306a36Sopenharmony_ci uint64_t buf_ptr:33; 73262306a36Sopenharmony_ci uint64_t qcb_widx:6; 73362306a36Sopenharmony_ci uint64_t qcb_ridx:6; 73462306a36Sopenharmony_ci#else 73562306a36Sopenharmony_ci uint64_t qcb_ridx:6; 73662306a36Sopenharmony_ci uint64_t qcb_widx:6; 73762306a36Sopenharmony_ci uint64_t buf_ptr:33; 73862306a36Sopenharmony_ci uint64_t buf_siz:13; 73962306a36Sopenharmony_ci uint64_t tail:1; 74062306a36Sopenharmony_ci uint64_t qos:5; 74162306a36Sopenharmony_ci#endif 74262306a36Sopenharmony_ci } cn50xx; 74362306a36Sopenharmony_ci struct cvmx_pko_mem_debug7_cn68xx { 74462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 74562306a36Sopenharmony_ci uint64_t qos:3; 74662306a36Sopenharmony_ci uint64_t tail:1; 74762306a36Sopenharmony_ci uint64_t buf_siz:13; 74862306a36Sopenharmony_ci uint64_t buf_ptr:33; 74962306a36Sopenharmony_ci uint64_t qcb_widx:7; 75062306a36Sopenharmony_ci uint64_t qcb_ridx:7; 75162306a36Sopenharmony_ci#else 75262306a36Sopenharmony_ci uint64_t qcb_ridx:7; 75362306a36Sopenharmony_ci uint64_t qcb_widx:7; 75462306a36Sopenharmony_ci uint64_t buf_ptr:33; 75562306a36Sopenharmony_ci uint64_t buf_siz:13; 75662306a36Sopenharmony_ci uint64_t tail:1; 75762306a36Sopenharmony_ci uint64_t qos:3; 75862306a36Sopenharmony_ci#endif 75962306a36Sopenharmony_ci } cn68xx; 76062306a36Sopenharmony_ci}; 76162306a36Sopenharmony_ci 76262306a36Sopenharmony_ciunion cvmx_pko_mem_debug8 { 76362306a36Sopenharmony_ci uint64_t u64; 76462306a36Sopenharmony_ci struct cvmx_pko_mem_debug8_s { 76562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 76662306a36Sopenharmony_ci uint64_t reserved_59_63:5; 76762306a36Sopenharmony_ci uint64_t tail:1; 76862306a36Sopenharmony_ci uint64_t buf_siz:13; 76962306a36Sopenharmony_ci uint64_t reserved_0_44:45; 77062306a36Sopenharmony_ci#else 77162306a36Sopenharmony_ci uint64_t reserved_0_44:45; 77262306a36Sopenharmony_ci uint64_t buf_siz:13; 77362306a36Sopenharmony_ci uint64_t tail:1; 77462306a36Sopenharmony_ci uint64_t reserved_59_63:5; 77562306a36Sopenharmony_ci#endif 77662306a36Sopenharmony_ci } s; 77762306a36Sopenharmony_ci struct cvmx_pko_mem_debug8_cn30xx { 77862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 77962306a36Sopenharmony_ci uint64_t qos:5; 78062306a36Sopenharmony_ci uint64_t tail:1; 78162306a36Sopenharmony_ci uint64_t buf_siz:13; 78262306a36Sopenharmony_ci uint64_t buf_ptr:33; 78362306a36Sopenharmony_ci uint64_t qcb_widx:6; 78462306a36Sopenharmony_ci uint64_t qcb_ridx:6; 78562306a36Sopenharmony_ci#else 78662306a36Sopenharmony_ci uint64_t qcb_ridx:6; 78762306a36Sopenharmony_ci uint64_t qcb_widx:6; 78862306a36Sopenharmony_ci uint64_t buf_ptr:33; 78962306a36Sopenharmony_ci uint64_t buf_siz:13; 79062306a36Sopenharmony_ci uint64_t tail:1; 79162306a36Sopenharmony_ci uint64_t qos:5; 79262306a36Sopenharmony_ci#endif 79362306a36Sopenharmony_ci } cn30xx; 79462306a36Sopenharmony_ci struct cvmx_pko_mem_debug8_cn50xx { 79562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 79662306a36Sopenharmony_ci uint64_t reserved_28_63:36; 79762306a36Sopenharmony_ci uint64_t doorbell:20; 79862306a36Sopenharmony_ci uint64_t reserved_6_7:2; 79962306a36Sopenharmony_ci uint64_t static_p:1; 80062306a36Sopenharmony_ci uint64_t s_tail:1; 80162306a36Sopenharmony_ci uint64_t static_q:1; 80262306a36Sopenharmony_ci uint64_t qos:3; 80362306a36Sopenharmony_ci#else 80462306a36Sopenharmony_ci uint64_t qos:3; 80562306a36Sopenharmony_ci uint64_t static_q:1; 80662306a36Sopenharmony_ci uint64_t s_tail:1; 80762306a36Sopenharmony_ci uint64_t static_p:1; 80862306a36Sopenharmony_ci uint64_t reserved_6_7:2; 80962306a36Sopenharmony_ci uint64_t doorbell:20; 81062306a36Sopenharmony_ci uint64_t reserved_28_63:36; 81162306a36Sopenharmony_ci#endif 81262306a36Sopenharmony_ci } cn50xx; 81362306a36Sopenharmony_ci struct cvmx_pko_mem_debug8_cn52xx { 81462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 81562306a36Sopenharmony_ci uint64_t reserved_29_63:35; 81662306a36Sopenharmony_ci uint64_t preempter:1; 81762306a36Sopenharmony_ci uint64_t doorbell:20; 81862306a36Sopenharmony_ci uint64_t reserved_7_7:1; 81962306a36Sopenharmony_ci uint64_t preemptee:1; 82062306a36Sopenharmony_ci uint64_t static_p:1; 82162306a36Sopenharmony_ci uint64_t s_tail:1; 82262306a36Sopenharmony_ci uint64_t static_q:1; 82362306a36Sopenharmony_ci uint64_t qos:3; 82462306a36Sopenharmony_ci#else 82562306a36Sopenharmony_ci uint64_t qos:3; 82662306a36Sopenharmony_ci uint64_t static_q:1; 82762306a36Sopenharmony_ci uint64_t s_tail:1; 82862306a36Sopenharmony_ci uint64_t static_p:1; 82962306a36Sopenharmony_ci uint64_t preemptee:1; 83062306a36Sopenharmony_ci uint64_t reserved_7_7:1; 83162306a36Sopenharmony_ci uint64_t doorbell:20; 83262306a36Sopenharmony_ci uint64_t preempter:1; 83362306a36Sopenharmony_ci uint64_t reserved_29_63:35; 83462306a36Sopenharmony_ci#endif 83562306a36Sopenharmony_ci } cn52xx; 83662306a36Sopenharmony_ci struct cvmx_pko_mem_debug8_cn61xx { 83762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 83862306a36Sopenharmony_ci uint64_t reserved_42_63:22; 83962306a36Sopenharmony_ci uint64_t qid_qqos:8; 84062306a36Sopenharmony_ci uint64_t reserved_33_33:1; 84162306a36Sopenharmony_ci uint64_t qid_idx:4; 84262306a36Sopenharmony_ci uint64_t preempter:1; 84362306a36Sopenharmony_ci uint64_t doorbell:20; 84462306a36Sopenharmony_ci uint64_t reserved_7_7:1; 84562306a36Sopenharmony_ci uint64_t preemptee:1; 84662306a36Sopenharmony_ci uint64_t static_p:1; 84762306a36Sopenharmony_ci uint64_t s_tail:1; 84862306a36Sopenharmony_ci uint64_t static_q:1; 84962306a36Sopenharmony_ci uint64_t qos:3; 85062306a36Sopenharmony_ci#else 85162306a36Sopenharmony_ci uint64_t qos:3; 85262306a36Sopenharmony_ci uint64_t static_q:1; 85362306a36Sopenharmony_ci uint64_t s_tail:1; 85462306a36Sopenharmony_ci uint64_t static_p:1; 85562306a36Sopenharmony_ci uint64_t preemptee:1; 85662306a36Sopenharmony_ci uint64_t reserved_7_7:1; 85762306a36Sopenharmony_ci uint64_t doorbell:20; 85862306a36Sopenharmony_ci uint64_t preempter:1; 85962306a36Sopenharmony_ci uint64_t qid_idx:4; 86062306a36Sopenharmony_ci uint64_t reserved_33_33:1; 86162306a36Sopenharmony_ci uint64_t qid_qqos:8; 86262306a36Sopenharmony_ci uint64_t reserved_42_63:22; 86362306a36Sopenharmony_ci#endif 86462306a36Sopenharmony_ci } cn61xx; 86562306a36Sopenharmony_ci struct cvmx_pko_mem_debug8_cn68xx { 86662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 86762306a36Sopenharmony_ci uint64_t reserved_37_63:27; 86862306a36Sopenharmony_ci uint64_t preempter:1; 86962306a36Sopenharmony_ci uint64_t doorbell:20; 87062306a36Sopenharmony_ci uint64_t reserved_9_15:7; 87162306a36Sopenharmony_ci uint64_t preemptee:1; 87262306a36Sopenharmony_ci uint64_t static_p:1; 87362306a36Sopenharmony_ci uint64_t s_tail:1; 87462306a36Sopenharmony_ci uint64_t static_q:1; 87562306a36Sopenharmony_ci uint64_t qos:5; 87662306a36Sopenharmony_ci#else 87762306a36Sopenharmony_ci uint64_t qos:5; 87862306a36Sopenharmony_ci uint64_t static_q:1; 87962306a36Sopenharmony_ci uint64_t s_tail:1; 88062306a36Sopenharmony_ci uint64_t static_p:1; 88162306a36Sopenharmony_ci uint64_t preemptee:1; 88262306a36Sopenharmony_ci uint64_t reserved_9_15:7; 88362306a36Sopenharmony_ci uint64_t doorbell:20; 88462306a36Sopenharmony_ci uint64_t preempter:1; 88562306a36Sopenharmony_ci uint64_t reserved_37_63:27; 88662306a36Sopenharmony_ci#endif 88762306a36Sopenharmony_ci } cn68xx; 88862306a36Sopenharmony_ci}; 88962306a36Sopenharmony_ci 89062306a36Sopenharmony_ciunion cvmx_pko_mem_debug9 { 89162306a36Sopenharmony_ci uint64_t u64; 89262306a36Sopenharmony_ci struct cvmx_pko_mem_debug9_s { 89362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 89462306a36Sopenharmony_ci uint64_t reserved_49_63:15; 89562306a36Sopenharmony_ci uint64_t ptrs0:17; 89662306a36Sopenharmony_ci uint64_t reserved_0_31:32; 89762306a36Sopenharmony_ci#else 89862306a36Sopenharmony_ci uint64_t reserved_0_31:32; 89962306a36Sopenharmony_ci uint64_t ptrs0:17; 90062306a36Sopenharmony_ci uint64_t reserved_49_63:15; 90162306a36Sopenharmony_ci#endif 90262306a36Sopenharmony_ci } s; 90362306a36Sopenharmony_ci struct cvmx_pko_mem_debug9_cn30xx { 90462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 90562306a36Sopenharmony_ci uint64_t reserved_28_63:36; 90662306a36Sopenharmony_ci uint64_t doorbell:20; 90762306a36Sopenharmony_ci uint64_t reserved_5_7:3; 90862306a36Sopenharmony_ci uint64_t s_tail:1; 90962306a36Sopenharmony_ci uint64_t static_q:1; 91062306a36Sopenharmony_ci uint64_t qos:3; 91162306a36Sopenharmony_ci#else 91262306a36Sopenharmony_ci uint64_t qos:3; 91362306a36Sopenharmony_ci uint64_t static_q:1; 91462306a36Sopenharmony_ci uint64_t s_tail:1; 91562306a36Sopenharmony_ci uint64_t reserved_5_7:3; 91662306a36Sopenharmony_ci uint64_t doorbell:20; 91762306a36Sopenharmony_ci uint64_t reserved_28_63:36; 91862306a36Sopenharmony_ci#endif 91962306a36Sopenharmony_ci } cn30xx; 92062306a36Sopenharmony_ci struct cvmx_pko_mem_debug9_cn38xx { 92162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 92262306a36Sopenharmony_ci uint64_t reserved_28_63:36; 92362306a36Sopenharmony_ci uint64_t doorbell:20; 92462306a36Sopenharmony_ci uint64_t reserved_6_7:2; 92562306a36Sopenharmony_ci uint64_t static_p:1; 92662306a36Sopenharmony_ci uint64_t s_tail:1; 92762306a36Sopenharmony_ci uint64_t static_q:1; 92862306a36Sopenharmony_ci uint64_t qos:3; 92962306a36Sopenharmony_ci#else 93062306a36Sopenharmony_ci uint64_t qos:3; 93162306a36Sopenharmony_ci uint64_t static_q:1; 93262306a36Sopenharmony_ci uint64_t s_tail:1; 93362306a36Sopenharmony_ci uint64_t static_p:1; 93462306a36Sopenharmony_ci uint64_t reserved_6_7:2; 93562306a36Sopenharmony_ci uint64_t doorbell:20; 93662306a36Sopenharmony_ci uint64_t reserved_28_63:36; 93762306a36Sopenharmony_ci#endif 93862306a36Sopenharmony_ci } cn38xx; 93962306a36Sopenharmony_ci struct cvmx_pko_mem_debug9_cn50xx { 94062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 94162306a36Sopenharmony_ci uint64_t reserved_49_63:15; 94262306a36Sopenharmony_ci uint64_t ptrs0:17; 94362306a36Sopenharmony_ci uint64_t reserved_17_31:15; 94462306a36Sopenharmony_ci uint64_t ptrs3:17; 94562306a36Sopenharmony_ci#else 94662306a36Sopenharmony_ci uint64_t ptrs3:17; 94762306a36Sopenharmony_ci uint64_t reserved_17_31:15; 94862306a36Sopenharmony_ci uint64_t ptrs0:17; 94962306a36Sopenharmony_ci uint64_t reserved_49_63:15; 95062306a36Sopenharmony_ci#endif 95162306a36Sopenharmony_ci } cn50xx; 95262306a36Sopenharmony_ci}; 95362306a36Sopenharmony_ci 95462306a36Sopenharmony_ciunion cvmx_pko_mem_iport_ptrs { 95562306a36Sopenharmony_ci uint64_t u64; 95662306a36Sopenharmony_ci struct cvmx_pko_mem_iport_ptrs_s { 95762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 95862306a36Sopenharmony_ci uint64_t reserved_63_63:1; 95962306a36Sopenharmony_ci uint64_t crc:1; 96062306a36Sopenharmony_ci uint64_t static_p:1; 96162306a36Sopenharmony_ci uint64_t qos_mask:8; 96262306a36Sopenharmony_ci uint64_t min_pkt:3; 96362306a36Sopenharmony_ci uint64_t reserved_31_49:19; 96462306a36Sopenharmony_ci uint64_t pipe:7; 96562306a36Sopenharmony_ci uint64_t reserved_21_23:3; 96662306a36Sopenharmony_ci uint64_t intr:5; 96762306a36Sopenharmony_ci uint64_t reserved_13_15:3; 96862306a36Sopenharmony_ci uint64_t eid:5; 96962306a36Sopenharmony_ci uint64_t reserved_7_7:1; 97062306a36Sopenharmony_ci uint64_t ipid:7; 97162306a36Sopenharmony_ci#else 97262306a36Sopenharmony_ci uint64_t ipid:7; 97362306a36Sopenharmony_ci uint64_t reserved_7_7:1; 97462306a36Sopenharmony_ci uint64_t eid:5; 97562306a36Sopenharmony_ci uint64_t reserved_13_15:3; 97662306a36Sopenharmony_ci uint64_t intr:5; 97762306a36Sopenharmony_ci uint64_t reserved_21_23:3; 97862306a36Sopenharmony_ci uint64_t pipe:7; 97962306a36Sopenharmony_ci uint64_t reserved_31_49:19; 98062306a36Sopenharmony_ci uint64_t min_pkt:3; 98162306a36Sopenharmony_ci uint64_t qos_mask:8; 98262306a36Sopenharmony_ci uint64_t static_p:1; 98362306a36Sopenharmony_ci uint64_t crc:1; 98462306a36Sopenharmony_ci uint64_t reserved_63_63:1; 98562306a36Sopenharmony_ci#endif 98662306a36Sopenharmony_ci } s; 98762306a36Sopenharmony_ci}; 98862306a36Sopenharmony_ci 98962306a36Sopenharmony_ciunion cvmx_pko_mem_iport_qos { 99062306a36Sopenharmony_ci uint64_t u64; 99162306a36Sopenharmony_ci struct cvmx_pko_mem_iport_qos_s { 99262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 99362306a36Sopenharmony_ci uint64_t reserved_61_63:3; 99462306a36Sopenharmony_ci uint64_t qos_mask:8; 99562306a36Sopenharmony_ci uint64_t reserved_13_52:40; 99662306a36Sopenharmony_ci uint64_t eid:5; 99762306a36Sopenharmony_ci uint64_t reserved_7_7:1; 99862306a36Sopenharmony_ci uint64_t ipid:7; 99962306a36Sopenharmony_ci#else 100062306a36Sopenharmony_ci uint64_t ipid:7; 100162306a36Sopenharmony_ci uint64_t reserved_7_7:1; 100262306a36Sopenharmony_ci uint64_t eid:5; 100362306a36Sopenharmony_ci uint64_t reserved_13_52:40; 100462306a36Sopenharmony_ci uint64_t qos_mask:8; 100562306a36Sopenharmony_ci uint64_t reserved_61_63:3; 100662306a36Sopenharmony_ci#endif 100762306a36Sopenharmony_ci } s; 100862306a36Sopenharmony_ci}; 100962306a36Sopenharmony_ci 101062306a36Sopenharmony_ciunion cvmx_pko_mem_iqueue_ptrs { 101162306a36Sopenharmony_ci uint64_t u64; 101262306a36Sopenharmony_ci struct cvmx_pko_mem_iqueue_ptrs_s { 101362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 101462306a36Sopenharmony_ci uint64_t s_tail:1; 101562306a36Sopenharmony_ci uint64_t static_p:1; 101662306a36Sopenharmony_ci uint64_t static_q:1; 101762306a36Sopenharmony_ci uint64_t qos_mask:8; 101862306a36Sopenharmony_ci uint64_t buf_ptr:31; 101962306a36Sopenharmony_ci uint64_t tail:1; 102062306a36Sopenharmony_ci uint64_t index:5; 102162306a36Sopenharmony_ci uint64_t reserved_15_15:1; 102262306a36Sopenharmony_ci uint64_t ipid:7; 102362306a36Sopenharmony_ci uint64_t qid:8; 102462306a36Sopenharmony_ci#else 102562306a36Sopenharmony_ci uint64_t qid:8; 102662306a36Sopenharmony_ci uint64_t ipid:7; 102762306a36Sopenharmony_ci uint64_t reserved_15_15:1; 102862306a36Sopenharmony_ci uint64_t index:5; 102962306a36Sopenharmony_ci uint64_t tail:1; 103062306a36Sopenharmony_ci uint64_t buf_ptr:31; 103162306a36Sopenharmony_ci uint64_t qos_mask:8; 103262306a36Sopenharmony_ci uint64_t static_q:1; 103362306a36Sopenharmony_ci uint64_t static_p:1; 103462306a36Sopenharmony_ci uint64_t s_tail:1; 103562306a36Sopenharmony_ci#endif 103662306a36Sopenharmony_ci } s; 103762306a36Sopenharmony_ci}; 103862306a36Sopenharmony_ci 103962306a36Sopenharmony_ciunion cvmx_pko_mem_iqueue_qos { 104062306a36Sopenharmony_ci uint64_t u64; 104162306a36Sopenharmony_ci struct cvmx_pko_mem_iqueue_qos_s { 104262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 104362306a36Sopenharmony_ci uint64_t reserved_61_63:3; 104462306a36Sopenharmony_ci uint64_t qos_mask:8; 104562306a36Sopenharmony_ci uint64_t reserved_15_52:38; 104662306a36Sopenharmony_ci uint64_t ipid:7; 104762306a36Sopenharmony_ci uint64_t qid:8; 104862306a36Sopenharmony_ci#else 104962306a36Sopenharmony_ci uint64_t qid:8; 105062306a36Sopenharmony_ci uint64_t ipid:7; 105162306a36Sopenharmony_ci uint64_t reserved_15_52:38; 105262306a36Sopenharmony_ci uint64_t qos_mask:8; 105362306a36Sopenharmony_ci uint64_t reserved_61_63:3; 105462306a36Sopenharmony_ci#endif 105562306a36Sopenharmony_ci } s; 105662306a36Sopenharmony_ci}; 105762306a36Sopenharmony_ci 105862306a36Sopenharmony_ciunion cvmx_pko_mem_port_ptrs { 105962306a36Sopenharmony_ci uint64_t u64; 106062306a36Sopenharmony_ci struct cvmx_pko_mem_port_ptrs_s { 106162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 106262306a36Sopenharmony_ci uint64_t reserved_62_63:2; 106362306a36Sopenharmony_ci uint64_t static_p:1; 106462306a36Sopenharmony_ci uint64_t qos_mask:8; 106562306a36Sopenharmony_ci uint64_t reserved_16_52:37; 106662306a36Sopenharmony_ci uint64_t bp_port:6; 106762306a36Sopenharmony_ci uint64_t eid:4; 106862306a36Sopenharmony_ci uint64_t pid:6; 106962306a36Sopenharmony_ci#else 107062306a36Sopenharmony_ci uint64_t pid:6; 107162306a36Sopenharmony_ci uint64_t eid:4; 107262306a36Sopenharmony_ci uint64_t bp_port:6; 107362306a36Sopenharmony_ci uint64_t reserved_16_52:37; 107462306a36Sopenharmony_ci uint64_t qos_mask:8; 107562306a36Sopenharmony_ci uint64_t static_p:1; 107662306a36Sopenharmony_ci uint64_t reserved_62_63:2; 107762306a36Sopenharmony_ci#endif 107862306a36Sopenharmony_ci } s; 107962306a36Sopenharmony_ci}; 108062306a36Sopenharmony_ci 108162306a36Sopenharmony_ciunion cvmx_pko_mem_port_qos { 108262306a36Sopenharmony_ci uint64_t u64; 108362306a36Sopenharmony_ci struct cvmx_pko_mem_port_qos_s { 108462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 108562306a36Sopenharmony_ci uint64_t reserved_61_63:3; 108662306a36Sopenharmony_ci uint64_t qos_mask:8; 108762306a36Sopenharmony_ci uint64_t reserved_10_52:43; 108862306a36Sopenharmony_ci uint64_t eid:4; 108962306a36Sopenharmony_ci uint64_t pid:6; 109062306a36Sopenharmony_ci#else 109162306a36Sopenharmony_ci uint64_t pid:6; 109262306a36Sopenharmony_ci uint64_t eid:4; 109362306a36Sopenharmony_ci uint64_t reserved_10_52:43; 109462306a36Sopenharmony_ci uint64_t qos_mask:8; 109562306a36Sopenharmony_ci uint64_t reserved_61_63:3; 109662306a36Sopenharmony_ci#endif 109762306a36Sopenharmony_ci } s; 109862306a36Sopenharmony_ci}; 109962306a36Sopenharmony_ci 110062306a36Sopenharmony_ciunion cvmx_pko_mem_port_rate0 { 110162306a36Sopenharmony_ci uint64_t u64; 110262306a36Sopenharmony_ci struct cvmx_pko_mem_port_rate0_s { 110362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 110462306a36Sopenharmony_ci uint64_t reserved_51_63:13; 110562306a36Sopenharmony_ci uint64_t rate_word:19; 110662306a36Sopenharmony_ci uint64_t rate_pkt:24; 110762306a36Sopenharmony_ci uint64_t reserved_7_7:1; 110862306a36Sopenharmony_ci uint64_t pid:7; 110962306a36Sopenharmony_ci#else 111062306a36Sopenharmony_ci uint64_t pid:7; 111162306a36Sopenharmony_ci uint64_t reserved_7_7:1; 111262306a36Sopenharmony_ci uint64_t rate_pkt:24; 111362306a36Sopenharmony_ci uint64_t rate_word:19; 111462306a36Sopenharmony_ci uint64_t reserved_51_63:13; 111562306a36Sopenharmony_ci#endif 111662306a36Sopenharmony_ci } s; 111762306a36Sopenharmony_ci struct cvmx_pko_mem_port_rate0_cn52xx { 111862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 111962306a36Sopenharmony_ci uint64_t reserved_51_63:13; 112062306a36Sopenharmony_ci uint64_t rate_word:19; 112162306a36Sopenharmony_ci uint64_t rate_pkt:24; 112262306a36Sopenharmony_ci uint64_t reserved_6_7:2; 112362306a36Sopenharmony_ci uint64_t pid:6; 112462306a36Sopenharmony_ci#else 112562306a36Sopenharmony_ci uint64_t pid:6; 112662306a36Sopenharmony_ci uint64_t reserved_6_7:2; 112762306a36Sopenharmony_ci uint64_t rate_pkt:24; 112862306a36Sopenharmony_ci uint64_t rate_word:19; 112962306a36Sopenharmony_ci uint64_t reserved_51_63:13; 113062306a36Sopenharmony_ci#endif 113162306a36Sopenharmony_ci } cn52xx; 113262306a36Sopenharmony_ci}; 113362306a36Sopenharmony_ci 113462306a36Sopenharmony_ciunion cvmx_pko_mem_port_rate1 { 113562306a36Sopenharmony_ci uint64_t u64; 113662306a36Sopenharmony_ci struct cvmx_pko_mem_port_rate1_s { 113762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 113862306a36Sopenharmony_ci uint64_t reserved_32_63:32; 113962306a36Sopenharmony_ci uint64_t rate_lim:24; 114062306a36Sopenharmony_ci uint64_t reserved_7_7:1; 114162306a36Sopenharmony_ci uint64_t pid:7; 114262306a36Sopenharmony_ci#else 114362306a36Sopenharmony_ci uint64_t pid:7; 114462306a36Sopenharmony_ci uint64_t reserved_7_7:1; 114562306a36Sopenharmony_ci uint64_t rate_lim:24; 114662306a36Sopenharmony_ci uint64_t reserved_32_63:32; 114762306a36Sopenharmony_ci#endif 114862306a36Sopenharmony_ci } s; 114962306a36Sopenharmony_ci struct cvmx_pko_mem_port_rate1_cn52xx { 115062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 115162306a36Sopenharmony_ci uint64_t reserved_32_63:32; 115262306a36Sopenharmony_ci uint64_t rate_lim:24; 115362306a36Sopenharmony_ci uint64_t reserved_6_7:2; 115462306a36Sopenharmony_ci uint64_t pid:6; 115562306a36Sopenharmony_ci#else 115662306a36Sopenharmony_ci uint64_t pid:6; 115762306a36Sopenharmony_ci uint64_t reserved_6_7:2; 115862306a36Sopenharmony_ci uint64_t rate_lim:24; 115962306a36Sopenharmony_ci uint64_t reserved_32_63:32; 116062306a36Sopenharmony_ci#endif 116162306a36Sopenharmony_ci } cn52xx; 116262306a36Sopenharmony_ci}; 116362306a36Sopenharmony_ci 116462306a36Sopenharmony_ciunion cvmx_pko_mem_queue_ptrs { 116562306a36Sopenharmony_ci uint64_t u64; 116662306a36Sopenharmony_ci struct cvmx_pko_mem_queue_ptrs_s { 116762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 116862306a36Sopenharmony_ci uint64_t s_tail:1; 116962306a36Sopenharmony_ci uint64_t static_p:1; 117062306a36Sopenharmony_ci uint64_t static_q:1; 117162306a36Sopenharmony_ci uint64_t qos_mask:8; 117262306a36Sopenharmony_ci uint64_t buf_ptr:36; 117362306a36Sopenharmony_ci uint64_t tail:1; 117462306a36Sopenharmony_ci uint64_t index:3; 117562306a36Sopenharmony_ci uint64_t port:6; 117662306a36Sopenharmony_ci uint64_t queue:7; 117762306a36Sopenharmony_ci#else 117862306a36Sopenharmony_ci uint64_t queue:7; 117962306a36Sopenharmony_ci uint64_t port:6; 118062306a36Sopenharmony_ci uint64_t index:3; 118162306a36Sopenharmony_ci uint64_t tail:1; 118262306a36Sopenharmony_ci uint64_t buf_ptr:36; 118362306a36Sopenharmony_ci uint64_t qos_mask:8; 118462306a36Sopenharmony_ci uint64_t static_q:1; 118562306a36Sopenharmony_ci uint64_t static_p:1; 118662306a36Sopenharmony_ci uint64_t s_tail:1; 118762306a36Sopenharmony_ci#endif 118862306a36Sopenharmony_ci } s; 118962306a36Sopenharmony_ci}; 119062306a36Sopenharmony_ci 119162306a36Sopenharmony_ciunion cvmx_pko_mem_queue_qos { 119262306a36Sopenharmony_ci uint64_t u64; 119362306a36Sopenharmony_ci struct cvmx_pko_mem_queue_qos_s { 119462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 119562306a36Sopenharmony_ci uint64_t reserved_61_63:3; 119662306a36Sopenharmony_ci uint64_t qos_mask:8; 119762306a36Sopenharmony_ci uint64_t reserved_13_52:40; 119862306a36Sopenharmony_ci uint64_t pid:6; 119962306a36Sopenharmony_ci uint64_t qid:7; 120062306a36Sopenharmony_ci#else 120162306a36Sopenharmony_ci uint64_t qid:7; 120262306a36Sopenharmony_ci uint64_t pid:6; 120362306a36Sopenharmony_ci uint64_t reserved_13_52:40; 120462306a36Sopenharmony_ci uint64_t qos_mask:8; 120562306a36Sopenharmony_ci uint64_t reserved_61_63:3; 120662306a36Sopenharmony_ci#endif 120762306a36Sopenharmony_ci } s; 120862306a36Sopenharmony_ci}; 120962306a36Sopenharmony_ci 121062306a36Sopenharmony_ciunion cvmx_pko_mem_throttle_int { 121162306a36Sopenharmony_ci uint64_t u64; 121262306a36Sopenharmony_ci struct cvmx_pko_mem_throttle_int_s { 121362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 121462306a36Sopenharmony_ci uint64_t reserved_47_63:17; 121562306a36Sopenharmony_ci uint64_t word:15; 121662306a36Sopenharmony_ci uint64_t reserved_14_31:18; 121762306a36Sopenharmony_ci uint64_t packet:6; 121862306a36Sopenharmony_ci uint64_t reserved_5_7:3; 121962306a36Sopenharmony_ci uint64_t intr:5; 122062306a36Sopenharmony_ci#else 122162306a36Sopenharmony_ci uint64_t intr:5; 122262306a36Sopenharmony_ci uint64_t reserved_5_7:3; 122362306a36Sopenharmony_ci uint64_t packet:6; 122462306a36Sopenharmony_ci uint64_t reserved_14_31:18; 122562306a36Sopenharmony_ci uint64_t word:15; 122662306a36Sopenharmony_ci uint64_t reserved_47_63:17; 122762306a36Sopenharmony_ci#endif 122862306a36Sopenharmony_ci } s; 122962306a36Sopenharmony_ci}; 123062306a36Sopenharmony_ci 123162306a36Sopenharmony_ciunion cvmx_pko_mem_throttle_pipe { 123262306a36Sopenharmony_ci uint64_t u64; 123362306a36Sopenharmony_ci struct cvmx_pko_mem_throttle_pipe_s { 123462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 123562306a36Sopenharmony_ci uint64_t reserved_47_63:17; 123662306a36Sopenharmony_ci uint64_t word:15; 123762306a36Sopenharmony_ci uint64_t reserved_14_31:18; 123862306a36Sopenharmony_ci uint64_t packet:6; 123962306a36Sopenharmony_ci uint64_t reserved_7_7:1; 124062306a36Sopenharmony_ci uint64_t pipe:7; 124162306a36Sopenharmony_ci#else 124262306a36Sopenharmony_ci uint64_t pipe:7; 124362306a36Sopenharmony_ci uint64_t reserved_7_7:1; 124462306a36Sopenharmony_ci uint64_t packet:6; 124562306a36Sopenharmony_ci uint64_t reserved_14_31:18; 124662306a36Sopenharmony_ci uint64_t word:15; 124762306a36Sopenharmony_ci uint64_t reserved_47_63:17; 124862306a36Sopenharmony_ci#endif 124962306a36Sopenharmony_ci } s; 125062306a36Sopenharmony_ci}; 125162306a36Sopenharmony_ci 125262306a36Sopenharmony_ciunion cvmx_pko_reg_bist_result { 125362306a36Sopenharmony_ci uint64_t u64; 125462306a36Sopenharmony_ci struct cvmx_pko_reg_bist_result_s { 125562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 125662306a36Sopenharmony_ci uint64_t reserved_0_63:64; 125762306a36Sopenharmony_ci#else 125862306a36Sopenharmony_ci uint64_t reserved_0_63:64; 125962306a36Sopenharmony_ci#endif 126062306a36Sopenharmony_ci } s; 126162306a36Sopenharmony_ci struct cvmx_pko_reg_bist_result_cn30xx { 126262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 126362306a36Sopenharmony_ci uint64_t reserved_27_63:37; 126462306a36Sopenharmony_ci uint64_t psb2:5; 126562306a36Sopenharmony_ci uint64_t count:1; 126662306a36Sopenharmony_ci uint64_t rif:1; 126762306a36Sopenharmony_ci uint64_t wif:1; 126862306a36Sopenharmony_ci uint64_t ncb:1; 126962306a36Sopenharmony_ci uint64_t out:1; 127062306a36Sopenharmony_ci uint64_t crc:1; 127162306a36Sopenharmony_ci uint64_t chk:1; 127262306a36Sopenharmony_ci uint64_t qsb:2; 127362306a36Sopenharmony_ci uint64_t qcb:2; 127462306a36Sopenharmony_ci uint64_t pdb:4; 127562306a36Sopenharmony_ci uint64_t psb:7; 127662306a36Sopenharmony_ci#else 127762306a36Sopenharmony_ci uint64_t psb:7; 127862306a36Sopenharmony_ci uint64_t pdb:4; 127962306a36Sopenharmony_ci uint64_t qcb:2; 128062306a36Sopenharmony_ci uint64_t qsb:2; 128162306a36Sopenharmony_ci uint64_t chk:1; 128262306a36Sopenharmony_ci uint64_t crc:1; 128362306a36Sopenharmony_ci uint64_t out:1; 128462306a36Sopenharmony_ci uint64_t ncb:1; 128562306a36Sopenharmony_ci uint64_t wif:1; 128662306a36Sopenharmony_ci uint64_t rif:1; 128762306a36Sopenharmony_ci uint64_t count:1; 128862306a36Sopenharmony_ci uint64_t psb2:5; 128962306a36Sopenharmony_ci uint64_t reserved_27_63:37; 129062306a36Sopenharmony_ci#endif 129162306a36Sopenharmony_ci } cn30xx; 129262306a36Sopenharmony_ci struct cvmx_pko_reg_bist_result_cn50xx { 129362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 129462306a36Sopenharmony_ci uint64_t reserved_33_63:31; 129562306a36Sopenharmony_ci uint64_t csr:1; 129662306a36Sopenharmony_ci uint64_t iob:1; 129762306a36Sopenharmony_ci uint64_t out_crc:1; 129862306a36Sopenharmony_ci uint64_t out_ctl:3; 129962306a36Sopenharmony_ci uint64_t out_sta:1; 130062306a36Sopenharmony_ci uint64_t out_wif:1; 130162306a36Sopenharmony_ci uint64_t prt_chk:3; 130262306a36Sopenharmony_ci uint64_t prt_nxt:1; 130362306a36Sopenharmony_ci uint64_t prt_psb:6; 130462306a36Sopenharmony_ci uint64_t ncb_inb:2; 130562306a36Sopenharmony_ci uint64_t prt_qcb:2; 130662306a36Sopenharmony_ci uint64_t prt_qsb:3; 130762306a36Sopenharmony_ci uint64_t dat_dat:4; 130862306a36Sopenharmony_ci uint64_t dat_ptr:4; 130962306a36Sopenharmony_ci#else 131062306a36Sopenharmony_ci uint64_t dat_ptr:4; 131162306a36Sopenharmony_ci uint64_t dat_dat:4; 131262306a36Sopenharmony_ci uint64_t prt_qsb:3; 131362306a36Sopenharmony_ci uint64_t prt_qcb:2; 131462306a36Sopenharmony_ci uint64_t ncb_inb:2; 131562306a36Sopenharmony_ci uint64_t prt_psb:6; 131662306a36Sopenharmony_ci uint64_t prt_nxt:1; 131762306a36Sopenharmony_ci uint64_t prt_chk:3; 131862306a36Sopenharmony_ci uint64_t out_wif:1; 131962306a36Sopenharmony_ci uint64_t out_sta:1; 132062306a36Sopenharmony_ci uint64_t out_ctl:3; 132162306a36Sopenharmony_ci uint64_t out_crc:1; 132262306a36Sopenharmony_ci uint64_t iob:1; 132362306a36Sopenharmony_ci uint64_t csr:1; 132462306a36Sopenharmony_ci uint64_t reserved_33_63:31; 132562306a36Sopenharmony_ci#endif 132662306a36Sopenharmony_ci } cn50xx; 132762306a36Sopenharmony_ci struct cvmx_pko_reg_bist_result_cn52xx { 132862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 132962306a36Sopenharmony_ci uint64_t reserved_35_63:29; 133062306a36Sopenharmony_ci uint64_t csr:1; 133162306a36Sopenharmony_ci uint64_t iob:1; 133262306a36Sopenharmony_ci uint64_t out_dat:1; 133362306a36Sopenharmony_ci uint64_t out_ctl:3; 133462306a36Sopenharmony_ci uint64_t out_sta:1; 133562306a36Sopenharmony_ci uint64_t out_wif:1; 133662306a36Sopenharmony_ci uint64_t prt_chk:3; 133762306a36Sopenharmony_ci uint64_t prt_nxt:1; 133862306a36Sopenharmony_ci uint64_t prt_psb:8; 133962306a36Sopenharmony_ci uint64_t ncb_inb:2; 134062306a36Sopenharmony_ci uint64_t prt_qcb:2; 134162306a36Sopenharmony_ci uint64_t prt_qsb:3; 134262306a36Sopenharmony_ci uint64_t prt_ctl:2; 134362306a36Sopenharmony_ci uint64_t dat_dat:2; 134462306a36Sopenharmony_ci uint64_t dat_ptr:4; 134562306a36Sopenharmony_ci#else 134662306a36Sopenharmony_ci uint64_t dat_ptr:4; 134762306a36Sopenharmony_ci uint64_t dat_dat:2; 134862306a36Sopenharmony_ci uint64_t prt_ctl:2; 134962306a36Sopenharmony_ci uint64_t prt_qsb:3; 135062306a36Sopenharmony_ci uint64_t prt_qcb:2; 135162306a36Sopenharmony_ci uint64_t ncb_inb:2; 135262306a36Sopenharmony_ci uint64_t prt_psb:8; 135362306a36Sopenharmony_ci uint64_t prt_nxt:1; 135462306a36Sopenharmony_ci uint64_t prt_chk:3; 135562306a36Sopenharmony_ci uint64_t out_wif:1; 135662306a36Sopenharmony_ci uint64_t out_sta:1; 135762306a36Sopenharmony_ci uint64_t out_ctl:3; 135862306a36Sopenharmony_ci uint64_t out_dat:1; 135962306a36Sopenharmony_ci uint64_t iob:1; 136062306a36Sopenharmony_ci uint64_t csr:1; 136162306a36Sopenharmony_ci uint64_t reserved_35_63:29; 136262306a36Sopenharmony_ci#endif 136362306a36Sopenharmony_ci } cn52xx; 136462306a36Sopenharmony_ci struct cvmx_pko_reg_bist_result_cn68xx { 136562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 136662306a36Sopenharmony_ci uint64_t reserved_36_63:28; 136762306a36Sopenharmony_ci uint64_t crc:1; 136862306a36Sopenharmony_ci uint64_t csr:1; 136962306a36Sopenharmony_ci uint64_t iob:1; 137062306a36Sopenharmony_ci uint64_t out_dat:1; 137162306a36Sopenharmony_ci uint64_t reserved_31_31:1; 137262306a36Sopenharmony_ci uint64_t out_ctl:2; 137362306a36Sopenharmony_ci uint64_t out_sta:1; 137462306a36Sopenharmony_ci uint64_t out_wif:1; 137562306a36Sopenharmony_ci uint64_t prt_chk:3; 137662306a36Sopenharmony_ci uint64_t prt_nxt:1; 137762306a36Sopenharmony_ci uint64_t prt_psb7:1; 137862306a36Sopenharmony_ci uint64_t reserved_21_21:1; 137962306a36Sopenharmony_ci uint64_t prt_psb:6; 138062306a36Sopenharmony_ci uint64_t ncb_inb:2; 138162306a36Sopenharmony_ci uint64_t prt_qcb:2; 138262306a36Sopenharmony_ci uint64_t prt_qsb:3; 138362306a36Sopenharmony_ci uint64_t prt_ctl:2; 138462306a36Sopenharmony_ci uint64_t dat_dat:2; 138562306a36Sopenharmony_ci uint64_t dat_ptr:4; 138662306a36Sopenharmony_ci#else 138762306a36Sopenharmony_ci uint64_t dat_ptr:4; 138862306a36Sopenharmony_ci uint64_t dat_dat:2; 138962306a36Sopenharmony_ci uint64_t prt_ctl:2; 139062306a36Sopenharmony_ci uint64_t prt_qsb:3; 139162306a36Sopenharmony_ci uint64_t prt_qcb:2; 139262306a36Sopenharmony_ci uint64_t ncb_inb:2; 139362306a36Sopenharmony_ci uint64_t prt_psb:6; 139462306a36Sopenharmony_ci uint64_t reserved_21_21:1; 139562306a36Sopenharmony_ci uint64_t prt_psb7:1; 139662306a36Sopenharmony_ci uint64_t prt_nxt:1; 139762306a36Sopenharmony_ci uint64_t prt_chk:3; 139862306a36Sopenharmony_ci uint64_t out_wif:1; 139962306a36Sopenharmony_ci uint64_t out_sta:1; 140062306a36Sopenharmony_ci uint64_t out_ctl:2; 140162306a36Sopenharmony_ci uint64_t reserved_31_31:1; 140262306a36Sopenharmony_ci uint64_t out_dat:1; 140362306a36Sopenharmony_ci uint64_t iob:1; 140462306a36Sopenharmony_ci uint64_t csr:1; 140562306a36Sopenharmony_ci uint64_t crc:1; 140662306a36Sopenharmony_ci uint64_t reserved_36_63:28; 140762306a36Sopenharmony_ci#endif 140862306a36Sopenharmony_ci } cn68xx; 140962306a36Sopenharmony_ci struct cvmx_pko_reg_bist_result_cn68xxp1 { 141062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 141162306a36Sopenharmony_ci uint64_t reserved_35_63:29; 141262306a36Sopenharmony_ci uint64_t csr:1; 141362306a36Sopenharmony_ci uint64_t iob:1; 141462306a36Sopenharmony_ci uint64_t out_dat:1; 141562306a36Sopenharmony_ci uint64_t reserved_31_31:1; 141662306a36Sopenharmony_ci uint64_t out_ctl:2; 141762306a36Sopenharmony_ci uint64_t out_sta:1; 141862306a36Sopenharmony_ci uint64_t out_wif:1; 141962306a36Sopenharmony_ci uint64_t prt_chk:3; 142062306a36Sopenharmony_ci uint64_t prt_nxt:1; 142162306a36Sopenharmony_ci uint64_t prt_psb7:1; 142262306a36Sopenharmony_ci uint64_t reserved_21_21:1; 142362306a36Sopenharmony_ci uint64_t prt_psb:6; 142462306a36Sopenharmony_ci uint64_t ncb_inb:2; 142562306a36Sopenharmony_ci uint64_t prt_qcb:2; 142662306a36Sopenharmony_ci uint64_t prt_qsb:3; 142762306a36Sopenharmony_ci uint64_t prt_ctl:2; 142862306a36Sopenharmony_ci uint64_t dat_dat:2; 142962306a36Sopenharmony_ci uint64_t dat_ptr:4; 143062306a36Sopenharmony_ci#else 143162306a36Sopenharmony_ci uint64_t dat_ptr:4; 143262306a36Sopenharmony_ci uint64_t dat_dat:2; 143362306a36Sopenharmony_ci uint64_t prt_ctl:2; 143462306a36Sopenharmony_ci uint64_t prt_qsb:3; 143562306a36Sopenharmony_ci uint64_t prt_qcb:2; 143662306a36Sopenharmony_ci uint64_t ncb_inb:2; 143762306a36Sopenharmony_ci uint64_t prt_psb:6; 143862306a36Sopenharmony_ci uint64_t reserved_21_21:1; 143962306a36Sopenharmony_ci uint64_t prt_psb7:1; 144062306a36Sopenharmony_ci uint64_t prt_nxt:1; 144162306a36Sopenharmony_ci uint64_t prt_chk:3; 144262306a36Sopenharmony_ci uint64_t out_wif:1; 144362306a36Sopenharmony_ci uint64_t out_sta:1; 144462306a36Sopenharmony_ci uint64_t out_ctl:2; 144562306a36Sopenharmony_ci uint64_t reserved_31_31:1; 144662306a36Sopenharmony_ci uint64_t out_dat:1; 144762306a36Sopenharmony_ci uint64_t iob:1; 144862306a36Sopenharmony_ci uint64_t csr:1; 144962306a36Sopenharmony_ci uint64_t reserved_35_63:29; 145062306a36Sopenharmony_ci#endif 145162306a36Sopenharmony_ci } cn68xxp1; 145262306a36Sopenharmony_ci}; 145362306a36Sopenharmony_ci 145462306a36Sopenharmony_ciunion cvmx_pko_reg_cmd_buf { 145562306a36Sopenharmony_ci uint64_t u64; 145662306a36Sopenharmony_ci struct cvmx_pko_reg_cmd_buf_s { 145762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 145862306a36Sopenharmony_ci uint64_t reserved_23_63:41; 145962306a36Sopenharmony_ci uint64_t pool:3; 146062306a36Sopenharmony_ci uint64_t reserved_13_19:7; 146162306a36Sopenharmony_ci uint64_t size:13; 146262306a36Sopenharmony_ci#else 146362306a36Sopenharmony_ci uint64_t size:13; 146462306a36Sopenharmony_ci uint64_t reserved_13_19:7; 146562306a36Sopenharmony_ci uint64_t pool:3; 146662306a36Sopenharmony_ci uint64_t reserved_23_63:41; 146762306a36Sopenharmony_ci#endif 146862306a36Sopenharmony_ci } s; 146962306a36Sopenharmony_ci}; 147062306a36Sopenharmony_ci 147162306a36Sopenharmony_ciunion cvmx_pko_reg_crc_ctlx { 147262306a36Sopenharmony_ci uint64_t u64; 147362306a36Sopenharmony_ci struct cvmx_pko_reg_crc_ctlx_s { 147462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 147562306a36Sopenharmony_ci uint64_t reserved_2_63:62; 147662306a36Sopenharmony_ci uint64_t invres:1; 147762306a36Sopenharmony_ci uint64_t refin:1; 147862306a36Sopenharmony_ci#else 147962306a36Sopenharmony_ci uint64_t refin:1; 148062306a36Sopenharmony_ci uint64_t invres:1; 148162306a36Sopenharmony_ci uint64_t reserved_2_63:62; 148262306a36Sopenharmony_ci#endif 148362306a36Sopenharmony_ci } s; 148462306a36Sopenharmony_ci}; 148562306a36Sopenharmony_ci 148662306a36Sopenharmony_ciunion cvmx_pko_reg_crc_enable { 148762306a36Sopenharmony_ci uint64_t u64; 148862306a36Sopenharmony_ci struct cvmx_pko_reg_crc_enable_s { 148962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 149062306a36Sopenharmony_ci uint64_t reserved_32_63:32; 149162306a36Sopenharmony_ci uint64_t enable:32; 149262306a36Sopenharmony_ci#else 149362306a36Sopenharmony_ci uint64_t enable:32; 149462306a36Sopenharmony_ci uint64_t reserved_32_63:32; 149562306a36Sopenharmony_ci#endif 149662306a36Sopenharmony_ci } s; 149762306a36Sopenharmony_ci}; 149862306a36Sopenharmony_ci 149962306a36Sopenharmony_ciunion cvmx_pko_reg_crc_ivx { 150062306a36Sopenharmony_ci uint64_t u64; 150162306a36Sopenharmony_ci struct cvmx_pko_reg_crc_ivx_s { 150262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 150362306a36Sopenharmony_ci uint64_t reserved_32_63:32; 150462306a36Sopenharmony_ci uint64_t iv:32; 150562306a36Sopenharmony_ci#else 150662306a36Sopenharmony_ci uint64_t iv:32; 150762306a36Sopenharmony_ci uint64_t reserved_32_63:32; 150862306a36Sopenharmony_ci#endif 150962306a36Sopenharmony_ci } s; 151062306a36Sopenharmony_ci}; 151162306a36Sopenharmony_ci 151262306a36Sopenharmony_ciunion cvmx_pko_reg_debug0 { 151362306a36Sopenharmony_ci uint64_t u64; 151462306a36Sopenharmony_ci struct cvmx_pko_reg_debug0_s { 151562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 151662306a36Sopenharmony_ci uint64_t asserts:64; 151762306a36Sopenharmony_ci#else 151862306a36Sopenharmony_ci uint64_t asserts:64; 151962306a36Sopenharmony_ci#endif 152062306a36Sopenharmony_ci } s; 152162306a36Sopenharmony_ci struct cvmx_pko_reg_debug0_cn30xx { 152262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 152362306a36Sopenharmony_ci uint64_t reserved_17_63:47; 152462306a36Sopenharmony_ci uint64_t asserts:17; 152562306a36Sopenharmony_ci#else 152662306a36Sopenharmony_ci uint64_t asserts:17; 152762306a36Sopenharmony_ci uint64_t reserved_17_63:47; 152862306a36Sopenharmony_ci#endif 152962306a36Sopenharmony_ci } cn30xx; 153062306a36Sopenharmony_ci}; 153162306a36Sopenharmony_ci 153262306a36Sopenharmony_ciunion cvmx_pko_reg_debug1 { 153362306a36Sopenharmony_ci uint64_t u64; 153462306a36Sopenharmony_ci struct cvmx_pko_reg_debug1_s { 153562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 153662306a36Sopenharmony_ci uint64_t asserts:64; 153762306a36Sopenharmony_ci#else 153862306a36Sopenharmony_ci uint64_t asserts:64; 153962306a36Sopenharmony_ci#endif 154062306a36Sopenharmony_ci } s; 154162306a36Sopenharmony_ci}; 154262306a36Sopenharmony_ci 154362306a36Sopenharmony_ciunion cvmx_pko_reg_debug2 { 154462306a36Sopenharmony_ci uint64_t u64; 154562306a36Sopenharmony_ci struct cvmx_pko_reg_debug2_s { 154662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 154762306a36Sopenharmony_ci uint64_t asserts:64; 154862306a36Sopenharmony_ci#else 154962306a36Sopenharmony_ci uint64_t asserts:64; 155062306a36Sopenharmony_ci#endif 155162306a36Sopenharmony_ci } s; 155262306a36Sopenharmony_ci}; 155362306a36Sopenharmony_ci 155462306a36Sopenharmony_ciunion cvmx_pko_reg_debug3 { 155562306a36Sopenharmony_ci uint64_t u64; 155662306a36Sopenharmony_ci struct cvmx_pko_reg_debug3_s { 155762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 155862306a36Sopenharmony_ci uint64_t asserts:64; 155962306a36Sopenharmony_ci#else 156062306a36Sopenharmony_ci uint64_t asserts:64; 156162306a36Sopenharmony_ci#endif 156262306a36Sopenharmony_ci } s; 156362306a36Sopenharmony_ci}; 156462306a36Sopenharmony_ci 156562306a36Sopenharmony_ciunion cvmx_pko_reg_debug4 { 156662306a36Sopenharmony_ci uint64_t u64; 156762306a36Sopenharmony_ci struct cvmx_pko_reg_debug4_s { 156862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 156962306a36Sopenharmony_ci uint64_t asserts:64; 157062306a36Sopenharmony_ci#else 157162306a36Sopenharmony_ci uint64_t asserts:64; 157262306a36Sopenharmony_ci#endif 157362306a36Sopenharmony_ci } s; 157462306a36Sopenharmony_ci}; 157562306a36Sopenharmony_ci 157662306a36Sopenharmony_ciunion cvmx_pko_reg_engine_inflight { 157762306a36Sopenharmony_ci uint64_t u64; 157862306a36Sopenharmony_ci struct cvmx_pko_reg_engine_inflight_s { 157962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 158062306a36Sopenharmony_ci uint64_t engine15:4; 158162306a36Sopenharmony_ci uint64_t engine14:4; 158262306a36Sopenharmony_ci uint64_t engine13:4; 158362306a36Sopenharmony_ci uint64_t engine12:4; 158462306a36Sopenharmony_ci uint64_t engine11:4; 158562306a36Sopenharmony_ci uint64_t engine10:4; 158662306a36Sopenharmony_ci uint64_t engine9:4; 158762306a36Sopenharmony_ci uint64_t engine8:4; 158862306a36Sopenharmony_ci uint64_t engine7:4; 158962306a36Sopenharmony_ci uint64_t engine6:4; 159062306a36Sopenharmony_ci uint64_t engine5:4; 159162306a36Sopenharmony_ci uint64_t engine4:4; 159262306a36Sopenharmony_ci uint64_t engine3:4; 159362306a36Sopenharmony_ci uint64_t engine2:4; 159462306a36Sopenharmony_ci uint64_t engine1:4; 159562306a36Sopenharmony_ci uint64_t engine0:4; 159662306a36Sopenharmony_ci#else 159762306a36Sopenharmony_ci uint64_t engine0:4; 159862306a36Sopenharmony_ci uint64_t engine1:4; 159962306a36Sopenharmony_ci uint64_t engine2:4; 160062306a36Sopenharmony_ci uint64_t engine3:4; 160162306a36Sopenharmony_ci uint64_t engine4:4; 160262306a36Sopenharmony_ci uint64_t engine5:4; 160362306a36Sopenharmony_ci uint64_t engine6:4; 160462306a36Sopenharmony_ci uint64_t engine7:4; 160562306a36Sopenharmony_ci uint64_t engine8:4; 160662306a36Sopenharmony_ci uint64_t engine9:4; 160762306a36Sopenharmony_ci uint64_t engine10:4; 160862306a36Sopenharmony_ci uint64_t engine11:4; 160962306a36Sopenharmony_ci uint64_t engine12:4; 161062306a36Sopenharmony_ci uint64_t engine13:4; 161162306a36Sopenharmony_ci uint64_t engine14:4; 161262306a36Sopenharmony_ci uint64_t engine15:4; 161362306a36Sopenharmony_ci#endif 161462306a36Sopenharmony_ci } s; 161562306a36Sopenharmony_ci struct cvmx_pko_reg_engine_inflight_cn52xx { 161662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 161762306a36Sopenharmony_ci uint64_t reserved_40_63:24; 161862306a36Sopenharmony_ci uint64_t engine9:4; 161962306a36Sopenharmony_ci uint64_t engine8:4; 162062306a36Sopenharmony_ci uint64_t engine7:4; 162162306a36Sopenharmony_ci uint64_t engine6:4; 162262306a36Sopenharmony_ci uint64_t engine5:4; 162362306a36Sopenharmony_ci uint64_t engine4:4; 162462306a36Sopenharmony_ci uint64_t engine3:4; 162562306a36Sopenharmony_ci uint64_t engine2:4; 162662306a36Sopenharmony_ci uint64_t engine1:4; 162762306a36Sopenharmony_ci uint64_t engine0:4; 162862306a36Sopenharmony_ci#else 162962306a36Sopenharmony_ci uint64_t engine0:4; 163062306a36Sopenharmony_ci uint64_t engine1:4; 163162306a36Sopenharmony_ci uint64_t engine2:4; 163262306a36Sopenharmony_ci uint64_t engine3:4; 163362306a36Sopenharmony_ci uint64_t engine4:4; 163462306a36Sopenharmony_ci uint64_t engine5:4; 163562306a36Sopenharmony_ci uint64_t engine6:4; 163662306a36Sopenharmony_ci uint64_t engine7:4; 163762306a36Sopenharmony_ci uint64_t engine8:4; 163862306a36Sopenharmony_ci uint64_t engine9:4; 163962306a36Sopenharmony_ci uint64_t reserved_40_63:24; 164062306a36Sopenharmony_ci#endif 164162306a36Sopenharmony_ci } cn52xx; 164262306a36Sopenharmony_ci struct cvmx_pko_reg_engine_inflight_cn61xx { 164362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 164462306a36Sopenharmony_ci uint64_t reserved_56_63:8; 164562306a36Sopenharmony_ci uint64_t engine13:4; 164662306a36Sopenharmony_ci uint64_t engine12:4; 164762306a36Sopenharmony_ci uint64_t engine11:4; 164862306a36Sopenharmony_ci uint64_t engine10:4; 164962306a36Sopenharmony_ci uint64_t engine9:4; 165062306a36Sopenharmony_ci uint64_t engine8:4; 165162306a36Sopenharmony_ci uint64_t engine7:4; 165262306a36Sopenharmony_ci uint64_t engine6:4; 165362306a36Sopenharmony_ci uint64_t engine5:4; 165462306a36Sopenharmony_ci uint64_t engine4:4; 165562306a36Sopenharmony_ci uint64_t engine3:4; 165662306a36Sopenharmony_ci uint64_t engine2:4; 165762306a36Sopenharmony_ci uint64_t engine1:4; 165862306a36Sopenharmony_ci uint64_t engine0:4; 165962306a36Sopenharmony_ci#else 166062306a36Sopenharmony_ci uint64_t engine0:4; 166162306a36Sopenharmony_ci uint64_t engine1:4; 166262306a36Sopenharmony_ci uint64_t engine2:4; 166362306a36Sopenharmony_ci uint64_t engine3:4; 166462306a36Sopenharmony_ci uint64_t engine4:4; 166562306a36Sopenharmony_ci uint64_t engine5:4; 166662306a36Sopenharmony_ci uint64_t engine6:4; 166762306a36Sopenharmony_ci uint64_t engine7:4; 166862306a36Sopenharmony_ci uint64_t engine8:4; 166962306a36Sopenharmony_ci uint64_t engine9:4; 167062306a36Sopenharmony_ci uint64_t engine10:4; 167162306a36Sopenharmony_ci uint64_t engine11:4; 167262306a36Sopenharmony_ci uint64_t engine12:4; 167362306a36Sopenharmony_ci uint64_t engine13:4; 167462306a36Sopenharmony_ci uint64_t reserved_56_63:8; 167562306a36Sopenharmony_ci#endif 167662306a36Sopenharmony_ci } cn61xx; 167762306a36Sopenharmony_ci struct cvmx_pko_reg_engine_inflight_cn63xx { 167862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 167962306a36Sopenharmony_ci uint64_t reserved_48_63:16; 168062306a36Sopenharmony_ci uint64_t engine11:4; 168162306a36Sopenharmony_ci uint64_t engine10:4; 168262306a36Sopenharmony_ci uint64_t engine9:4; 168362306a36Sopenharmony_ci uint64_t engine8:4; 168462306a36Sopenharmony_ci uint64_t engine7:4; 168562306a36Sopenharmony_ci uint64_t engine6:4; 168662306a36Sopenharmony_ci uint64_t engine5:4; 168762306a36Sopenharmony_ci uint64_t engine4:4; 168862306a36Sopenharmony_ci uint64_t engine3:4; 168962306a36Sopenharmony_ci uint64_t engine2:4; 169062306a36Sopenharmony_ci uint64_t engine1:4; 169162306a36Sopenharmony_ci uint64_t engine0:4; 169262306a36Sopenharmony_ci#else 169362306a36Sopenharmony_ci uint64_t engine0:4; 169462306a36Sopenharmony_ci uint64_t engine1:4; 169562306a36Sopenharmony_ci uint64_t engine2:4; 169662306a36Sopenharmony_ci uint64_t engine3:4; 169762306a36Sopenharmony_ci uint64_t engine4:4; 169862306a36Sopenharmony_ci uint64_t engine5:4; 169962306a36Sopenharmony_ci uint64_t engine6:4; 170062306a36Sopenharmony_ci uint64_t engine7:4; 170162306a36Sopenharmony_ci uint64_t engine8:4; 170262306a36Sopenharmony_ci uint64_t engine9:4; 170362306a36Sopenharmony_ci uint64_t engine10:4; 170462306a36Sopenharmony_ci uint64_t engine11:4; 170562306a36Sopenharmony_ci uint64_t reserved_48_63:16; 170662306a36Sopenharmony_ci#endif 170762306a36Sopenharmony_ci } cn63xx; 170862306a36Sopenharmony_ci}; 170962306a36Sopenharmony_ci 171062306a36Sopenharmony_ciunion cvmx_pko_reg_engine_inflight1 { 171162306a36Sopenharmony_ci uint64_t u64; 171262306a36Sopenharmony_ci struct cvmx_pko_reg_engine_inflight1_s { 171362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 171462306a36Sopenharmony_ci uint64_t reserved_16_63:48; 171562306a36Sopenharmony_ci uint64_t engine19:4; 171662306a36Sopenharmony_ci uint64_t engine18:4; 171762306a36Sopenharmony_ci uint64_t engine17:4; 171862306a36Sopenharmony_ci uint64_t engine16:4; 171962306a36Sopenharmony_ci#else 172062306a36Sopenharmony_ci uint64_t engine16:4; 172162306a36Sopenharmony_ci uint64_t engine17:4; 172262306a36Sopenharmony_ci uint64_t engine18:4; 172362306a36Sopenharmony_ci uint64_t engine19:4; 172462306a36Sopenharmony_ci uint64_t reserved_16_63:48; 172562306a36Sopenharmony_ci#endif 172662306a36Sopenharmony_ci } s; 172762306a36Sopenharmony_ci}; 172862306a36Sopenharmony_ci 172962306a36Sopenharmony_ciunion cvmx_pko_reg_engine_storagex { 173062306a36Sopenharmony_ci uint64_t u64; 173162306a36Sopenharmony_ci struct cvmx_pko_reg_engine_storagex_s { 173262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 173362306a36Sopenharmony_ci uint64_t engine15:4; 173462306a36Sopenharmony_ci uint64_t engine14:4; 173562306a36Sopenharmony_ci uint64_t engine13:4; 173662306a36Sopenharmony_ci uint64_t engine12:4; 173762306a36Sopenharmony_ci uint64_t engine11:4; 173862306a36Sopenharmony_ci uint64_t engine10:4; 173962306a36Sopenharmony_ci uint64_t engine9:4; 174062306a36Sopenharmony_ci uint64_t engine8:4; 174162306a36Sopenharmony_ci uint64_t engine7:4; 174262306a36Sopenharmony_ci uint64_t engine6:4; 174362306a36Sopenharmony_ci uint64_t engine5:4; 174462306a36Sopenharmony_ci uint64_t engine4:4; 174562306a36Sopenharmony_ci uint64_t engine3:4; 174662306a36Sopenharmony_ci uint64_t engine2:4; 174762306a36Sopenharmony_ci uint64_t engine1:4; 174862306a36Sopenharmony_ci uint64_t engine0:4; 174962306a36Sopenharmony_ci#else 175062306a36Sopenharmony_ci uint64_t engine0:4; 175162306a36Sopenharmony_ci uint64_t engine1:4; 175262306a36Sopenharmony_ci uint64_t engine2:4; 175362306a36Sopenharmony_ci uint64_t engine3:4; 175462306a36Sopenharmony_ci uint64_t engine4:4; 175562306a36Sopenharmony_ci uint64_t engine5:4; 175662306a36Sopenharmony_ci uint64_t engine6:4; 175762306a36Sopenharmony_ci uint64_t engine7:4; 175862306a36Sopenharmony_ci uint64_t engine8:4; 175962306a36Sopenharmony_ci uint64_t engine9:4; 176062306a36Sopenharmony_ci uint64_t engine10:4; 176162306a36Sopenharmony_ci uint64_t engine11:4; 176262306a36Sopenharmony_ci uint64_t engine12:4; 176362306a36Sopenharmony_ci uint64_t engine13:4; 176462306a36Sopenharmony_ci uint64_t engine14:4; 176562306a36Sopenharmony_ci uint64_t engine15:4; 176662306a36Sopenharmony_ci#endif 176762306a36Sopenharmony_ci } s; 176862306a36Sopenharmony_ci}; 176962306a36Sopenharmony_ci 177062306a36Sopenharmony_ciunion cvmx_pko_reg_engine_thresh { 177162306a36Sopenharmony_ci uint64_t u64; 177262306a36Sopenharmony_ci struct cvmx_pko_reg_engine_thresh_s { 177362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 177462306a36Sopenharmony_ci uint64_t reserved_20_63:44; 177562306a36Sopenharmony_ci uint64_t mask:20; 177662306a36Sopenharmony_ci#else 177762306a36Sopenharmony_ci uint64_t mask:20; 177862306a36Sopenharmony_ci uint64_t reserved_20_63:44; 177962306a36Sopenharmony_ci#endif 178062306a36Sopenharmony_ci } s; 178162306a36Sopenharmony_ci struct cvmx_pko_reg_engine_thresh_cn52xx { 178262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 178362306a36Sopenharmony_ci uint64_t reserved_10_63:54; 178462306a36Sopenharmony_ci uint64_t mask:10; 178562306a36Sopenharmony_ci#else 178662306a36Sopenharmony_ci uint64_t mask:10; 178762306a36Sopenharmony_ci uint64_t reserved_10_63:54; 178862306a36Sopenharmony_ci#endif 178962306a36Sopenharmony_ci } cn52xx; 179062306a36Sopenharmony_ci struct cvmx_pko_reg_engine_thresh_cn61xx { 179162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 179262306a36Sopenharmony_ci uint64_t reserved_14_63:50; 179362306a36Sopenharmony_ci uint64_t mask:14; 179462306a36Sopenharmony_ci#else 179562306a36Sopenharmony_ci uint64_t mask:14; 179662306a36Sopenharmony_ci uint64_t reserved_14_63:50; 179762306a36Sopenharmony_ci#endif 179862306a36Sopenharmony_ci } cn61xx; 179962306a36Sopenharmony_ci struct cvmx_pko_reg_engine_thresh_cn63xx { 180062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 180162306a36Sopenharmony_ci uint64_t reserved_12_63:52; 180262306a36Sopenharmony_ci uint64_t mask:12; 180362306a36Sopenharmony_ci#else 180462306a36Sopenharmony_ci uint64_t mask:12; 180562306a36Sopenharmony_ci uint64_t reserved_12_63:52; 180662306a36Sopenharmony_ci#endif 180762306a36Sopenharmony_ci } cn63xx; 180862306a36Sopenharmony_ci}; 180962306a36Sopenharmony_ci 181062306a36Sopenharmony_ciunion cvmx_pko_reg_error { 181162306a36Sopenharmony_ci uint64_t u64; 181262306a36Sopenharmony_ci struct cvmx_pko_reg_error_s { 181362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 181462306a36Sopenharmony_ci uint64_t reserved_4_63:60; 181562306a36Sopenharmony_ci uint64_t loopback:1; 181662306a36Sopenharmony_ci uint64_t currzero:1; 181762306a36Sopenharmony_ci uint64_t doorbell:1; 181862306a36Sopenharmony_ci uint64_t parity:1; 181962306a36Sopenharmony_ci#else 182062306a36Sopenharmony_ci uint64_t parity:1; 182162306a36Sopenharmony_ci uint64_t doorbell:1; 182262306a36Sopenharmony_ci uint64_t currzero:1; 182362306a36Sopenharmony_ci uint64_t loopback:1; 182462306a36Sopenharmony_ci uint64_t reserved_4_63:60; 182562306a36Sopenharmony_ci#endif 182662306a36Sopenharmony_ci } s; 182762306a36Sopenharmony_ci struct cvmx_pko_reg_error_cn30xx { 182862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 182962306a36Sopenharmony_ci uint64_t reserved_2_63:62; 183062306a36Sopenharmony_ci uint64_t doorbell:1; 183162306a36Sopenharmony_ci uint64_t parity:1; 183262306a36Sopenharmony_ci#else 183362306a36Sopenharmony_ci uint64_t parity:1; 183462306a36Sopenharmony_ci uint64_t doorbell:1; 183562306a36Sopenharmony_ci uint64_t reserved_2_63:62; 183662306a36Sopenharmony_ci#endif 183762306a36Sopenharmony_ci } cn30xx; 183862306a36Sopenharmony_ci struct cvmx_pko_reg_error_cn50xx { 183962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 184062306a36Sopenharmony_ci uint64_t reserved_3_63:61; 184162306a36Sopenharmony_ci uint64_t currzero:1; 184262306a36Sopenharmony_ci uint64_t doorbell:1; 184362306a36Sopenharmony_ci uint64_t parity:1; 184462306a36Sopenharmony_ci#else 184562306a36Sopenharmony_ci uint64_t parity:1; 184662306a36Sopenharmony_ci uint64_t doorbell:1; 184762306a36Sopenharmony_ci uint64_t currzero:1; 184862306a36Sopenharmony_ci uint64_t reserved_3_63:61; 184962306a36Sopenharmony_ci#endif 185062306a36Sopenharmony_ci } cn50xx; 185162306a36Sopenharmony_ci}; 185262306a36Sopenharmony_ci 185362306a36Sopenharmony_ciunion cvmx_pko_reg_flags { 185462306a36Sopenharmony_ci uint64_t u64; 185562306a36Sopenharmony_ci struct cvmx_pko_reg_flags_s { 185662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 185762306a36Sopenharmony_ci uint64_t reserved_9_63:55; 185862306a36Sopenharmony_ci uint64_t dis_perf3:1; 185962306a36Sopenharmony_ci uint64_t dis_perf2:1; 186062306a36Sopenharmony_ci uint64_t dis_perf1:1; 186162306a36Sopenharmony_ci uint64_t dis_perf0:1; 186262306a36Sopenharmony_ci uint64_t ena_throttle:1; 186362306a36Sopenharmony_ci uint64_t reset:1; 186462306a36Sopenharmony_ci uint64_t store_be:1; 186562306a36Sopenharmony_ci uint64_t ena_dwb:1; 186662306a36Sopenharmony_ci uint64_t ena_pko:1; 186762306a36Sopenharmony_ci#else 186862306a36Sopenharmony_ci uint64_t ena_pko:1; 186962306a36Sopenharmony_ci uint64_t ena_dwb:1; 187062306a36Sopenharmony_ci uint64_t store_be:1; 187162306a36Sopenharmony_ci uint64_t reset:1; 187262306a36Sopenharmony_ci uint64_t ena_throttle:1; 187362306a36Sopenharmony_ci uint64_t dis_perf0:1; 187462306a36Sopenharmony_ci uint64_t dis_perf1:1; 187562306a36Sopenharmony_ci uint64_t dis_perf2:1; 187662306a36Sopenharmony_ci uint64_t dis_perf3:1; 187762306a36Sopenharmony_ci uint64_t reserved_9_63:55; 187862306a36Sopenharmony_ci#endif 187962306a36Sopenharmony_ci } s; 188062306a36Sopenharmony_ci struct cvmx_pko_reg_flags_cn30xx { 188162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 188262306a36Sopenharmony_ci uint64_t reserved_4_63:60; 188362306a36Sopenharmony_ci uint64_t reset:1; 188462306a36Sopenharmony_ci uint64_t store_be:1; 188562306a36Sopenharmony_ci uint64_t ena_dwb:1; 188662306a36Sopenharmony_ci uint64_t ena_pko:1; 188762306a36Sopenharmony_ci#else 188862306a36Sopenharmony_ci uint64_t ena_pko:1; 188962306a36Sopenharmony_ci uint64_t ena_dwb:1; 189062306a36Sopenharmony_ci uint64_t store_be:1; 189162306a36Sopenharmony_ci uint64_t reset:1; 189262306a36Sopenharmony_ci uint64_t reserved_4_63:60; 189362306a36Sopenharmony_ci#endif 189462306a36Sopenharmony_ci } cn30xx; 189562306a36Sopenharmony_ci struct cvmx_pko_reg_flags_cn61xx { 189662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 189762306a36Sopenharmony_ci uint64_t reserved_9_63:55; 189862306a36Sopenharmony_ci uint64_t dis_perf3:1; 189962306a36Sopenharmony_ci uint64_t dis_perf2:1; 190062306a36Sopenharmony_ci uint64_t reserved_4_6:3; 190162306a36Sopenharmony_ci uint64_t reset:1; 190262306a36Sopenharmony_ci uint64_t store_be:1; 190362306a36Sopenharmony_ci uint64_t ena_dwb:1; 190462306a36Sopenharmony_ci uint64_t ena_pko:1; 190562306a36Sopenharmony_ci#else 190662306a36Sopenharmony_ci uint64_t ena_pko:1; 190762306a36Sopenharmony_ci uint64_t ena_dwb:1; 190862306a36Sopenharmony_ci uint64_t store_be:1; 190962306a36Sopenharmony_ci uint64_t reset:1; 191062306a36Sopenharmony_ci uint64_t reserved_4_6:3; 191162306a36Sopenharmony_ci uint64_t dis_perf2:1; 191262306a36Sopenharmony_ci uint64_t dis_perf3:1; 191362306a36Sopenharmony_ci uint64_t reserved_9_63:55; 191462306a36Sopenharmony_ci#endif 191562306a36Sopenharmony_ci } cn61xx; 191662306a36Sopenharmony_ci struct cvmx_pko_reg_flags_cn68xxp1 { 191762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 191862306a36Sopenharmony_ci uint64_t reserved_7_63:57; 191962306a36Sopenharmony_ci uint64_t dis_perf1:1; 192062306a36Sopenharmony_ci uint64_t dis_perf0:1; 192162306a36Sopenharmony_ci uint64_t ena_throttle:1; 192262306a36Sopenharmony_ci uint64_t reset:1; 192362306a36Sopenharmony_ci uint64_t store_be:1; 192462306a36Sopenharmony_ci uint64_t ena_dwb:1; 192562306a36Sopenharmony_ci uint64_t ena_pko:1; 192662306a36Sopenharmony_ci#else 192762306a36Sopenharmony_ci uint64_t ena_pko:1; 192862306a36Sopenharmony_ci uint64_t ena_dwb:1; 192962306a36Sopenharmony_ci uint64_t store_be:1; 193062306a36Sopenharmony_ci uint64_t reset:1; 193162306a36Sopenharmony_ci uint64_t ena_throttle:1; 193262306a36Sopenharmony_ci uint64_t dis_perf0:1; 193362306a36Sopenharmony_ci uint64_t dis_perf1:1; 193462306a36Sopenharmony_ci uint64_t reserved_7_63:57; 193562306a36Sopenharmony_ci#endif 193662306a36Sopenharmony_ci } cn68xxp1; 193762306a36Sopenharmony_ci}; 193862306a36Sopenharmony_ci 193962306a36Sopenharmony_ciunion cvmx_pko_reg_gmx_port_mode { 194062306a36Sopenharmony_ci uint64_t u64; 194162306a36Sopenharmony_ci struct cvmx_pko_reg_gmx_port_mode_s { 194262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 194362306a36Sopenharmony_ci uint64_t reserved_6_63:58; 194462306a36Sopenharmony_ci uint64_t mode1:3; 194562306a36Sopenharmony_ci uint64_t mode0:3; 194662306a36Sopenharmony_ci#else 194762306a36Sopenharmony_ci uint64_t mode0:3; 194862306a36Sopenharmony_ci uint64_t mode1:3; 194962306a36Sopenharmony_ci uint64_t reserved_6_63:58; 195062306a36Sopenharmony_ci#endif 195162306a36Sopenharmony_ci } s; 195262306a36Sopenharmony_ci}; 195362306a36Sopenharmony_ci 195462306a36Sopenharmony_ciunion cvmx_pko_reg_int_mask { 195562306a36Sopenharmony_ci uint64_t u64; 195662306a36Sopenharmony_ci struct cvmx_pko_reg_int_mask_s { 195762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 195862306a36Sopenharmony_ci uint64_t reserved_4_63:60; 195962306a36Sopenharmony_ci uint64_t loopback:1; 196062306a36Sopenharmony_ci uint64_t currzero:1; 196162306a36Sopenharmony_ci uint64_t doorbell:1; 196262306a36Sopenharmony_ci uint64_t parity:1; 196362306a36Sopenharmony_ci#else 196462306a36Sopenharmony_ci uint64_t parity:1; 196562306a36Sopenharmony_ci uint64_t doorbell:1; 196662306a36Sopenharmony_ci uint64_t currzero:1; 196762306a36Sopenharmony_ci uint64_t loopback:1; 196862306a36Sopenharmony_ci uint64_t reserved_4_63:60; 196962306a36Sopenharmony_ci#endif 197062306a36Sopenharmony_ci } s; 197162306a36Sopenharmony_ci struct cvmx_pko_reg_int_mask_cn30xx { 197262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 197362306a36Sopenharmony_ci uint64_t reserved_2_63:62; 197462306a36Sopenharmony_ci uint64_t doorbell:1; 197562306a36Sopenharmony_ci uint64_t parity:1; 197662306a36Sopenharmony_ci#else 197762306a36Sopenharmony_ci uint64_t parity:1; 197862306a36Sopenharmony_ci uint64_t doorbell:1; 197962306a36Sopenharmony_ci uint64_t reserved_2_63:62; 198062306a36Sopenharmony_ci#endif 198162306a36Sopenharmony_ci } cn30xx; 198262306a36Sopenharmony_ci struct cvmx_pko_reg_int_mask_cn50xx { 198362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 198462306a36Sopenharmony_ci uint64_t reserved_3_63:61; 198562306a36Sopenharmony_ci uint64_t currzero:1; 198662306a36Sopenharmony_ci uint64_t doorbell:1; 198762306a36Sopenharmony_ci uint64_t parity:1; 198862306a36Sopenharmony_ci#else 198962306a36Sopenharmony_ci uint64_t parity:1; 199062306a36Sopenharmony_ci uint64_t doorbell:1; 199162306a36Sopenharmony_ci uint64_t currzero:1; 199262306a36Sopenharmony_ci uint64_t reserved_3_63:61; 199362306a36Sopenharmony_ci#endif 199462306a36Sopenharmony_ci } cn50xx; 199562306a36Sopenharmony_ci}; 199662306a36Sopenharmony_ci 199762306a36Sopenharmony_ciunion cvmx_pko_reg_loopback_bpid { 199862306a36Sopenharmony_ci uint64_t u64; 199962306a36Sopenharmony_ci struct cvmx_pko_reg_loopback_bpid_s { 200062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 200162306a36Sopenharmony_ci uint64_t reserved_59_63:5; 200262306a36Sopenharmony_ci uint64_t bpid7:6; 200362306a36Sopenharmony_ci uint64_t reserved_52_52:1; 200462306a36Sopenharmony_ci uint64_t bpid6:6; 200562306a36Sopenharmony_ci uint64_t reserved_45_45:1; 200662306a36Sopenharmony_ci uint64_t bpid5:6; 200762306a36Sopenharmony_ci uint64_t reserved_38_38:1; 200862306a36Sopenharmony_ci uint64_t bpid4:6; 200962306a36Sopenharmony_ci uint64_t reserved_31_31:1; 201062306a36Sopenharmony_ci uint64_t bpid3:6; 201162306a36Sopenharmony_ci uint64_t reserved_24_24:1; 201262306a36Sopenharmony_ci uint64_t bpid2:6; 201362306a36Sopenharmony_ci uint64_t reserved_17_17:1; 201462306a36Sopenharmony_ci uint64_t bpid1:6; 201562306a36Sopenharmony_ci uint64_t reserved_10_10:1; 201662306a36Sopenharmony_ci uint64_t bpid0:6; 201762306a36Sopenharmony_ci uint64_t reserved_0_3:4; 201862306a36Sopenharmony_ci#else 201962306a36Sopenharmony_ci uint64_t reserved_0_3:4; 202062306a36Sopenharmony_ci uint64_t bpid0:6; 202162306a36Sopenharmony_ci uint64_t reserved_10_10:1; 202262306a36Sopenharmony_ci uint64_t bpid1:6; 202362306a36Sopenharmony_ci uint64_t reserved_17_17:1; 202462306a36Sopenharmony_ci uint64_t bpid2:6; 202562306a36Sopenharmony_ci uint64_t reserved_24_24:1; 202662306a36Sopenharmony_ci uint64_t bpid3:6; 202762306a36Sopenharmony_ci uint64_t reserved_31_31:1; 202862306a36Sopenharmony_ci uint64_t bpid4:6; 202962306a36Sopenharmony_ci uint64_t reserved_38_38:1; 203062306a36Sopenharmony_ci uint64_t bpid5:6; 203162306a36Sopenharmony_ci uint64_t reserved_45_45:1; 203262306a36Sopenharmony_ci uint64_t bpid6:6; 203362306a36Sopenharmony_ci uint64_t reserved_52_52:1; 203462306a36Sopenharmony_ci uint64_t bpid7:6; 203562306a36Sopenharmony_ci uint64_t reserved_59_63:5; 203662306a36Sopenharmony_ci#endif 203762306a36Sopenharmony_ci } s; 203862306a36Sopenharmony_ci}; 203962306a36Sopenharmony_ci 204062306a36Sopenharmony_ciunion cvmx_pko_reg_loopback_pkind { 204162306a36Sopenharmony_ci uint64_t u64; 204262306a36Sopenharmony_ci struct cvmx_pko_reg_loopback_pkind_s { 204362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 204462306a36Sopenharmony_ci uint64_t reserved_59_63:5; 204562306a36Sopenharmony_ci uint64_t pkind7:6; 204662306a36Sopenharmony_ci uint64_t reserved_52_52:1; 204762306a36Sopenharmony_ci uint64_t pkind6:6; 204862306a36Sopenharmony_ci uint64_t reserved_45_45:1; 204962306a36Sopenharmony_ci uint64_t pkind5:6; 205062306a36Sopenharmony_ci uint64_t reserved_38_38:1; 205162306a36Sopenharmony_ci uint64_t pkind4:6; 205262306a36Sopenharmony_ci uint64_t reserved_31_31:1; 205362306a36Sopenharmony_ci uint64_t pkind3:6; 205462306a36Sopenharmony_ci uint64_t reserved_24_24:1; 205562306a36Sopenharmony_ci uint64_t pkind2:6; 205662306a36Sopenharmony_ci uint64_t reserved_17_17:1; 205762306a36Sopenharmony_ci uint64_t pkind1:6; 205862306a36Sopenharmony_ci uint64_t reserved_10_10:1; 205962306a36Sopenharmony_ci uint64_t pkind0:6; 206062306a36Sopenharmony_ci uint64_t num_ports:4; 206162306a36Sopenharmony_ci#else 206262306a36Sopenharmony_ci uint64_t num_ports:4; 206362306a36Sopenharmony_ci uint64_t pkind0:6; 206462306a36Sopenharmony_ci uint64_t reserved_10_10:1; 206562306a36Sopenharmony_ci uint64_t pkind1:6; 206662306a36Sopenharmony_ci uint64_t reserved_17_17:1; 206762306a36Sopenharmony_ci uint64_t pkind2:6; 206862306a36Sopenharmony_ci uint64_t reserved_24_24:1; 206962306a36Sopenharmony_ci uint64_t pkind3:6; 207062306a36Sopenharmony_ci uint64_t reserved_31_31:1; 207162306a36Sopenharmony_ci uint64_t pkind4:6; 207262306a36Sopenharmony_ci uint64_t reserved_38_38:1; 207362306a36Sopenharmony_ci uint64_t pkind5:6; 207462306a36Sopenharmony_ci uint64_t reserved_45_45:1; 207562306a36Sopenharmony_ci uint64_t pkind6:6; 207662306a36Sopenharmony_ci uint64_t reserved_52_52:1; 207762306a36Sopenharmony_ci uint64_t pkind7:6; 207862306a36Sopenharmony_ci uint64_t reserved_59_63:5; 207962306a36Sopenharmony_ci#endif 208062306a36Sopenharmony_ci } s; 208162306a36Sopenharmony_ci}; 208262306a36Sopenharmony_ci 208362306a36Sopenharmony_ciunion cvmx_pko_reg_min_pkt { 208462306a36Sopenharmony_ci uint64_t u64; 208562306a36Sopenharmony_ci struct cvmx_pko_reg_min_pkt_s { 208662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 208762306a36Sopenharmony_ci uint64_t size7:8; 208862306a36Sopenharmony_ci uint64_t size6:8; 208962306a36Sopenharmony_ci uint64_t size5:8; 209062306a36Sopenharmony_ci uint64_t size4:8; 209162306a36Sopenharmony_ci uint64_t size3:8; 209262306a36Sopenharmony_ci uint64_t size2:8; 209362306a36Sopenharmony_ci uint64_t size1:8; 209462306a36Sopenharmony_ci uint64_t size0:8; 209562306a36Sopenharmony_ci#else 209662306a36Sopenharmony_ci uint64_t size0:8; 209762306a36Sopenharmony_ci uint64_t size1:8; 209862306a36Sopenharmony_ci uint64_t size2:8; 209962306a36Sopenharmony_ci uint64_t size3:8; 210062306a36Sopenharmony_ci uint64_t size4:8; 210162306a36Sopenharmony_ci uint64_t size5:8; 210262306a36Sopenharmony_ci uint64_t size6:8; 210362306a36Sopenharmony_ci uint64_t size7:8; 210462306a36Sopenharmony_ci#endif 210562306a36Sopenharmony_ci } s; 210662306a36Sopenharmony_ci}; 210762306a36Sopenharmony_ci 210862306a36Sopenharmony_ciunion cvmx_pko_reg_preempt { 210962306a36Sopenharmony_ci uint64_t u64; 211062306a36Sopenharmony_ci struct cvmx_pko_reg_preempt_s { 211162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 211262306a36Sopenharmony_ci uint64_t reserved_16_63:48; 211362306a36Sopenharmony_ci uint64_t min_size:16; 211462306a36Sopenharmony_ci#else 211562306a36Sopenharmony_ci uint64_t min_size:16; 211662306a36Sopenharmony_ci uint64_t reserved_16_63:48; 211762306a36Sopenharmony_ci#endif 211862306a36Sopenharmony_ci } s; 211962306a36Sopenharmony_ci}; 212062306a36Sopenharmony_ci 212162306a36Sopenharmony_ciunion cvmx_pko_reg_queue_mode { 212262306a36Sopenharmony_ci uint64_t u64; 212362306a36Sopenharmony_ci struct cvmx_pko_reg_queue_mode_s { 212462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 212562306a36Sopenharmony_ci uint64_t reserved_2_63:62; 212662306a36Sopenharmony_ci uint64_t mode:2; 212762306a36Sopenharmony_ci#else 212862306a36Sopenharmony_ci uint64_t mode:2; 212962306a36Sopenharmony_ci uint64_t reserved_2_63:62; 213062306a36Sopenharmony_ci#endif 213162306a36Sopenharmony_ci } s; 213262306a36Sopenharmony_ci}; 213362306a36Sopenharmony_ci 213462306a36Sopenharmony_ciunion cvmx_pko_reg_queue_preempt { 213562306a36Sopenharmony_ci uint64_t u64; 213662306a36Sopenharmony_ci struct cvmx_pko_reg_queue_preempt_s { 213762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 213862306a36Sopenharmony_ci uint64_t reserved_2_63:62; 213962306a36Sopenharmony_ci uint64_t preemptee:1; 214062306a36Sopenharmony_ci uint64_t preempter:1; 214162306a36Sopenharmony_ci#else 214262306a36Sopenharmony_ci uint64_t preempter:1; 214362306a36Sopenharmony_ci uint64_t preemptee:1; 214462306a36Sopenharmony_ci uint64_t reserved_2_63:62; 214562306a36Sopenharmony_ci#endif 214662306a36Sopenharmony_ci } s; 214762306a36Sopenharmony_ci}; 214862306a36Sopenharmony_ci 214962306a36Sopenharmony_ciunion cvmx_pko_reg_queue_ptrs1 { 215062306a36Sopenharmony_ci uint64_t u64; 215162306a36Sopenharmony_ci struct cvmx_pko_reg_queue_ptrs1_s { 215262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 215362306a36Sopenharmony_ci uint64_t reserved_2_63:62; 215462306a36Sopenharmony_ci uint64_t idx3:1; 215562306a36Sopenharmony_ci uint64_t qid7:1; 215662306a36Sopenharmony_ci#else 215762306a36Sopenharmony_ci uint64_t qid7:1; 215862306a36Sopenharmony_ci uint64_t idx3:1; 215962306a36Sopenharmony_ci uint64_t reserved_2_63:62; 216062306a36Sopenharmony_ci#endif 216162306a36Sopenharmony_ci } s; 216262306a36Sopenharmony_ci}; 216362306a36Sopenharmony_ci 216462306a36Sopenharmony_ciunion cvmx_pko_reg_read_idx { 216562306a36Sopenharmony_ci uint64_t u64; 216662306a36Sopenharmony_ci struct cvmx_pko_reg_read_idx_s { 216762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 216862306a36Sopenharmony_ci uint64_t reserved_16_63:48; 216962306a36Sopenharmony_ci uint64_t inc:8; 217062306a36Sopenharmony_ci uint64_t index:8; 217162306a36Sopenharmony_ci#else 217262306a36Sopenharmony_ci uint64_t index:8; 217362306a36Sopenharmony_ci uint64_t inc:8; 217462306a36Sopenharmony_ci uint64_t reserved_16_63:48; 217562306a36Sopenharmony_ci#endif 217662306a36Sopenharmony_ci } s; 217762306a36Sopenharmony_ci}; 217862306a36Sopenharmony_ci 217962306a36Sopenharmony_ciunion cvmx_pko_reg_throttle { 218062306a36Sopenharmony_ci uint64_t u64; 218162306a36Sopenharmony_ci struct cvmx_pko_reg_throttle_s { 218262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 218362306a36Sopenharmony_ci uint64_t reserved_32_63:32; 218462306a36Sopenharmony_ci uint64_t int_mask:32; 218562306a36Sopenharmony_ci#else 218662306a36Sopenharmony_ci uint64_t int_mask:32; 218762306a36Sopenharmony_ci uint64_t reserved_32_63:32; 218862306a36Sopenharmony_ci#endif 218962306a36Sopenharmony_ci } s; 219062306a36Sopenharmony_ci}; 219162306a36Sopenharmony_ci 219262306a36Sopenharmony_ciunion cvmx_pko_reg_timestamp { 219362306a36Sopenharmony_ci uint64_t u64; 219462306a36Sopenharmony_ci struct cvmx_pko_reg_timestamp_s { 219562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 219662306a36Sopenharmony_ci uint64_t reserved_4_63:60; 219762306a36Sopenharmony_ci uint64_t wqe_word:4; 219862306a36Sopenharmony_ci#else 219962306a36Sopenharmony_ci uint64_t wqe_word:4; 220062306a36Sopenharmony_ci uint64_t reserved_4_63:60; 220162306a36Sopenharmony_ci#endif 220262306a36Sopenharmony_ci } s; 220362306a36Sopenharmony_ci}; 220462306a36Sopenharmony_ci 220562306a36Sopenharmony_ci#endif 2206