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_IOB_DEFS_H__
2962306a36Sopenharmony_ci#define __CVMX_IOB_DEFS_H__
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci#define CVMX_IOB_BIST_STATUS (CVMX_ADD_IO_SEG(0x00011800F00007F8ull))
3262306a36Sopenharmony_ci#define CVMX_IOB_CTL_STATUS (CVMX_ADD_IO_SEG(0x00011800F0000050ull))
3362306a36Sopenharmony_ci#define CVMX_IOB_DWB_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000028ull))
3462306a36Sopenharmony_ci#define CVMX_IOB_FAU_TIMEOUT (CVMX_ADD_IO_SEG(0x00011800F0000000ull))
3562306a36Sopenharmony_ci#define CVMX_IOB_I2C_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000010ull))
3662306a36Sopenharmony_ci#define CVMX_IOB_INB_CONTROL_MATCH (CVMX_ADD_IO_SEG(0x00011800F0000078ull))
3762306a36Sopenharmony_ci#define CVMX_IOB_INB_CONTROL_MATCH_ENB (CVMX_ADD_IO_SEG(0x00011800F0000088ull))
3862306a36Sopenharmony_ci#define CVMX_IOB_INB_DATA_MATCH (CVMX_ADD_IO_SEG(0x00011800F0000070ull))
3962306a36Sopenharmony_ci#define CVMX_IOB_INB_DATA_MATCH_ENB (CVMX_ADD_IO_SEG(0x00011800F0000080ull))
4062306a36Sopenharmony_ci#define CVMX_IOB_INT_ENB (CVMX_ADD_IO_SEG(0x00011800F0000060ull))
4162306a36Sopenharmony_ci#define CVMX_IOB_INT_SUM (CVMX_ADD_IO_SEG(0x00011800F0000058ull))
4262306a36Sopenharmony_ci#define CVMX_IOB_N2C_L2C_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000020ull))
4362306a36Sopenharmony_ci#define CVMX_IOB_N2C_RSP_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000008ull))
4462306a36Sopenharmony_ci#define CVMX_IOB_OUTB_COM_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000040ull))
4562306a36Sopenharmony_ci#define CVMX_IOB_OUTB_CONTROL_MATCH (CVMX_ADD_IO_SEG(0x00011800F0000098ull))
4662306a36Sopenharmony_ci#define CVMX_IOB_OUTB_CONTROL_MATCH_ENB (CVMX_ADD_IO_SEG(0x00011800F00000A8ull))
4762306a36Sopenharmony_ci#define CVMX_IOB_OUTB_DATA_MATCH (CVMX_ADD_IO_SEG(0x00011800F0000090ull))
4862306a36Sopenharmony_ci#define CVMX_IOB_OUTB_DATA_MATCH_ENB (CVMX_ADD_IO_SEG(0x00011800F00000A0ull))
4962306a36Sopenharmony_ci#define CVMX_IOB_OUTB_FPA_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000048ull))
5062306a36Sopenharmony_ci#define CVMX_IOB_OUTB_REQ_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000038ull))
5162306a36Sopenharmony_ci#define CVMX_IOB_P2C_REQ_PRI_CNT (CVMX_ADD_IO_SEG(0x00011800F0000018ull))
5262306a36Sopenharmony_ci#define CVMX_IOB_PKT_ERR (CVMX_ADD_IO_SEG(0x00011800F0000068ull))
5362306a36Sopenharmony_ci#define CVMX_IOB_TO_CMB_CREDITS (CVMX_ADD_IO_SEG(0x00011800F00000B0ull))
5462306a36Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_00_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000800ull))
5562306a36Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_111_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000B78ull))
5662306a36Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_223_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000EF8ull))
5762306a36Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_24_CREDITS (CVMX_ADD_IO_SEG(0x00011800F00008C0ull))
5862306a36Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_32_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000900ull))
5962306a36Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_40_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000940ull))
6062306a36Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_55_CREDITS (CVMX_ADD_IO_SEG(0x00011800F00009B8ull))
6162306a36Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_64_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000A00ull))
6262306a36Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_79_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000A78ull))
6362306a36Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_96_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000B00ull))
6462306a36Sopenharmony_ci#define CVMX_IOB_TO_NCB_DID_98_CREDITS (CVMX_ADD_IO_SEG(0x00011800F0000B10ull))
6562306a36Sopenharmony_ci
6662306a36Sopenharmony_ciunion cvmx_iob_bist_status {
6762306a36Sopenharmony_ci	uint64_t u64;
6862306a36Sopenharmony_ci	struct cvmx_iob_bist_status_s {
6962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
7062306a36Sopenharmony_ci		uint64_t reserved_2_63:62;
7162306a36Sopenharmony_ci		uint64_t ibd:1;
7262306a36Sopenharmony_ci		uint64_t icd:1;
7362306a36Sopenharmony_ci#else
7462306a36Sopenharmony_ci		uint64_t icd:1;
7562306a36Sopenharmony_ci		uint64_t ibd:1;
7662306a36Sopenharmony_ci		uint64_t reserved_2_63:62;
7762306a36Sopenharmony_ci#endif
7862306a36Sopenharmony_ci	} s;
7962306a36Sopenharmony_ci	struct cvmx_iob_bist_status_cn30xx {
8062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
8162306a36Sopenharmony_ci		uint64_t reserved_18_63:46;
8262306a36Sopenharmony_ci		uint64_t icnrcb:1;
8362306a36Sopenharmony_ci		uint64_t icr0:1;
8462306a36Sopenharmony_ci		uint64_t icr1:1;
8562306a36Sopenharmony_ci		uint64_t icnr1:1;
8662306a36Sopenharmony_ci		uint64_t icnr0:1;
8762306a36Sopenharmony_ci		uint64_t ibdr0:1;
8862306a36Sopenharmony_ci		uint64_t ibdr1:1;
8962306a36Sopenharmony_ci		uint64_t ibr0:1;
9062306a36Sopenharmony_ci		uint64_t ibr1:1;
9162306a36Sopenharmony_ci		uint64_t icnrt:1;
9262306a36Sopenharmony_ci		uint64_t ibrq0:1;
9362306a36Sopenharmony_ci		uint64_t ibrq1:1;
9462306a36Sopenharmony_ci		uint64_t icrn0:1;
9562306a36Sopenharmony_ci		uint64_t icrn1:1;
9662306a36Sopenharmony_ci		uint64_t icrp0:1;
9762306a36Sopenharmony_ci		uint64_t icrp1:1;
9862306a36Sopenharmony_ci		uint64_t ibd:1;
9962306a36Sopenharmony_ci		uint64_t icd:1;
10062306a36Sopenharmony_ci#else
10162306a36Sopenharmony_ci		uint64_t icd:1;
10262306a36Sopenharmony_ci		uint64_t ibd:1;
10362306a36Sopenharmony_ci		uint64_t icrp1:1;
10462306a36Sopenharmony_ci		uint64_t icrp0:1;
10562306a36Sopenharmony_ci		uint64_t icrn1:1;
10662306a36Sopenharmony_ci		uint64_t icrn0:1;
10762306a36Sopenharmony_ci		uint64_t ibrq1:1;
10862306a36Sopenharmony_ci		uint64_t ibrq0:1;
10962306a36Sopenharmony_ci		uint64_t icnrt:1;
11062306a36Sopenharmony_ci		uint64_t ibr1:1;
11162306a36Sopenharmony_ci		uint64_t ibr0:1;
11262306a36Sopenharmony_ci		uint64_t ibdr1:1;
11362306a36Sopenharmony_ci		uint64_t ibdr0:1;
11462306a36Sopenharmony_ci		uint64_t icnr0:1;
11562306a36Sopenharmony_ci		uint64_t icnr1:1;
11662306a36Sopenharmony_ci		uint64_t icr1:1;
11762306a36Sopenharmony_ci		uint64_t icr0:1;
11862306a36Sopenharmony_ci		uint64_t icnrcb:1;
11962306a36Sopenharmony_ci		uint64_t reserved_18_63:46;
12062306a36Sopenharmony_ci#endif
12162306a36Sopenharmony_ci	} cn30xx;
12262306a36Sopenharmony_ci	struct cvmx_iob_bist_status_cn61xx {
12362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
12462306a36Sopenharmony_ci		uint64_t reserved_23_63:41;
12562306a36Sopenharmony_ci		uint64_t xmdfif:1;
12662306a36Sopenharmony_ci		uint64_t xmcfif:1;
12762306a36Sopenharmony_ci		uint64_t iorfif:1;
12862306a36Sopenharmony_ci		uint64_t rsdfif:1;
12962306a36Sopenharmony_ci		uint64_t iocfif:1;
13062306a36Sopenharmony_ci		uint64_t icnrcb:1;
13162306a36Sopenharmony_ci		uint64_t icr0:1;
13262306a36Sopenharmony_ci		uint64_t icr1:1;
13362306a36Sopenharmony_ci		uint64_t icnr1:1;
13462306a36Sopenharmony_ci		uint64_t icnr0:1;
13562306a36Sopenharmony_ci		uint64_t ibdr0:1;
13662306a36Sopenharmony_ci		uint64_t ibdr1:1;
13762306a36Sopenharmony_ci		uint64_t ibr0:1;
13862306a36Sopenharmony_ci		uint64_t ibr1:1;
13962306a36Sopenharmony_ci		uint64_t icnrt:1;
14062306a36Sopenharmony_ci		uint64_t ibrq0:1;
14162306a36Sopenharmony_ci		uint64_t ibrq1:1;
14262306a36Sopenharmony_ci		uint64_t icrn0:1;
14362306a36Sopenharmony_ci		uint64_t icrn1:1;
14462306a36Sopenharmony_ci		uint64_t icrp0:1;
14562306a36Sopenharmony_ci		uint64_t icrp1:1;
14662306a36Sopenharmony_ci		uint64_t ibd:1;
14762306a36Sopenharmony_ci		uint64_t icd:1;
14862306a36Sopenharmony_ci#else
14962306a36Sopenharmony_ci		uint64_t icd:1;
15062306a36Sopenharmony_ci		uint64_t ibd:1;
15162306a36Sopenharmony_ci		uint64_t icrp1:1;
15262306a36Sopenharmony_ci		uint64_t icrp0:1;
15362306a36Sopenharmony_ci		uint64_t icrn1:1;
15462306a36Sopenharmony_ci		uint64_t icrn0:1;
15562306a36Sopenharmony_ci		uint64_t ibrq1:1;
15662306a36Sopenharmony_ci		uint64_t ibrq0:1;
15762306a36Sopenharmony_ci		uint64_t icnrt:1;
15862306a36Sopenharmony_ci		uint64_t ibr1:1;
15962306a36Sopenharmony_ci		uint64_t ibr0:1;
16062306a36Sopenharmony_ci		uint64_t ibdr1:1;
16162306a36Sopenharmony_ci		uint64_t ibdr0:1;
16262306a36Sopenharmony_ci		uint64_t icnr0:1;
16362306a36Sopenharmony_ci		uint64_t icnr1:1;
16462306a36Sopenharmony_ci		uint64_t icr1:1;
16562306a36Sopenharmony_ci		uint64_t icr0:1;
16662306a36Sopenharmony_ci		uint64_t icnrcb:1;
16762306a36Sopenharmony_ci		uint64_t iocfif:1;
16862306a36Sopenharmony_ci		uint64_t rsdfif:1;
16962306a36Sopenharmony_ci		uint64_t iorfif:1;
17062306a36Sopenharmony_ci		uint64_t xmcfif:1;
17162306a36Sopenharmony_ci		uint64_t xmdfif:1;
17262306a36Sopenharmony_ci		uint64_t reserved_23_63:41;
17362306a36Sopenharmony_ci#endif
17462306a36Sopenharmony_ci	} cn61xx;
17562306a36Sopenharmony_ci	struct cvmx_iob_bist_status_cn68xx {
17662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
17762306a36Sopenharmony_ci		uint64_t reserved_18_63:46;
17862306a36Sopenharmony_ci		uint64_t xmdfif:1;
17962306a36Sopenharmony_ci		uint64_t xmcfif:1;
18062306a36Sopenharmony_ci		uint64_t iorfif:1;
18162306a36Sopenharmony_ci		uint64_t rsdfif:1;
18262306a36Sopenharmony_ci		uint64_t iocfif:1;
18362306a36Sopenharmony_ci		uint64_t icnrcb:1;
18462306a36Sopenharmony_ci		uint64_t icr0:1;
18562306a36Sopenharmony_ci		uint64_t icr1:1;
18662306a36Sopenharmony_ci		uint64_t icnr0:1;
18762306a36Sopenharmony_ci		uint64_t ibr0:1;
18862306a36Sopenharmony_ci		uint64_t ibr1:1;
18962306a36Sopenharmony_ci		uint64_t icnrt:1;
19062306a36Sopenharmony_ci		uint64_t ibrq0:1;
19162306a36Sopenharmony_ci		uint64_t ibrq1:1;
19262306a36Sopenharmony_ci		uint64_t icrn0:1;
19362306a36Sopenharmony_ci		uint64_t icrn1:1;
19462306a36Sopenharmony_ci		uint64_t ibd:1;
19562306a36Sopenharmony_ci		uint64_t icd:1;
19662306a36Sopenharmony_ci#else
19762306a36Sopenharmony_ci		uint64_t icd:1;
19862306a36Sopenharmony_ci		uint64_t ibd:1;
19962306a36Sopenharmony_ci		uint64_t icrn1:1;
20062306a36Sopenharmony_ci		uint64_t icrn0:1;
20162306a36Sopenharmony_ci		uint64_t ibrq1:1;
20262306a36Sopenharmony_ci		uint64_t ibrq0:1;
20362306a36Sopenharmony_ci		uint64_t icnrt:1;
20462306a36Sopenharmony_ci		uint64_t ibr1:1;
20562306a36Sopenharmony_ci		uint64_t ibr0:1;
20662306a36Sopenharmony_ci		uint64_t icnr0:1;
20762306a36Sopenharmony_ci		uint64_t icr1:1;
20862306a36Sopenharmony_ci		uint64_t icr0:1;
20962306a36Sopenharmony_ci		uint64_t icnrcb:1;
21062306a36Sopenharmony_ci		uint64_t iocfif:1;
21162306a36Sopenharmony_ci		uint64_t rsdfif:1;
21262306a36Sopenharmony_ci		uint64_t iorfif:1;
21362306a36Sopenharmony_ci		uint64_t xmcfif:1;
21462306a36Sopenharmony_ci		uint64_t xmdfif:1;
21562306a36Sopenharmony_ci		uint64_t reserved_18_63:46;
21662306a36Sopenharmony_ci#endif
21762306a36Sopenharmony_ci	} cn68xx;
21862306a36Sopenharmony_ci};
21962306a36Sopenharmony_ci
22062306a36Sopenharmony_ciunion cvmx_iob_ctl_status {
22162306a36Sopenharmony_ci	uint64_t u64;
22262306a36Sopenharmony_ci	struct cvmx_iob_ctl_status_s {
22362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
22462306a36Sopenharmony_ci		uint64_t reserved_11_63:53;
22562306a36Sopenharmony_ci		uint64_t fif_dly:1;
22662306a36Sopenharmony_ci		uint64_t xmc_per:4;
22762306a36Sopenharmony_ci		uint64_t reserved_5_5:1;
22862306a36Sopenharmony_ci		uint64_t outb_mat:1;
22962306a36Sopenharmony_ci		uint64_t inb_mat:1;
23062306a36Sopenharmony_ci		uint64_t pko_enb:1;
23162306a36Sopenharmony_ci		uint64_t dwb_enb:1;
23262306a36Sopenharmony_ci		uint64_t fau_end:1;
23362306a36Sopenharmony_ci#else
23462306a36Sopenharmony_ci		uint64_t fau_end:1;
23562306a36Sopenharmony_ci		uint64_t dwb_enb:1;
23662306a36Sopenharmony_ci		uint64_t pko_enb:1;
23762306a36Sopenharmony_ci		uint64_t inb_mat:1;
23862306a36Sopenharmony_ci		uint64_t outb_mat:1;
23962306a36Sopenharmony_ci		uint64_t reserved_5_5:1;
24062306a36Sopenharmony_ci		uint64_t xmc_per:4;
24162306a36Sopenharmony_ci		uint64_t fif_dly:1;
24262306a36Sopenharmony_ci		uint64_t reserved_11_63:53;
24362306a36Sopenharmony_ci#endif
24462306a36Sopenharmony_ci	} s;
24562306a36Sopenharmony_ci	struct cvmx_iob_ctl_status_cn30xx {
24662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
24762306a36Sopenharmony_ci		uint64_t reserved_5_63:59;
24862306a36Sopenharmony_ci		uint64_t outb_mat:1;
24962306a36Sopenharmony_ci		uint64_t inb_mat:1;
25062306a36Sopenharmony_ci		uint64_t pko_enb:1;
25162306a36Sopenharmony_ci		uint64_t dwb_enb:1;
25262306a36Sopenharmony_ci		uint64_t fau_end:1;
25362306a36Sopenharmony_ci#else
25462306a36Sopenharmony_ci		uint64_t fau_end:1;
25562306a36Sopenharmony_ci		uint64_t dwb_enb:1;
25662306a36Sopenharmony_ci		uint64_t pko_enb:1;
25762306a36Sopenharmony_ci		uint64_t inb_mat:1;
25862306a36Sopenharmony_ci		uint64_t outb_mat:1;
25962306a36Sopenharmony_ci		uint64_t reserved_5_63:59;
26062306a36Sopenharmony_ci#endif
26162306a36Sopenharmony_ci	} cn30xx;
26262306a36Sopenharmony_ci	struct cvmx_iob_ctl_status_cn52xx {
26362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
26462306a36Sopenharmony_ci		uint64_t reserved_6_63:58;
26562306a36Sopenharmony_ci		uint64_t rr_mode:1;
26662306a36Sopenharmony_ci		uint64_t outb_mat:1;
26762306a36Sopenharmony_ci		uint64_t inb_mat:1;
26862306a36Sopenharmony_ci		uint64_t pko_enb:1;
26962306a36Sopenharmony_ci		uint64_t dwb_enb:1;
27062306a36Sopenharmony_ci		uint64_t fau_end:1;
27162306a36Sopenharmony_ci#else
27262306a36Sopenharmony_ci		uint64_t fau_end:1;
27362306a36Sopenharmony_ci		uint64_t dwb_enb:1;
27462306a36Sopenharmony_ci		uint64_t pko_enb:1;
27562306a36Sopenharmony_ci		uint64_t inb_mat:1;
27662306a36Sopenharmony_ci		uint64_t outb_mat:1;
27762306a36Sopenharmony_ci		uint64_t rr_mode:1;
27862306a36Sopenharmony_ci		uint64_t reserved_6_63:58;
27962306a36Sopenharmony_ci#endif
28062306a36Sopenharmony_ci	} cn52xx;
28162306a36Sopenharmony_ci	struct cvmx_iob_ctl_status_cn61xx {
28262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
28362306a36Sopenharmony_ci		uint64_t reserved_11_63:53;
28462306a36Sopenharmony_ci		uint64_t fif_dly:1;
28562306a36Sopenharmony_ci		uint64_t xmc_per:4;
28662306a36Sopenharmony_ci		uint64_t rr_mode:1;
28762306a36Sopenharmony_ci		uint64_t outb_mat:1;
28862306a36Sopenharmony_ci		uint64_t inb_mat:1;
28962306a36Sopenharmony_ci		uint64_t pko_enb:1;
29062306a36Sopenharmony_ci		uint64_t dwb_enb:1;
29162306a36Sopenharmony_ci		uint64_t fau_end:1;
29262306a36Sopenharmony_ci#else
29362306a36Sopenharmony_ci		uint64_t fau_end:1;
29462306a36Sopenharmony_ci		uint64_t dwb_enb:1;
29562306a36Sopenharmony_ci		uint64_t pko_enb:1;
29662306a36Sopenharmony_ci		uint64_t inb_mat:1;
29762306a36Sopenharmony_ci		uint64_t outb_mat:1;
29862306a36Sopenharmony_ci		uint64_t rr_mode:1;
29962306a36Sopenharmony_ci		uint64_t xmc_per:4;
30062306a36Sopenharmony_ci		uint64_t fif_dly:1;
30162306a36Sopenharmony_ci		uint64_t reserved_11_63:53;
30262306a36Sopenharmony_ci#endif
30362306a36Sopenharmony_ci	} cn61xx;
30462306a36Sopenharmony_ci	struct cvmx_iob_ctl_status_cn63xx {
30562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
30662306a36Sopenharmony_ci		uint64_t reserved_10_63:54;
30762306a36Sopenharmony_ci		uint64_t xmc_per:4;
30862306a36Sopenharmony_ci		uint64_t rr_mode:1;
30962306a36Sopenharmony_ci		uint64_t outb_mat:1;
31062306a36Sopenharmony_ci		uint64_t inb_mat:1;
31162306a36Sopenharmony_ci		uint64_t pko_enb:1;
31262306a36Sopenharmony_ci		uint64_t dwb_enb:1;
31362306a36Sopenharmony_ci		uint64_t fau_end:1;
31462306a36Sopenharmony_ci#else
31562306a36Sopenharmony_ci		uint64_t fau_end:1;
31662306a36Sopenharmony_ci		uint64_t dwb_enb:1;
31762306a36Sopenharmony_ci		uint64_t pko_enb:1;
31862306a36Sopenharmony_ci		uint64_t inb_mat:1;
31962306a36Sopenharmony_ci		uint64_t outb_mat:1;
32062306a36Sopenharmony_ci		uint64_t rr_mode:1;
32162306a36Sopenharmony_ci		uint64_t xmc_per:4;
32262306a36Sopenharmony_ci		uint64_t reserved_10_63:54;
32362306a36Sopenharmony_ci#endif
32462306a36Sopenharmony_ci	} cn63xx;
32562306a36Sopenharmony_ci	struct cvmx_iob_ctl_status_cn68xx {
32662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
32762306a36Sopenharmony_ci		uint64_t reserved_11_63:53;
32862306a36Sopenharmony_ci		uint64_t fif_dly:1;
32962306a36Sopenharmony_ci		uint64_t xmc_per:4;
33062306a36Sopenharmony_ci		uint64_t rsvr5:1;
33162306a36Sopenharmony_ci		uint64_t outb_mat:1;
33262306a36Sopenharmony_ci		uint64_t inb_mat:1;
33362306a36Sopenharmony_ci		uint64_t pko_enb:1;
33462306a36Sopenharmony_ci		uint64_t dwb_enb:1;
33562306a36Sopenharmony_ci		uint64_t fau_end:1;
33662306a36Sopenharmony_ci#else
33762306a36Sopenharmony_ci		uint64_t fau_end:1;
33862306a36Sopenharmony_ci		uint64_t dwb_enb:1;
33962306a36Sopenharmony_ci		uint64_t pko_enb:1;
34062306a36Sopenharmony_ci		uint64_t inb_mat:1;
34162306a36Sopenharmony_ci		uint64_t outb_mat:1;
34262306a36Sopenharmony_ci		uint64_t rsvr5:1;
34362306a36Sopenharmony_ci		uint64_t xmc_per:4;
34462306a36Sopenharmony_ci		uint64_t fif_dly:1;
34562306a36Sopenharmony_ci		uint64_t reserved_11_63:53;
34662306a36Sopenharmony_ci#endif
34762306a36Sopenharmony_ci	} cn68xx;
34862306a36Sopenharmony_ci};
34962306a36Sopenharmony_ci
35062306a36Sopenharmony_ciunion cvmx_iob_dwb_pri_cnt {
35162306a36Sopenharmony_ci	uint64_t u64;
35262306a36Sopenharmony_ci	struct cvmx_iob_dwb_pri_cnt_s {
35362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
35462306a36Sopenharmony_ci		uint64_t reserved_16_63:48;
35562306a36Sopenharmony_ci		uint64_t cnt_enb:1;
35662306a36Sopenharmony_ci		uint64_t cnt_val:15;
35762306a36Sopenharmony_ci#else
35862306a36Sopenharmony_ci		uint64_t cnt_val:15;
35962306a36Sopenharmony_ci		uint64_t cnt_enb:1;
36062306a36Sopenharmony_ci		uint64_t reserved_16_63:48;
36162306a36Sopenharmony_ci#endif
36262306a36Sopenharmony_ci	} s;
36362306a36Sopenharmony_ci};
36462306a36Sopenharmony_ci
36562306a36Sopenharmony_ciunion cvmx_iob_fau_timeout {
36662306a36Sopenharmony_ci	uint64_t u64;
36762306a36Sopenharmony_ci	struct cvmx_iob_fau_timeout_s {
36862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
36962306a36Sopenharmony_ci		uint64_t reserved_13_63:51;
37062306a36Sopenharmony_ci		uint64_t tout_enb:1;
37162306a36Sopenharmony_ci		uint64_t tout_val:12;
37262306a36Sopenharmony_ci#else
37362306a36Sopenharmony_ci		uint64_t tout_val:12;
37462306a36Sopenharmony_ci		uint64_t tout_enb:1;
37562306a36Sopenharmony_ci		uint64_t reserved_13_63:51;
37662306a36Sopenharmony_ci#endif
37762306a36Sopenharmony_ci	} s;
37862306a36Sopenharmony_ci};
37962306a36Sopenharmony_ci
38062306a36Sopenharmony_ciunion cvmx_iob_i2c_pri_cnt {
38162306a36Sopenharmony_ci	uint64_t u64;
38262306a36Sopenharmony_ci	struct cvmx_iob_i2c_pri_cnt_s {
38362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
38462306a36Sopenharmony_ci		uint64_t reserved_16_63:48;
38562306a36Sopenharmony_ci		uint64_t cnt_enb:1;
38662306a36Sopenharmony_ci		uint64_t cnt_val:15;
38762306a36Sopenharmony_ci#else
38862306a36Sopenharmony_ci		uint64_t cnt_val:15;
38962306a36Sopenharmony_ci		uint64_t cnt_enb:1;
39062306a36Sopenharmony_ci		uint64_t reserved_16_63:48;
39162306a36Sopenharmony_ci#endif
39262306a36Sopenharmony_ci	} s;
39362306a36Sopenharmony_ci};
39462306a36Sopenharmony_ci
39562306a36Sopenharmony_ciunion cvmx_iob_inb_control_match {
39662306a36Sopenharmony_ci	uint64_t u64;
39762306a36Sopenharmony_ci	struct cvmx_iob_inb_control_match_s {
39862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
39962306a36Sopenharmony_ci		uint64_t reserved_29_63:35;
40062306a36Sopenharmony_ci		uint64_t mask:8;
40162306a36Sopenharmony_ci		uint64_t opc:4;
40262306a36Sopenharmony_ci		uint64_t dst:9;
40362306a36Sopenharmony_ci		uint64_t src:8;
40462306a36Sopenharmony_ci#else
40562306a36Sopenharmony_ci		uint64_t src:8;
40662306a36Sopenharmony_ci		uint64_t dst:9;
40762306a36Sopenharmony_ci		uint64_t opc:4;
40862306a36Sopenharmony_ci		uint64_t mask:8;
40962306a36Sopenharmony_ci		uint64_t reserved_29_63:35;
41062306a36Sopenharmony_ci#endif
41162306a36Sopenharmony_ci	} s;
41262306a36Sopenharmony_ci};
41362306a36Sopenharmony_ci
41462306a36Sopenharmony_ciunion cvmx_iob_inb_control_match_enb {
41562306a36Sopenharmony_ci	uint64_t u64;
41662306a36Sopenharmony_ci	struct cvmx_iob_inb_control_match_enb_s {
41762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
41862306a36Sopenharmony_ci		uint64_t reserved_29_63:35;
41962306a36Sopenharmony_ci		uint64_t mask:8;
42062306a36Sopenharmony_ci		uint64_t opc:4;
42162306a36Sopenharmony_ci		uint64_t dst:9;
42262306a36Sopenharmony_ci		uint64_t src:8;
42362306a36Sopenharmony_ci#else
42462306a36Sopenharmony_ci		uint64_t src:8;
42562306a36Sopenharmony_ci		uint64_t dst:9;
42662306a36Sopenharmony_ci		uint64_t opc:4;
42762306a36Sopenharmony_ci		uint64_t mask:8;
42862306a36Sopenharmony_ci		uint64_t reserved_29_63:35;
42962306a36Sopenharmony_ci#endif
43062306a36Sopenharmony_ci	} s;
43162306a36Sopenharmony_ci};
43262306a36Sopenharmony_ci
43362306a36Sopenharmony_ciunion cvmx_iob_inb_data_match {
43462306a36Sopenharmony_ci	uint64_t u64;
43562306a36Sopenharmony_ci	struct cvmx_iob_inb_data_match_s {
43662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
43762306a36Sopenharmony_ci		uint64_t data:64;
43862306a36Sopenharmony_ci#else
43962306a36Sopenharmony_ci		uint64_t data:64;
44062306a36Sopenharmony_ci#endif
44162306a36Sopenharmony_ci	} s;
44262306a36Sopenharmony_ci};
44362306a36Sopenharmony_ci
44462306a36Sopenharmony_ciunion cvmx_iob_inb_data_match_enb {
44562306a36Sopenharmony_ci	uint64_t u64;
44662306a36Sopenharmony_ci	struct cvmx_iob_inb_data_match_enb_s {
44762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
44862306a36Sopenharmony_ci		uint64_t data:64;
44962306a36Sopenharmony_ci#else
45062306a36Sopenharmony_ci		uint64_t data:64;
45162306a36Sopenharmony_ci#endif
45262306a36Sopenharmony_ci	} s;
45362306a36Sopenharmony_ci};
45462306a36Sopenharmony_ci
45562306a36Sopenharmony_ciunion cvmx_iob_int_enb {
45662306a36Sopenharmony_ci	uint64_t u64;
45762306a36Sopenharmony_ci	struct cvmx_iob_int_enb_s {
45862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
45962306a36Sopenharmony_ci		uint64_t reserved_6_63:58;
46062306a36Sopenharmony_ci		uint64_t p_dat:1;
46162306a36Sopenharmony_ci		uint64_t np_dat:1;
46262306a36Sopenharmony_ci		uint64_t p_eop:1;
46362306a36Sopenharmony_ci		uint64_t p_sop:1;
46462306a36Sopenharmony_ci		uint64_t np_eop:1;
46562306a36Sopenharmony_ci		uint64_t np_sop:1;
46662306a36Sopenharmony_ci#else
46762306a36Sopenharmony_ci		uint64_t np_sop:1;
46862306a36Sopenharmony_ci		uint64_t np_eop:1;
46962306a36Sopenharmony_ci		uint64_t p_sop:1;
47062306a36Sopenharmony_ci		uint64_t p_eop:1;
47162306a36Sopenharmony_ci		uint64_t np_dat:1;
47262306a36Sopenharmony_ci		uint64_t p_dat:1;
47362306a36Sopenharmony_ci		uint64_t reserved_6_63:58;
47462306a36Sopenharmony_ci#endif
47562306a36Sopenharmony_ci	} s;
47662306a36Sopenharmony_ci	struct cvmx_iob_int_enb_cn30xx {
47762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
47862306a36Sopenharmony_ci		uint64_t reserved_4_63:60;
47962306a36Sopenharmony_ci		uint64_t p_eop:1;
48062306a36Sopenharmony_ci		uint64_t p_sop:1;
48162306a36Sopenharmony_ci		uint64_t np_eop:1;
48262306a36Sopenharmony_ci		uint64_t np_sop:1;
48362306a36Sopenharmony_ci#else
48462306a36Sopenharmony_ci		uint64_t np_sop:1;
48562306a36Sopenharmony_ci		uint64_t np_eop:1;
48662306a36Sopenharmony_ci		uint64_t p_sop:1;
48762306a36Sopenharmony_ci		uint64_t p_eop:1;
48862306a36Sopenharmony_ci		uint64_t reserved_4_63:60;
48962306a36Sopenharmony_ci#endif
49062306a36Sopenharmony_ci	} cn30xx;
49162306a36Sopenharmony_ci	struct cvmx_iob_int_enb_cn68xx {
49262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
49362306a36Sopenharmony_ci		uint64_t reserved_0_63:64;
49462306a36Sopenharmony_ci#else
49562306a36Sopenharmony_ci		uint64_t reserved_0_63:64;
49662306a36Sopenharmony_ci#endif
49762306a36Sopenharmony_ci	} cn68xx;
49862306a36Sopenharmony_ci};
49962306a36Sopenharmony_ci
50062306a36Sopenharmony_ciunion cvmx_iob_int_sum {
50162306a36Sopenharmony_ci	uint64_t u64;
50262306a36Sopenharmony_ci	struct cvmx_iob_int_sum_s {
50362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
50462306a36Sopenharmony_ci		uint64_t reserved_6_63:58;
50562306a36Sopenharmony_ci		uint64_t p_dat:1;
50662306a36Sopenharmony_ci		uint64_t np_dat:1;
50762306a36Sopenharmony_ci		uint64_t p_eop:1;
50862306a36Sopenharmony_ci		uint64_t p_sop:1;
50962306a36Sopenharmony_ci		uint64_t np_eop:1;
51062306a36Sopenharmony_ci		uint64_t np_sop:1;
51162306a36Sopenharmony_ci#else
51262306a36Sopenharmony_ci		uint64_t np_sop:1;
51362306a36Sopenharmony_ci		uint64_t np_eop:1;
51462306a36Sopenharmony_ci		uint64_t p_sop:1;
51562306a36Sopenharmony_ci		uint64_t p_eop:1;
51662306a36Sopenharmony_ci		uint64_t np_dat:1;
51762306a36Sopenharmony_ci		uint64_t p_dat:1;
51862306a36Sopenharmony_ci		uint64_t reserved_6_63:58;
51962306a36Sopenharmony_ci#endif
52062306a36Sopenharmony_ci	} s;
52162306a36Sopenharmony_ci	struct cvmx_iob_int_sum_cn30xx {
52262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
52362306a36Sopenharmony_ci		uint64_t reserved_4_63:60;
52462306a36Sopenharmony_ci		uint64_t p_eop:1;
52562306a36Sopenharmony_ci		uint64_t p_sop:1;
52662306a36Sopenharmony_ci		uint64_t np_eop:1;
52762306a36Sopenharmony_ci		uint64_t np_sop:1;
52862306a36Sopenharmony_ci#else
52962306a36Sopenharmony_ci		uint64_t np_sop:1;
53062306a36Sopenharmony_ci		uint64_t np_eop:1;
53162306a36Sopenharmony_ci		uint64_t p_sop:1;
53262306a36Sopenharmony_ci		uint64_t p_eop:1;
53362306a36Sopenharmony_ci		uint64_t reserved_4_63:60;
53462306a36Sopenharmony_ci#endif
53562306a36Sopenharmony_ci	} cn30xx;
53662306a36Sopenharmony_ci	struct cvmx_iob_int_sum_cn68xx {
53762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
53862306a36Sopenharmony_ci		uint64_t reserved_0_63:64;
53962306a36Sopenharmony_ci#else
54062306a36Sopenharmony_ci		uint64_t reserved_0_63:64;
54162306a36Sopenharmony_ci#endif
54262306a36Sopenharmony_ci	} cn68xx;
54362306a36Sopenharmony_ci};
54462306a36Sopenharmony_ci
54562306a36Sopenharmony_ciunion cvmx_iob_n2c_l2c_pri_cnt {
54662306a36Sopenharmony_ci	uint64_t u64;
54762306a36Sopenharmony_ci	struct cvmx_iob_n2c_l2c_pri_cnt_s {
54862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
54962306a36Sopenharmony_ci		uint64_t reserved_16_63:48;
55062306a36Sopenharmony_ci		uint64_t cnt_enb:1;
55162306a36Sopenharmony_ci		uint64_t cnt_val:15;
55262306a36Sopenharmony_ci#else
55362306a36Sopenharmony_ci		uint64_t cnt_val:15;
55462306a36Sopenharmony_ci		uint64_t cnt_enb:1;
55562306a36Sopenharmony_ci		uint64_t reserved_16_63:48;
55662306a36Sopenharmony_ci#endif
55762306a36Sopenharmony_ci	} s;
55862306a36Sopenharmony_ci};
55962306a36Sopenharmony_ci
56062306a36Sopenharmony_ciunion cvmx_iob_n2c_rsp_pri_cnt {
56162306a36Sopenharmony_ci	uint64_t u64;
56262306a36Sopenharmony_ci	struct cvmx_iob_n2c_rsp_pri_cnt_s {
56362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
56462306a36Sopenharmony_ci		uint64_t reserved_16_63:48;
56562306a36Sopenharmony_ci		uint64_t cnt_enb:1;
56662306a36Sopenharmony_ci		uint64_t cnt_val:15;
56762306a36Sopenharmony_ci#else
56862306a36Sopenharmony_ci		uint64_t cnt_val:15;
56962306a36Sopenharmony_ci		uint64_t cnt_enb:1;
57062306a36Sopenharmony_ci		uint64_t reserved_16_63:48;
57162306a36Sopenharmony_ci#endif
57262306a36Sopenharmony_ci	} s;
57362306a36Sopenharmony_ci};
57462306a36Sopenharmony_ci
57562306a36Sopenharmony_ciunion cvmx_iob_outb_com_pri_cnt {
57662306a36Sopenharmony_ci	uint64_t u64;
57762306a36Sopenharmony_ci	struct cvmx_iob_outb_com_pri_cnt_s {
57862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
57962306a36Sopenharmony_ci		uint64_t reserved_16_63:48;
58062306a36Sopenharmony_ci		uint64_t cnt_enb:1;
58162306a36Sopenharmony_ci		uint64_t cnt_val:15;
58262306a36Sopenharmony_ci#else
58362306a36Sopenharmony_ci		uint64_t cnt_val:15;
58462306a36Sopenharmony_ci		uint64_t cnt_enb:1;
58562306a36Sopenharmony_ci		uint64_t reserved_16_63:48;
58662306a36Sopenharmony_ci#endif
58762306a36Sopenharmony_ci	} s;
58862306a36Sopenharmony_ci};
58962306a36Sopenharmony_ci
59062306a36Sopenharmony_ciunion cvmx_iob_outb_control_match {
59162306a36Sopenharmony_ci	uint64_t u64;
59262306a36Sopenharmony_ci	struct cvmx_iob_outb_control_match_s {
59362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
59462306a36Sopenharmony_ci		uint64_t reserved_26_63:38;
59562306a36Sopenharmony_ci		uint64_t mask:8;
59662306a36Sopenharmony_ci		uint64_t eot:1;
59762306a36Sopenharmony_ci		uint64_t dst:8;
59862306a36Sopenharmony_ci		uint64_t src:9;
59962306a36Sopenharmony_ci#else
60062306a36Sopenharmony_ci		uint64_t src:9;
60162306a36Sopenharmony_ci		uint64_t dst:8;
60262306a36Sopenharmony_ci		uint64_t eot:1;
60362306a36Sopenharmony_ci		uint64_t mask:8;
60462306a36Sopenharmony_ci		uint64_t reserved_26_63:38;
60562306a36Sopenharmony_ci#endif
60662306a36Sopenharmony_ci	} s;
60762306a36Sopenharmony_ci};
60862306a36Sopenharmony_ci
60962306a36Sopenharmony_ciunion cvmx_iob_outb_control_match_enb {
61062306a36Sopenharmony_ci	uint64_t u64;
61162306a36Sopenharmony_ci	struct cvmx_iob_outb_control_match_enb_s {
61262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
61362306a36Sopenharmony_ci		uint64_t reserved_26_63:38;
61462306a36Sopenharmony_ci		uint64_t mask:8;
61562306a36Sopenharmony_ci		uint64_t eot:1;
61662306a36Sopenharmony_ci		uint64_t dst:8;
61762306a36Sopenharmony_ci		uint64_t src:9;
61862306a36Sopenharmony_ci#else
61962306a36Sopenharmony_ci		uint64_t src:9;
62062306a36Sopenharmony_ci		uint64_t dst:8;
62162306a36Sopenharmony_ci		uint64_t eot:1;
62262306a36Sopenharmony_ci		uint64_t mask:8;
62362306a36Sopenharmony_ci		uint64_t reserved_26_63:38;
62462306a36Sopenharmony_ci#endif
62562306a36Sopenharmony_ci	} s;
62662306a36Sopenharmony_ci};
62762306a36Sopenharmony_ci
62862306a36Sopenharmony_ciunion cvmx_iob_outb_data_match {
62962306a36Sopenharmony_ci	uint64_t u64;
63062306a36Sopenharmony_ci	struct cvmx_iob_outb_data_match_s {
63162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
63262306a36Sopenharmony_ci		uint64_t data:64;
63362306a36Sopenharmony_ci#else
63462306a36Sopenharmony_ci		uint64_t data:64;
63562306a36Sopenharmony_ci#endif
63662306a36Sopenharmony_ci	} s;
63762306a36Sopenharmony_ci};
63862306a36Sopenharmony_ci
63962306a36Sopenharmony_ciunion cvmx_iob_outb_data_match_enb {
64062306a36Sopenharmony_ci	uint64_t u64;
64162306a36Sopenharmony_ci	struct cvmx_iob_outb_data_match_enb_s {
64262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
64362306a36Sopenharmony_ci		uint64_t data:64;
64462306a36Sopenharmony_ci#else
64562306a36Sopenharmony_ci		uint64_t data:64;
64662306a36Sopenharmony_ci#endif
64762306a36Sopenharmony_ci	} s;
64862306a36Sopenharmony_ci};
64962306a36Sopenharmony_ci
65062306a36Sopenharmony_ciunion cvmx_iob_outb_fpa_pri_cnt {
65162306a36Sopenharmony_ci	uint64_t u64;
65262306a36Sopenharmony_ci	struct cvmx_iob_outb_fpa_pri_cnt_s {
65362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
65462306a36Sopenharmony_ci		uint64_t reserved_16_63:48;
65562306a36Sopenharmony_ci		uint64_t cnt_enb:1;
65662306a36Sopenharmony_ci		uint64_t cnt_val:15;
65762306a36Sopenharmony_ci#else
65862306a36Sopenharmony_ci		uint64_t cnt_val:15;
65962306a36Sopenharmony_ci		uint64_t cnt_enb:1;
66062306a36Sopenharmony_ci		uint64_t reserved_16_63:48;
66162306a36Sopenharmony_ci#endif
66262306a36Sopenharmony_ci	} s;
66362306a36Sopenharmony_ci};
66462306a36Sopenharmony_ci
66562306a36Sopenharmony_ciunion cvmx_iob_outb_req_pri_cnt {
66662306a36Sopenharmony_ci	uint64_t u64;
66762306a36Sopenharmony_ci	struct cvmx_iob_outb_req_pri_cnt_s {
66862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
66962306a36Sopenharmony_ci		uint64_t reserved_16_63:48;
67062306a36Sopenharmony_ci		uint64_t cnt_enb:1;
67162306a36Sopenharmony_ci		uint64_t cnt_val:15;
67262306a36Sopenharmony_ci#else
67362306a36Sopenharmony_ci		uint64_t cnt_val:15;
67462306a36Sopenharmony_ci		uint64_t cnt_enb:1;
67562306a36Sopenharmony_ci		uint64_t reserved_16_63:48;
67662306a36Sopenharmony_ci#endif
67762306a36Sopenharmony_ci	} s;
67862306a36Sopenharmony_ci};
67962306a36Sopenharmony_ci
68062306a36Sopenharmony_ciunion cvmx_iob_p2c_req_pri_cnt {
68162306a36Sopenharmony_ci	uint64_t u64;
68262306a36Sopenharmony_ci	struct cvmx_iob_p2c_req_pri_cnt_s {
68362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
68462306a36Sopenharmony_ci		uint64_t reserved_16_63:48;
68562306a36Sopenharmony_ci		uint64_t cnt_enb:1;
68662306a36Sopenharmony_ci		uint64_t cnt_val:15;
68762306a36Sopenharmony_ci#else
68862306a36Sopenharmony_ci		uint64_t cnt_val:15;
68962306a36Sopenharmony_ci		uint64_t cnt_enb:1;
69062306a36Sopenharmony_ci		uint64_t reserved_16_63:48;
69162306a36Sopenharmony_ci#endif
69262306a36Sopenharmony_ci	} s;
69362306a36Sopenharmony_ci};
69462306a36Sopenharmony_ci
69562306a36Sopenharmony_ciunion cvmx_iob_pkt_err {
69662306a36Sopenharmony_ci	uint64_t u64;
69762306a36Sopenharmony_ci	struct cvmx_iob_pkt_err_s {
69862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
69962306a36Sopenharmony_ci		uint64_t reserved_12_63:52;
70062306a36Sopenharmony_ci		uint64_t vport:6;
70162306a36Sopenharmony_ci		uint64_t port:6;
70262306a36Sopenharmony_ci#else
70362306a36Sopenharmony_ci		uint64_t port:6;
70462306a36Sopenharmony_ci		uint64_t vport:6;
70562306a36Sopenharmony_ci		uint64_t reserved_12_63:52;
70662306a36Sopenharmony_ci#endif
70762306a36Sopenharmony_ci	} s;
70862306a36Sopenharmony_ci	struct cvmx_iob_pkt_err_cn30xx {
70962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
71062306a36Sopenharmony_ci		uint64_t reserved_6_63:58;
71162306a36Sopenharmony_ci		uint64_t port:6;
71262306a36Sopenharmony_ci#else
71362306a36Sopenharmony_ci		uint64_t port:6;
71462306a36Sopenharmony_ci		uint64_t reserved_6_63:58;
71562306a36Sopenharmony_ci#endif
71662306a36Sopenharmony_ci	} cn30xx;
71762306a36Sopenharmony_ci};
71862306a36Sopenharmony_ci
71962306a36Sopenharmony_ciunion cvmx_iob_to_cmb_credits {
72062306a36Sopenharmony_ci	uint64_t u64;
72162306a36Sopenharmony_ci	struct cvmx_iob_to_cmb_credits_s {
72262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
72362306a36Sopenharmony_ci		uint64_t reserved_6_63:58;
72462306a36Sopenharmony_ci		uint64_t ncb_rd:3;
72562306a36Sopenharmony_ci		uint64_t ncb_wr:3;
72662306a36Sopenharmony_ci#else
72762306a36Sopenharmony_ci		uint64_t ncb_wr:3;
72862306a36Sopenharmony_ci		uint64_t ncb_rd:3;
72962306a36Sopenharmony_ci		uint64_t reserved_6_63:58;
73062306a36Sopenharmony_ci#endif
73162306a36Sopenharmony_ci	} s;
73262306a36Sopenharmony_ci	struct cvmx_iob_to_cmb_credits_cn52xx {
73362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
73462306a36Sopenharmony_ci		uint64_t reserved_9_63:55;
73562306a36Sopenharmony_ci		uint64_t pko_rd:3;
73662306a36Sopenharmony_ci		uint64_t ncb_rd:3;
73762306a36Sopenharmony_ci		uint64_t ncb_wr:3;
73862306a36Sopenharmony_ci#else
73962306a36Sopenharmony_ci		uint64_t ncb_wr:3;
74062306a36Sopenharmony_ci		uint64_t ncb_rd:3;
74162306a36Sopenharmony_ci		uint64_t pko_rd:3;
74262306a36Sopenharmony_ci		uint64_t reserved_9_63:55;
74362306a36Sopenharmony_ci#endif
74462306a36Sopenharmony_ci	} cn52xx;
74562306a36Sopenharmony_ci	struct cvmx_iob_to_cmb_credits_cn68xx {
74662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
74762306a36Sopenharmony_ci		uint64_t reserved_9_63:55;
74862306a36Sopenharmony_ci		uint64_t dwb:3;
74962306a36Sopenharmony_ci		uint64_t ncb_rd:3;
75062306a36Sopenharmony_ci		uint64_t ncb_wr:3;
75162306a36Sopenharmony_ci#else
75262306a36Sopenharmony_ci		uint64_t ncb_wr:3;
75362306a36Sopenharmony_ci		uint64_t ncb_rd:3;
75462306a36Sopenharmony_ci		uint64_t dwb:3;
75562306a36Sopenharmony_ci		uint64_t reserved_9_63:55;
75662306a36Sopenharmony_ci#endif
75762306a36Sopenharmony_ci	} cn68xx;
75862306a36Sopenharmony_ci};
75962306a36Sopenharmony_ci
76062306a36Sopenharmony_ciunion cvmx_iob_to_ncb_did_00_credits {
76162306a36Sopenharmony_ci	uint64_t u64;
76262306a36Sopenharmony_ci	struct cvmx_iob_to_ncb_did_00_credits_s {
76362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
76462306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
76562306a36Sopenharmony_ci		uint64_t crd:7;
76662306a36Sopenharmony_ci#else
76762306a36Sopenharmony_ci		uint64_t crd:7;
76862306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
76962306a36Sopenharmony_ci#endif
77062306a36Sopenharmony_ci	} s;
77162306a36Sopenharmony_ci};
77262306a36Sopenharmony_ci
77362306a36Sopenharmony_ciunion cvmx_iob_to_ncb_did_111_credits {
77462306a36Sopenharmony_ci	uint64_t u64;
77562306a36Sopenharmony_ci	struct cvmx_iob_to_ncb_did_111_credits_s {
77662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
77762306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
77862306a36Sopenharmony_ci		uint64_t crd:7;
77962306a36Sopenharmony_ci#else
78062306a36Sopenharmony_ci		uint64_t crd:7;
78162306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
78262306a36Sopenharmony_ci#endif
78362306a36Sopenharmony_ci	} s;
78462306a36Sopenharmony_ci};
78562306a36Sopenharmony_ci
78662306a36Sopenharmony_ciunion cvmx_iob_to_ncb_did_223_credits {
78762306a36Sopenharmony_ci	uint64_t u64;
78862306a36Sopenharmony_ci	struct cvmx_iob_to_ncb_did_223_credits_s {
78962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
79062306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
79162306a36Sopenharmony_ci		uint64_t crd:7;
79262306a36Sopenharmony_ci#else
79362306a36Sopenharmony_ci		uint64_t crd:7;
79462306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
79562306a36Sopenharmony_ci#endif
79662306a36Sopenharmony_ci	} s;
79762306a36Sopenharmony_ci};
79862306a36Sopenharmony_ci
79962306a36Sopenharmony_ciunion cvmx_iob_to_ncb_did_24_credits {
80062306a36Sopenharmony_ci	uint64_t u64;
80162306a36Sopenharmony_ci	struct cvmx_iob_to_ncb_did_24_credits_s {
80262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
80362306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
80462306a36Sopenharmony_ci		uint64_t crd:7;
80562306a36Sopenharmony_ci#else
80662306a36Sopenharmony_ci		uint64_t crd:7;
80762306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
80862306a36Sopenharmony_ci#endif
80962306a36Sopenharmony_ci	} s;
81062306a36Sopenharmony_ci};
81162306a36Sopenharmony_ci
81262306a36Sopenharmony_ciunion cvmx_iob_to_ncb_did_32_credits {
81362306a36Sopenharmony_ci	uint64_t u64;
81462306a36Sopenharmony_ci	struct cvmx_iob_to_ncb_did_32_credits_s {
81562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
81662306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
81762306a36Sopenharmony_ci		uint64_t crd:7;
81862306a36Sopenharmony_ci#else
81962306a36Sopenharmony_ci		uint64_t crd:7;
82062306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
82162306a36Sopenharmony_ci#endif
82262306a36Sopenharmony_ci	} s;
82362306a36Sopenharmony_ci};
82462306a36Sopenharmony_ci
82562306a36Sopenharmony_ciunion cvmx_iob_to_ncb_did_40_credits {
82662306a36Sopenharmony_ci	uint64_t u64;
82762306a36Sopenharmony_ci	struct cvmx_iob_to_ncb_did_40_credits_s {
82862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
82962306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
83062306a36Sopenharmony_ci		uint64_t crd:7;
83162306a36Sopenharmony_ci#else
83262306a36Sopenharmony_ci		uint64_t crd:7;
83362306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
83462306a36Sopenharmony_ci#endif
83562306a36Sopenharmony_ci	} s;
83662306a36Sopenharmony_ci};
83762306a36Sopenharmony_ci
83862306a36Sopenharmony_ciunion cvmx_iob_to_ncb_did_55_credits {
83962306a36Sopenharmony_ci	uint64_t u64;
84062306a36Sopenharmony_ci	struct cvmx_iob_to_ncb_did_55_credits_s {
84162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
84262306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
84362306a36Sopenharmony_ci		uint64_t crd:7;
84462306a36Sopenharmony_ci#else
84562306a36Sopenharmony_ci		uint64_t crd:7;
84662306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
84762306a36Sopenharmony_ci#endif
84862306a36Sopenharmony_ci	} s;
84962306a36Sopenharmony_ci};
85062306a36Sopenharmony_ci
85162306a36Sopenharmony_ciunion cvmx_iob_to_ncb_did_64_credits {
85262306a36Sopenharmony_ci	uint64_t u64;
85362306a36Sopenharmony_ci	struct cvmx_iob_to_ncb_did_64_credits_s {
85462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
85562306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
85662306a36Sopenharmony_ci		uint64_t crd:7;
85762306a36Sopenharmony_ci#else
85862306a36Sopenharmony_ci		uint64_t crd:7;
85962306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
86062306a36Sopenharmony_ci#endif
86162306a36Sopenharmony_ci	} s;
86262306a36Sopenharmony_ci};
86362306a36Sopenharmony_ci
86462306a36Sopenharmony_ciunion cvmx_iob_to_ncb_did_79_credits {
86562306a36Sopenharmony_ci	uint64_t u64;
86662306a36Sopenharmony_ci	struct cvmx_iob_to_ncb_did_79_credits_s {
86762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
86862306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
86962306a36Sopenharmony_ci		uint64_t crd:7;
87062306a36Sopenharmony_ci#else
87162306a36Sopenharmony_ci		uint64_t crd:7;
87262306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
87362306a36Sopenharmony_ci#endif
87462306a36Sopenharmony_ci	} s;
87562306a36Sopenharmony_ci};
87662306a36Sopenharmony_ci
87762306a36Sopenharmony_ciunion cvmx_iob_to_ncb_did_96_credits {
87862306a36Sopenharmony_ci	uint64_t u64;
87962306a36Sopenharmony_ci	struct cvmx_iob_to_ncb_did_96_credits_s {
88062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
88162306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
88262306a36Sopenharmony_ci		uint64_t crd:7;
88362306a36Sopenharmony_ci#else
88462306a36Sopenharmony_ci		uint64_t crd:7;
88562306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
88662306a36Sopenharmony_ci#endif
88762306a36Sopenharmony_ci	} s;
88862306a36Sopenharmony_ci};
88962306a36Sopenharmony_ci
89062306a36Sopenharmony_ciunion cvmx_iob_to_ncb_did_98_credits {
89162306a36Sopenharmony_ci	uint64_t u64;
89262306a36Sopenharmony_ci	struct cvmx_iob_to_ncb_did_98_credits_s {
89362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
89462306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
89562306a36Sopenharmony_ci		uint64_t crd:7;
89662306a36Sopenharmony_ci#else
89762306a36Sopenharmony_ci		uint64_t crd:7;
89862306a36Sopenharmony_ci		uint64_t reserved_7_63:57;
89962306a36Sopenharmony_ci#endif
90062306a36Sopenharmony_ci	} s;
90162306a36Sopenharmony_ci};
90262306a36Sopenharmony_ci
90362306a36Sopenharmony_ci#endif
904