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_POW_DEFS_H__ 2962306a36Sopenharmony_ci#define __CVMX_POW_DEFS_H__ 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ci#define CVMX_POW_BIST_STAT (CVMX_ADD_IO_SEG(0x00016700000003F8ull)) 3262306a36Sopenharmony_ci#define CVMX_POW_DS_PC (CVMX_ADD_IO_SEG(0x0001670000000398ull)) 3362306a36Sopenharmony_ci#define CVMX_POW_ECC_ERR (CVMX_ADD_IO_SEG(0x0001670000000218ull)) 3462306a36Sopenharmony_ci#define CVMX_POW_INT_CTL (CVMX_ADD_IO_SEG(0x0001670000000220ull)) 3562306a36Sopenharmony_ci#define CVMX_POW_IQ_CNTX(offset) (CVMX_ADD_IO_SEG(0x0001670000000340ull) + ((offset) & 7) * 8) 3662306a36Sopenharmony_ci#define CVMX_POW_IQ_COM_CNT (CVMX_ADD_IO_SEG(0x0001670000000388ull)) 3762306a36Sopenharmony_ci#define CVMX_POW_IQ_INT (CVMX_ADD_IO_SEG(0x0001670000000238ull)) 3862306a36Sopenharmony_ci#define CVMX_POW_IQ_INT_EN (CVMX_ADD_IO_SEG(0x0001670000000240ull)) 3962306a36Sopenharmony_ci#define CVMX_POW_IQ_THRX(offset) (CVMX_ADD_IO_SEG(0x00016700000003A0ull) + ((offset) & 7) * 8) 4062306a36Sopenharmony_ci#define CVMX_POW_NOS_CNT (CVMX_ADD_IO_SEG(0x0001670000000228ull)) 4162306a36Sopenharmony_ci#define CVMX_POW_NW_TIM (CVMX_ADD_IO_SEG(0x0001670000000210ull)) 4262306a36Sopenharmony_ci#define CVMX_POW_PF_RST_MSK (CVMX_ADD_IO_SEG(0x0001670000000230ull)) 4362306a36Sopenharmony_ci#define CVMX_POW_PP_GRP_MSKX(offset) (CVMX_ADD_IO_SEG(0x0001670000000000ull) + ((offset) & 15) * 8) 4462306a36Sopenharmony_ci#define CVMX_POW_QOS_RNDX(offset) (CVMX_ADD_IO_SEG(0x00016700000001C0ull) + ((offset) & 7) * 8) 4562306a36Sopenharmony_ci#define CVMX_POW_QOS_THRX(offset) (CVMX_ADD_IO_SEG(0x0001670000000180ull) + ((offset) & 7) * 8) 4662306a36Sopenharmony_ci#define CVMX_POW_TS_PC (CVMX_ADD_IO_SEG(0x0001670000000390ull)) 4762306a36Sopenharmony_ci#define CVMX_POW_WA_COM_PC (CVMX_ADD_IO_SEG(0x0001670000000380ull)) 4862306a36Sopenharmony_ci#define CVMX_POW_WA_PCX(offset) (CVMX_ADD_IO_SEG(0x0001670000000300ull) + ((offset) & 7) * 8) 4962306a36Sopenharmony_ci#define CVMX_POW_WQ_INT (CVMX_ADD_IO_SEG(0x0001670000000200ull)) 5062306a36Sopenharmony_ci#define CVMX_POW_WQ_INT_CNTX(offset) (CVMX_ADD_IO_SEG(0x0001670000000100ull) + ((offset) & 15) * 8) 5162306a36Sopenharmony_ci#define CVMX_POW_WQ_INT_PC (CVMX_ADD_IO_SEG(0x0001670000000208ull)) 5262306a36Sopenharmony_ci#define CVMX_POW_WQ_INT_THRX(offset) (CVMX_ADD_IO_SEG(0x0001670000000080ull) + ((offset) & 15) * 8) 5362306a36Sopenharmony_ci#define CVMX_POW_WS_PCX(offset) (CVMX_ADD_IO_SEG(0x0001670000000280ull) + ((offset) & 15) * 8) 5462306a36Sopenharmony_ci 5562306a36Sopenharmony_ci#define CVMX_SSO_WQ_INT (CVMX_ADD_IO_SEG(0x0001670000001000ull)) 5662306a36Sopenharmony_ci#define CVMX_SSO_WQ_IQ_DIS (CVMX_ADD_IO_SEG(0x0001670000001010ull)) 5762306a36Sopenharmony_ci#define CVMX_SSO_WQ_INT_PC (CVMX_ADD_IO_SEG(0x0001670000001020ull)) 5862306a36Sopenharmony_ci#define CVMX_SSO_PPX_GRP_MSK(offset) (CVMX_ADD_IO_SEG(0x0001670000006000ull) + ((offset) & 31) * 8) 5962306a36Sopenharmony_ci#define CVMX_SSO_WQ_INT_THRX(offset) (CVMX_ADD_IO_SEG(0x0001670000007000ull) + ((offset) & 63) * 8) 6062306a36Sopenharmony_ci 6162306a36Sopenharmony_ciunion cvmx_pow_bist_stat { 6262306a36Sopenharmony_ci uint64_t u64; 6362306a36Sopenharmony_ci struct cvmx_pow_bist_stat_s { 6462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6562306a36Sopenharmony_ci uint64_t reserved_32_63:32; 6662306a36Sopenharmony_ci uint64_t pp:16; 6762306a36Sopenharmony_ci uint64_t reserved_0_15:16; 6862306a36Sopenharmony_ci#else 6962306a36Sopenharmony_ci uint64_t reserved_0_15:16; 7062306a36Sopenharmony_ci uint64_t pp:16; 7162306a36Sopenharmony_ci uint64_t reserved_32_63:32; 7262306a36Sopenharmony_ci#endif 7362306a36Sopenharmony_ci } s; 7462306a36Sopenharmony_ci struct cvmx_pow_bist_stat_cn30xx { 7562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7662306a36Sopenharmony_ci uint64_t reserved_17_63:47; 7762306a36Sopenharmony_ci uint64_t pp:1; 7862306a36Sopenharmony_ci uint64_t reserved_9_15:7; 7962306a36Sopenharmony_ci uint64_t cam:1; 8062306a36Sopenharmony_ci uint64_t nbt1:1; 8162306a36Sopenharmony_ci uint64_t nbt0:1; 8262306a36Sopenharmony_ci uint64_t index:1; 8362306a36Sopenharmony_ci uint64_t fidx:1; 8462306a36Sopenharmony_ci uint64_t nbr1:1; 8562306a36Sopenharmony_ci uint64_t nbr0:1; 8662306a36Sopenharmony_ci uint64_t pend:1; 8762306a36Sopenharmony_ci uint64_t adr:1; 8862306a36Sopenharmony_ci#else 8962306a36Sopenharmony_ci uint64_t adr:1; 9062306a36Sopenharmony_ci uint64_t pend:1; 9162306a36Sopenharmony_ci uint64_t nbr0:1; 9262306a36Sopenharmony_ci uint64_t nbr1:1; 9362306a36Sopenharmony_ci uint64_t fidx:1; 9462306a36Sopenharmony_ci uint64_t index:1; 9562306a36Sopenharmony_ci uint64_t nbt0:1; 9662306a36Sopenharmony_ci uint64_t nbt1:1; 9762306a36Sopenharmony_ci uint64_t cam:1; 9862306a36Sopenharmony_ci uint64_t reserved_9_15:7; 9962306a36Sopenharmony_ci uint64_t pp:1; 10062306a36Sopenharmony_ci uint64_t reserved_17_63:47; 10162306a36Sopenharmony_ci#endif 10262306a36Sopenharmony_ci } cn30xx; 10362306a36Sopenharmony_ci struct cvmx_pow_bist_stat_cn31xx { 10462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10562306a36Sopenharmony_ci uint64_t reserved_18_63:46; 10662306a36Sopenharmony_ci uint64_t pp:2; 10762306a36Sopenharmony_ci uint64_t reserved_9_15:7; 10862306a36Sopenharmony_ci uint64_t cam:1; 10962306a36Sopenharmony_ci uint64_t nbt1:1; 11062306a36Sopenharmony_ci uint64_t nbt0:1; 11162306a36Sopenharmony_ci uint64_t index:1; 11262306a36Sopenharmony_ci uint64_t fidx:1; 11362306a36Sopenharmony_ci uint64_t nbr1:1; 11462306a36Sopenharmony_ci uint64_t nbr0:1; 11562306a36Sopenharmony_ci uint64_t pend:1; 11662306a36Sopenharmony_ci uint64_t adr:1; 11762306a36Sopenharmony_ci#else 11862306a36Sopenharmony_ci uint64_t adr:1; 11962306a36Sopenharmony_ci uint64_t pend:1; 12062306a36Sopenharmony_ci uint64_t nbr0:1; 12162306a36Sopenharmony_ci uint64_t nbr1:1; 12262306a36Sopenharmony_ci uint64_t fidx:1; 12362306a36Sopenharmony_ci uint64_t index:1; 12462306a36Sopenharmony_ci uint64_t nbt0:1; 12562306a36Sopenharmony_ci uint64_t nbt1:1; 12662306a36Sopenharmony_ci uint64_t cam:1; 12762306a36Sopenharmony_ci uint64_t reserved_9_15:7; 12862306a36Sopenharmony_ci uint64_t pp:2; 12962306a36Sopenharmony_ci uint64_t reserved_18_63:46; 13062306a36Sopenharmony_ci#endif 13162306a36Sopenharmony_ci } cn31xx; 13262306a36Sopenharmony_ci struct cvmx_pow_bist_stat_cn38xx { 13362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13462306a36Sopenharmony_ci uint64_t reserved_32_63:32; 13562306a36Sopenharmony_ci uint64_t pp:16; 13662306a36Sopenharmony_ci uint64_t reserved_10_15:6; 13762306a36Sopenharmony_ci uint64_t cam:1; 13862306a36Sopenharmony_ci uint64_t nbt:1; 13962306a36Sopenharmony_ci uint64_t index:1; 14062306a36Sopenharmony_ci uint64_t fidx:1; 14162306a36Sopenharmony_ci uint64_t nbr1:1; 14262306a36Sopenharmony_ci uint64_t nbr0:1; 14362306a36Sopenharmony_ci uint64_t pend1:1; 14462306a36Sopenharmony_ci uint64_t pend0:1; 14562306a36Sopenharmony_ci uint64_t adr1:1; 14662306a36Sopenharmony_ci uint64_t adr0:1; 14762306a36Sopenharmony_ci#else 14862306a36Sopenharmony_ci uint64_t adr0:1; 14962306a36Sopenharmony_ci uint64_t adr1:1; 15062306a36Sopenharmony_ci uint64_t pend0:1; 15162306a36Sopenharmony_ci uint64_t pend1:1; 15262306a36Sopenharmony_ci uint64_t nbr0:1; 15362306a36Sopenharmony_ci uint64_t nbr1:1; 15462306a36Sopenharmony_ci uint64_t fidx:1; 15562306a36Sopenharmony_ci uint64_t index:1; 15662306a36Sopenharmony_ci uint64_t nbt:1; 15762306a36Sopenharmony_ci uint64_t cam:1; 15862306a36Sopenharmony_ci uint64_t reserved_10_15:6; 15962306a36Sopenharmony_ci uint64_t pp:16; 16062306a36Sopenharmony_ci uint64_t reserved_32_63:32; 16162306a36Sopenharmony_ci#endif 16262306a36Sopenharmony_ci } cn38xx; 16362306a36Sopenharmony_ci struct cvmx_pow_bist_stat_cn52xx { 16462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 16562306a36Sopenharmony_ci uint64_t reserved_20_63:44; 16662306a36Sopenharmony_ci uint64_t pp:4; 16762306a36Sopenharmony_ci uint64_t reserved_9_15:7; 16862306a36Sopenharmony_ci uint64_t cam:1; 16962306a36Sopenharmony_ci uint64_t nbt1:1; 17062306a36Sopenharmony_ci uint64_t nbt0:1; 17162306a36Sopenharmony_ci uint64_t index:1; 17262306a36Sopenharmony_ci uint64_t fidx:1; 17362306a36Sopenharmony_ci uint64_t nbr1:1; 17462306a36Sopenharmony_ci uint64_t nbr0:1; 17562306a36Sopenharmony_ci uint64_t pend:1; 17662306a36Sopenharmony_ci uint64_t adr:1; 17762306a36Sopenharmony_ci#else 17862306a36Sopenharmony_ci uint64_t adr:1; 17962306a36Sopenharmony_ci uint64_t pend:1; 18062306a36Sopenharmony_ci uint64_t nbr0:1; 18162306a36Sopenharmony_ci uint64_t nbr1:1; 18262306a36Sopenharmony_ci uint64_t fidx:1; 18362306a36Sopenharmony_ci uint64_t index:1; 18462306a36Sopenharmony_ci uint64_t nbt0:1; 18562306a36Sopenharmony_ci uint64_t nbt1:1; 18662306a36Sopenharmony_ci uint64_t cam:1; 18762306a36Sopenharmony_ci uint64_t reserved_9_15:7; 18862306a36Sopenharmony_ci uint64_t pp:4; 18962306a36Sopenharmony_ci uint64_t reserved_20_63:44; 19062306a36Sopenharmony_ci#endif 19162306a36Sopenharmony_ci } cn52xx; 19262306a36Sopenharmony_ci struct cvmx_pow_bist_stat_cn56xx { 19362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 19462306a36Sopenharmony_ci uint64_t reserved_28_63:36; 19562306a36Sopenharmony_ci uint64_t pp:12; 19662306a36Sopenharmony_ci uint64_t reserved_10_15:6; 19762306a36Sopenharmony_ci uint64_t cam:1; 19862306a36Sopenharmony_ci uint64_t nbt:1; 19962306a36Sopenharmony_ci uint64_t index:1; 20062306a36Sopenharmony_ci uint64_t fidx:1; 20162306a36Sopenharmony_ci uint64_t nbr1:1; 20262306a36Sopenharmony_ci uint64_t nbr0:1; 20362306a36Sopenharmony_ci uint64_t pend1:1; 20462306a36Sopenharmony_ci uint64_t pend0:1; 20562306a36Sopenharmony_ci uint64_t adr1:1; 20662306a36Sopenharmony_ci uint64_t adr0:1; 20762306a36Sopenharmony_ci#else 20862306a36Sopenharmony_ci uint64_t adr0:1; 20962306a36Sopenharmony_ci uint64_t adr1:1; 21062306a36Sopenharmony_ci uint64_t pend0:1; 21162306a36Sopenharmony_ci uint64_t pend1:1; 21262306a36Sopenharmony_ci uint64_t nbr0:1; 21362306a36Sopenharmony_ci uint64_t nbr1:1; 21462306a36Sopenharmony_ci uint64_t fidx:1; 21562306a36Sopenharmony_ci uint64_t index:1; 21662306a36Sopenharmony_ci uint64_t nbt:1; 21762306a36Sopenharmony_ci uint64_t cam:1; 21862306a36Sopenharmony_ci uint64_t reserved_10_15:6; 21962306a36Sopenharmony_ci uint64_t pp:12; 22062306a36Sopenharmony_ci uint64_t reserved_28_63:36; 22162306a36Sopenharmony_ci#endif 22262306a36Sopenharmony_ci } cn56xx; 22362306a36Sopenharmony_ci struct cvmx_pow_bist_stat_cn61xx { 22462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 22562306a36Sopenharmony_ci uint64_t reserved_20_63:44; 22662306a36Sopenharmony_ci uint64_t pp:4; 22762306a36Sopenharmony_ci uint64_t reserved_12_15:4; 22862306a36Sopenharmony_ci uint64_t cam:1; 22962306a36Sopenharmony_ci uint64_t nbr:3; 23062306a36Sopenharmony_ci uint64_t nbt:4; 23162306a36Sopenharmony_ci uint64_t index:1; 23262306a36Sopenharmony_ci uint64_t fidx:1; 23362306a36Sopenharmony_ci uint64_t pend:1; 23462306a36Sopenharmony_ci uint64_t adr:1; 23562306a36Sopenharmony_ci#else 23662306a36Sopenharmony_ci uint64_t adr:1; 23762306a36Sopenharmony_ci uint64_t pend:1; 23862306a36Sopenharmony_ci uint64_t fidx:1; 23962306a36Sopenharmony_ci uint64_t index:1; 24062306a36Sopenharmony_ci uint64_t nbt:4; 24162306a36Sopenharmony_ci uint64_t nbr:3; 24262306a36Sopenharmony_ci uint64_t cam:1; 24362306a36Sopenharmony_ci uint64_t reserved_12_15:4; 24462306a36Sopenharmony_ci uint64_t pp:4; 24562306a36Sopenharmony_ci uint64_t reserved_20_63:44; 24662306a36Sopenharmony_ci#endif 24762306a36Sopenharmony_ci } cn61xx; 24862306a36Sopenharmony_ci struct cvmx_pow_bist_stat_cn63xx { 24962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 25062306a36Sopenharmony_ci uint64_t reserved_22_63:42; 25162306a36Sopenharmony_ci uint64_t pp:6; 25262306a36Sopenharmony_ci uint64_t reserved_12_15:4; 25362306a36Sopenharmony_ci uint64_t cam:1; 25462306a36Sopenharmony_ci uint64_t nbr:3; 25562306a36Sopenharmony_ci uint64_t nbt:4; 25662306a36Sopenharmony_ci uint64_t index:1; 25762306a36Sopenharmony_ci uint64_t fidx:1; 25862306a36Sopenharmony_ci uint64_t pend:1; 25962306a36Sopenharmony_ci uint64_t adr:1; 26062306a36Sopenharmony_ci#else 26162306a36Sopenharmony_ci uint64_t adr:1; 26262306a36Sopenharmony_ci uint64_t pend:1; 26362306a36Sopenharmony_ci uint64_t fidx:1; 26462306a36Sopenharmony_ci uint64_t index:1; 26562306a36Sopenharmony_ci uint64_t nbt:4; 26662306a36Sopenharmony_ci uint64_t nbr:3; 26762306a36Sopenharmony_ci uint64_t cam:1; 26862306a36Sopenharmony_ci uint64_t reserved_12_15:4; 26962306a36Sopenharmony_ci uint64_t pp:6; 27062306a36Sopenharmony_ci uint64_t reserved_22_63:42; 27162306a36Sopenharmony_ci#endif 27262306a36Sopenharmony_ci } cn63xx; 27362306a36Sopenharmony_ci struct cvmx_pow_bist_stat_cn66xx { 27462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 27562306a36Sopenharmony_ci uint64_t reserved_26_63:38; 27662306a36Sopenharmony_ci uint64_t pp:10; 27762306a36Sopenharmony_ci uint64_t reserved_12_15:4; 27862306a36Sopenharmony_ci uint64_t cam:1; 27962306a36Sopenharmony_ci uint64_t nbr:3; 28062306a36Sopenharmony_ci uint64_t nbt:4; 28162306a36Sopenharmony_ci uint64_t index:1; 28262306a36Sopenharmony_ci uint64_t fidx:1; 28362306a36Sopenharmony_ci uint64_t pend:1; 28462306a36Sopenharmony_ci uint64_t adr:1; 28562306a36Sopenharmony_ci#else 28662306a36Sopenharmony_ci uint64_t adr:1; 28762306a36Sopenharmony_ci uint64_t pend:1; 28862306a36Sopenharmony_ci uint64_t fidx:1; 28962306a36Sopenharmony_ci uint64_t index:1; 29062306a36Sopenharmony_ci uint64_t nbt:4; 29162306a36Sopenharmony_ci uint64_t nbr:3; 29262306a36Sopenharmony_ci uint64_t cam:1; 29362306a36Sopenharmony_ci uint64_t reserved_12_15:4; 29462306a36Sopenharmony_ci uint64_t pp:10; 29562306a36Sopenharmony_ci uint64_t reserved_26_63:38; 29662306a36Sopenharmony_ci#endif 29762306a36Sopenharmony_ci } cn66xx; 29862306a36Sopenharmony_ci}; 29962306a36Sopenharmony_ci 30062306a36Sopenharmony_ciunion cvmx_pow_ds_pc { 30162306a36Sopenharmony_ci uint64_t u64; 30262306a36Sopenharmony_ci struct cvmx_pow_ds_pc_s { 30362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 30462306a36Sopenharmony_ci uint64_t reserved_32_63:32; 30562306a36Sopenharmony_ci uint64_t ds_pc:32; 30662306a36Sopenharmony_ci#else 30762306a36Sopenharmony_ci uint64_t ds_pc:32; 30862306a36Sopenharmony_ci uint64_t reserved_32_63:32; 30962306a36Sopenharmony_ci#endif 31062306a36Sopenharmony_ci } s; 31162306a36Sopenharmony_ci}; 31262306a36Sopenharmony_ci 31362306a36Sopenharmony_ciunion cvmx_pow_ecc_err { 31462306a36Sopenharmony_ci uint64_t u64; 31562306a36Sopenharmony_ci struct cvmx_pow_ecc_err_s { 31662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 31762306a36Sopenharmony_ci uint64_t reserved_45_63:19; 31862306a36Sopenharmony_ci uint64_t iop_ie:13; 31962306a36Sopenharmony_ci uint64_t reserved_29_31:3; 32062306a36Sopenharmony_ci uint64_t iop:13; 32162306a36Sopenharmony_ci uint64_t reserved_14_15:2; 32262306a36Sopenharmony_ci uint64_t rpe_ie:1; 32362306a36Sopenharmony_ci uint64_t rpe:1; 32462306a36Sopenharmony_ci uint64_t reserved_9_11:3; 32562306a36Sopenharmony_ci uint64_t syn:5; 32662306a36Sopenharmony_ci uint64_t dbe_ie:1; 32762306a36Sopenharmony_ci uint64_t sbe_ie:1; 32862306a36Sopenharmony_ci uint64_t dbe:1; 32962306a36Sopenharmony_ci uint64_t sbe:1; 33062306a36Sopenharmony_ci#else 33162306a36Sopenharmony_ci uint64_t sbe:1; 33262306a36Sopenharmony_ci uint64_t dbe:1; 33362306a36Sopenharmony_ci uint64_t sbe_ie:1; 33462306a36Sopenharmony_ci uint64_t dbe_ie:1; 33562306a36Sopenharmony_ci uint64_t syn:5; 33662306a36Sopenharmony_ci uint64_t reserved_9_11:3; 33762306a36Sopenharmony_ci uint64_t rpe:1; 33862306a36Sopenharmony_ci uint64_t rpe_ie:1; 33962306a36Sopenharmony_ci uint64_t reserved_14_15:2; 34062306a36Sopenharmony_ci uint64_t iop:13; 34162306a36Sopenharmony_ci uint64_t reserved_29_31:3; 34262306a36Sopenharmony_ci uint64_t iop_ie:13; 34362306a36Sopenharmony_ci uint64_t reserved_45_63:19; 34462306a36Sopenharmony_ci#endif 34562306a36Sopenharmony_ci } s; 34662306a36Sopenharmony_ci struct cvmx_pow_ecc_err_cn31xx { 34762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 34862306a36Sopenharmony_ci uint64_t reserved_14_63:50; 34962306a36Sopenharmony_ci uint64_t rpe_ie:1; 35062306a36Sopenharmony_ci uint64_t rpe:1; 35162306a36Sopenharmony_ci uint64_t reserved_9_11:3; 35262306a36Sopenharmony_ci uint64_t syn:5; 35362306a36Sopenharmony_ci uint64_t dbe_ie:1; 35462306a36Sopenharmony_ci uint64_t sbe_ie:1; 35562306a36Sopenharmony_ci uint64_t dbe:1; 35662306a36Sopenharmony_ci uint64_t sbe:1; 35762306a36Sopenharmony_ci#else 35862306a36Sopenharmony_ci uint64_t sbe:1; 35962306a36Sopenharmony_ci uint64_t dbe:1; 36062306a36Sopenharmony_ci uint64_t sbe_ie:1; 36162306a36Sopenharmony_ci uint64_t dbe_ie:1; 36262306a36Sopenharmony_ci uint64_t syn:5; 36362306a36Sopenharmony_ci uint64_t reserved_9_11:3; 36462306a36Sopenharmony_ci uint64_t rpe:1; 36562306a36Sopenharmony_ci uint64_t rpe_ie:1; 36662306a36Sopenharmony_ci uint64_t reserved_14_63:50; 36762306a36Sopenharmony_ci#endif 36862306a36Sopenharmony_ci } cn31xx; 36962306a36Sopenharmony_ci}; 37062306a36Sopenharmony_ci 37162306a36Sopenharmony_ciunion cvmx_pow_int_ctl { 37262306a36Sopenharmony_ci uint64_t u64; 37362306a36Sopenharmony_ci struct cvmx_pow_int_ctl_s { 37462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 37562306a36Sopenharmony_ci uint64_t reserved_6_63:58; 37662306a36Sopenharmony_ci uint64_t pfr_dis:1; 37762306a36Sopenharmony_ci uint64_t nbr_thr:5; 37862306a36Sopenharmony_ci#else 37962306a36Sopenharmony_ci uint64_t nbr_thr:5; 38062306a36Sopenharmony_ci uint64_t pfr_dis:1; 38162306a36Sopenharmony_ci uint64_t reserved_6_63:58; 38262306a36Sopenharmony_ci#endif 38362306a36Sopenharmony_ci } s; 38462306a36Sopenharmony_ci}; 38562306a36Sopenharmony_ci 38662306a36Sopenharmony_ciunion cvmx_pow_iq_cntx { 38762306a36Sopenharmony_ci uint64_t u64; 38862306a36Sopenharmony_ci struct cvmx_pow_iq_cntx_s { 38962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 39062306a36Sopenharmony_ci uint64_t reserved_32_63:32; 39162306a36Sopenharmony_ci uint64_t iq_cnt:32; 39262306a36Sopenharmony_ci#else 39362306a36Sopenharmony_ci uint64_t iq_cnt:32; 39462306a36Sopenharmony_ci uint64_t reserved_32_63:32; 39562306a36Sopenharmony_ci#endif 39662306a36Sopenharmony_ci } s; 39762306a36Sopenharmony_ci}; 39862306a36Sopenharmony_ci 39962306a36Sopenharmony_ciunion cvmx_pow_iq_com_cnt { 40062306a36Sopenharmony_ci uint64_t u64; 40162306a36Sopenharmony_ci struct cvmx_pow_iq_com_cnt_s { 40262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 40362306a36Sopenharmony_ci uint64_t reserved_32_63:32; 40462306a36Sopenharmony_ci uint64_t iq_cnt:32; 40562306a36Sopenharmony_ci#else 40662306a36Sopenharmony_ci uint64_t iq_cnt:32; 40762306a36Sopenharmony_ci uint64_t reserved_32_63:32; 40862306a36Sopenharmony_ci#endif 40962306a36Sopenharmony_ci } s; 41062306a36Sopenharmony_ci}; 41162306a36Sopenharmony_ci 41262306a36Sopenharmony_ciunion cvmx_pow_iq_int { 41362306a36Sopenharmony_ci uint64_t u64; 41462306a36Sopenharmony_ci struct cvmx_pow_iq_int_s { 41562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 41662306a36Sopenharmony_ci uint64_t reserved_8_63:56; 41762306a36Sopenharmony_ci uint64_t iq_int:8; 41862306a36Sopenharmony_ci#else 41962306a36Sopenharmony_ci uint64_t iq_int:8; 42062306a36Sopenharmony_ci uint64_t reserved_8_63:56; 42162306a36Sopenharmony_ci#endif 42262306a36Sopenharmony_ci } s; 42362306a36Sopenharmony_ci}; 42462306a36Sopenharmony_ci 42562306a36Sopenharmony_ciunion cvmx_pow_iq_int_en { 42662306a36Sopenharmony_ci uint64_t u64; 42762306a36Sopenharmony_ci struct cvmx_pow_iq_int_en_s { 42862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 42962306a36Sopenharmony_ci uint64_t reserved_8_63:56; 43062306a36Sopenharmony_ci uint64_t int_en:8; 43162306a36Sopenharmony_ci#else 43262306a36Sopenharmony_ci uint64_t int_en:8; 43362306a36Sopenharmony_ci uint64_t reserved_8_63:56; 43462306a36Sopenharmony_ci#endif 43562306a36Sopenharmony_ci } s; 43662306a36Sopenharmony_ci}; 43762306a36Sopenharmony_ci 43862306a36Sopenharmony_ciunion cvmx_pow_iq_thrx { 43962306a36Sopenharmony_ci uint64_t u64; 44062306a36Sopenharmony_ci struct cvmx_pow_iq_thrx_s { 44162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 44262306a36Sopenharmony_ci uint64_t reserved_32_63:32; 44362306a36Sopenharmony_ci uint64_t iq_thr:32; 44462306a36Sopenharmony_ci#else 44562306a36Sopenharmony_ci uint64_t iq_thr:32; 44662306a36Sopenharmony_ci uint64_t reserved_32_63:32; 44762306a36Sopenharmony_ci#endif 44862306a36Sopenharmony_ci } s; 44962306a36Sopenharmony_ci}; 45062306a36Sopenharmony_ci 45162306a36Sopenharmony_ciunion cvmx_pow_nos_cnt { 45262306a36Sopenharmony_ci uint64_t u64; 45362306a36Sopenharmony_ci struct cvmx_pow_nos_cnt_s { 45462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 45562306a36Sopenharmony_ci uint64_t reserved_12_63:52; 45662306a36Sopenharmony_ci uint64_t nos_cnt:12; 45762306a36Sopenharmony_ci#else 45862306a36Sopenharmony_ci uint64_t nos_cnt:12; 45962306a36Sopenharmony_ci uint64_t reserved_12_63:52; 46062306a36Sopenharmony_ci#endif 46162306a36Sopenharmony_ci } s; 46262306a36Sopenharmony_ci struct cvmx_pow_nos_cnt_cn30xx { 46362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 46462306a36Sopenharmony_ci uint64_t reserved_7_63:57; 46562306a36Sopenharmony_ci uint64_t nos_cnt:7; 46662306a36Sopenharmony_ci#else 46762306a36Sopenharmony_ci uint64_t nos_cnt:7; 46862306a36Sopenharmony_ci uint64_t reserved_7_63:57; 46962306a36Sopenharmony_ci#endif 47062306a36Sopenharmony_ci } cn30xx; 47162306a36Sopenharmony_ci struct cvmx_pow_nos_cnt_cn31xx { 47262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 47362306a36Sopenharmony_ci uint64_t reserved_9_63:55; 47462306a36Sopenharmony_ci uint64_t nos_cnt:9; 47562306a36Sopenharmony_ci#else 47662306a36Sopenharmony_ci uint64_t nos_cnt:9; 47762306a36Sopenharmony_ci uint64_t reserved_9_63:55; 47862306a36Sopenharmony_ci#endif 47962306a36Sopenharmony_ci } cn31xx; 48062306a36Sopenharmony_ci struct cvmx_pow_nos_cnt_cn52xx { 48162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 48262306a36Sopenharmony_ci uint64_t reserved_10_63:54; 48362306a36Sopenharmony_ci uint64_t nos_cnt:10; 48462306a36Sopenharmony_ci#else 48562306a36Sopenharmony_ci uint64_t nos_cnt:10; 48662306a36Sopenharmony_ci uint64_t reserved_10_63:54; 48762306a36Sopenharmony_ci#endif 48862306a36Sopenharmony_ci } cn52xx; 48962306a36Sopenharmony_ci struct cvmx_pow_nos_cnt_cn63xx { 49062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 49162306a36Sopenharmony_ci uint64_t reserved_11_63:53; 49262306a36Sopenharmony_ci uint64_t nos_cnt:11; 49362306a36Sopenharmony_ci#else 49462306a36Sopenharmony_ci uint64_t nos_cnt:11; 49562306a36Sopenharmony_ci uint64_t reserved_11_63:53; 49662306a36Sopenharmony_ci#endif 49762306a36Sopenharmony_ci } cn63xx; 49862306a36Sopenharmony_ci}; 49962306a36Sopenharmony_ci 50062306a36Sopenharmony_ciunion cvmx_pow_nw_tim { 50162306a36Sopenharmony_ci uint64_t u64; 50262306a36Sopenharmony_ci struct cvmx_pow_nw_tim_s { 50362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 50462306a36Sopenharmony_ci uint64_t reserved_10_63:54; 50562306a36Sopenharmony_ci uint64_t nw_tim:10; 50662306a36Sopenharmony_ci#else 50762306a36Sopenharmony_ci uint64_t nw_tim:10; 50862306a36Sopenharmony_ci uint64_t reserved_10_63:54; 50962306a36Sopenharmony_ci#endif 51062306a36Sopenharmony_ci } s; 51162306a36Sopenharmony_ci}; 51262306a36Sopenharmony_ci 51362306a36Sopenharmony_ciunion cvmx_pow_pf_rst_msk { 51462306a36Sopenharmony_ci uint64_t u64; 51562306a36Sopenharmony_ci struct cvmx_pow_pf_rst_msk_s { 51662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 51762306a36Sopenharmony_ci uint64_t reserved_8_63:56; 51862306a36Sopenharmony_ci uint64_t rst_msk:8; 51962306a36Sopenharmony_ci#else 52062306a36Sopenharmony_ci uint64_t rst_msk:8; 52162306a36Sopenharmony_ci uint64_t reserved_8_63:56; 52262306a36Sopenharmony_ci#endif 52362306a36Sopenharmony_ci } s; 52462306a36Sopenharmony_ci}; 52562306a36Sopenharmony_ci 52662306a36Sopenharmony_ciunion cvmx_pow_pp_grp_mskx { 52762306a36Sopenharmony_ci uint64_t u64; 52862306a36Sopenharmony_ci struct cvmx_pow_pp_grp_mskx_s { 52962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 53062306a36Sopenharmony_ci uint64_t reserved_48_63:16; 53162306a36Sopenharmony_ci uint64_t qos7_pri:4; 53262306a36Sopenharmony_ci uint64_t qos6_pri:4; 53362306a36Sopenharmony_ci uint64_t qos5_pri:4; 53462306a36Sopenharmony_ci uint64_t qos4_pri:4; 53562306a36Sopenharmony_ci uint64_t qos3_pri:4; 53662306a36Sopenharmony_ci uint64_t qos2_pri:4; 53762306a36Sopenharmony_ci uint64_t qos1_pri:4; 53862306a36Sopenharmony_ci uint64_t qos0_pri:4; 53962306a36Sopenharmony_ci uint64_t grp_msk:16; 54062306a36Sopenharmony_ci#else 54162306a36Sopenharmony_ci uint64_t grp_msk:16; 54262306a36Sopenharmony_ci uint64_t qos0_pri:4; 54362306a36Sopenharmony_ci uint64_t qos1_pri:4; 54462306a36Sopenharmony_ci uint64_t qos2_pri:4; 54562306a36Sopenharmony_ci uint64_t qos3_pri:4; 54662306a36Sopenharmony_ci uint64_t qos4_pri:4; 54762306a36Sopenharmony_ci uint64_t qos5_pri:4; 54862306a36Sopenharmony_ci uint64_t qos6_pri:4; 54962306a36Sopenharmony_ci uint64_t qos7_pri:4; 55062306a36Sopenharmony_ci uint64_t reserved_48_63:16; 55162306a36Sopenharmony_ci#endif 55262306a36Sopenharmony_ci } s; 55362306a36Sopenharmony_ci struct cvmx_pow_pp_grp_mskx_cn30xx { 55462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 55562306a36Sopenharmony_ci uint64_t reserved_16_63:48; 55662306a36Sopenharmony_ci uint64_t grp_msk:16; 55762306a36Sopenharmony_ci#else 55862306a36Sopenharmony_ci uint64_t grp_msk:16; 55962306a36Sopenharmony_ci uint64_t reserved_16_63:48; 56062306a36Sopenharmony_ci#endif 56162306a36Sopenharmony_ci } cn30xx; 56262306a36Sopenharmony_ci}; 56362306a36Sopenharmony_ci 56462306a36Sopenharmony_ciunion cvmx_pow_qos_rndx { 56562306a36Sopenharmony_ci uint64_t u64; 56662306a36Sopenharmony_ci struct cvmx_pow_qos_rndx_s { 56762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 56862306a36Sopenharmony_ci uint64_t reserved_32_63:32; 56962306a36Sopenharmony_ci uint64_t rnd_p3:8; 57062306a36Sopenharmony_ci uint64_t rnd_p2:8; 57162306a36Sopenharmony_ci uint64_t rnd_p1:8; 57262306a36Sopenharmony_ci uint64_t rnd:8; 57362306a36Sopenharmony_ci#else 57462306a36Sopenharmony_ci uint64_t rnd:8; 57562306a36Sopenharmony_ci uint64_t rnd_p1:8; 57662306a36Sopenharmony_ci uint64_t rnd_p2:8; 57762306a36Sopenharmony_ci uint64_t rnd_p3:8; 57862306a36Sopenharmony_ci uint64_t reserved_32_63:32; 57962306a36Sopenharmony_ci#endif 58062306a36Sopenharmony_ci } s; 58162306a36Sopenharmony_ci}; 58262306a36Sopenharmony_ci 58362306a36Sopenharmony_ciunion cvmx_pow_qos_thrx { 58462306a36Sopenharmony_ci uint64_t u64; 58562306a36Sopenharmony_ci struct cvmx_pow_qos_thrx_s { 58662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 58762306a36Sopenharmony_ci uint64_t reserved_60_63:4; 58862306a36Sopenharmony_ci uint64_t des_cnt:12; 58962306a36Sopenharmony_ci uint64_t buf_cnt:12; 59062306a36Sopenharmony_ci uint64_t free_cnt:12; 59162306a36Sopenharmony_ci uint64_t reserved_23_23:1; 59262306a36Sopenharmony_ci uint64_t max_thr:11; 59362306a36Sopenharmony_ci uint64_t reserved_11_11:1; 59462306a36Sopenharmony_ci uint64_t min_thr:11; 59562306a36Sopenharmony_ci#else 59662306a36Sopenharmony_ci uint64_t min_thr:11; 59762306a36Sopenharmony_ci uint64_t reserved_11_11:1; 59862306a36Sopenharmony_ci uint64_t max_thr:11; 59962306a36Sopenharmony_ci uint64_t reserved_23_23:1; 60062306a36Sopenharmony_ci uint64_t free_cnt:12; 60162306a36Sopenharmony_ci uint64_t buf_cnt:12; 60262306a36Sopenharmony_ci uint64_t des_cnt:12; 60362306a36Sopenharmony_ci uint64_t reserved_60_63:4; 60462306a36Sopenharmony_ci#endif 60562306a36Sopenharmony_ci } s; 60662306a36Sopenharmony_ci struct cvmx_pow_qos_thrx_cn30xx { 60762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 60862306a36Sopenharmony_ci uint64_t reserved_55_63:9; 60962306a36Sopenharmony_ci uint64_t des_cnt:7; 61062306a36Sopenharmony_ci uint64_t reserved_43_47:5; 61162306a36Sopenharmony_ci uint64_t buf_cnt:7; 61262306a36Sopenharmony_ci uint64_t reserved_31_35:5; 61362306a36Sopenharmony_ci uint64_t free_cnt:7; 61462306a36Sopenharmony_ci uint64_t reserved_18_23:6; 61562306a36Sopenharmony_ci uint64_t max_thr:6; 61662306a36Sopenharmony_ci uint64_t reserved_6_11:6; 61762306a36Sopenharmony_ci uint64_t min_thr:6; 61862306a36Sopenharmony_ci#else 61962306a36Sopenharmony_ci uint64_t min_thr:6; 62062306a36Sopenharmony_ci uint64_t reserved_6_11:6; 62162306a36Sopenharmony_ci uint64_t max_thr:6; 62262306a36Sopenharmony_ci uint64_t reserved_18_23:6; 62362306a36Sopenharmony_ci uint64_t free_cnt:7; 62462306a36Sopenharmony_ci uint64_t reserved_31_35:5; 62562306a36Sopenharmony_ci uint64_t buf_cnt:7; 62662306a36Sopenharmony_ci uint64_t reserved_43_47:5; 62762306a36Sopenharmony_ci uint64_t des_cnt:7; 62862306a36Sopenharmony_ci uint64_t reserved_55_63:9; 62962306a36Sopenharmony_ci#endif 63062306a36Sopenharmony_ci } cn30xx; 63162306a36Sopenharmony_ci struct cvmx_pow_qos_thrx_cn31xx { 63262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 63362306a36Sopenharmony_ci uint64_t reserved_57_63:7; 63462306a36Sopenharmony_ci uint64_t des_cnt:9; 63562306a36Sopenharmony_ci uint64_t reserved_45_47:3; 63662306a36Sopenharmony_ci uint64_t buf_cnt:9; 63762306a36Sopenharmony_ci uint64_t reserved_33_35:3; 63862306a36Sopenharmony_ci uint64_t free_cnt:9; 63962306a36Sopenharmony_ci uint64_t reserved_20_23:4; 64062306a36Sopenharmony_ci uint64_t max_thr:8; 64162306a36Sopenharmony_ci uint64_t reserved_8_11:4; 64262306a36Sopenharmony_ci uint64_t min_thr:8; 64362306a36Sopenharmony_ci#else 64462306a36Sopenharmony_ci uint64_t min_thr:8; 64562306a36Sopenharmony_ci uint64_t reserved_8_11:4; 64662306a36Sopenharmony_ci uint64_t max_thr:8; 64762306a36Sopenharmony_ci uint64_t reserved_20_23:4; 64862306a36Sopenharmony_ci uint64_t free_cnt:9; 64962306a36Sopenharmony_ci uint64_t reserved_33_35:3; 65062306a36Sopenharmony_ci uint64_t buf_cnt:9; 65162306a36Sopenharmony_ci uint64_t reserved_45_47:3; 65262306a36Sopenharmony_ci uint64_t des_cnt:9; 65362306a36Sopenharmony_ci uint64_t reserved_57_63:7; 65462306a36Sopenharmony_ci#endif 65562306a36Sopenharmony_ci } cn31xx; 65662306a36Sopenharmony_ci struct cvmx_pow_qos_thrx_cn52xx { 65762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 65862306a36Sopenharmony_ci uint64_t reserved_58_63:6; 65962306a36Sopenharmony_ci uint64_t des_cnt:10; 66062306a36Sopenharmony_ci uint64_t reserved_46_47:2; 66162306a36Sopenharmony_ci uint64_t buf_cnt:10; 66262306a36Sopenharmony_ci uint64_t reserved_34_35:2; 66362306a36Sopenharmony_ci uint64_t free_cnt:10; 66462306a36Sopenharmony_ci uint64_t reserved_21_23:3; 66562306a36Sopenharmony_ci uint64_t max_thr:9; 66662306a36Sopenharmony_ci uint64_t reserved_9_11:3; 66762306a36Sopenharmony_ci uint64_t min_thr:9; 66862306a36Sopenharmony_ci#else 66962306a36Sopenharmony_ci uint64_t min_thr:9; 67062306a36Sopenharmony_ci uint64_t reserved_9_11:3; 67162306a36Sopenharmony_ci uint64_t max_thr:9; 67262306a36Sopenharmony_ci uint64_t reserved_21_23:3; 67362306a36Sopenharmony_ci uint64_t free_cnt:10; 67462306a36Sopenharmony_ci uint64_t reserved_34_35:2; 67562306a36Sopenharmony_ci uint64_t buf_cnt:10; 67662306a36Sopenharmony_ci uint64_t reserved_46_47:2; 67762306a36Sopenharmony_ci uint64_t des_cnt:10; 67862306a36Sopenharmony_ci uint64_t reserved_58_63:6; 67962306a36Sopenharmony_ci#endif 68062306a36Sopenharmony_ci } cn52xx; 68162306a36Sopenharmony_ci struct cvmx_pow_qos_thrx_cn63xx { 68262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 68362306a36Sopenharmony_ci uint64_t reserved_59_63:5; 68462306a36Sopenharmony_ci uint64_t des_cnt:11; 68562306a36Sopenharmony_ci uint64_t reserved_47_47:1; 68662306a36Sopenharmony_ci uint64_t buf_cnt:11; 68762306a36Sopenharmony_ci uint64_t reserved_35_35:1; 68862306a36Sopenharmony_ci uint64_t free_cnt:11; 68962306a36Sopenharmony_ci uint64_t reserved_22_23:2; 69062306a36Sopenharmony_ci uint64_t max_thr:10; 69162306a36Sopenharmony_ci uint64_t reserved_10_11:2; 69262306a36Sopenharmony_ci uint64_t min_thr:10; 69362306a36Sopenharmony_ci#else 69462306a36Sopenharmony_ci uint64_t min_thr:10; 69562306a36Sopenharmony_ci uint64_t reserved_10_11:2; 69662306a36Sopenharmony_ci uint64_t max_thr:10; 69762306a36Sopenharmony_ci uint64_t reserved_22_23:2; 69862306a36Sopenharmony_ci uint64_t free_cnt:11; 69962306a36Sopenharmony_ci uint64_t reserved_35_35:1; 70062306a36Sopenharmony_ci uint64_t buf_cnt:11; 70162306a36Sopenharmony_ci uint64_t reserved_47_47:1; 70262306a36Sopenharmony_ci uint64_t des_cnt:11; 70362306a36Sopenharmony_ci uint64_t reserved_59_63:5; 70462306a36Sopenharmony_ci#endif 70562306a36Sopenharmony_ci } cn63xx; 70662306a36Sopenharmony_ci}; 70762306a36Sopenharmony_ci 70862306a36Sopenharmony_ciunion cvmx_pow_ts_pc { 70962306a36Sopenharmony_ci uint64_t u64; 71062306a36Sopenharmony_ci struct cvmx_pow_ts_pc_s { 71162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 71262306a36Sopenharmony_ci uint64_t reserved_32_63:32; 71362306a36Sopenharmony_ci uint64_t ts_pc:32; 71462306a36Sopenharmony_ci#else 71562306a36Sopenharmony_ci uint64_t ts_pc:32; 71662306a36Sopenharmony_ci uint64_t reserved_32_63:32; 71762306a36Sopenharmony_ci#endif 71862306a36Sopenharmony_ci } s; 71962306a36Sopenharmony_ci}; 72062306a36Sopenharmony_ci 72162306a36Sopenharmony_ciunion cvmx_pow_wa_com_pc { 72262306a36Sopenharmony_ci uint64_t u64; 72362306a36Sopenharmony_ci struct cvmx_pow_wa_com_pc_s { 72462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 72562306a36Sopenharmony_ci uint64_t reserved_32_63:32; 72662306a36Sopenharmony_ci uint64_t wa_pc:32; 72762306a36Sopenharmony_ci#else 72862306a36Sopenharmony_ci uint64_t wa_pc:32; 72962306a36Sopenharmony_ci uint64_t reserved_32_63:32; 73062306a36Sopenharmony_ci#endif 73162306a36Sopenharmony_ci } s; 73262306a36Sopenharmony_ci}; 73362306a36Sopenharmony_ci 73462306a36Sopenharmony_ciunion cvmx_pow_wa_pcx { 73562306a36Sopenharmony_ci uint64_t u64; 73662306a36Sopenharmony_ci struct cvmx_pow_wa_pcx_s { 73762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 73862306a36Sopenharmony_ci uint64_t reserved_32_63:32; 73962306a36Sopenharmony_ci uint64_t wa_pc:32; 74062306a36Sopenharmony_ci#else 74162306a36Sopenharmony_ci uint64_t wa_pc:32; 74262306a36Sopenharmony_ci uint64_t reserved_32_63:32; 74362306a36Sopenharmony_ci#endif 74462306a36Sopenharmony_ci } s; 74562306a36Sopenharmony_ci}; 74662306a36Sopenharmony_ci 74762306a36Sopenharmony_ciunion cvmx_pow_wq_int { 74862306a36Sopenharmony_ci uint64_t u64; 74962306a36Sopenharmony_ci struct cvmx_pow_wq_int_s { 75062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 75162306a36Sopenharmony_ci uint64_t reserved_32_63:32; 75262306a36Sopenharmony_ci uint64_t iq_dis:16; 75362306a36Sopenharmony_ci uint64_t wq_int:16; 75462306a36Sopenharmony_ci#else 75562306a36Sopenharmony_ci uint64_t wq_int:16; 75662306a36Sopenharmony_ci uint64_t iq_dis:16; 75762306a36Sopenharmony_ci uint64_t reserved_32_63:32; 75862306a36Sopenharmony_ci#endif 75962306a36Sopenharmony_ci } s; 76062306a36Sopenharmony_ci}; 76162306a36Sopenharmony_ci 76262306a36Sopenharmony_ciunion cvmx_pow_wq_int_cntx { 76362306a36Sopenharmony_ci uint64_t u64; 76462306a36Sopenharmony_ci struct cvmx_pow_wq_int_cntx_s { 76562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 76662306a36Sopenharmony_ci uint64_t reserved_28_63:36; 76762306a36Sopenharmony_ci uint64_t tc_cnt:4; 76862306a36Sopenharmony_ci uint64_t ds_cnt:12; 76962306a36Sopenharmony_ci uint64_t iq_cnt:12; 77062306a36Sopenharmony_ci#else 77162306a36Sopenharmony_ci uint64_t iq_cnt:12; 77262306a36Sopenharmony_ci uint64_t ds_cnt:12; 77362306a36Sopenharmony_ci uint64_t tc_cnt:4; 77462306a36Sopenharmony_ci uint64_t reserved_28_63:36; 77562306a36Sopenharmony_ci#endif 77662306a36Sopenharmony_ci } s; 77762306a36Sopenharmony_ci struct cvmx_pow_wq_int_cntx_cn30xx { 77862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 77962306a36Sopenharmony_ci uint64_t reserved_28_63:36; 78062306a36Sopenharmony_ci uint64_t tc_cnt:4; 78162306a36Sopenharmony_ci uint64_t reserved_19_23:5; 78262306a36Sopenharmony_ci uint64_t ds_cnt:7; 78362306a36Sopenharmony_ci uint64_t reserved_7_11:5; 78462306a36Sopenharmony_ci uint64_t iq_cnt:7; 78562306a36Sopenharmony_ci#else 78662306a36Sopenharmony_ci uint64_t iq_cnt:7; 78762306a36Sopenharmony_ci uint64_t reserved_7_11:5; 78862306a36Sopenharmony_ci uint64_t ds_cnt:7; 78962306a36Sopenharmony_ci uint64_t reserved_19_23:5; 79062306a36Sopenharmony_ci uint64_t tc_cnt:4; 79162306a36Sopenharmony_ci uint64_t reserved_28_63:36; 79262306a36Sopenharmony_ci#endif 79362306a36Sopenharmony_ci } cn30xx; 79462306a36Sopenharmony_ci struct cvmx_pow_wq_int_cntx_cn31xx { 79562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 79662306a36Sopenharmony_ci uint64_t reserved_28_63:36; 79762306a36Sopenharmony_ci uint64_t tc_cnt:4; 79862306a36Sopenharmony_ci uint64_t reserved_21_23:3; 79962306a36Sopenharmony_ci uint64_t ds_cnt:9; 80062306a36Sopenharmony_ci uint64_t reserved_9_11:3; 80162306a36Sopenharmony_ci uint64_t iq_cnt:9; 80262306a36Sopenharmony_ci#else 80362306a36Sopenharmony_ci uint64_t iq_cnt:9; 80462306a36Sopenharmony_ci uint64_t reserved_9_11:3; 80562306a36Sopenharmony_ci uint64_t ds_cnt:9; 80662306a36Sopenharmony_ci uint64_t reserved_21_23:3; 80762306a36Sopenharmony_ci uint64_t tc_cnt:4; 80862306a36Sopenharmony_ci uint64_t reserved_28_63:36; 80962306a36Sopenharmony_ci#endif 81062306a36Sopenharmony_ci } cn31xx; 81162306a36Sopenharmony_ci struct cvmx_pow_wq_int_cntx_cn52xx { 81262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 81362306a36Sopenharmony_ci uint64_t reserved_28_63:36; 81462306a36Sopenharmony_ci uint64_t tc_cnt:4; 81562306a36Sopenharmony_ci uint64_t reserved_22_23:2; 81662306a36Sopenharmony_ci uint64_t ds_cnt:10; 81762306a36Sopenharmony_ci uint64_t reserved_10_11:2; 81862306a36Sopenharmony_ci uint64_t iq_cnt:10; 81962306a36Sopenharmony_ci#else 82062306a36Sopenharmony_ci uint64_t iq_cnt:10; 82162306a36Sopenharmony_ci uint64_t reserved_10_11:2; 82262306a36Sopenharmony_ci uint64_t ds_cnt:10; 82362306a36Sopenharmony_ci uint64_t reserved_22_23:2; 82462306a36Sopenharmony_ci uint64_t tc_cnt:4; 82562306a36Sopenharmony_ci uint64_t reserved_28_63:36; 82662306a36Sopenharmony_ci#endif 82762306a36Sopenharmony_ci } cn52xx; 82862306a36Sopenharmony_ci struct cvmx_pow_wq_int_cntx_cn63xx { 82962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 83062306a36Sopenharmony_ci uint64_t reserved_28_63:36; 83162306a36Sopenharmony_ci uint64_t tc_cnt:4; 83262306a36Sopenharmony_ci uint64_t reserved_23_23:1; 83362306a36Sopenharmony_ci uint64_t ds_cnt:11; 83462306a36Sopenharmony_ci uint64_t reserved_11_11:1; 83562306a36Sopenharmony_ci uint64_t iq_cnt:11; 83662306a36Sopenharmony_ci#else 83762306a36Sopenharmony_ci uint64_t iq_cnt:11; 83862306a36Sopenharmony_ci uint64_t reserved_11_11:1; 83962306a36Sopenharmony_ci uint64_t ds_cnt:11; 84062306a36Sopenharmony_ci uint64_t reserved_23_23:1; 84162306a36Sopenharmony_ci uint64_t tc_cnt:4; 84262306a36Sopenharmony_ci uint64_t reserved_28_63:36; 84362306a36Sopenharmony_ci#endif 84462306a36Sopenharmony_ci } cn63xx; 84562306a36Sopenharmony_ci}; 84662306a36Sopenharmony_ci 84762306a36Sopenharmony_ciunion cvmx_pow_wq_int_pc { 84862306a36Sopenharmony_ci uint64_t u64; 84962306a36Sopenharmony_ci struct cvmx_pow_wq_int_pc_s { 85062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 85162306a36Sopenharmony_ci uint64_t reserved_60_63:4; 85262306a36Sopenharmony_ci uint64_t pc:28; 85362306a36Sopenharmony_ci uint64_t reserved_28_31:4; 85462306a36Sopenharmony_ci uint64_t pc_thr:20; 85562306a36Sopenharmony_ci uint64_t reserved_0_7:8; 85662306a36Sopenharmony_ci#else 85762306a36Sopenharmony_ci uint64_t reserved_0_7:8; 85862306a36Sopenharmony_ci uint64_t pc_thr:20; 85962306a36Sopenharmony_ci uint64_t reserved_28_31:4; 86062306a36Sopenharmony_ci uint64_t pc:28; 86162306a36Sopenharmony_ci uint64_t reserved_60_63:4; 86262306a36Sopenharmony_ci#endif 86362306a36Sopenharmony_ci } s; 86462306a36Sopenharmony_ci}; 86562306a36Sopenharmony_ci 86662306a36Sopenharmony_ciunion cvmx_pow_wq_int_thrx { 86762306a36Sopenharmony_ci uint64_t u64; 86862306a36Sopenharmony_ci struct cvmx_pow_wq_int_thrx_s { 86962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 87062306a36Sopenharmony_ci uint64_t reserved_29_63:35; 87162306a36Sopenharmony_ci uint64_t tc_en:1; 87262306a36Sopenharmony_ci uint64_t tc_thr:4; 87362306a36Sopenharmony_ci uint64_t reserved_23_23:1; 87462306a36Sopenharmony_ci uint64_t ds_thr:11; 87562306a36Sopenharmony_ci uint64_t reserved_11_11:1; 87662306a36Sopenharmony_ci uint64_t iq_thr:11; 87762306a36Sopenharmony_ci#else 87862306a36Sopenharmony_ci uint64_t iq_thr:11; 87962306a36Sopenharmony_ci uint64_t reserved_11_11:1; 88062306a36Sopenharmony_ci uint64_t ds_thr:11; 88162306a36Sopenharmony_ci uint64_t reserved_23_23:1; 88262306a36Sopenharmony_ci uint64_t tc_thr:4; 88362306a36Sopenharmony_ci uint64_t tc_en:1; 88462306a36Sopenharmony_ci uint64_t reserved_29_63:35; 88562306a36Sopenharmony_ci#endif 88662306a36Sopenharmony_ci } s; 88762306a36Sopenharmony_ci struct cvmx_pow_wq_int_thrx_cn30xx { 88862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 88962306a36Sopenharmony_ci uint64_t reserved_29_63:35; 89062306a36Sopenharmony_ci uint64_t tc_en:1; 89162306a36Sopenharmony_ci uint64_t tc_thr:4; 89262306a36Sopenharmony_ci uint64_t reserved_18_23:6; 89362306a36Sopenharmony_ci uint64_t ds_thr:6; 89462306a36Sopenharmony_ci uint64_t reserved_6_11:6; 89562306a36Sopenharmony_ci uint64_t iq_thr:6; 89662306a36Sopenharmony_ci#else 89762306a36Sopenharmony_ci uint64_t iq_thr:6; 89862306a36Sopenharmony_ci uint64_t reserved_6_11:6; 89962306a36Sopenharmony_ci uint64_t ds_thr:6; 90062306a36Sopenharmony_ci uint64_t reserved_18_23:6; 90162306a36Sopenharmony_ci uint64_t tc_thr:4; 90262306a36Sopenharmony_ci uint64_t tc_en:1; 90362306a36Sopenharmony_ci uint64_t reserved_29_63:35; 90462306a36Sopenharmony_ci#endif 90562306a36Sopenharmony_ci } cn30xx; 90662306a36Sopenharmony_ci struct cvmx_pow_wq_int_thrx_cn31xx { 90762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 90862306a36Sopenharmony_ci uint64_t reserved_29_63:35; 90962306a36Sopenharmony_ci uint64_t tc_en:1; 91062306a36Sopenharmony_ci uint64_t tc_thr:4; 91162306a36Sopenharmony_ci uint64_t reserved_20_23:4; 91262306a36Sopenharmony_ci uint64_t ds_thr:8; 91362306a36Sopenharmony_ci uint64_t reserved_8_11:4; 91462306a36Sopenharmony_ci uint64_t iq_thr:8; 91562306a36Sopenharmony_ci#else 91662306a36Sopenharmony_ci uint64_t iq_thr:8; 91762306a36Sopenharmony_ci uint64_t reserved_8_11:4; 91862306a36Sopenharmony_ci uint64_t ds_thr:8; 91962306a36Sopenharmony_ci uint64_t reserved_20_23:4; 92062306a36Sopenharmony_ci uint64_t tc_thr:4; 92162306a36Sopenharmony_ci uint64_t tc_en:1; 92262306a36Sopenharmony_ci uint64_t reserved_29_63:35; 92362306a36Sopenharmony_ci#endif 92462306a36Sopenharmony_ci } cn31xx; 92562306a36Sopenharmony_ci struct cvmx_pow_wq_int_thrx_cn52xx { 92662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 92762306a36Sopenharmony_ci uint64_t reserved_29_63:35; 92862306a36Sopenharmony_ci uint64_t tc_en:1; 92962306a36Sopenharmony_ci uint64_t tc_thr:4; 93062306a36Sopenharmony_ci uint64_t reserved_21_23:3; 93162306a36Sopenharmony_ci uint64_t ds_thr:9; 93262306a36Sopenharmony_ci uint64_t reserved_9_11:3; 93362306a36Sopenharmony_ci uint64_t iq_thr:9; 93462306a36Sopenharmony_ci#else 93562306a36Sopenharmony_ci uint64_t iq_thr:9; 93662306a36Sopenharmony_ci uint64_t reserved_9_11:3; 93762306a36Sopenharmony_ci uint64_t ds_thr:9; 93862306a36Sopenharmony_ci uint64_t reserved_21_23:3; 93962306a36Sopenharmony_ci uint64_t tc_thr:4; 94062306a36Sopenharmony_ci uint64_t tc_en:1; 94162306a36Sopenharmony_ci uint64_t reserved_29_63:35; 94262306a36Sopenharmony_ci#endif 94362306a36Sopenharmony_ci } cn52xx; 94462306a36Sopenharmony_ci struct cvmx_pow_wq_int_thrx_cn63xx { 94562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 94662306a36Sopenharmony_ci uint64_t reserved_29_63:35; 94762306a36Sopenharmony_ci uint64_t tc_en:1; 94862306a36Sopenharmony_ci uint64_t tc_thr:4; 94962306a36Sopenharmony_ci uint64_t reserved_22_23:2; 95062306a36Sopenharmony_ci uint64_t ds_thr:10; 95162306a36Sopenharmony_ci uint64_t reserved_10_11:2; 95262306a36Sopenharmony_ci uint64_t iq_thr:10; 95362306a36Sopenharmony_ci#else 95462306a36Sopenharmony_ci uint64_t iq_thr:10; 95562306a36Sopenharmony_ci uint64_t reserved_10_11:2; 95662306a36Sopenharmony_ci uint64_t ds_thr:10; 95762306a36Sopenharmony_ci uint64_t reserved_22_23:2; 95862306a36Sopenharmony_ci uint64_t tc_thr:4; 95962306a36Sopenharmony_ci uint64_t tc_en:1; 96062306a36Sopenharmony_ci uint64_t reserved_29_63:35; 96162306a36Sopenharmony_ci#endif 96262306a36Sopenharmony_ci } cn63xx; 96362306a36Sopenharmony_ci}; 96462306a36Sopenharmony_ci 96562306a36Sopenharmony_ciunion cvmx_pow_ws_pcx { 96662306a36Sopenharmony_ci uint64_t u64; 96762306a36Sopenharmony_ci struct cvmx_pow_ws_pcx_s { 96862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 96962306a36Sopenharmony_ci uint64_t reserved_32_63:32; 97062306a36Sopenharmony_ci uint64_t ws_pc:32; 97162306a36Sopenharmony_ci#else 97262306a36Sopenharmony_ci uint64_t ws_pc:32; 97362306a36Sopenharmony_ci uint64_t reserved_32_63:32; 97462306a36Sopenharmony_ci#endif 97562306a36Sopenharmony_ci } s; 97662306a36Sopenharmony_ci}; 97762306a36Sopenharmony_ci 97862306a36Sopenharmony_ciunion cvmx_sso_wq_int_thrx { 97962306a36Sopenharmony_ci uint64_t u64; 98062306a36Sopenharmony_ci struct { 98162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 98262306a36Sopenharmony_ci uint64_t reserved_33_63:31; 98362306a36Sopenharmony_ci uint64_t tc_en:1; 98462306a36Sopenharmony_ci uint64_t tc_thr:4; 98562306a36Sopenharmony_ci uint64_t reserved_26_27:2; 98662306a36Sopenharmony_ci uint64_t ds_thr:12; 98762306a36Sopenharmony_ci uint64_t reserved_12_13:2; 98862306a36Sopenharmony_ci uint64_t iq_thr:12; 98962306a36Sopenharmony_ci#else 99062306a36Sopenharmony_ci uint64_t iq_thr:12; 99162306a36Sopenharmony_ci uint64_t reserved_12_13:2; 99262306a36Sopenharmony_ci uint64_t ds_thr:12; 99362306a36Sopenharmony_ci uint64_t reserved_26_27:2; 99462306a36Sopenharmony_ci uint64_t tc_thr:4; 99562306a36Sopenharmony_ci uint64_t tc_en:1; 99662306a36Sopenharmony_ci uint64_t reserved_33_63:31; 99762306a36Sopenharmony_ci#endif 99862306a36Sopenharmony_ci } s; 99962306a36Sopenharmony_ci}; 100062306a36Sopenharmony_ci 100162306a36Sopenharmony_ci#endif 1002