18c2ecf20Sopenharmony_ci/***********************license start***************
28c2ecf20Sopenharmony_ci * Author: Cavium Networks
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci * Contact: support@caviumnetworks.com
58c2ecf20Sopenharmony_ci * This file is part of the OCTEON SDK
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci * Copyright (c) 2003-2012 Cavium Networks
88c2ecf20Sopenharmony_ci *
98c2ecf20Sopenharmony_ci * This file is free software; you can redistribute it and/or modify
108c2ecf20Sopenharmony_ci * it under the terms of the GNU General Public License, Version 2, as
118c2ecf20Sopenharmony_ci * published by the Free Software Foundation.
128c2ecf20Sopenharmony_ci *
138c2ecf20Sopenharmony_ci * This file is distributed in the hope that it will be useful, but
148c2ecf20Sopenharmony_ci * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
158c2ecf20Sopenharmony_ci * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or
168c2ecf20Sopenharmony_ci * NONINFRINGEMENT.  See the GNU General Public License for more
178c2ecf20Sopenharmony_ci * details.
188c2ecf20Sopenharmony_ci *
198c2ecf20Sopenharmony_ci * You should have received a copy of the GNU General Public License
208c2ecf20Sopenharmony_ci * along with this file; if not, write to the Free Software
218c2ecf20Sopenharmony_ci * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
228c2ecf20Sopenharmony_ci * or visit http://www.gnu.org/licenses/.
238c2ecf20Sopenharmony_ci *
248c2ecf20Sopenharmony_ci * This file may also be available under a different license from Cavium.
258c2ecf20Sopenharmony_ci * Contact Cavium Networks for more information
268c2ecf20Sopenharmony_ci ***********************license end**************************************/
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci#ifndef __CVMX_PCI_DEFS_H__
298c2ecf20Sopenharmony_ci#define __CVMX_PCI_DEFS_H__
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci#define CVMX_PCI_BAR1_INDEXX(offset) (0x0000000000000100ull + ((offset) & 31) * 4)
328c2ecf20Sopenharmony_ci#define CVMX_PCI_BIST_REG (0x00000000000001C0ull)
338c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG00 (0x0000000000000000ull)
348c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG01 (0x0000000000000004ull)
358c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG02 (0x0000000000000008ull)
368c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG03 (0x000000000000000Cull)
378c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG04 (0x0000000000000010ull)
388c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG05 (0x0000000000000014ull)
398c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG06 (0x0000000000000018ull)
408c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG07 (0x000000000000001Cull)
418c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG08 (0x0000000000000020ull)
428c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG09 (0x0000000000000024ull)
438c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG10 (0x0000000000000028ull)
448c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG11 (0x000000000000002Cull)
458c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG12 (0x0000000000000030ull)
468c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG13 (0x0000000000000034ull)
478c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG15 (0x000000000000003Cull)
488c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG16 (0x0000000000000040ull)
498c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG17 (0x0000000000000044ull)
508c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG18 (0x0000000000000048ull)
518c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG19 (0x000000000000004Cull)
528c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG20 (0x0000000000000050ull)
538c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG21 (0x0000000000000054ull)
548c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG22 (0x0000000000000058ull)
558c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG56 (0x00000000000000E0ull)
568c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG57 (0x00000000000000E4ull)
578c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG58 (0x00000000000000E8ull)
588c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG59 (0x00000000000000ECull)
598c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG60 (0x00000000000000F0ull)
608c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG61 (0x00000000000000F4ull)
618c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG62 (0x00000000000000F8ull)
628c2ecf20Sopenharmony_ci#define CVMX_PCI_CFG63 (0x00000000000000FCull)
638c2ecf20Sopenharmony_ci#define CVMX_PCI_CNT_REG (0x00000000000001B8ull)
648c2ecf20Sopenharmony_ci#define CVMX_PCI_CTL_STATUS_2 (0x000000000000018Cull)
658c2ecf20Sopenharmony_ci#define CVMX_PCI_DBELL_X(offset) (0x0000000000000080ull + ((offset) & 3) * 8)
668c2ecf20Sopenharmony_ci#define CVMX_PCI_DMA_CNT0 CVMX_PCI_DMA_CNTX(0)
678c2ecf20Sopenharmony_ci#define CVMX_PCI_DMA_CNT1 CVMX_PCI_DMA_CNTX(1)
688c2ecf20Sopenharmony_ci#define CVMX_PCI_DMA_CNTX(offset) (0x00000000000000A0ull + ((offset) & 1) * 8)
698c2ecf20Sopenharmony_ci#define CVMX_PCI_DMA_INT_LEV0 CVMX_PCI_DMA_INT_LEVX(0)
708c2ecf20Sopenharmony_ci#define CVMX_PCI_DMA_INT_LEV1 CVMX_PCI_DMA_INT_LEVX(1)
718c2ecf20Sopenharmony_ci#define CVMX_PCI_DMA_INT_LEVX(offset) (0x00000000000000A4ull + ((offset) & 1) * 8)
728c2ecf20Sopenharmony_ci#define CVMX_PCI_DMA_TIME0 CVMX_PCI_DMA_TIMEX(0)
738c2ecf20Sopenharmony_ci#define CVMX_PCI_DMA_TIME1 CVMX_PCI_DMA_TIMEX(1)
748c2ecf20Sopenharmony_ci#define CVMX_PCI_DMA_TIMEX(offset) (0x00000000000000B0ull + ((offset) & 1) * 4)
758c2ecf20Sopenharmony_ci#define CVMX_PCI_INSTR_COUNT0 CVMX_PCI_INSTR_COUNTX(0)
768c2ecf20Sopenharmony_ci#define CVMX_PCI_INSTR_COUNT1 CVMX_PCI_INSTR_COUNTX(1)
778c2ecf20Sopenharmony_ci#define CVMX_PCI_INSTR_COUNT2 CVMX_PCI_INSTR_COUNTX(2)
788c2ecf20Sopenharmony_ci#define CVMX_PCI_INSTR_COUNT3 CVMX_PCI_INSTR_COUNTX(3)
798c2ecf20Sopenharmony_ci#define CVMX_PCI_INSTR_COUNTX(offset) (0x0000000000000084ull + ((offset) & 3) * 8)
808c2ecf20Sopenharmony_ci#define CVMX_PCI_INT_ENB (0x0000000000000038ull)
818c2ecf20Sopenharmony_ci#define CVMX_PCI_INT_ENB2 (0x00000000000001A0ull)
828c2ecf20Sopenharmony_ci#define CVMX_PCI_INT_SUM (0x0000000000000030ull)
838c2ecf20Sopenharmony_ci#define CVMX_PCI_INT_SUM2 (0x0000000000000198ull)
848c2ecf20Sopenharmony_ci#define CVMX_PCI_MSI_RCV (0x00000000000000F0ull)
858c2ecf20Sopenharmony_ci#define CVMX_PCI_PKTS_SENT0 CVMX_PCI_PKTS_SENTX(0)
868c2ecf20Sopenharmony_ci#define CVMX_PCI_PKTS_SENT1 CVMX_PCI_PKTS_SENTX(1)
878c2ecf20Sopenharmony_ci#define CVMX_PCI_PKTS_SENT2 CVMX_PCI_PKTS_SENTX(2)
888c2ecf20Sopenharmony_ci#define CVMX_PCI_PKTS_SENT3 CVMX_PCI_PKTS_SENTX(3)
898c2ecf20Sopenharmony_ci#define CVMX_PCI_PKTS_SENTX(offset) (0x0000000000000040ull + ((offset) & 3) * 16)
908c2ecf20Sopenharmony_ci#define CVMX_PCI_PKTS_SENT_INT_LEV0 CVMX_PCI_PKTS_SENT_INT_LEVX(0)
918c2ecf20Sopenharmony_ci#define CVMX_PCI_PKTS_SENT_INT_LEV1 CVMX_PCI_PKTS_SENT_INT_LEVX(1)
928c2ecf20Sopenharmony_ci#define CVMX_PCI_PKTS_SENT_INT_LEV2 CVMX_PCI_PKTS_SENT_INT_LEVX(2)
938c2ecf20Sopenharmony_ci#define CVMX_PCI_PKTS_SENT_INT_LEV3 CVMX_PCI_PKTS_SENT_INT_LEVX(3)
948c2ecf20Sopenharmony_ci#define CVMX_PCI_PKTS_SENT_INT_LEVX(offset) (0x0000000000000048ull + ((offset) & 3) * 16)
958c2ecf20Sopenharmony_ci#define CVMX_PCI_PKTS_SENT_TIME0 CVMX_PCI_PKTS_SENT_TIMEX(0)
968c2ecf20Sopenharmony_ci#define CVMX_PCI_PKTS_SENT_TIME1 CVMX_PCI_PKTS_SENT_TIMEX(1)
978c2ecf20Sopenharmony_ci#define CVMX_PCI_PKTS_SENT_TIME2 CVMX_PCI_PKTS_SENT_TIMEX(2)
988c2ecf20Sopenharmony_ci#define CVMX_PCI_PKTS_SENT_TIME3 CVMX_PCI_PKTS_SENT_TIMEX(3)
998c2ecf20Sopenharmony_ci#define CVMX_PCI_PKTS_SENT_TIMEX(offset) (0x000000000000004Cull + ((offset) & 3) * 16)
1008c2ecf20Sopenharmony_ci#define CVMX_PCI_PKT_CREDITS0 CVMX_PCI_PKT_CREDITSX(0)
1018c2ecf20Sopenharmony_ci#define CVMX_PCI_PKT_CREDITS1 CVMX_PCI_PKT_CREDITSX(1)
1028c2ecf20Sopenharmony_ci#define CVMX_PCI_PKT_CREDITS2 CVMX_PCI_PKT_CREDITSX(2)
1038c2ecf20Sopenharmony_ci#define CVMX_PCI_PKT_CREDITS3 CVMX_PCI_PKT_CREDITSX(3)
1048c2ecf20Sopenharmony_ci#define CVMX_PCI_PKT_CREDITSX(offset) (0x0000000000000044ull + ((offset) & 3) * 16)
1058c2ecf20Sopenharmony_ci#define CVMX_PCI_READ_CMD_6 (0x0000000000000180ull)
1068c2ecf20Sopenharmony_ci#define CVMX_PCI_READ_CMD_C (0x0000000000000184ull)
1078c2ecf20Sopenharmony_ci#define CVMX_PCI_READ_CMD_E (0x0000000000000188ull)
1088c2ecf20Sopenharmony_ci#define CVMX_PCI_READ_TIMEOUT (CVMX_ADD_IO_SEG(0x00011F00000000B0ull))
1098c2ecf20Sopenharmony_ci#define CVMX_PCI_SCM_REG (0x00000000000001A8ull)
1108c2ecf20Sopenharmony_ci#define CVMX_PCI_TSR_REG (0x00000000000001B0ull)
1118c2ecf20Sopenharmony_ci#define CVMX_PCI_WIN_RD_ADDR (0x0000000000000008ull)
1128c2ecf20Sopenharmony_ci#define CVMX_PCI_WIN_RD_DATA (0x0000000000000020ull)
1138c2ecf20Sopenharmony_ci#define CVMX_PCI_WIN_WR_ADDR (0x0000000000000000ull)
1148c2ecf20Sopenharmony_ci#define CVMX_PCI_WIN_WR_DATA (0x0000000000000010ull)
1158c2ecf20Sopenharmony_ci#define CVMX_PCI_WIN_WR_MASK (0x0000000000000018ull)
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_ciunion cvmx_pci_bar1_indexx {
1188c2ecf20Sopenharmony_ci	uint32_t u32;
1198c2ecf20Sopenharmony_ci	struct cvmx_pci_bar1_indexx_s {
1208c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
1218c2ecf20Sopenharmony_ci		uint32_t reserved_18_31:14;
1228c2ecf20Sopenharmony_ci		uint32_t addr_idx:14;
1238c2ecf20Sopenharmony_ci		uint32_t ca:1;
1248c2ecf20Sopenharmony_ci		uint32_t end_swp:2;
1258c2ecf20Sopenharmony_ci		uint32_t addr_v:1;
1268c2ecf20Sopenharmony_ci#else
1278c2ecf20Sopenharmony_ci		uint32_t addr_v:1;
1288c2ecf20Sopenharmony_ci		uint32_t end_swp:2;
1298c2ecf20Sopenharmony_ci		uint32_t ca:1;
1308c2ecf20Sopenharmony_ci		uint32_t addr_idx:14;
1318c2ecf20Sopenharmony_ci		uint32_t reserved_18_31:14;
1328c2ecf20Sopenharmony_ci#endif
1338c2ecf20Sopenharmony_ci	} s;
1348c2ecf20Sopenharmony_ci};
1358c2ecf20Sopenharmony_ci
1368c2ecf20Sopenharmony_ciunion cvmx_pci_bist_reg {
1378c2ecf20Sopenharmony_ci	uint64_t u64;
1388c2ecf20Sopenharmony_ci	struct cvmx_pci_bist_reg_s {
1398c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
1408c2ecf20Sopenharmony_ci		uint64_t reserved_10_63:54;
1418c2ecf20Sopenharmony_ci		uint64_t rsp_bs:1;
1428c2ecf20Sopenharmony_ci		uint64_t dma0_bs:1;
1438c2ecf20Sopenharmony_ci		uint64_t cmd0_bs:1;
1448c2ecf20Sopenharmony_ci		uint64_t cmd_bs:1;
1458c2ecf20Sopenharmony_ci		uint64_t csr2p_bs:1;
1468c2ecf20Sopenharmony_ci		uint64_t csrr_bs:1;
1478c2ecf20Sopenharmony_ci		uint64_t rsp2p_bs:1;
1488c2ecf20Sopenharmony_ci		uint64_t csr2n_bs:1;
1498c2ecf20Sopenharmony_ci		uint64_t dat2n_bs:1;
1508c2ecf20Sopenharmony_ci		uint64_t dbg2n_bs:1;
1518c2ecf20Sopenharmony_ci#else
1528c2ecf20Sopenharmony_ci		uint64_t dbg2n_bs:1;
1538c2ecf20Sopenharmony_ci		uint64_t dat2n_bs:1;
1548c2ecf20Sopenharmony_ci		uint64_t csr2n_bs:1;
1558c2ecf20Sopenharmony_ci		uint64_t rsp2p_bs:1;
1568c2ecf20Sopenharmony_ci		uint64_t csrr_bs:1;
1578c2ecf20Sopenharmony_ci		uint64_t csr2p_bs:1;
1588c2ecf20Sopenharmony_ci		uint64_t cmd_bs:1;
1598c2ecf20Sopenharmony_ci		uint64_t cmd0_bs:1;
1608c2ecf20Sopenharmony_ci		uint64_t dma0_bs:1;
1618c2ecf20Sopenharmony_ci		uint64_t rsp_bs:1;
1628c2ecf20Sopenharmony_ci		uint64_t reserved_10_63:54;
1638c2ecf20Sopenharmony_ci#endif
1648c2ecf20Sopenharmony_ci	} s;
1658c2ecf20Sopenharmony_ci};
1668c2ecf20Sopenharmony_ci
1678c2ecf20Sopenharmony_ciunion cvmx_pci_cfg00 {
1688c2ecf20Sopenharmony_ci	uint32_t u32;
1698c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg00_s {
1708c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
1718c2ecf20Sopenharmony_ci		uint32_t devid:16;
1728c2ecf20Sopenharmony_ci		uint32_t vendid:16;
1738c2ecf20Sopenharmony_ci#else
1748c2ecf20Sopenharmony_ci		uint32_t vendid:16;
1758c2ecf20Sopenharmony_ci		uint32_t devid:16;
1768c2ecf20Sopenharmony_ci#endif
1778c2ecf20Sopenharmony_ci	} s;
1788c2ecf20Sopenharmony_ci};
1798c2ecf20Sopenharmony_ci
1808c2ecf20Sopenharmony_ciunion cvmx_pci_cfg01 {
1818c2ecf20Sopenharmony_ci	uint32_t u32;
1828c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg01_s {
1838c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
1848c2ecf20Sopenharmony_ci		uint32_t dpe:1;
1858c2ecf20Sopenharmony_ci		uint32_t sse:1;
1868c2ecf20Sopenharmony_ci		uint32_t rma:1;
1878c2ecf20Sopenharmony_ci		uint32_t rta:1;
1888c2ecf20Sopenharmony_ci		uint32_t sta:1;
1898c2ecf20Sopenharmony_ci		uint32_t devt:2;
1908c2ecf20Sopenharmony_ci		uint32_t mdpe:1;
1918c2ecf20Sopenharmony_ci		uint32_t fbb:1;
1928c2ecf20Sopenharmony_ci		uint32_t reserved_22_22:1;
1938c2ecf20Sopenharmony_ci		uint32_t m66:1;
1948c2ecf20Sopenharmony_ci		uint32_t cle:1;
1958c2ecf20Sopenharmony_ci		uint32_t i_stat:1;
1968c2ecf20Sopenharmony_ci		uint32_t reserved_11_18:8;
1978c2ecf20Sopenharmony_ci		uint32_t i_dis:1;
1988c2ecf20Sopenharmony_ci		uint32_t fbbe:1;
1998c2ecf20Sopenharmony_ci		uint32_t see:1;
2008c2ecf20Sopenharmony_ci		uint32_t ads:1;
2018c2ecf20Sopenharmony_ci		uint32_t pee:1;
2028c2ecf20Sopenharmony_ci		uint32_t vps:1;
2038c2ecf20Sopenharmony_ci		uint32_t mwice:1;
2048c2ecf20Sopenharmony_ci		uint32_t scse:1;
2058c2ecf20Sopenharmony_ci		uint32_t me:1;
2068c2ecf20Sopenharmony_ci		uint32_t msae:1;
2078c2ecf20Sopenharmony_ci		uint32_t isae:1;
2088c2ecf20Sopenharmony_ci#else
2098c2ecf20Sopenharmony_ci		uint32_t isae:1;
2108c2ecf20Sopenharmony_ci		uint32_t msae:1;
2118c2ecf20Sopenharmony_ci		uint32_t me:1;
2128c2ecf20Sopenharmony_ci		uint32_t scse:1;
2138c2ecf20Sopenharmony_ci		uint32_t mwice:1;
2148c2ecf20Sopenharmony_ci		uint32_t vps:1;
2158c2ecf20Sopenharmony_ci		uint32_t pee:1;
2168c2ecf20Sopenharmony_ci		uint32_t ads:1;
2178c2ecf20Sopenharmony_ci		uint32_t see:1;
2188c2ecf20Sopenharmony_ci		uint32_t fbbe:1;
2198c2ecf20Sopenharmony_ci		uint32_t i_dis:1;
2208c2ecf20Sopenharmony_ci		uint32_t reserved_11_18:8;
2218c2ecf20Sopenharmony_ci		uint32_t i_stat:1;
2228c2ecf20Sopenharmony_ci		uint32_t cle:1;
2238c2ecf20Sopenharmony_ci		uint32_t m66:1;
2248c2ecf20Sopenharmony_ci		uint32_t reserved_22_22:1;
2258c2ecf20Sopenharmony_ci		uint32_t fbb:1;
2268c2ecf20Sopenharmony_ci		uint32_t mdpe:1;
2278c2ecf20Sopenharmony_ci		uint32_t devt:2;
2288c2ecf20Sopenharmony_ci		uint32_t sta:1;
2298c2ecf20Sopenharmony_ci		uint32_t rta:1;
2308c2ecf20Sopenharmony_ci		uint32_t rma:1;
2318c2ecf20Sopenharmony_ci		uint32_t sse:1;
2328c2ecf20Sopenharmony_ci		uint32_t dpe:1;
2338c2ecf20Sopenharmony_ci#endif
2348c2ecf20Sopenharmony_ci	} s;
2358c2ecf20Sopenharmony_ci};
2368c2ecf20Sopenharmony_ci
2378c2ecf20Sopenharmony_ciunion cvmx_pci_cfg02 {
2388c2ecf20Sopenharmony_ci	uint32_t u32;
2398c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg02_s {
2408c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
2418c2ecf20Sopenharmony_ci		uint32_t cc:24;
2428c2ecf20Sopenharmony_ci		uint32_t rid:8;
2438c2ecf20Sopenharmony_ci#else
2448c2ecf20Sopenharmony_ci		uint32_t rid:8;
2458c2ecf20Sopenharmony_ci		uint32_t cc:24;
2468c2ecf20Sopenharmony_ci#endif
2478c2ecf20Sopenharmony_ci	} s;
2488c2ecf20Sopenharmony_ci};
2498c2ecf20Sopenharmony_ci
2508c2ecf20Sopenharmony_ciunion cvmx_pci_cfg03 {
2518c2ecf20Sopenharmony_ci	uint32_t u32;
2528c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg03_s {
2538c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
2548c2ecf20Sopenharmony_ci		uint32_t bcap:1;
2558c2ecf20Sopenharmony_ci		uint32_t brb:1;
2568c2ecf20Sopenharmony_ci		uint32_t reserved_28_29:2;
2578c2ecf20Sopenharmony_ci		uint32_t bcod:4;
2588c2ecf20Sopenharmony_ci		uint32_t ht:8;
2598c2ecf20Sopenharmony_ci		uint32_t lt:8;
2608c2ecf20Sopenharmony_ci		uint32_t cls:8;
2618c2ecf20Sopenharmony_ci#else
2628c2ecf20Sopenharmony_ci		uint32_t cls:8;
2638c2ecf20Sopenharmony_ci		uint32_t lt:8;
2648c2ecf20Sopenharmony_ci		uint32_t ht:8;
2658c2ecf20Sopenharmony_ci		uint32_t bcod:4;
2668c2ecf20Sopenharmony_ci		uint32_t reserved_28_29:2;
2678c2ecf20Sopenharmony_ci		uint32_t brb:1;
2688c2ecf20Sopenharmony_ci		uint32_t bcap:1;
2698c2ecf20Sopenharmony_ci#endif
2708c2ecf20Sopenharmony_ci	} s;
2718c2ecf20Sopenharmony_ci};
2728c2ecf20Sopenharmony_ci
2738c2ecf20Sopenharmony_ciunion cvmx_pci_cfg04 {
2748c2ecf20Sopenharmony_ci	uint32_t u32;
2758c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg04_s {
2768c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
2778c2ecf20Sopenharmony_ci		uint32_t lbase:20;
2788c2ecf20Sopenharmony_ci		uint32_t lbasez:8;
2798c2ecf20Sopenharmony_ci		uint32_t pf:1;
2808c2ecf20Sopenharmony_ci		uint32_t typ:2;
2818c2ecf20Sopenharmony_ci		uint32_t mspc:1;
2828c2ecf20Sopenharmony_ci#else
2838c2ecf20Sopenharmony_ci		uint32_t mspc:1;
2848c2ecf20Sopenharmony_ci		uint32_t typ:2;
2858c2ecf20Sopenharmony_ci		uint32_t pf:1;
2868c2ecf20Sopenharmony_ci		uint32_t lbasez:8;
2878c2ecf20Sopenharmony_ci		uint32_t lbase:20;
2888c2ecf20Sopenharmony_ci#endif
2898c2ecf20Sopenharmony_ci	} s;
2908c2ecf20Sopenharmony_ci};
2918c2ecf20Sopenharmony_ci
2928c2ecf20Sopenharmony_ciunion cvmx_pci_cfg05 {
2938c2ecf20Sopenharmony_ci	uint32_t u32;
2948c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg05_s {
2958c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
2968c2ecf20Sopenharmony_ci		uint32_t hbase:32;
2978c2ecf20Sopenharmony_ci#else
2988c2ecf20Sopenharmony_ci		uint32_t hbase:32;
2998c2ecf20Sopenharmony_ci#endif
3008c2ecf20Sopenharmony_ci	} s;
3018c2ecf20Sopenharmony_ci};
3028c2ecf20Sopenharmony_ci
3038c2ecf20Sopenharmony_ciunion cvmx_pci_cfg06 {
3048c2ecf20Sopenharmony_ci	uint32_t u32;
3058c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg06_s {
3068c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
3078c2ecf20Sopenharmony_ci		uint32_t lbase:5;
3088c2ecf20Sopenharmony_ci		uint32_t lbasez:23;
3098c2ecf20Sopenharmony_ci		uint32_t pf:1;
3108c2ecf20Sopenharmony_ci		uint32_t typ:2;
3118c2ecf20Sopenharmony_ci		uint32_t mspc:1;
3128c2ecf20Sopenharmony_ci#else
3138c2ecf20Sopenharmony_ci		uint32_t mspc:1;
3148c2ecf20Sopenharmony_ci		uint32_t typ:2;
3158c2ecf20Sopenharmony_ci		uint32_t pf:1;
3168c2ecf20Sopenharmony_ci		uint32_t lbasez:23;
3178c2ecf20Sopenharmony_ci		uint32_t lbase:5;
3188c2ecf20Sopenharmony_ci#endif
3198c2ecf20Sopenharmony_ci	} s;
3208c2ecf20Sopenharmony_ci};
3218c2ecf20Sopenharmony_ci
3228c2ecf20Sopenharmony_ciunion cvmx_pci_cfg07 {
3238c2ecf20Sopenharmony_ci	uint32_t u32;
3248c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg07_s {
3258c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
3268c2ecf20Sopenharmony_ci		uint32_t hbase:32;
3278c2ecf20Sopenharmony_ci#else
3288c2ecf20Sopenharmony_ci		uint32_t hbase:32;
3298c2ecf20Sopenharmony_ci#endif
3308c2ecf20Sopenharmony_ci	} s;
3318c2ecf20Sopenharmony_ci};
3328c2ecf20Sopenharmony_ci
3338c2ecf20Sopenharmony_ciunion cvmx_pci_cfg08 {
3348c2ecf20Sopenharmony_ci	uint32_t u32;
3358c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg08_s {
3368c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
3378c2ecf20Sopenharmony_ci		uint32_t lbasez:28;
3388c2ecf20Sopenharmony_ci		uint32_t pf:1;
3398c2ecf20Sopenharmony_ci		uint32_t typ:2;
3408c2ecf20Sopenharmony_ci		uint32_t mspc:1;
3418c2ecf20Sopenharmony_ci#else
3428c2ecf20Sopenharmony_ci		uint32_t mspc:1;
3438c2ecf20Sopenharmony_ci		uint32_t typ:2;
3448c2ecf20Sopenharmony_ci		uint32_t pf:1;
3458c2ecf20Sopenharmony_ci		uint32_t lbasez:28;
3468c2ecf20Sopenharmony_ci#endif
3478c2ecf20Sopenharmony_ci	} s;
3488c2ecf20Sopenharmony_ci};
3498c2ecf20Sopenharmony_ci
3508c2ecf20Sopenharmony_ciunion cvmx_pci_cfg09 {
3518c2ecf20Sopenharmony_ci	uint32_t u32;
3528c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg09_s {
3538c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
3548c2ecf20Sopenharmony_ci		uint32_t hbase:25;
3558c2ecf20Sopenharmony_ci		uint32_t hbasez:7;
3568c2ecf20Sopenharmony_ci#else
3578c2ecf20Sopenharmony_ci		uint32_t hbasez:7;
3588c2ecf20Sopenharmony_ci		uint32_t hbase:25;
3598c2ecf20Sopenharmony_ci#endif
3608c2ecf20Sopenharmony_ci	} s;
3618c2ecf20Sopenharmony_ci};
3628c2ecf20Sopenharmony_ci
3638c2ecf20Sopenharmony_ciunion cvmx_pci_cfg10 {
3648c2ecf20Sopenharmony_ci	uint32_t u32;
3658c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg10_s {
3668c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
3678c2ecf20Sopenharmony_ci		uint32_t cisp:32;
3688c2ecf20Sopenharmony_ci#else
3698c2ecf20Sopenharmony_ci		uint32_t cisp:32;
3708c2ecf20Sopenharmony_ci#endif
3718c2ecf20Sopenharmony_ci	} s;
3728c2ecf20Sopenharmony_ci};
3738c2ecf20Sopenharmony_ci
3748c2ecf20Sopenharmony_ciunion cvmx_pci_cfg11 {
3758c2ecf20Sopenharmony_ci	uint32_t u32;
3768c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg11_s {
3778c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
3788c2ecf20Sopenharmony_ci		uint32_t ssid:16;
3798c2ecf20Sopenharmony_ci		uint32_t ssvid:16;
3808c2ecf20Sopenharmony_ci#else
3818c2ecf20Sopenharmony_ci		uint32_t ssvid:16;
3828c2ecf20Sopenharmony_ci		uint32_t ssid:16;
3838c2ecf20Sopenharmony_ci#endif
3848c2ecf20Sopenharmony_ci	} s;
3858c2ecf20Sopenharmony_ci};
3868c2ecf20Sopenharmony_ci
3878c2ecf20Sopenharmony_ciunion cvmx_pci_cfg12 {
3888c2ecf20Sopenharmony_ci	uint32_t u32;
3898c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg12_s {
3908c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
3918c2ecf20Sopenharmony_ci		uint32_t erbar:16;
3928c2ecf20Sopenharmony_ci		uint32_t erbarz:5;
3938c2ecf20Sopenharmony_ci		uint32_t reserved_1_10:10;
3948c2ecf20Sopenharmony_ci		uint32_t erbar_en:1;
3958c2ecf20Sopenharmony_ci#else
3968c2ecf20Sopenharmony_ci		uint32_t erbar_en:1;
3978c2ecf20Sopenharmony_ci		uint32_t reserved_1_10:10;
3988c2ecf20Sopenharmony_ci		uint32_t erbarz:5;
3998c2ecf20Sopenharmony_ci		uint32_t erbar:16;
4008c2ecf20Sopenharmony_ci#endif
4018c2ecf20Sopenharmony_ci	} s;
4028c2ecf20Sopenharmony_ci};
4038c2ecf20Sopenharmony_ci
4048c2ecf20Sopenharmony_ciunion cvmx_pci_cfg13 {
4058c2ecf20Sopenharmony_ci	uint32_t u32;
4068c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg13_s {
4078c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
4088c2ecf20Sopenharmony_ci		uint32_t reserved_8_31:24;
4098c2ecf20Sopenharmony_ci		uint32_t cp:8;
4108c2ecf20Sopenharmony_ci#else
4118c2ecf20Sopenharmony_ci		uint32_t cp:8;
4128c2ecf20Sopenharmony_ci		uint32_t reserved_8_31:24;
4138c2ecf20Sopenharmony_ci#endif
4148c2ecf20Sopenharmony_ci	} s;
4158c2ecf20Sopenharmony_ci};
4168c2ecf20Sopenharmony_ci
4178c2ecf20Sopenharmony_ciunion cvmx_pci_cfg15 {
4188c2ecf20Sopenharmony_ci	uint32_t u32;
4198c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg15_s {
4208c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
4218c2ecf20Sopenharmony_ci		uint32_t ml:8;
4228c2ecf20Sopenharmony_ci		uint32_t mg:8;
4238c2ecf20Sopenharmony_ci		uint32_t inta:8;
4248c2ecf20Sopenharmony_ci		uint32_t il:8;
4258c2ecf20Sopenharmony_ci#else
4268c2ecf20Sopenharmony_ci		uint32_t il:8;
4278c2ecf20Sopenharmony_ci		uint32_t inta:8;
4288c2ecf20Sopenharmony_ci		uint32_t mg:8;
4298c2ecf20Sopenharmony_ci		uint32_t ml:8;
4308c2ecf20Sopenharmony_ci#endif
4318c2ecf20Sopenharmony_ci	} s;
4328c2ecf20Sopenharmony_ci};
4338c2ecf20Sopenharmony_ci
4348c2ecf20Sopenharmony_ciunion cvmx_pci_cfg16 {
4358c2ecf20Sopenharmony_ci	uint32_t u32;
4368c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg16_s {
4378c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
4388c2ecf20Sopenharmony_ci		uint32_t trdnpr:1;
4398c2ecf20Sopenharmony_ci		uint32_t trdard:1;
4408c2ecf20Sopenharmony_ci		uint32_t rdsati:1;
4418c2ecf20Sopenharmony_ci		uint32_t trdrs:1;
4428c2ecf20Sopenharmony_ci		uint32_t trtae:1;
4438c2ecf20Sopenharmony_ci		uint32_t twsei:1;
4448c2ecf20Sopenharmony_ci		uint32_t twsen:1;
4458c2ecf20Sopenharmony_ci		uint32_t twtae:1;
4468c2ecf20Sopenharmony_ci		uint32_t tmae:1;
4478c2ecf20Sopenharmony_ci		uint32_t tslte:3;
4488c2ecf20Sopenharmony_ci		uint32_t tilt:4;
4498c2ecf20Sopenharmony_ci		uint32_t pbe:12;
4508c2ecf20Sopenharmony_ci		uint32_t dppmr:1;
4518c2ecf20Sopenharmony_ci		uint32_t reserved_2_2:1;
4528c2ecf20Sopenharmony_ci		uint32_t tswc:1;
4538c2ecf20Sopenharmony_ci		uint32_t mltd:1;
4548c2ecf20Sopenharmony_ci#else
4558c2ecf20Sopenharmony_ci		uint32_t mltd:1;
4568c2ecf20Sopenharmony_ci		uint32_t tswc:1;
4578c2ecf20Sopenharmony_ci		uint32_t reserved_2_2:1;
4588c2ecf20Sopenharmony_ci		uint32_t dppmr:1;
4598c2ecf20Sopenharmony_ci		uint32_t pbe:12;
4608c2ecf20Sopenharmony_ci		uint32_t tilt:4;
4618c2ecf20Sopenharmony_ci		uint32_t tslte:3;
4628c2ecf20Sopenharmony_ci		uint32_t tmae:1;
4638c2ecf20Sopenharmony_ci		uint32_t twtae:1;
4648c2ecf20Sopenharmony_ci		uint32_t twsen:1;
4658c2ecf20Sopenharmony_ci		uint32_t twsei:1;
4668c2ecf20Sopenharmony_ci		uint32_t trtae:1;
4678c2ecf20Sopenharmony_ci		uint32_t trdrs:1;
4688c2ecf20Sopenharmony_ci		uint32_t rdsati:1;
4698c2ecf20Sopenharmony_ci		uint32_t trdard:1;
4708c2ecf20Sopenharmony_ci		uint32_t trdnpr:1;
4718c2ecf20Sopenharmony_ci#endif
4728c2ecf20Sopenharmony_ci	} s;
4738c2ecf20Sopenharmony_ci};
4748c2ecf20Sopenharmony_ci
4758c2ecf20Sopenharmony_ciunion cvmx_pci_cfg17 {
4768c2ecf20Sopenharmony_ci	uint32_t u32;
4778c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg17_s {
4788c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
4798c2ecf20Sopenharmony_ci		uint32_t tscme:32;
4808c2ecf20Sopenharmony_ci#else
4818c2ecf20Sopenharmony_ci		uint32_t tscme:32;
4828c2ecf20Sopenharmony_ci#endif
4838c2ecf20Sopenharmony_ci	} s;
4848c2ecf20Sopenharmony_ci};
4858c2ecf20Sopenharmony_ci
4868c2ecf20Sopenharmony_ciunion cvmx_pci_cfg18 {
4878c2ecf20Sopenharmony_ci	uint32_t u32;
4888c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg18_s {
4898c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
4908c2ecf20Sopenharmony_ci		uint32_t tdsrps:32;
4918c2ecf20Sopenharmony_ci#else
4928c2ecf20Sopenharmony_ci		uint32_t tdsrps:32;
4938c2ecf20Sopenharmony_ci#endif
4948c2ecf20Sopenharmony_ci	} s;
4958c2ecf20Sopenharmony_ci};
4968c2ecf20Sopenharmony_ci
4978c2ecf20Sopenharmony_ciunion cvmx_pci_cfg19 {
4988c2ecf20Sopenharmony_ci	uint32_t u32;
4998c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg19_s {
5008c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
5018c2ecf20Sopenharmony_ci		uint32_t mrbcm:1;
5028c2ecf20Sopenharmony_ci		uint32_t mrbci:1;
5038c2ecf20Sopenharmony_ci		uint32_t mdwe:1;
5048c2ecf20Sopenharmony_ci		uint32_t mdre:1;
5058c2ecf20Sopenharmony_ci		uint32_t mdrimc:1;
5068c2ecf20Sopenharmony_ci		uint32_t mdrrmc:3;
5078c2ecf20Sopenharmony_ci		uint32_t tmes:8;
5088c2ecf20Sopenharmony_ci		uint32_t teci:1;
5098c2ecf20Sopenharmony_ci		uint32_t tmei:1;
5108c2ecf20Sopenharmony_ci		uint32_t tmse:1;
5118c2ecf20Sopenharmony_ci		uint32_t tmdpes:1;
5128c2ecf20Sopenharmony_ci		uint32_t tmapes:1;
5138c2ecf20Sopenharmony_ci		uint32_t reserved_9_10:2;
5148c2ecf20Sopenharmony_ci		uint32_t tibcd:1;
5158c2ecf20Sopenharmony_ci		uint32_t tibde:1;
5168c2ecf20Sopenharmony_ci		uint32_t reserved_6_6:1;
5178c2ecf20Sopenharmony_ci		uint32_t tidomc:1;
5188c2ecf20Sopenharmony_ci		uint32_t tdomc:5;
5198c2ecf20Sopenharmony_ci#else
5208c2ecf20Sopenharmony_ci		uint32_t tdomc:5;
5218c2ecf20Sopenharmony_ci		uint32_t tidomc:1;
5228c2ecf20Sopenharmony_ci		uint32_t reserved_6_6:1;
5238c2ecf20Sopenharmony_ci		uint32_t tibde:1;
5248c2ecf20Sopenharmony_ci		uint32_t tibcd:1;
5258c2ecf20Sopenharmony_ci		uint32_t reserved_9_10:2;
5268c2ecf20Sopenharmony_ci		uint32_t tmapes:1;
5278c2ecf20Sopenharmony_ci		uint32_t tmdpes:1;
5288c2ecf20Sopenharmony_ci		uint32_t tmse:1;
5298c2ecf20Sopenharmony_ci		uint32_t tmei:1;
5308c2ecf20Sopenharmony_ci		uint32_t teci:1;
5318c2ecf20Sopenharmony_ci		uint32_t tmes:8;
5328c2ecf20Sopenharmony_ci		uint32_t mdrrmc:3;
5338c2ecf20Sopenharmony_ci		uint32_t mdrimc:1;
5348c2ecf20Sopenharmony_ci		uint32_t mdre:1;
5358c2ecf20Sopenharmony_ci		uint32_t mdwe:1;
5368c2ecf20Sopenharmony_ci		uint32_t mrbci:1;
5378c2ecf20Sopenharmony_ci		uint32_t mrbcm:1;
5388c2ecf20Sopenharmony_ci#endif
5398c2ecf20Sopenharmony_ci	} s;
5408c2ecf20Sopenharmony_ci};
5418c2ecf20Sopenharmony_ci
5428c2ecf20Sopenharmony_ciunion cvmx_pci_cfg20 {
5438c2ecf20Sopenharmony_ci	uint32_t u32;
5448c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg20_s {
5458c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
5468c2ecf20Sopenharmony_ci		uint32_t mdsp:32;
5478c2ecf20Sopenharmony_ci#else
5488c2ecf20Sopenharmony_ci		uint32_t mdsp:32;
5498c2ecf20Sopenharmony_ci#endif
5508c2ecf20Sopenharmony_ci	} s;
5518c2ecf20Sopenharmony_ci};
5528c2ecf20Sopenharmony_ci
5538c2ecf20Sopenharmony_ciunion cvmx_pci_cfg21 {
5548c2ecf20Sopenharmony_ci	uint32_t u32;
5558c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg21_s {
5568c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
5578c2ecf20Sopenharmony_ci		uint32_t scmre:32;
5588c2ecf20Sopenharmony_ci#else
5598c2ecf20Sopenharmony_ci		uint32_t scmre:32;
5608c2ecf20Sopenharmony_ci#endif
5618c2ecf20Sopenharmony_ci	} s;
5628c2ecf20Sopenharmony_ci};
5638c2ecf20Sopenharmony_ci
5648c2ecf20Sopenharmony_ciunion cvmx_pci_cfg22 {
5658c2ecf20Sopenharmony_ci	uint32_t u32;
5668c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg22_s {
5678c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
5688c2ecf20Sopenharmony_ci		uint32_t mac:7;
5698c2ecf20Sopenharmony_ci		uint32_t reserved_19_24:6;
5708c2ecf20Sopenharmony_ci		uint32_t flush:1;
5718c2ecf20Sopenharmony_ci		uint32_t mra:1;
5728c2ecf20Sopenharmony_ci		uint32_t mtta:1;
5738c2ecf20Sopenharmony_ci		uint32_t mrv:8;
5748c2ecf20Sopenharmony_ci		uint32_t mttv:8;
5758c2ecf20Sopenharmony_ci#else
5768c2ecf20Sopenharmony_ci		uint32_t mttv:8;
5778c2ecf20Sopenharmony_ci		uint32_t mrv:8;
5788c2ecf20Sopenharmony_ci		uint32_t mtta:1;
5798c2ecf20Sopenharmony_ci		uint32_t mra:1;
5808c2ecf20Sopenharmony_ci		uint32_t flush:1;
5818c2ecf20Sopenharmony_ci		uint32_t reserved_19_24:6;
5828c2ecf20Sopenharmony_ci		uint32_t mac:7;
5838c2ecf20Sopenharmony_ci#endif
5848c2ecf20Sopenharmony_ci	} s;
5858c2ecf20Sopenharmony_ci};
5868c2ecf20Sopenharmony_ci
5878c2ecf20Sopenharmony_ciunion cvmx_pci_cfg56 {
5888c2ecf20Sopenharmony_ci	uint32_t u32;
5898c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg56_s {
5908c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
5918c2ecf20Sopenharmony_ci		uint32_t reserved_23_31:9;
5928c2ecf20Sopenharmony_ci		uint32_t most:3;
5938c2ecf20Sopenharmony_ci		uint32_t mmbc:2;
5948c2ecf20Sopenharmony_ci		uint32_t roe:1;
5958c2ecf20Sopenharmony_ci		uint32_t dpere:1;
5968c2ecf20Sopenharmony_ci		uint32_t ncp:8;
5978c2ecf20Sopenharmony_ci		uint32_t pxcid:8;
5988c2ecf20Sopenharmony_ci#else
5998c2ecf20Sopenharmony_ci		uint32_t pxcid:8;
6008c2ecf20Sopenharmony_ci		uint32_t ncp:8;
6018c2ecf20Sopenharmony_ci		uint32_t dpere:1;
6028c2ecf20Sopenharmony_ci		uint32_t roe:1;
6038c2ecf20Sopenharmony_ci		uint32_t mmbc:2;
6048c2ecf20Sopenharmony_ci		uint32_t most:3;
6058c2ecf20Sopenharmony_ci		uint32_t reserved_23_31:9;
6068c2ecf20Sopenharmony_ci#endif
6078c2ecf20Sopenharmony_ci	} s;
6088c2ecf20Sopenharmony_ci};
6098c2ecf20Sopenharmony_ci
6108c2ecf20Sopenharmony_ciunion cvmx_pci_cfg57 {
6118c2ecf20Sopenharmony_ci	uint32_t u32;
6128c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg57_s {
6138c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
6148c2ecf20Sopenharmony_ci		uint32_t reserved_30_31:2;
6158c2ecf20Sopenharmony_ci		uint32_t scemr:1;
6168c2ecf20Sopenharmony_ci		uint32_t mcrsd:3;
6178c2ecf20Sopenharmony_ci		uint32_t mostd:3;
6188c2ecf20Sopenharmony_ci		uint32_t mmrbcd:2;
6198c2ecf20Sopenharmony_ci		uint32_t dc:1;
6208c2ecf20Sopenharmony_ci		uint32_t usc:1;
6218c2ecf20Sopenharmony_ci		uint32_t scd:1;
6228c2ecf20Sopenharmony_ci		uint32_t m133:1;
6238c2ecf20Sopenharmony_ci		uint32_t w64:1;
6248c2ecf20Sopenharmony_ci		uint32_t bn:8;
6258c2ecf20Sopenharmony_ci		uint32_t dn:5;
6268c2ecf20Sopenharmony_ci		uint32_t fn:3;
6278c2ecf20Sopenharmony_ci#else
6288c2ecf20Sopenharmony_ci		uint32_t fn:3;
6298c2ecf20Sopenharmony_ci		uint32_t dn:5;
6308c2ecf20Sopenharmony_ci		uint32_t bn:8;
6318c2ecf20Sopenharmony_ci		uint32_t w64:1;
6328c2ecf20Sopenharmony_ci		uint32_t m133:1;
6338c2ecf20Sopenharmony_ci		uint32_t scd:1;
6348c2ecf20Sopenharmony_ci		uint32_t usc:1;
6358c2ecf20Sopenharmony_ci		uint32_t dc:1;
6368c2ecf20Sopenharmony_ci		uint32_t mmrbcd:2;
6378c2ecf20Sopenharmony_ci		uint32_t mostd:3;
6388c2ecf20Sopenharmony_ci		uint32_t mcrsd:3;
6398c2ecf20Sopenharmony_ci		uint32_t scemr:1;
6408c2ecf20Sopenharmony_ci		uint32_t reserved_30_31:2;
6418c2ecf20Sopenharmony_ci#endif
6428c2ecf20Sopenharmony_ci	} s;
6438c2ecf20Sopenharmony_ci};
6448c2ecf20Sopenharmony_ci
6458c2ecf20Sopenharmony_ciunion cvmx_pci_cfg58 {
6468c2ecf20Sopenharmony_ci	uint32_t u32;
6478c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg58_s {
6488c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
6498c2ecf20Sopenharmony_ci		uint32_t pmes:5;
6508c2ecf20Sopenharmony_ci		uint32_t d2s:1;
6518c2ecf20Sopenharmony_ci		uint32_t d1s:1;
6528c2ecf20Sopenharmony_ci		uint32_t auxc:3;
6538c2ecf20Sopenharmony_ci		uint32_t dsi:1;
6548c2ecf20Sopenharmony_ci		uint32_t reserved_20_20:1;
6558c2ecf20Sopenharmony_ci		uint32_t pmec:1;
6568c2ecf20Sopenharmony_ci		uint32_t pcimiv:3;
6578c2ecf20Sopenharmony_ci		uint32_t ncp:8;
6588c2ecf20Sopenharmony_ci		uint32_t pmcid:8;
6598c2ecf20Sopenharmony_ci#else
6608c2ecf20Sopenharmony_ci		uint32_t pmcid:8;
6618c2ecf20Sopenharmony_ci		uint32_t ncp:8;
6628c2ecf20Sopenharmony_ci		uint32_t pcimiv:3;
6638c2ecf20Sopenharmony_ci		uint32_t pmec:1;
6648c2ecf20Sopenharmony_ci		uint32_t reserved_20_20:1;
6658c2ecf20Sopenharmony_ci		uint32_t dsi:1;
6668c2ecf20Sopenharmony_ci		uint32_t auxc:3;
6678c2ecf20Sopenharmony_ci		uint32_t d1s:1;
6688c2ecf20Sopenharmony_ci		uint32_t d2s:1;
6698c2ecf20Sopenharmony_ci		uint32_t pmes:5;
6708c2ecf20Sopenharmony_ci#endif
6718c2ecf20Sopenharmony_ci	} s;
6728c2ecf20Sopenharmony_ci};
6738c2ecf20Sopenharmony_ci
6748c2ecf20Sopenharmony_ciunion cvmx_pci_cfg59 {
6758c2ecf20Sopenharmony_ci	uint32_t u32;
6768c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg59_s {
6778c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
6788c2ecf20Sopenharmony_ci		uint32_t pmdia:8;
6798c2ecf20Sopenharmony_ci		uint32_t bpccen:1;
6808c2ecf20Sopenharmony_ci		uint32_t bd3h:1;
6818c2ecf20Sopenharmony_ci		uint32_t reserved_16_21:6;
6828c2ecf20Sopenharmony_ci		uint32_t pmess:1;
6838c2ecf20Sopenharmony_ci		uint32_t pmedsia:2;
6848c2ecf20Sopenharmony_ci		uint32_t pmds:4;
6858c2ecf20Sopenharmony_ci		uint32_t pmeens:1;
6868c2ecf20Sopenharmony_ci		uint32_t reserved_2_7:6;
6878c2ecf20Sopenharmony_ci		uint32_t ps:2;
6888c2ecf20Sopenharmony_ci#else
6898c2ecf20Sopenharmony_ci		uint32_t ps:2;
6908c2ecf20Sopenharmony_ci		uint32_t reserved_2_7:6;
6918c2ecf20Sopenharmony_ci		uint32_t pmeens:1;
6928c2ecf20Sopenharmony_ci		uint32_t pmds:4;
6938c2ecf20Sopenharmony_ci		uint32_t pmedsia:2;
6948c2ecf20Sopenharmony_ci		uint32_t pmess:1;
6958c2ecf20Sopenharmony_ci		uint32_t reserved_16_21:6;
6968c2ecf20Sopenharmony_ci		uint32_t bd3h:1;
6978c2ecf20Sopenharmony_ci		uint32_t bpccen:1;
6988c2ecf20Sopenharmony_ci		uint32_t pmdia:8;
6998c2ecf20Sopenharmony_ci#endif
7008c2ecf20Sopenharmony_ci	} s;
7018c2ecf20Sopenharmony_ci};
7028c2ecf20Sopenharmony_ci
7038c2ecf20Sopenharmony_ciunion cvmx_pci_cfg60 {
7048c2ecf20Sopenharmony_ci	uint32_t u32;
7058c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg60_s {
7068c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
7078c2ecf20Sopenharmony_ci		uint32_t reserved_24_31:8;
7088c2ecf20Sopenharmony_ci		uint32_t m64:1;
7098c2ecf20Sopenharmony_ci		uint32_t mme:3;
7108c2ecf20Sopenharmony_ci		uint32_t mmc:3;
7118c2ecf20Sopenharmony_ci		uint32_t msien:1;
7128c2ecf20Sopenharmony_ci		uint32_t ncp:8;
7138c2ecf20Sopenharmony_ci		uint32_t msicid:8;
7148c2ecf20Sopenharmony_ci#else
7158c2ecf20Sopenharmony_ci		uint32_t msicid:8;
7168c2ecf20Sopenharmony_ci		uint32_t ncp:8;
7178c2ecf20Sopenharmony_ci		uint32_t msien:1;
7188c2ecf20Sopenharmony_ci		uint32_t mmc:3;
7198c2ecf20Sopenharmony_ci		uint32_t mme:3;
7208c2ecf20Sopenharmony_ci		uint32_t m64:1;
7218c2ecf20Sopenharmony_ci		uint32_t reserved_24_31:8;
7228c2ecf20Sopenharmony_ci#endif
7238c2ecf20Sopenharmony_ci	} s;
7248c2ecf20Sopenharmony_ci};
7258c2ecf20Sopenharmony_ci
7268c2ecf20Sopenharmony_ciunion cvmx_pci_cfg61 {
7278c2ecf20Sopenharmony_ci	uint32_t u32;
7288c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg61_s {
7298c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
7308c2ecf20Sopenharmony_ci		uint32_t msi31t2:30;
7318c2ecf20Sopenharmony_ci		uint32_t reserved_0_1:2;
7328c2ecf20Sopenharmony_ci#else
7338c2ecf20Sopenharmony_ci		uint32_t reserved_0_1:2;
7348c2ecf20Sopenharmony_ci		uint32_t msi31t2:30;
7358c2ecf20Sopenharmony_ci#endif
7368c2ecf20Sopenharmony_ci	} s;
7378c2ecf20Sopenharmony_ci};
7388c2ecf20Sopenharmony_ci
7398c2ecf20Sopenharmony_ciunion cvmx_pci_cfg62 {
7408c2ecf20Sopenharmony_ci	uint32_t u32;
7418c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg62_s {
7428c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
7438c2ecf20Sopenharmony_ci		uint32_t msi:32;
7448c2ecf20Sopenharmony_ci#else
7458c2ecf20Sopenharmony_ci		uint32_t msi:32;
7468c2ecf20Sopenharmony_ci#endif
7478c2ecf20Sopenharmony_ci	} s;
7488c2ecf20Sopenharmony_ci};
7498c2ecf20Sopenharmony_ci
7508c2ecf20Sopenharmony_ciunion cvmx_pci_cfg63 {
7518c2ecf20Sopenharmony_ci	uint32_t u32;
7528c2ecf20Sopenharmony_ci	struct cvmx_pci_cfg63_s {
7538c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
7548c2ecf20Sopenharmony_ci		uint32_t reserved_16_31:16;
7558c2ecf20Sopenharmony_ci		uint32_t msimd:16;
7568c2ecf20Sopenharmony_ci#else
7578c2ecf20Sopenharmony_ci		uint32_t msimd:16;
7588c2ecf20Sopenharmony_ci		uint32_t reserved_16_31:16;
7598c2ecf20Sopenharmony_ci#endif
7608c2ecf20Sopenharmony_ci	} s;
7618c2ecf20Sopenharmony_ci};
7628c2ecf20Sopenharmony_ci
7638c2ecf20Sopenharmony_ciunion cvmx_pci_cnt_reg {
7648c2ecf20Sopenharmony_ci	uint64_t u64;
7658c2ecf20Sopenharmony_ci	struct cvmx_pci_cnt_reg_s {
7668c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
7678c2ecf20Sopenharmony_ci		uint64_t reserved_38_63:26;
7688c2ecf20Sopenharmony_ci		uint64_t hm_pcix:1;
7698c2ecf20Sopenharmony_ci		uint64_t hm_speed:2;
7708c2ecf20Sopenharmony_ci		uint64_t ap_pcix:1;
7718c2ecf20Sopenharmony_ci		uint64_t ap_speed:2;
7728c2ecf20Sopenharmony_ci		uint64_t pcicnt:32;
7738c2ecf20Sopenharmony_ci#else
7748c2ecf20Sopenharmony_ci		uint64_t pcicnt:32;
7758c2ecf20Sopenharmony_ci		uint64_t ap_speed:2;
7768c2ecf20Sopenharmony_ci		uint64_t ap_pcix:1;
7778c2ecf20Sopenharmony_ci		uint64_t hm_speed:2;
7788c2ecf20Sopenharmony_ci		uint64_t hm_pcix:1;
7798c2ecf20Sopenharmony_ci		uint64_t reserved_38_63:26;
7808c2ecf20Sopenharmony_ci#endif
7818c2ecf20Sopenharmony_ci	} s;
7828c2ecf20Sopenharmony_ci};
7838c2ecf20Sopenharmony_ci
7848c2ecf20Sopenharmony_ciunion cvmx_pci_ctl_status_2 {
7858c2ecf20Sopenharmony_ci	uint32_t u32;
7868c2ecf20Sopenharmony_ci	struct cvmx_pci_ctl_status_2_s {
7878c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
7888c2ecf20Sopenharmony_ci		uint32_t reserved_29_31:3;
7898c2ecf20Sopenharmony_ci		uint32_t bb1_hole:3;
7908c2ecf20Sopenharmony_ci		uint32_t bb1_siz:1;
7918c2ecf20Sopenharmony_ci		uint32_t bb_ca:1;
7928c2ecf20Sopenharmony_ci		uint32_t bb_es:2;
7938c2ecf20Sopenharmony_ci		uint32_t bb1:1;
7948c2ecf20Sopenharmony_ci		uint32_t bb0:1;
7958c2ecf20Sopenharmony_ci		uint32_t erst_n:1;
7968c2ecf20Sopenharmony_ci		uint32_t bar2pres:1;
7978c2ecf20Sopenharmony_ci		uint32_t scmtyp:1;
7988c2ecf20Sopenharmony_ci		uint32_t scm:1;
7998c2ecf20Sopenharmony_ci		uint32_t en_wfilt:1;
8008c2ecf20Sopenharmony_ci		uint32_t reserved_14_14:1;
8018c2ecf20Sopenharmony_ci		uint32_t ap_pcix:1;
8028c2ecf20Sopenharmony_ci		uint32_t ap_64ad:1;
8038c2ecf20Sopenharmony_ci		uint32_t b12_bist:1;
8048c2ecf20Sopenharmony_ci		uint32_t pmo_amod:1;
8058c2ecf20Sopenharmony_ci		uint32_t pmo_fpc:3;
8068c2ecf20Sopenharmony_ci		uint32_t tsr_hwm:3;
8078c2ecf20Sopenharmony_ci		uint32_t bar2_enb:1;
8088c2ecf20Sopenharmony_ci		uint32_t bar2_esx:2;
8098c2ecf20Sopenharmony_ci		uint32_t bar2_cax:1;
8108c2ecf20Sopenharmony_ci#else
8118c2ecf20Sopenharmony_ci		uint32_t bar2_cax:1;
8128c2ecf20Sopenharmony_ci		uint32_t bar2_esx:2;
8138c2ecf20Sopenharmony_ci		uint32_t bar2_enb:1;
8148c2ecf20Sopenharmony_ci		uint32_t tsr_hwm:3;
8158c2ecf20Sopenharmony_ci		uint32_t pmo_fpc:3;
8168c2ecf20Sopenharmony_ci		uint32_t pmo_amod:1;
8178c2ecf20Sopenharmony_ci		uint32_t b12_bist:1;
8188c2ecf20Sopenharmony_ci		uint32_t ap_64ad:1;
8198c2ecf20Sopenharmony_ci		uint32_t ap_pcix:1;
8208c2ecf20Sopenharmony_ci		uint32_t reserved_14_14:1;
8218c2ecf20Sopenharmony_ci		uint32_t en_wfilt:1;
8228c2ecf20Sopenharmony_ci		uint32_t scm:1;
8238c2ecf20Sopenharmony_ci		uint32_t scmtyp:1;
8248c2ecf20Sopenharmony_ci		uint32_t bar2pres:1;
8258c2ecf20Sopenharmony_ci		uint32_t erst_n:1;
8268c2ecf20Sopenharmony_ci		uint32_t bb0:1;
8278c2ecf20Sopenharmony_ci		uint32_t bb1:1;
8288c2ecf20Sopenharmony_ci		uint32_t bb_es:2;
8298c2ecf20Sopenharmony_ci		uint32_t bb_ca:1;
8308c2ecf20Sopenharmony_ci		uint32_t bb1_siz:1;
8318c2ecf20Sopenharmony_ci		uint32_t bb1_hole:3;
8328c2ecf20Sopenharmony_ci		uint32_t reserved_29_31:3;
8338c2ecf20Sopenharmony_ci#endif
8348c2ecf20Sopenharmony_ci	} s;
8358c2ecf20Sopenharmony_ci	struct cvmx_pci_ctl_status_2_cn31xx {
8368c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
8378c2ecf20Sopenharmony_ci		uint32_t reserved_20_31:12;
8388c2ecf20Sopenharmony_ci		uint32_t erst_n:1;
8398c2ecf20Sopenharmony_ci		uint32_t bar2pres:1;
8408c2ecf20Sopenharmony_ci		uint32_t scmtyp:1;
8418c2ecf20Sopenharmony_ci		uint32_t scm:1;
8428c2ecf20Sopenharmony_ci		uint32_t en_wfilt:1;
8438c2ecf20Sopenharmony_ci		uint32_t reserved_14_14:1;
8448c2ecf20Sopenharmony_ci		uint32_t ap_pcix:1;
8458c2ecf20Sopenharmony_ci		uint32_t ap_64ad:1;
8468c2ecf20Sopenharmony_ci		uint32_t b12_bist:1;
8478c2ecf20Sopenharmony_ci		uint32_t pmo_amod:1;
8488c2ecf20Sopenharmony_ci		uint32_t pmo_fpc:3;
8498c2ecf20Sopenharmony_ci		uint32_t tsr_hwm:3;
8508c2ecf20Sopenharmony_ci		uint32_t bar2_enb:1;
8518c2ecf20Sopenharmony_ci		uint32_t bar2_esx:2;
8528c2ecf20Sopenharmony_ci		uint32_t bar2_cax:1;
8538c2ecf20Sopenharmony_ci#else
8548c2ecf20Sopenharmony_ci		uint32_t bar2_cax:1;
8558c2ecf20Sopenharmony_ci		uint32_t bar2_esx:2;
8568c2ecf20Sopenharmony_ci		uint32_t bar2_enb:1;
8578c2ecf20Sopenharmony_ci		uint32_t tsr_hwm:3;
8588c2ecf20Sopenharmony_ci		uint32_t pmo_fpc:3;
8598c2ecf20Sopenharmony_ci		uint32_t pmo_amod:1;
8608c2ecf20Sopenharmony_ci		uint32_t b12_bist:1;
8618c2ecf20Sopenharmony_ci		uint32_t ap_64ad:1;
8628c2ecf20Sopenharmony_ci		uint32_t ap_pcix:1;
8638c2ecf20Sopenharmony_ci		uint32_t reserved_14_14:1;
8648c2ecf20Sopenharmony_ci		uint32_t en_wfilt:1;
8658c2ecf20Sopenharmony_ci		uint32_t scm:1;
8668c2ecf20Sopenharmony_ci		uint32_t scmtyp:1;
8678c2ecf20Sopenharmony_ci		uint32_t bar2pres:1;
8688c2ecf20Sopenharmony_ci		uint32_t erst_n:1;
8698c2ecf20Sopenharmony_ci		uint32_t reserved_20_31:12;
8708c2ecf20Sopenharmony_ci#endif
8718c2ecf20Sopenharmony_ci	} cn31xx;
8728c2ecf20Sopenharmony_ci};
8738c2ecf20Sopenharmony_ci
8748c2ecf20Sopenharmony_ciunion cvmx_pci_dbellx {
8758c2ecf20Sopenharmony_ci	uint32_t u32;
8768c2ecf20Sopenharmony_ci	struct cvmx_pci_dbellx_s {
8778c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
8788c2ecf20Sopenharmony_ci		uint32_t reserved_16_31:16;
8798c2ecf20Sopenharmony_ci		uint32_t inc_val:16;
8808c2ecf20Sopenharmony_ci#else
8818c2ecf20Sopenharmony_ci		uint32_t inc_val:16;
8828c2ecf20Sopenharmony_ci		uint32_t reserved_16_31:16;
8838c2ecf20Sopenharmony_ci#endif
8848c2ecf20Sopenharmony_ci	} s;
8858c2ecf20Sopenharmony_ci};
8868c2ecf20Sopenharmony_ci
8878c2ecf20Sopenharmony_ciunion cvmx_pci_dma_cntx {
8888c2ecf20Sopenharmony_ci	uint32_t u32;
8898c2ecf20Sopenharmony_ci	struct cvmx_pci_dma_cntx_s {
8908c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
8918c2ecf20Sopenharmony_ci		uint32_t dma_cnt:32;
8928c2ecf20Sopenharmony_ci#else
8938c2ecf20Sopenharmony_ci		uint32_t dma_cnt:32;
8948c2ecf20Sopenharmony_ci#endif
8958c2ecf20Sopenharmony_ci	} s;
8968c2ecf20Sopenharmony_ci};
8978c2ecf20Sopenharmony_ci
8988c2ecf20Sopenharmony_ciunion cvmx_pci_dma_int_levx {
8998c2ecf20Sopenharmony_ci	uint32_t u32;
9008c2ecf20Sopenharmony_ci	struct cvmx_pci_dma_int_levx_s {
9018c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
9028c2ecf20Sopenharmony_ci		uint32_t pkt_cnt:32;
9038c2ecf20Sopenharmony_ci#else
9048c2ecf20Sopenharmony_ci		uint32_t pkt_cnt:32;
9058c2ecf20Sopenharmony_ci#endif
9068c2ecf20Sopenharmony_ci	} s;
9078c2ecf20Sopenharmony_ci};
9088c2ecf20Sopenharmony_ci
9098c2ecf20Sopenharmony_ciunion cvmx_pci_dma_timex {
9108c2ecf20Sopenharmony_ci	uint32_t u32;
9118c2ecf20Sopenharmony_ci	struct cvmx_pci_dma_timex_s {
9128c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
9138c2ecf20Sopenharmony_ci		uint32_t dma_time:32;
9148c2ecf20Sopenharmony_ci#else
9158c2ecf20Sopenharmony_ci		uint32_t dma_time:32;
9168c2ecf20Sopenharmony_ci#endif
9178c2ecf20Sopenharmony_ci	} s;
9188c2ecf20Sopenharmony_ci};
9198c2ecf20Sopenharmony_ci
9208c2ecf20Sopenharmony_ciunion cvmx_pci_instr_countx {
9218c2ecf20Sopenharmony_ci	uint32_t u32;
9228c2ecf20Sopenharmony_ci	struct cvmx_pci_instr_countx_s {
9238c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
9248c2ecf20Sopenharmony_ci		uint32_t icnt:32;
9258c2ecf20Sopenharmony_ci#else
9268c2ecf20Sopenharmony_ci		uint32_t icnt:32;
9278c2ecf20Sopenharmony_ci#endif
9288c2ecf20Sopenharmony_ci	} s;
9298c2ecf20Sopenharmony_ci};
9308c2ecf20Sopenharmony_ci
9318c2ecf20Sopenharmony_ciunion cvmx_pci_int_enb {
9328c2ecf20Sopenharmony_ci	uint64_t u64;
9338c2ecf20Sopenharmony_ci	struct cvmx_pci_int_enb_s {
9348c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
9358c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
9368c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
9378c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
9388c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
9398c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
9408c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
9418c2ecf20Sopenharmony_ci		uint64_t idtime1:1;
9428c2ecf20Sopenharmony_ci		uint64_t idtime0:1;
9438c2ecf20Sopenharmony_ci		uint64_t idcnt1:1;
9448c2ecf20Sopenharmony_ci		uint64_t idcnt0:1;
9458c2ecf20Sopenharmony_ci		uint64_t iptime3:1;
9468c2ecf20Sopenharmony_ci		uint64_t iptime2:1;
9478c2ecf20Sopenharmony_ci		uint64_t iptime1:1;
9488c2ecf20Sopenharmony_ci		uint64_t iptime0:1;
9498c2ecf20Sopenharmony_ci		uint64_t ipcnt3:1;
9508c2ecf20Sopenharmony_ci		uint64_t ipcnt2:1;
9518c2ecf20Sopenharmony_ci		uint64_t ipcnt1:1;
9528c2ecf20Sopenharmony_ci		uint64_t ipcnt0:1;
9538c2ecf20Sopenharmony_ci		uint64_t irsl_int:1;
9548c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
9558c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
9568c2ecf20Sopenharmony_ci		uint64_t idperr:1;
9578c2ecf20Sopenharmony_ci		uint64_t iaperr:1;
9588c2ecf20Sopenharmony_ci		uint64_t iserr:1;
9598c2ecf20Sopenharmony_ci		uint64_t itsr_abt:1;
9608c2ecf20Sopenharmony_ci		uint64_t imsc_msg:1;
9618c2ecf20Sopenharmony_ci		uint64_t imsi_mabt:1;
9628c2ecf20Sopenharmony_ci		uint64_t imsi_tabt:1;
9638c2ecf20Sopenharmony_ci		uint64_t imsi_per:1;
9648c2ecf20Sopenharmony_ci		uint64_t imr_tto:1;
9658c2ecf20Sopenharmony_ci		uint64_t imr_abt:1;
9668c2ecf20Sopenharmony_ci		uint64_t itr_abt:1;
9678c2ecf20Sopenharmony_ci		uint64_t imr_wtto:1;
9688c2ecf20Sopenharmony_ci		uint64_t imr_wabt:1;
9698c2ecf20Sopenharmony_ci		uint64_t itr_wabt:1;
9708c2ecf20Sopenharmony_ci#else
9718c2ecf20Sopenharmony_ci		uint64_t itr_wabt:1;
9728c2ecf20Sopenharmony_ci		uint64_t imr_wabt:1;
9738c2ecf20Sopenharmony_ci		uint64_t imr_wtto:1;
9748c2ecf20Sopenharmony_ci		uint64_t itr_abt:1;
9758c2ecf20Sopenharmony_ci		uint64_t imr_abt:1;
9768c2ecf20Sopenharmony_ci		uint64_t imr_tto:1;
9778c2ecf20Sopenharmony_ci		uint64_t imsi_per:1;
9788c2ecf20Sopenharmony_ci		uint64_t imsi_tabt:1;
9798c2ecf20Sopenharmony_ci		uint64_t imsi_mabt:1;
9808c2ecf20Sopenharmony_ci		uint64_t imsc_msg:1;
9818c2ecf20Sopenharmony_ci		uint64_t itsr_abt:1;
9828c2ecf20Sopenharmony_ci		uint64_t iserr:1;
9838c2ecf20Sopenharmony_ci		uint64_t iaperr:1;
9848c2ecf20Sopenharmony_ci		uint64_t idperr:1;
9858c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
9868c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
9878c2ecf20Sopenharmony_ci		uint64_t irsl_int:1;
9888c2ecf20Sopenharmony_ci		uint64_t ipcnt0:1;
9898c2ecf20Sopenharmony_ci		uint64_t ipcnt1:1;
9908c2ecf20Sopenharmony_ci		uint64_t ipcnt2:1;
9918c2ecf20Sopenharmony_ci		uint64_t ipcnt3:1;
9928c2ecf20Sopenharmony_ci		uint64_t iptime0:1;
9938c2ecf20Sopenharmony_ci		uint64_t iptime1:1;
9948c2ecf20Sopenharmony_ci		uint64_t iptime2:1;
9958c2ecf20Sopenharmony_ci		uint64_t iptime3:1;
9968c2ecf20Sopenharmony_ci		uint64_t idcnt0:1;
9978c2ecf20Sopenharmony_ci		uint64_t idcnt1:1;
9988c2ecf20Sopenharmony_ci		uint64_t idtime0:1;
9998c2ecf20Sopenharmony_ci		uint64_t idtime1:1;
10008c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
10018c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
10028c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
10038c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
10048c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
10058c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
10068c2ecf20Sopenharmony_ci#endif
10078c2ecf20Sopenharmony_ci	} s;
10088c2ecf20Sopenharmony_ci	struct cvmx_pci_int_enb_cn30xx {
10098c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
10108c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
10118c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
10128c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
10138c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
10148c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
10158c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
10168c2ecf20Sopenharmony_ci		uint64_t idtime1:1;
10178c2ecf20Sopenharmony_ci		uint64_t idtime0:1;
10188c2ecf20Sopenharmony_ci		uint64_t idcnt1:1;
10198c2ecf20Sopenharmony_ci		uint64_t idcnt0:1;
10208c2ecf20Sopenharmony_ci		uint64_t reserved_22_24:3;
10218c2ecf20Sopenharmony_ci		uint64_t iptime0:1;
10228c2ecf20Sopenharmony_ci		uint64_t reserved_18_20:3;
10238c2ecf20Sopenharmony_ci		uint64_t ipcnt0:1;
10248c2ecf20Sopenharmony_ci		uint64_t irsl_int:1;
10258c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
10268c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
10278c2ecf20Sopenharmony_ci		uint64_t idperr:1;
10288c2ecf20Sopenharmony_ci		uint64_t iaperr:1;
10298c2ecf20Sopenharmony_ci		uint64_t iserr:1;
10308c2ecf20Sopenharmony_ci		uint64_t itsr_abt:1;
10318c2ecf20Sopenharmony_ci		uint64_t imsc_msg:1;
10328c2ecf20Sopenharmony_ci		uint64_t imsi_mabt:1;
10338c2ecf20Sopenharmony_ci		uint64_t imsi_tabt:1;
10348c2ecf20Sopenharmony_ci		uint64_t imsi_per:1;
10358c2ecf20Sopenharmony_ci		uint64_t imr_tto:1;
10368c2ecf20Sopenharmony_ci		uint64_t imr_abt:1;
10378c2ecf20Sopenharmony_ci		uint64_t itr_abt:1;
10388c2ecf20Sopenharmony_ci		uint64_t imr_wtto:1;
10398c2ecf20Sopenharmony_ci		uint64_t imr_wabt:1;
10408c2ecf20Sopenharmony_ci		uint64_t itr_wabt:1;
10418c2ecf20Sopenharmony_ci#else
10428c2ecf20Sopenharmony_ci		uint64_t itr_wabt:1;
10438c2ecf20Sopenharmony_ci		uint64_t imr_wabt:1;
10448c2ecf20Sopenharmony_ci		uint64_t imr_wtto:1;
10458c2ecf20Sopenharmony_ci		uint64_t itr_abt:1;
10468c2ecf20Sopenharmony_ci		uint64_t imr_abt:1;
10478c2ecf20Sopenharmony_ci		uint64_t imr_tto:1;
10488c2ecf20Sopenharmony_ci		uint64_t imsi_per:1;
10498c2ecf20Sopenharmony_ci		uint64_t imsi_tabt:1;
10508c2ecf20Sopenharmony_ci		uint64_t imsi_mabt:1;
10518c2ecf20Sopenharmony_ci		uint64_t imsc_msg:1;
10528c2ecf20Sopenharmony_ci		uint64_t itsr_abt:1;
10538c2ecf20Sopenharmony_ci		uint64_t iserr:1;
10548c2ecf20Sopenharmony_ci		uint64_t iaperr:1;
10558c2ecf20Sopenharmony_ci		uint64_t idperr:1;
10568c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
10578c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
10588c2ecf20Sopenharmony_ci		uint64_t irsl_int:1;
10598c2ecf20Sopenharmony_ci		uint64_t ipcnt0:1;
10608c2ecf20Sopenharmony_ci		uint64_t reserved_18_20:3;
10618c2ecf20Sopenharmony_ci		uint64_t iptime0:1;
10628c2ecf20Sopenharmony_ci		uint64_t reserved_22_24:3;
10638c2ecf20Sopenharmony_ci		uint64_t idcnt0:1;
10648c2ecf20Sopenharmony_ci		uint64_t idcnt1:1;
10658c2ecf20Sopenharmony_ci		uint64_t idtime0:1;
10668c2ecf20Sopenharmony_ci		uint64_t idtime1:1;
10678c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
10688c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
10698c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
10708c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
10718c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
10728c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
10738c2ecf20Sopenharmony_ci#endif
10748c2ecf20Sopenharmony_ci	} cn30xx;
10758c2ecf20Sopenharmony_ci	struct cvmx_pci_int_enb_cn31xx {
10768c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
10778c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
10788c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
10798c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
10808c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
10818c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
10828c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
10838c2ecf20Sopenharmony_ci		uint64_t idtime1:1;
10848c2ecf20Sopenharmony_ci		uint64_t idtime0:1;
10858c2ecf20Sopenharmony_ci		uint64_t idcnt1:1;
10868c2ecf20Sopenharmony_ci		uint64_t idcnt0:1;
10878c2ecf20Sopenharmony_ci		uint64_t reserved_23_24:2;
10888c2ecf20Sopenharmony_ci		uint64_t iptime1:1;
10898c2ecf20Sopenharmony_ci		uint64_t iptime0:1;
10908c2ecf20Sopenharmony_ci		uint64_t reserved_19_20:2;
10918c2ecf20Sopenharmony_ci		uint64_t ipcnt1:1;
10928c2ecf20Sopenharmony_ci		uint64_t ipcnt0:1;
10938c2ecf20Sopenharmony_ci		uint64_t irsl_int:1;
10948c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
10958c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
10968c2ecf20Sopenharmony_ci		uint64_t idperr:1;
10978c2ecf20Sopenharmony_ci		uint64_t iaperr:1;
10988c2ecf20Sopenharmony_ci		uint64_t iserr:1;
10998c2ecf20Sopenharmony_ci		uint64_t itsr_abt:1;
11008c2ecf20Sopenharmony_ci		uint64_t imsc_msg:1;
11018c2ecf20Sopenharmony_ci		uint64_t imsi_mabt:1;
11028c2ecf20Sopenharmony_ci		uint64_t imsi_tabt:1;
11038c2ecf20Sopenharmony_ci		uint64_t imsi_per:1;
11048c2ecf20Sopenharmony_ci		uint64_t imr_tto:1;
11058c2ecf20Sopenharmony_ci		uint64_t imr_abt:1;
11068c2ecf20Sopenharmony_ci		uint64_t itr_abt:1;
11078c2ecf20Sopenharmony_ci		uint64_t imr_wtto:1;
11088c2ecf20Sopenharmony_ci		uint64_t imr_wabt:1;
11098c2ecf20Sopenharmony_ci		uint64_t itr_wabt:1;
11108c2ecf20Sopenharmony_ci#else
11118c2ecf20Sopenharmony_ci		uint64_t itr_wabt:1;
11128c2ecf20Sopenharmony_ci		uint64_t imr_wabt:1;
11138c2ecf20Sopenharmony_ci		uint64_t imr_wtto:1;
11148c2ecf20Sopenharmony_ci		uint64_t itr_abt:1;
11158c2ecf20Sopenharmony_ci		uint64_t imr_abt:1;
11168c2ecf20Sopenharmony_ci		uint64_t imr_tto:1;
11178c2ecf20Sopenharmony_ci		uint64_t imsi_per:1;
11188c2ecf20Sopenharmony_ci		uint64_t imsi_tabt:1;
11198c2ecf20Sopenharmony_ci		uint64_t imsi_mabt:1;
11208c2ecf20Sopenharmony_ci		uint64_t imsc_msg:1;
11218c2ecf20Sopenharmony_ci		uint64_t itsr_abt:1;
11228c2ecf20Sopenharmony_ci		uint64_t iserr:1;
11238c2ecf20Sopenharmony_ci		uint64_t iaperr:1;
11248c2ecf20Sopenharmony_ci		uint64_t idperr:1;
11258c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
11268c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
11278c2ecf20Sopenharmony_ci		uint64_t irsl_int:1;
11288c2ecf20Sopenharmony_ci		uint64_t ipcnt0:1;
11298c2ecf20Sopenharmony_ci		uint64_t ipcnt1:1;
11308c2ecf20Sopenharmony_ci		uint64_t reserved_19_20:2;
11318c2ecf20Sopenharmony_ci		uint64_t iptime0:1;
11328c2ecf20Sopenharmony_ci		uint64_t iptime1:1;
11338c2ecf20Sopenharmony_ci		uint64_t reserved_23_24:2;
11348c2ecf20Sopenharmony_ci		uint64_t idcnt0:1;
11358c2ecf20Sopenharmony_ci		uint64_t idcnt1:1;
11368c2ecf20Sopenharmony_ci		uint64_t idtime0:1;
11378c2ecf20Sopenharmony_ci		uint64_t idtime1:1;
11388c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
11398c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
11408c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
11418c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
11428c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
11438c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
11448c2ecf20Sopenharmony_ci#endif
11458c2ecf20Sopenharmony_ci	} cn31xx;
11468c2ecf20Sopenharmony_ci};
11478c2ecf20Sopenharmony_ci
11488c2ecf20Sopenharmony_ciunion cvmx_pci_int_enb2 {
11498c2ecf20Sopenharmony_ci	uint64_t u64;
11508c2ecf20Sopenharmony_ci	struct cvmx_pci_int_enb2_s {
11518c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
11528c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
11538c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
11548c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
11558c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
11568c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
11578c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
11588c2ecf20Sopenharmony_ci		uint64_t rdtime1:1;
11598c2ecf20Sopenharmony_ci		uint64_t rdtime0:1;
11608c2ecf20Sopenharmony_ci		uint64_t rdcnt1:1;
11618c2ecf20Sopenharmony_ci		uint64_t rdcnt0:1;
11628c2ecf20Sopenharmony_ci		uint64_t rptime3:1;
11638c2ecf20Sopenharmony_ci		uint64_t rptime2:1;
11648c2ecf20Sopenharmony_ci		uint64_t rptime1:1;
11658c2ecf20Sopenharmony_ci		uint64_t rptime0:1;
11668c2ecf20Sopenharmony_ci		uint64_t rpcnt3:1;
11678c2ecf20Sopenharmony_ci		uint64_t rpcnt2:1;
11688c2ecf20Sopenharmony_ci		uint64_t rpcnt1:1;
11698c2ecf20Sopenharmony_ci		uint64_t rpcnt0:1;
11708c2ecf20Sopenharmony_ci		uint64_t rrsl_int:1;
11718c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
11728c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
11738c2ecf20Sopenharmony_ci		uint64_t rdperr:1;
11748c2ecf20Sopenharmony_ci		uint64_t raperr:1;
11758c2ecf20Sopenharmony_ci		uint64_t rserr:1;
11768c2ecf20Sopenharmony_ci		uint64_t rtsr_abt:1;
11778c2ecf20Sopenharmony_ci		uint64_t rmsc_msg:1;
11788c2ecf20Sopenharmony_ci		uint64_t rmsi_mabt:1;
11798c2ecf20Sopenharmony_ci		uint64_t rmsi_tabt:1;
11808c2ecf20Sopenharmony_ci		uint64_t rmsi_per:1;
11818c2ecf20Sopenharmony_ci		uint64_t rmr_tto:1;
11828c2ecf20Sopenharmony_ci		uint64_t rmr_abt:1;
11838c2ecf20Sopenharmony_ci		uint64_t rtr_abt:1;
11848c2ecf20Sopenharmony_ci		uint64_t rmr_wtto:1;
11858c2ecf20Sopenharmony_ci		uint64_t rmr_wabt:1;
11868c2ecf20Sopenharmony_ci		uint64_t rtr_wabt:1;
11878c2ecf20Sopenharmony_ci#else
11888c2ecf20Sopenharmony_ci		uint64_t rtr_wabt:1;
11898c2ecf20Sopenharmony_ci		uint64_t rmr_wabt:1;
11908c2ecf20Sopenharmony_ci		uint64_t rmr_wtto:1;
11918c2ecf20Sopenharmony_ci		uint64_t rtr_abt:1;
11928c2ecf20Sopenharmony_ci		uint64_t rmr_abt:1;
11938c2ecf20Sopenharmony_ci		uint64_t rmr_tto:1;
11948c2ecf20Sopenharmony_ci		uint64_t rmsi_per:1;
11958c2ecf20Sopenharmony_ci		uint64_t rmsi_tabt:1;
11968c2ecf20Sopenharmony_ci		uint64_t rmsi_mabt:1;
11978c2ecf20Sopenharmony_ci		uint64_t rmsc_msg:1;
11988c2ecf20Sopenharmony_ci		uint64_t rtsr_abt:1;
11998c2ecf20Sopenharmony_ci		uint64_t rserr:1;
12008c2ecf20Sopenharmony_ci		uint64_t raperr:1;
12018c2ecf20Sopenharmony_ci		uint64_t rdperr:1;
12028c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
12038c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
12048c2ecf20Sopenharmony_ci		uint64_t rrsl_int:1;
12058c2ecf20Sopenharmony_ci		uint64_t rpcnt0:1;
12068c2ecf20Sopenharmony_ci		uint64_t rpcnt1:1;
12078c2ecf20Sopenharmony_ci		uint64_t rpcnt2:1;
12088c2ecf20Sopenharmony_ci		uint64_t rpcnt3:1;
12098c2ecf20Sopenharmony_ci		uint64_t rptime0:1;
12108c2ecf20Sopenharmony_ci		uint64_t rptime1:1;
12118c2ecf20Sopenharmony_ci		uint64_t rptime2:1;
12128c2ecf20Sopenharmony_ci		uint64_t rptime3:1;
12138c2ecf20Sopenharmony_ci		uint64_t rdcnt0:1;
12148c2ecf20Sopenharmony_ci		uint64_t rdcnt1:1;
12158c2ecf20Sopenharmony_ci		uint64_t rdtime0:1;
12168c2ecf20Sopenharmony_ci		uint64_t rdtime1:1;
12178c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
12188c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
12198c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
12208c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
12218c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
12228c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
12238c2ecf20Sopenharmony_ci#endif
12248c2ecf20Sopenharmony_ci	} s;
12258c2ecf20Sopenharmony_ci	struct cvmx_pci_int_enb2_cn30xx {
12268c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
12278c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
12288c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
12298c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
12308c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
12318c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
12328c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
12338c2ecf20Sopenharmony_ci		uint64_t rdtime1:1;
12348c2ecf20Sopenharmony_ci		uint64_t rdtime0:1;
12358c2ecf20Sopenharmony_ci		uint64_t rdcnt1:1;
12368c2ecf20Sopenharmony_ci		uint64_t rdcnt0:1;
12378c2ecf20Sopenharmony_ci		uint64_t reserved_22_24:3;
12388c2ecf20Sopenharmony_ci		uint64_t rptime0:1;
12398c2ecf20Sopenharmony_ci		uint64_t reserved_18_20:3;
12408c2ecf20Sopenharmony_ci		uint64_t rpcnt0:1;
12418c2ecf20Sopenharmony_ci		uint64_t rrsl_int:1;
12428c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
12438c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
12448c2ecf20Sopenharmony_ci		uint64_t rdperr:1;
12458c2ecf20Sopenharmony_ci		uint64_t raperr:1;
12468c2ecf20Sopenharmony_ci		uint64_t rserr:1;
12478c2ecf20Sopenharmony_ci		uint64_t rtsr_abt:1;
12488c2ecf20Sopenharmony_ci		uint64_t rmsc_msg:1;
12498c2ecf20Sopenharmony_ci		uint64_t rmsi_mabt:1;
12508c2ecf20Sopenharmony_ci		uint64_t rmsi_tabt:1;
12518c2ecf20Sopenharmony_ci		uint64_t rmsi_per:1;
12528c2ecf20Sopenharmony_ci		uint64_t rmr_tto:1;
12538c2ecf20Sopenharmony_ci		uint64_t rmr_abt:1;
12548c2ecf20Sopenharmony_ci		uint64_t rtr_abt:1;
12558c2ecf20Sopenharmony_ci		uint64_t rmr_wtto:1;
12568c2ecf20Sopenharmony_ci		uint64_t rmr_wabt:1;
12578c2ecf20Sopenharmony_ci		uint64_t rtr_wabt:1;
12588c2ecf20Sopenharmony_ci#else
12598c2ecf20Sopenharmony_ci		uint64_t rtr_wabt:1;
12608c2ecf20Sopenharmony_ci		uint64_t rmr_wabt:1;
12618c2ecf20Sopenharmony_ci		uint64_t rmr_wtto:1;
12628c2ecf20Sopenharmony_ci		uint64_t rtr_abt:1;
12638c2ecf20Sopenharmony_ci		uint64_t rmr_abt:1;
12648c2ecf20Sopenharmony_ci		uint64_t rmr_tto:1;
12658c2ecf20Sopenharmony_ci		uint64_t rmsi_per:1;
12668c2ecf20Sopenharmony_ci		uint64_t rmsi_tabt:1;
12678c2ecf20Sopenharmony_ci		uint64_t rmsi_mabt:1;
12688c2ecf20Sopenharmony_ci		uint64_t rmsc_msg:1;
12698c2ecf20Sopenharmony_ci		uint64_t rtsr_abt:1;
12708c2ecf20Sopenharmony_ci		uint64_t rserr:1;
12718c2ecf20Sopenharmony_ci		uint64_t raperr:1;
12728c2ecf20Sopenharmony_ci		uint64_t rdperr:1;
12738c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
12748c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
12758c2ecf20Sopenharmony_ci		uint64_t rrsl_int:1;
12768c2ecf20Sopenharmony_ci		uint64_t rpcnt0:1;
12778c2ecf20Sopenharmony_ci		uint64_t reserved_18_20:3;
12788c2ecf20Sopenharmony_ci		uint64_t rptime0:1;
12798c2ecf20Sopenharmony_ci		uint64_t reserved_22_24:3;
12808c2ecf20Sopenharmony_ci		uint64_t rdcnt0:1;
12818c2ecf20Sopenharmony_ci		uint64_t rdcnt1:1;
12828c2ecf20Sopenharmony_ci		uint64_t rdtime0:1;
12838c2ecf20Sopenharmony_ci		uint64_t rdtime1:1;
12848c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
12858c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
12868c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
12878c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
12888c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
12898c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
12908c2ecf20Sopenharmony_ci#endif
12918c2ecf20Sopenharmony_ci	} cn30xx;
12928c2ecf20Sopenharmony_ci	struct cvmx_pci_int_enb2_cn31xx {
12938c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
12948c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
12958c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
12968c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
12978c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
12988c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
12998c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
13008c2ecf20Sopenharmony_ci		uint64_t rdtime1:1;
13018c2ecf20Sopenharmony_ci		uint64_t rdtime0:1;
13028c2ecf20Sopenharmony_ci		uint64_t rdcnt1:1;
13038c2ecf20Sopenharmony_ci		uint64_t rdcnt0:1;
13048c2ecf20Sopenharmony_ci		uint64_t reserved_23_24:2;
13058c2ecf20Sopenharmony_ci		uint64_t rptime1:1;
13068c2ecf20Sopenharmony_ci		uint64_t rptime0:1;
13078c2ecf20Sopenharmony_ci		uint64_t reserved_19_20:2;
13088c2ecf20Sopenharmony_ci		uint64_t rpcnt1:1;
13098c2ecf20Sopenharmony_ci		uint64_t rpcnt0:1;
13108c2ecf20Sopenharmony_ci		uint64_t rrsl_int:1;
13118c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
13128c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
13138c2ecf20Sopenharmony_ci		uint64_t rdperr:1;
13148c2ecf20Sopenharmony_ci		uint64_t raperr:1;
13158c2ecf20Sopenharmony_ci		uint64_t rserr:1;
13168c2ecf20Sopenharmony_ci		uint64_t rtsr_abt:1;
13178c2ecf20Sopenharmony_ci		uint64_t rmsc_msg:1;
13188c2ecf20Sopenharmony_ci		uint64_t rmsi_mabt:1;
13198c2ecf20Sopenharmony_ci		uint64_t rmsi_tabt:1;
13208c2ecf20Sopenharmony_ci		uint64_t rmsi_per:1;
13218c2ecf20Sopenharmony_ci		uint64_t rmr_tto:1;
13228c2ecf20Sopenharmony_ci		uint64_t rmr_abt:1;
13238c2ecf20Sopenharmony_ci		uint64_t rtr_abt:1;
13248c2ecf20Sopenharmony_ci		uint64_t rmr_wtto:1;
13258c2ecf20Sopenharmony_ci		uint64_t rmr_wabt:1;
13268c2ecf20Sopenharmony_ci		uint64_t rtr_wabt:1;
13278c2ecf20Sopenharmony_ci#else
13288c2ecf20Sopenharmony_ci		uint64_t rtr_wabt:1;
13298c2ecf20Sopenharmony_ci		uint64_t rmr_wabt:1;
13308c2ecf20Sopenharmony_ci		uint64_t rmr_wtto:1;
13318c2ecf20Sopenharmony_ci		uint64_t rtr_abt:1;
13328c2ecf20Sopenharmony_ci		uint64_t rmr_abt:1;
13338c2ecf20Sopenharmony_ci		uint64_t rmr_tto:1;
13348c2ecf20Sopenharmony_ci		uint64_t rmsi_per:1;
13358c2ecf20Sopenharmony_ci		uint64_t rmsi_tabt:1;
13368c2ecf20Sopenharmony_ci		uint64_t rmsi_mabt:1;
13378c2ecf20Sopenharmony_ci		uint64_t rmsc_msg:1;
13388c2ecf20Sopenharmony_ci		uint64_t rtsr_abt:1;
13398c2ecf20Sopenharmony_ci		uint64_t rserr:1;
13408c2ecf20Sopenharmony_ci		uint64_t raperr:1;
13418c2ecf20Sopenharmony_ci		uint64_t rdperr:1;
13428c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
13438c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
13448c2ecf20Sopenharmony_ci		uint64_t rrsl_int:1;
13458c2ecf20Sopenharmony_ci		uint64_t rpcnt0:1;
13468c2ecf20Sopenharmony_ci		uint64_t rpcnt1:1;
13478c2ecf20Sopenharmony_ci		uint64_t reserved_19_20:2;
13488c2ecf20Sopenharmony_ci		uint64_t rptime0:1;
13498c2ecf20Sopenharmony_ci		uint64_t rptime1:1;
13508c2ecf20Sopenharmony_ci		uint64_t reserved_23_24:2;
13518c2ecf20Sopenharmony_ci		uint64_t rdcnt0:1;
13528c2ecf20Sopenharmony_ci		uint64_t rdcnt1:1;
13538c2ecf20Sopenharmony_ci		uint64_t rdtime0:1;
13548c2ecf20Sopenharmony_ci		uint64_t rdtime1:1;
13558c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
13568c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
13578c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
13588c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
13598c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
13608c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
13618c2ecf20Sopenharmony_ci#endif
13628c2ecf20Sopenharmony_ci	} cn31xx;
13638c2ecf20Sopenharmony_ci};
13648c2ecf20Sopenharmony_ci
13658c2ecf20Sopenharmony_ciunion cvmx_pci_int_sum {
13668c2ecf20Sopenharmony_ci	uint64_t u64;
13678c2ecf20Sopenharmony_ci	struct cvmx_pci_int_sum_s {
13688c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
13698c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
13708c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
13718c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
13728c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
13738c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
13748c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
13758c2ecf20Sopenharmony_ci		uint64_t dtime1:1;
13768c2ecf20Sopenharmony_ci		uint64_t dtime0:1;
13778c2ecf20Sopenharmony_ci		uint64_t dcnt1:1;
13788c2ecf20Sopenharmony_ci		uint64_t dcnt0:1;
13798c2ecf20Sopenharmony_ci		uint64_t ptime3:1;
13808c2ecf20Sopenharmony_ci		uint64_t ptime2:1;
13818c2ecf20Sopenharmony_ci		uint64_t ptime1:1;
13828c2ecf20Sopenharmony_ci		uint64_t ptime0:1;
13838c2ecf20Sopenharmony_ci		uint64_t pcnt3:1;
13848c2ecf20Sopenharmony_ci		uint64_t pcnt2:1;
13858c2ecf20Sopenharmony_ci		uint64_t pcnt1:1;
13868c2ecf20Sopenharmony_ci		uint64_t pcnt0:1;
13878c2ecf20Sopenharmony_ci		uint64_t rsl_int:1;
13888c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
13898c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
13908c2ecf20Sopenharmony_ci		uint64_t dperr:1;
13918c2ecf20Sopenharmony_ci		uint64_t aperr:1;
13928c2ecf20Sopenharmony_ci		uint64_t serr:1;
13938c2ecf20Sopenharmony_ci		uint64_t tsr_abt:1;
13948c2ecf20Sopenharmony_ci		uint64_t msc_msg:1;
13958c2ecf20Sopenharmony_ci		uint64_t msi_mabt:1;
13968c2ecf20Sopenharmony_ci		uint64_t msi_tabt:1;
13978c2ecf20Sopenharmony_ci		uint64_t msi_per:1;
13988c2ecf20Sopenharmony_ci		uint64_t mr_tto:1;
13998c2ecf20Sopenharmony_ci		uint64_t mr_abt:1;
14008c2ecf20Sopenharmony_ci		uint64_t tr_abt:1;
14018c2ecf20Sopenharmony_ci		uint64_t mr_wtto:1;
14028c2ecf20Sopenharmony_ci		uint64_t mr_wabt:1;
14038c2ecf20Sopenharmony_ci		uint64_t tr_wabt:1;
14048c2ecf20Sopenharmony_ci#else
14058c2ecf20Sopenharmony_ci		uint64_t tr_wabt:1;
14068c2ecf20Sopenharmony_ci		uint64_t mr_wabt:1;
14078c2ecf20Sopenharmony_ci		uint64_t mr_wtto:1;
14088c2ecf20Sopenharmony_ci		uint64_t tr_abt:1;
14098c2ecf20Sopenharmony_ci		uint64_t mr_abt:1;
14108c2ecf20Sopenharmony_ci		uint64_t mr_tto:1;
14118c2ecf20Sopenharmony_ci		uint64_t msi_per:1;
14128c2ecf20Sopenharmony_ci		uint64_t msi_tabt:1;
14138c2ecf20Sopenharmony_ci		uint64_t msi_mabt:1;
14148c2ecf20Sopenharmony_ci		uint64_t msc_msg:1;
14158c2ecf20Sopenharmony_ci		uint64_t tsr_abt:1;
14168c2ecf20Sopenharmony_ci		uint64_t serr:1;
14178c2ecf20Sopenharmony_ci		uint64_t aperr:1;
14188c2ecf20Sopenharmony_ci		uint64_t dperr:1;
14198c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
14208c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
14218c2ecf20Sopenharmony_ci		uint64_t rsl_int:1;
14228c2ecf20Sopenharmony_ci		uint64_t pcnt0:1;
14238c2ecf20Sopenharmony_ci		uint64_t pcnt1:1;
14248c2ecf20Sopenharmony_ci		uint64_t pcnt2:1;
14258c2ecf20Sopenharmony_ci		uint64_t pcnt3:1;
14268c2ecf20Sopenharmony_ci		uint64_t ptime0:1;
14278c2ecf20Sopenharmony_ci		uint64_t ptime1:1;
14288c2ecf20Sopenharmony_ci		uint64_t ptime2:1;
14298c2ecf20Sopenharmony_ci		uint64_t ptime3:1;
14308c2ecf20Sopenharmony_ci		uint64_t dcnt0:1;
14318c2ecf20Sopenharmony_ci		uint64_t dcnt1:1;
14328c2ecf20Sopenharmony_ci		uint64_t dtime0:1;
14338c2ecf20Sopenharmony_ci		uint64_t dtime1:1;
14348c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
14358c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
14368c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
14378c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
14388c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
14398c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
14408c2ecf20Sopenharmony_ci#endif
14418c2ecf20Sopenharmony_ci	} s;
14428c2ecf20Sopenharmony_ci	struct cvmx_pci_int_sum_cn30xx {
14438c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
14448c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
14458c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
14468c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
14478c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
14488c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
14498c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
14508c2ecf20Sopenharmony_ci		uint64_t dtime1:1;
14518c2ecf20Sopenharmony_ci		uint64_t dtime0:1;
14528c2ecf20Sopenharmony_ci		uint64_t dcnt1:1;
14538c2ecf20Sopenharmony_ci		uint64_t dcnt0:1;
14548c2ecf20Sopenharmony_ci		uint64_t reserved_22_24:3;
14558c2ecf20Sopenharmony_ci		uint64_t ptime0:1;
14568c2ecf20Sopenharmony_ci		uint64_t reserved_18_20:3;
14578c2ecf20Sopenharmony_ci		uint64_t pcnt0:1;
14588c2ecf20Sopenharmony_ci		uint64_t rsl_int:1;
14598c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
14608c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
14618c2ecf20Sopenharmony_ci		uint64_t dperr:1;
14628c2ecf20Sopenharmony_ci		uint64_t aperr:1;
14638c2ecf20Sopenharmony_ci		uint64_t serr:1;
14648c2ecf20Sopenharmony_ci		uint64_t tsr_abt:1;
14658c2ecf20Sopenharmony_ci		uint64_t msc_msg:1;
14668c2ecf20Sopenharmony_ci		uint64_t msi_mabt:1;
14678c2ecf20Sopenharmony_ci		uint64_t msi_tabt:1;
14688c2ecf20Sopenharmony_ci		uint64_t msi_per:1;
14698c2ecf20Sopenharmony_ci		uint64_t mr_tto:1;
14708c2ecf20Sopenharmony_ci		uint64_t mr_abt:1;
14718c2ecf20Sopenharmony_ci		uint64_t tr_abt:1;
14728c2ecf20Sopenharmony_ci		uint64_t mr_wtto:1;
14738c2ecf20Sopenharmony_ci		uint64_t mr_wabt:1;
14748c2ecf20Sopenharmony_ci		uint64_t tr_wabt:1;
14758c2ecf20Sopenharmony_ci#else
14768c2ecf20Sopenharmony_ci		uint64_t tr_wabt:1;
14778c2ecf20Sopenharmony_ci		uint64_t mr_wabt:1;
14788c2ecf20Sopenharmony_ci		uint64_t mr_wtto:1;
14798c2ecf20Sopenharmony_ci		uint64_t tr_abt:1;
14808c2ecf20Sopenharmony_ci		uint64_t mr_abt:1;
14818c2ecf20Sopenharmony_ci		uint64_t mr_tto:1;
14828c2ecf20Sopenharmony_ci		uint64_t msi_per:1;
14838c2ecf20Sopenharmony_ci		uint64_t msi_tabt:1;
14848c2ecf20Sopenharmony_ci		uint64_t msi_mabt:1;
14858c2ecf20Sopenharmony_ci		uint64_t msc_msg:1;
14868c2ecf20Sopenharmony_ci		uint64_t tsr_abt:1;
14878c2ecf20Sopenharmony_ci		uint64_t serr:1;
14888c2ecf20Sopenharmony_ci		uint64_t aperr:1;
14898c2ecf20Sopenharmony_ci		uint64_t dperr:1;
14908c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
14918c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
14928c2ecf20Sopenharmony_ci		uint64_t rsl_int:1;
14938c2ecf20Sopenharmony_ci		uint64_t pcnt0:1;
14948c2ecf20Sopenharmony_ci		uint64_t reserved_18_20:3;
14958c2ecf20Sopenharmony_ci		uint64_t ptime0:1;
14968c2ecf20Sopenharmony_ci		uint64_t reserved_22_24:3;
14978c2ecf20Sopenharmony_ci		uint64_t dcnt0:1;
14988c2ecf20Sopenharmony_ci		uint64_t dcnt1:1;
14998c2ecf20Sopenharmony_ci		uint64_t dtime0:1;
15008c2ecf20Sopenharmony_ci		uint64_t dtime1:1;
15018c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
15028c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
15038c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
15048c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
15058c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
15068c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
15078c2ecf20Sopenharmony_ci#endif
15088c2ecf20Sopenharmony_ci	} cn30xx;
15098c2ecf20Sopenharmony_ci	struct cvmx_pci_int_sum_cn31xx {
15108c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
15118c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
15128c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
15138c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
15148c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
15158c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
15168c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
15178c2ecf20Sopenharmony_ci		uint64_t dtime1:1;
15188c2ecf20Sopenharmony_ci		uint64_t dtime0:1;
15198c2ecf20Sopenharmony_ci		uint64_t dcnt1:1;
15208c2ecf20Sopenharmony_ci		uint64_t dcnt0:1;
15218c2ecf20Sopenharmony_ci		uint64_t reserved_23_24:2;
15228c2ecf20Sopenharmony_ci		uint64_t ptime1:1;
15238c2ecf20Sopenharmony_ci		uint64_t ptime0:1;
15248c2ecf20Sopenharmony_ci		uint64_t reserved_19_20:2;
15258c2ecf20Sopenharmony_ci		uint64_t pcnt1:1;
15268c2ecf20Sopenharmony_ci		uint64_t pcnt0:1;
15278c2ecf20Sopenharmony_ci		uint64_t rsl_int:1;
15288c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
15298c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
15308c2ecf20Sopenharmony_ci		uint64_t dperr:1;
15318c2ecf20Sopenharmony_ci		uint64_t aperr:1;
15328c2ecf20Sopenharmony_ci		uint64_t serr:1;
15338c2ecf20Sopenharmony_ci		uint64_t tsr_abt:1;
15348c2ecf20Sopenharmony_ci		uint64_t msc_msg:1;
15358c2ecf20Sopenharmony_ci		uint64_t msi_mabt:1;
15368c2ecf20Sopenharmony_ci		uint64_t msi_tabt:1;
15378c2ecf20Sopenharmony_ci		uint64_t msi_per:1;
15388c2ecf20Sopenharmony_ci		uint64_t mr_tto:1;
15398c2ecf20Sopenharmony_ci		uint64_t mr_abt:1;
15408c2ecf20Sopenharmony_ci		uint64_t tr_abt:1;
15418c2ecf20Sopenharmony_ci		uint64_t mr_wtto:1;
15428c2ecf20Sopenharmony_ci		uint64_t mr_wabt:1;
15438c2ecf20Sopenharmony_ci		uint64_t tr_wabt:1;
15448c2ecf20Sopenharmony_ci#else
15458c2ecf20Sopenharmony_ci		uint64_t tr_wabt:1;
15468c2ecf20Sopenharmony_ci		uint64_t mr_wabt:1;
15478c2ecf20Sopenharmony_ci		uint64_t mr_wtto:1;
15488c2ecf20Sopenharmony_ci		uint64_t tr_abt:1;
15498c2ecf20Sopenharmony_ci		uint64_t mr_abt:1;
15508c2ecf20Sopenharmony_ci		uint64_t mr_tto:1;
15518c2ecf20Sopenharmony_ci		uint64_t msi_per:1;
15528c2ecf20Sopenharmony_ci		uint64_t msi_tabt:1;
15538c2ecf20Sopenharmony_ci		uint64_t msi_mabt:1;
15548c2ecf20Sopenharmony_ci		uint64_t msc_msg:1;
15558c2ecf20Sopenharmony_ci		uint64_t tsr_abt:1;
15568c2ecf20Sopenharmony_ci		uint64_t serr:1;
15578c2ecf20Sopenharmony_ci		uint64_t aperr:1;
15588c2ecf20Sopenharmony_ci		uint64_t dperr:1;
15598c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
15608c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
15618c2ecf20Sopenharmony_ci		uint64_t rsl_int:1;
15628c2ecf20Sopenharmony_ci		uint64_t pcnt0:1;
15638c2ecf20Sopenharmony_ci		uint64_t pcnt1:1;
15648c2ecf20Sopenharmony_ci		uint64_t reserved_19_20:2;
15658c2ecf20Sopenharmony_ci		uint64_t ptime0:1;
15668c2ecf20Sopenharmony_ci		uint64_t ptime1:1;
15678c2ecf20Sopenharmony_ci		uint64_t reserved_23_24:2;
15688c2ecf20Sopenharmony_ci		uint64_t dcnt0:1;
15698c2ecf20Sopenharmony_ci		uint64_t dcnt1:1;
15708c2ecf20Sopenharmony_ci		uint64_t dtime0:1;
15718c2ecf20Sopenharmony_ci		uint64_t dtime1:1;
15728c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
15738c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
15748c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
15758c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
15768c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
15778c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
15788c2ecf20Sopenharmony_ci#endif
15798c2ecf20Sopenharmony_ci	} cn31xx;
15808c2ecf20Sopenharmony_ci};
15818c2ecf20Sopenharmony_ci
15828c2ecf20Sopenharmony_ciunion cvmx_pci_int_sum2 {
15838c2ecf20Sopenharmony_ci	uint64_t u64;
15848c2ecf20Sopenharmony_ci	struct cvmx_pci_int_sum2_s {
15858c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
15868c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
15878c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
15888c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
15898c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
15908c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
15918c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
15928c2ecf20Sopenharmony_ci		uint64_t dtime1:1;
15938c2ecf20Sopenharmony_ci		uint64_t dtime0:1;
15948c2ecf20Sopenharmony_ci		uint64_t dcnt1:1;
15958c2ecf20Sopenharmony_ci		uint64_t dcnt0:1;
15968c2ecf20Sopenharmony_ci		uint64_t ptime3:1;
15978c2ecf20Sopenharmony_ci		uint64_t ptime2:1;
15988c2ecf20Sopenharmony_ci		uint64_t ptime1:1;
15998c2ecf20Sopenharmony_ci		uint64_t ptime0:1;
16008c2ecf20Sopenharmony_ci		uint64_t pcnt3:1;
16018c2ecf20Sopenharmony_ci		uint64_t pcnt2:1;
16028c2ecf20Sopenharmony_ci		uint64_t pcnt1:1;
16038c2ecf20Sopenharmony_ci		uint64_t pcnt0:1;
16048c2ecf20Sopenharmony_ci		uint64_t rsl_int:1;
16058c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
16068c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
16078c2ecf20Sopenharmony_ci		uint64_t dperr:1;
16088c2ecf20Sopenharmony_ci		uint64_t aperr:1;
16098c2ecf20Sopenharmony_ci		uint64_t serr:1;
16108c2ecf20Sopenharmony_ci		uint64_t tsr_abt:1;
16118c2ecf20Sopenharmony_ci		uint64_t msc_msg:1;
16128c2ecf20Sopenharmony_ci		uint64_t msi_mabt:1;
16138c2ecf20Sopenharmony_ci		uint64_t msi_tabt:1;
16148c2ecf20Sopenharmony_ci		uint64_t msi_per:1;
16158c2ecf20Sopenharmony_ci		uint64_t mr_tto:1;
16168c2ecf20Sopenharmony_ci		uint64_t mr_abt:1;
16178c2ecf20Sopenharmony_ci		uint64_t tr_abt:1;
16188c2ecf20Sopenharmony_ci		uint64_t mr_wtto:1;
16198c2ecf20Sopenharmony_ci		uint64_t mr_wabt:1;
16208c2ecf20Sopenharmony_ci		uint64_t tr_wabt:1;
16218c2ecf20Sopenharmony_ci#else
16228c2ecf20Sopenharmony_ci		uint64_t tr_wabt:1;
16238c2ecf20Sopenharmony_ci		uint64_t mr_wabt:1;
16248c2ecf20Sopenharmony_ci		uint64_t mr_wtto:1;
16258c2ecf20Sopenharmony_ci		uint64_t tr_abt:1;
16268c2ecf20Sopenharmony_ci		uint64_t mr_abt:1;
16278c2ecf20Sopenharmony_ci		uint64_t mr_tto:1;
16288c2ecf20Sopenharmony_ci		uint64_t msi_per:1;
16298c2ecf20Sopenharmony_ci		uint64_t msi_tabt:1;
16308c2ecf20Sopenharmony_ci		uint64_t msi_mabt:1;
16318c2ecf20Sopenharmony_ci		uint64_t msc_msg:1;
16328c2ecf20Sopenharmony_ci		uint64_t tsr_abt:1;
16338c2ecf20Sopenharmony_ci		uint64_t serr:1;
16348c2ecf20Sopenharmony_ci		uint64_t aperr:1;
16358c2ecf20Sopenharmony_ci		uint64_t dperr:1;
16368c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
16378c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
16388c2ecf20Sopenharmony_ci		uint64_t rsl_int:1;
16398c2ecf20Sopenharmony_ci		uint64_t pcnt0:1;
16408c2ecf20Sopenharmony_ci		uint64_t pcnt1:1;
16418c2ecf20Sopenharmony_ci		uint64_t pcnt2:1;
16428c2ecf20Sopenharmony_ci		uint64_t pcnt3:1;
16438c2ecf20Sopenharmony_ci		uint64_t ptime0:1;
16448c2ecf20Sopenharmony_ci		uint64_t ptime1:1;
16458c2ecf20Sopenharmony_ci		uint64_t ptime2:1;
16468c2ecf20Sopenharmony_ci		uint64_t ptime3:1;
16478c2ecf20Sopenharmony_ci		uint64_t dcnt0:1;
16488c2ecf20Sopenharmony_ci		uint64_t dcnt1:1;
16498c2ecf20Sopenharmony_ci		uint64_t dtime0:1;
16508c2ecf20Sopenharmony_ci		uint64_t dtime1:1;
16518c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
16528c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
16538c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
16548c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
16558c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
16568c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
16578c2ecf20Sopenharmony_ci#endif
16588c2ecf20Sopenharmony_ci	} s;
16598c2ecf20Sopenharmony_ci	struct cvmx_pci_int_sum2_cn30xx {
16608c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
16618c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
16628c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
16638c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
16648c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
16658c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
16668c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
16678c2ecf20Sopenharmony_ci		uint64_t dtime1:1;
16688c2ecf20Sopenharmony_ci		uint64_t dtime0:1;
16698c2ecf20Sopenharmony_ci		uint64_t dcnt1:1;
16708c2ecf20Sopenharmony_ci		uint64_t dcnt0:1;
16718c2ecf20Sopenharmony_ci		uint64_t reserved_22_24:3;
16728c2ecf20Sopenharmony_ci		uint64_t ptime0:1;
16738c2ecf20Sopenharmony_ci		uint64_t reserved_18_20:3;
16748c2ecf20Sopenharmony_ci		uint64_t pcnt0:1;
16758c2ecf20Sopenharmony_ci		uint64_t rsl_int:1;
16768c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
16778c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
16788c2ecf20Sopenharmony_ci		uint64_t dperr:1;
16798c2ecf20Sopenharmony_ci		uint64_t aperr:1;
16808c2ecf20Sopenharmony_ci		uint64_t serr:1;
16818c2ecf20Sopenharmony_ci		uint64_t tsr_abt:1;
16828c2ecf20Sopenharmony_ci		uint64_t msc_msg:1;
16838c2ecf20Sopenharmony_ci		uint64_t msi_mabt:1;
16848c2ecf20Sopenharmony_ci		uint64_t msi_tabt:1;
16858c2ecf20Sopenharmony_ci		uint64_t msi_per:1;
16868c2ecf20Sopenharmony_ci		uint64_t mr_tto:1;
16878c2ecf20Sopenharmony_ci		uint64_t mr_abt:1;
16888c2ecf20Sopenharmony_ci		uint64_t tr_abt:1;
16898c2ecf20Sopenharmony_ci		uint64_t mr_wtto:1;
16908c2ecf20Sopenharmony_ci		uint64_t mr_wabt:1;
16918c2ecf20Sopenharmony_ci		uint64_t tr_wabt:1;
16928c2ecf20Sopenharmony_ci#else
16938c2ecf20Sopenharmony_ci		uint64_t tr_wabt:1;
16948c2ecf20Sopenharmony_ci		uint64_t mr_wabt:1;
16958c2ecf20Sopenharmony_ci		uint64_t mr_wtto:1;
16968c2ecf20Sopenharmony_ci		uint64_t tr_abt:1;
16978c2ecf20Sopenharmony_ci		uint64_t mr_abt:1;
16988c2ecf20Sopenharmony_ci		uint64_t mr_tto:1;
16998c2ecf20Sopenharmony_ci		uint64_t msi_per:1;
17008c2ecf20Sopenharmony_ci		uint64_t msi_tabt:1;
17018c2ecf20Sopenharmony_ci		uint64_t msi_mabt:1;
17028c2ecf20Sopenharmony_ci		uint64_t msc_msg:1;
17038c2ecf20Sopenharmony_ci		uint64_t tsr_abt:1;
17048c2ecf20Sopenharmony_ci		uint64_t serr:1;
17058c2ecf20Sopenharmony_ci		uint64_t aperr:1;
17068c2ecf20Sopenharmony_ci		uint64_t dperr:1;
17078c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
17088c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
17098c2ecf20Sopenharmony_ci		uint64_t rsl_int:1;
17108c2ecf20Sopenharmony_ci		uint64_t pcnt0:1;
17118c2ecf20Sopenharmony_ci		uint64_t reserved_18_20:3;
17128c2ecf20Sopenharmony_ci		uint64_t ptime0:1;
17138c2ecf20Sopenharmony_ci		uint64_t reserved_22_24:3;
17148c2ecf20Sopenharmony_ci		uint64_t dcnt0:1;
17158c2ecf20Sopenharmony_ci		uint64_t dcnt1:1;
17168c2ecf20Sopenharmony_ci		uint64_t dtime0:1;
17178c2ecf20Sopenharmony_ci		uint64_t dtime1:1;
17188c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
17198c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
17208c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
17218c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
17228c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
17238c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
17248c2ecf20Sopenharmony_ci#endif
17258c2ecf20Sopenharmony_ci	} cn30xx;
17268c2ecf20Sopenharmony_ci	struct cvmx_pci_int_sum2_cn31xx {
17278c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
17288c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
17298c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
17308c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
17318c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
17328c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
17338c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
17348c2ecf20Sopenharmony_ci		uint64_t dtime1:1;
17358c2ecf20Sopenharmony_ci		uint64_t dtime0:1;
17368c2ecf20Sopenharmony_ci		uint64_t dcnt1:1;
17378c2ecf20Sopenharmony_ci		uint64_t dcnt0:1;
17388c2ecf20Sopenharmony_ci		uint64_t reserved_23_24:2;
17398c2ecf20Sopenharmony_ci		uint64_t ptime1:1;
17408c2ecf20Sopenharmony_ci		uint64_t ptime0:1;
17418c2ecf20Sopenharmony_ci		uint64_t reserved_19_20:2;
17428c2ecf20Sopenharmony_ci		uint64_t pcnt1:1;
17438c2ecf20Sopenharmony_ci		uint64_t pcnt0:1;
17448c2ecf20Sopenharmony_ci		uint64_t rsl_int:1;
17458c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
17468c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
17478c2ecf20Sopenharmony_ci		uint64_t dperr:1;
17488c2ecf20Sopenharmony_ci		uint64_t aperr:1;
17498c2ecf20Sopenharmony_ci		uint64_t serr:1;
17508c2ecf20Sopenharmony_ci		uint64_t tsr_abt:1;
17518c2ecf20Sopenharmony_ci		uint64_t msc_msg:1;
17528c2ecf20Sopenharmony_ci		uint64_t msi_mabt:1;
17538c2ecf20Sopenharmony_ci		uint64_t msi_tabt:1;
17548c2ecf20Sopenharmony_ci		uint64_t msi_per:1;
17558c2ecf20Sopenharmony_ci		uint64_t mr_tto:1;
17568c2ecf20Sopenharmony_ci		uint64_t mr_abt:1;
17578c2ecf20Sopenharmony_ci		uint64_t tr_abt:1;
17588c2ecf20Sopenharmony_ci		uint64_t mr_wtto:1;
17598c2ecf20Sopenharmony_ci		uint64_t mr_wabt:1;
17608c2ecf20Sopenharmony_ci		uint64_t tr_wabt:1;
17618c2ecf20Sopenharmony_ci#else
17628c2ecf20Sopenharmony_ci		uint64_t tr_wabt:1;
17638c2ecf20Sopenharmony_ci		uint64_t mr_wabt:1;
17648c2ecf20Sopenharmony_ci		uint64_t mr_wtto:1;
17658c2ecf20Sopenharmony_ci		uint64_t tr_abt:1;
17668c2ecf20Sopenharmony_ci		uint64_t mr_abt:1;
17678c2ecf20Sopenharmony_ci		uint64_t mr_tto:1;
17688c2ecf20Sopenharmony_ci		uint64_t msi_per:1;
17698c2ecf20Sopenharmony_ci		uint64_t msi_tabt:1;
17708c2ecf20Sopenharmony_ci		uint64_t msi_mabt:1;
17718c2ecf20Sopenharmony_ci		uint64_t msc_msg:1;
17728c2ecf20Sopenharmony_ci		uint64_t tsr_abt:1;
17738c2ecf20Sopenharmony_ci		uint64_t serr:1;
17748c2ecf20Sopenharmony_ci		uint64_t aperr:1;
17758c2ecf20Sopenharmony_ci		uint64_t dperr:1;
17768c2ecf20Sopenharmony_ci		uint64_t ill_rwr:1;
17778c2ecf20Sopenharmony_ci		uint64_t ill_rrd:1;
17788c2ecf20Sopenharmony_ci		uint64_t rsl_int:1;
17798c2ecf20Sopenharmony_ci		uint64_t pcnt0:1;
17808c2ecf20Sopenharmony_ci		uint64_t pcnt1:1;
17818c2ecf20Sopenharmony_ci		uint64_t reserved_19_20:2;
17828c2ecf20Sopenharmony_ci		uint64_t ptime0:1;
17838c2ecf20Sopenharmony_ci		uint64_t ptime1:1;
17848c2ecf20Sopenharmony_ci		uint64_t reserved_23_24:2;
17858c2ecf20Sopenharmony_ci		uint64_t dcnt0:1;
17868c2ecf20Sopenharmony_ci		uint64_t dcnt1:1;
17878c2ecf20Sopenharmony_ci		uint64_t dtime0:1;
17888c2ecf20Sopenharmony_ci		uint64_t dtime1:1;
17898c2ecf20Sopenharmony_ci		uint64_t dma0_fi:1;
17908c2ecf20Sopenharmony_ci		uint64_t dma1_fi:1;
17918c2ecf20Sopenharmony_ci		uint64_t win_wr:1;
17928c2ecf20Sopenharmony_ci		uint64_t ill_wr:1;
17938c2ecf20Sopenharmony_ci		uint64_t ill_rd:1;
17948c2ecf20Sopenharmony_ci		uint64_t reserved_34_63:30;
17958c2ecf20Sopenharmony_ci#endif
17968c2ecf20Sopenharmony_ci	} cn31xx;
17978c2ecf20Sopenharmony_ci};
17988c2ecf20Sopenharmony_ci
17998c2ecf20Sopenharmony_ciunion cvmx_pci_msi_rcv {
18008c2ecf20Sopenharmony_ci	uint32_t u32;
18018c2ecf20Sopenharmony_ci	struct cvmx_pci_msi_rcv_s {
18028c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
18038c2ecf20Sopenharmony_ci		uint32_t reserved_6_31:26;
18048c2ecf20Sopenharmony_ci		uint32_t intr:6;
18058c2ecf20Sopenharmony_ci#else
18068c2ecf20Sopenharmony_ci		uint32_t intr:6;
18078c2ecf20Sopenharmony_ci		uint32_t reserved_6_31:26;
18088c2ecf20Sopenharmony_ci#endif
18098c2ecf20Sopenharmony_ci	} s;
18108c2ecf20Sopenharmony_ci};
18118c2ecf20Sopenharmony_ci
18128c2ecf20Sopenharmony_ciunion cvmx_pci_pkt_creditsx {
18138c2ecf20Sopenharmony_ci	uint32_t u32;
18148c2ecf20Sopenharmony_ci	struct cvmx_pci_pkt_creditsx_s {
18158c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
18168c2ecf20Sopenharmony_ci		uint32_t pkt_cnt:16;
18178c2ecf20Sopenharmony_ci		uint32_t ptr_cnt:16;
18188c2ecf20Sopenharmony_ci#else
18198c2ecf20Sopenharmony_ci		uint32_t ptr_cnt:16;
18208c2ecf20Sopenharmony_ci		uint32_t pkt_cnt:16;
18218c2ecf20Sopenharmony_ci#endif
18228c2ecf20Sopenharmony_ci	} s;
18238c2ecf20Sopenharmony_ci};
18248c2ecf20Sopenharmony_ci
18258c2ecf20Sopenharmony_ciunion cvmx_pci_pkts_sentx {
18268c2ecf20Sopenharmony_ci	uint32_t u32;
18278c2ecf20Sopenharmony_ci	struct cvmx_pci_pkts_sentx_s {
18288c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
18298c2ecf20Sopenharmony_ci		uint32_t pkt_cnt:32;
18308c2ecf20Sopenharmony_ci#else
18318c2ecf20Sopenharmony_ci		uint32_t pkt_cnt:32;
18328c2ecf20Sopenharmony_ci#endif
18338c2ecf20Sopenharmony_ci	} s;
18348c2ecf20Sopenharmony_ci};
18358c2ecf20Sopenharmony_ci
18368c2ecf20Sopenharmony_ciunion cvmx_pci_pkts_sent_int_levx {
18378c2ecf20Sopenharmony_ci	uint32_t u32;
18388c2ecf20Sopenharmony_ci	struct cvmx_pci_pkts_sent_int_levx_s {
18398c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
18408c2ecf20Sopenharmony_ci		uint32_t pkt_cnt:32;
18418c2ecf20Sopenharmony_ci#else
18428c2ecf20Sopenharmony_ci		uint32_t pkt_cnt:32;
18438c2ecf20Sopenharmony_ci#endif
18448c2ecf20Sopenharmony_ci	} s;
18458c2ecf20Sopenharmony_ci};
18468c2ecf20Sopenharmony_ci
18478c2ecf20Sopenharmony_ciunion cvmx_pci_pkts_sent_timex {
18488c2ecf20Sopenharmony_ci	uint32_t u32;
18498c2ecf20Sopenharmony_ci	struct cvmx_pci_pkts_sent_timex_s {
18508c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
18518c2ecf20Sopenharmony_ci		uint32_t pkt_time:32;
18528c2ecf20Sopenharmony_ci#else
18538c2ecf20Sopenharmony_ci		uint32_t pkt_time:32;
18548c2ecf20Sopenharmony_ci#endif
18558c2ecf20Sopenharmony_ci	} s;
18568c2ecf20Sopenharmony_ci};
18578c2ecf20Sopenharmony_ci
18588c2ecf20Sopenharmony_ciunion cvmx_pci_read_cmd_6 {
18598c2ecf20Sopenharmony_ci	uint32_t u32;
18608c2ecf20Sopenharmony_ci	struct cvmx_pci_read_cmd_6_s {
18618c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
18628c2ecf20Sopenharmony_ci		uint32_t reserved_9_31:23;
18638c2ecf20Sopenharmony_ci		uint32_t min_data:6;
18648c2ecf20Sopenharmony_ci		uint32_t prefetch:3;
18658c2ecf20Sopenharmony_ci#else
18668c2ecf20Sopenharmony_ci		uint32_t prefetch:3;
18678c2ecf20Sopenharmony_ci		uint32_t min_data:6;
18688c2ecf20Sopenharmony_ci		uint32_t reserved_9_31:23;
18698c2ecf20Sopenharmony_ci#endif
18708c2ecf20Sopenharmony_ci	} s;
18718c2ecf20Sopenharmony_ci};
18728c2ecf20Sopenharmony_ci
18738c2ecf20Sopenharmony_ciunion cvmx_pci_read_cmd_c {
18748c2ecf20Sopenharmony_ci	uint32_t u32;
18758c2ecf20Sopenharmony_ci	struct cvmx_pci_read_cmd_c_s {
18768c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
18778c2ecf20Sopenharmony_ci		uint32_t reserved_9_31:23;
18788c2ecf20Sopenharmony_ci		uint32_t min_data:6;
18798c2ecf20Sopenharmony_ci		uint32_t prefetch:3;
18808c2ecf20Sopenharmony_ci#else
18818c2ecf20Sopenharmony_ci		uint32_t prefetch:3;
18828c2ecf20Sopenharmony_ci		uint32_t min_data:6;
18838c2ecf20Sopenharmony_ci		uint32_t reserved_9_31:23;
18848c2ecf20Sopenharmony_ci#endif
18858c2ecf20Sopenharmony_ci	} s;
18868c2ecf20Sopenharmony_ci};
18878c2ecf20Sopenharmony_ci
18888c2ecf20Sopenharmony_ciunion cvmx_pci_read_cmd_e {
18898c2ecf20Sopenharmony_ci	uint32_t u32;
18908c2ecf20Sopenharmony_ci	struct cvmx_pci_read_cmd_e_s {
18918c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
18928c2ecf20Sopenharmony_ci		uint32_t reserved_9_31:23;
18938c2ecf20Sopenharmony_ci		uint32_t min_data:6;
18948c2ecf20Sopenharmony_ci		uint32_t prefetch:3;
18958c2ecf20Sopenharmony_ci#else
18968c2ecf20Sopenharmony_ci		uint32_t prefetch:3;
18978c2ecf20Sopenharmony_ci		uint32_t min_data:6;
18988c2ecf20Sopenharmony_ci		uint32_t reserved_9_31:23;
18998c2ecf20Sopenharmony_ci#endif
19008c2ecf20Sopenharmony_ci	} s;
19018c2ecf20Sopenharmony_ci};
19028c2ecf20Sopenharmony_ci
19038c2ecf20Sopenharmony_ciunion cvmx_pci_read_timeout {
19048c2ecf20Sopenharmony_ci	uint64_t u64;
19058c2ecf20Sopenharmony_ci	struct cvmx_pci_read_timeout_s {
19068c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
19078c2ecf20Sopenharmony_ci		uint64_t reserved_32_63:32;
19088c2ecf20Sopenharmony_ci		uint64_t enb:1;
19098c2ecf20Sopenharmony_ci		uint64_t cnt:31;
19108c2ecf20Sopenharmony_ci#else
19118c2ecf20Sopenharmony_ci		uint64_t cnt:31;
19128c2ecf20Sopenharmony_ci		uint64_t enb:1;
19138c2ecf20Sopenharmony_ci		uint64_t reserved_32_63:32;
19148c2ecf20Sopenharmony_ci#endif
19158c2ecf20Sopenharmony_ci	} s;
19168c2ecf20Sopenharmony_ci};
19178c2ecf20Sopenharmony_ci
19188c2ecf20Sopenharmony_ciunion cvmx_pci_scm_reg {
19198c2ecf20Sopenharmony_ci	uint64_t u64;
19208c2ecf20Sopenharmony_ci	struct cvmx_pci_scm_reg_s {
19218c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
19228c2ecf20Sopenharmony_ci		uint64_t reserved_32_63:32;
19238c2ecf20Sopenharmony_ci		uint64_t scm:32;
19248c2ecf20Sopenharmony_ci#else
19258c2ecf20Sopenharmony_ci		uint64_t scm:32;
19268c2ecf20Sopenharmony_ci		uint64_t reserved_32_63:32;
19278c2ecf20Sopenharmony_ci#endif
19288c2ecf20Sopenharmony_ci	} s;
19298c2ecf20Sopenharmony_ci};
19308c2ecf20Sopenharmony_ci
19318c2ecf20Sopenharmony_ciunion cvmx_pci_tsr_reg {
19328c2ecf20Sopenharmony_ci	uint64_t u64;
19338c2ecf20Sopenharmony_ci	struct cvmx_pci_tsr_reg_s {
19348c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
19358c2ecf20Sopenharmony_ci		uint64_t reserved_36_63:28;
19368c2ecf20Sopenharmony_ci		uint64_t tsr:36;
19378c2ecf20Sopenharmony_ci#else
19388c2ecf20Sopenharmony_ci		uint64_t tsr:36;
19398c2ecf20Sopenharmony_ci		uint64_t reserved_36_63:28;
19408c2ecf20Sopenharmony_ci#endif
19418c2ecf20Sopenharmony_ci	} s;
19428c2ecf20Sopenharmony_ci};
19438c2ecf20Sopenharmony_ci
19448c2ecf20Sopenharmony_ciunion cvmx_pci_win_rd_addr {
19458c2ecf20Sopenharmony_ci	uint64_t u64;
19468c2ecf20Sopenharmony_ci	struct cvmx_pci_win_rd_addr_s {
19478c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
19488c2ecf20Sopenharmony_ci		uint64_t reserved_49_63:15;
19498c2ecf20Sopenharmony_ci		uint64_t iobit:1;
19508c2ecf20Sopenharmony_ci		uint64_t reserved_0_47:48;
19518c2ecf20Sopenharmony_ci#else
19528c2ecf20Sopenharmony_ci		uint64_t reserved_0_47:48;
19538c2ecf20Sopenharmony_ci		uint64_t iobit:1;
19548c2ecf20Sopenharmony_ci		uint64_t reserved_49_63:15;
19558c2ecf20Sopenharmony_ci#endif
19568c2ecf20Sopenharmony_ci	} s;
19578c2ecf20Sopenharmony_ci	struct cvmx_pci_win_rd_addr_cn30xx {
19588c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
19598c2ecf20Sopenharmony_ci		uint64_t reserved_49_63:15;
19608c2ecf20Sopenharmony_ci		uint64_t iobit:1;
19618c2ecf20Sopenharmony_ci		uint64_t rd_addr:46;
19628c2ecf20Sopenharmony_ci		uint64_t reserved_0_1:2;
19638c2ecf20Sopenharmony_ci#else
19648c2ecf20Sopenharmony_ci		uint64_t reserved_0_1:2;
19658c2ecf20Sopenharmony_ci		uint64_t rd_addr:46;
19668c2ecf20Sopenharmony_ci		uint64_t iobit:1;
19678c2ecf20Sopenharmony_ci		uint64_t reserved_49_63:15;
19688c2ecf20Sopenharmony_ci#endif
19698c2ecf20Sopenharmony_ci	} cn30xx;
19708c2ecf20Sopenharmony_ci	struct cvmx_pci_win_rd_addr_cn38xx {
19718c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
19728c2ecf20Sopenharmony_ci		uint64_t reserved_49_63:15;
19738c2ecf20Sopenharmony_ci		uint64_t iobit:1;
19748c2ecf20Sopenharmony_ci		uint64_t rd_addr:45;
19758c2ecf20Sopenharmony_ci		uint64_t reserved_0_2:3;
19768c2ecf20Sopenharmony_ci#else
19778c2ecf20Sopenharmony_ci		uint64_t reserved_0_2:3;
19788c2ecf20Sopenharmony_ci		uint64_t rd_addr:45;
19798c2ecf20Sopenharmony_ci		uint64_t iobit:1;
19808c2ecf20Sopenharmony_ci		uint64_t reserved_49_63:15;
19818c2ecf20Sopenharmony_ci#endif
19828c2ecf20Sopenharmony_ci	} cn38xx;
19838c2ecf20Sopenharmony_ci};
19848c2ecf20Sopenharmony_ci
19858c2ecf20Sopenharmony_ciunion cvmx_pci_win_rd_data {
19868c2ecf20Sopenharmony_ci	uint64_t u64;
19878c2ecf20Sopenharmony_ci	struct cvmx_pci_win_rd_data_s {
19888c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
19898c2ecf20Sopenharmony_ci		uint64_t rd_data:64;
19908c2ecf20Sopenharmony_ci#else
19918c2ecf20Sopenharmony_ci		uint64_t rd_data:64;
19928c2ecf20Sopenharmony_ci#endif
19938c2ecf20Sopenharmony_ci	} s;
19948c2ecf20Sopenharmony_ci};
19958c2ecf20Sopenharmony_ci
19968c2ecf20Sopenharmony_ciunion cvmx_pci_win_wr_addr {
19978c2ecf20Sopenharmony_ci	uint64_t u64;
19988c2ecf20Sopenharmony_ci	struct cvmx_pci_win_wr_addr_s {
19998c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
20008c2ecf20Sopenharmony_ci		uint64_t reserved_49_63:15;
20018c2ecf20Sopenharmony_ci		uint64_t iobit:1;
20028c2ecf20Sopenharmony_ci		uint64_t wr_addr:45;
20038c2ecf20Sopenharmony_ci		uint64_t reserved_0_2:3;
20048c2ecf20Sopenharmony_ci#else
20058c2ecf20Sopenharmony_ci		uint64_t reserved_0_2:3;
20068c2ecf20Sopenharmony_ci		uint64_t wr_addr:45;
20078c2ecf20Sopenharmony_ci		uint64_t iobit:1;
20088c2ecf20Sopenharmony_ci		uint64_t reserved_49_63:15;
20098c2ecf20Sopenharmony_ci#endif
20108c2ecf20Sopenharmony_ci	} s;
20118c2ecf20Sopenharmony_ci};
20128c2ecf20Sopenharmony_ci
20138c2ecf20Sopenharmony_ciunion cvmx_pci_win_wr_data {
20148c2ecf20Sopenharmony_ci	uint64_t u64;
20158c2ecf20Sopenharmony_ci	struct cvmx_pci_win_wr_data_s {
20168c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
20178c2ecf20Sopenharmony_ci		uint64_t wr_data:64;
20188c2ecf20Sopenharmony_ci#else
20198c2ecf20Sopenharmony_ci		uint64_t wr_data:64;
20208c2ecf20Sopenharmony_ci#endif
20218c2ecf20Sopenharmony_ci	} s;
20228c2ecf20Sopenharmony_ci};
20238c2ecf20Sopenharmony_ci
20248c2ecf20Sopenharmony_ciunion cvmx_pci_win_wr_mask {
20258c2ecf20Sopenharmony_ci	uint64_t u64;
20268c2ecf20Sopenharmony_ci	struct cvmx_pci_win_wr_mask_s {
20278c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
20288c2ecf20Sopenharmony_ci		uint64_t reserved_8_63:56;
20298c2ecf20Sopenharmony_ci		uint64_t wr_mask:8;
20308c2ecf20Sopenharmony_ci#else
20318c2ecf20Sopenharmony_ci		uint64_t wr_mask:8;
20328c2ecf20Sopenharmony_ci		uint64_t reserved_8_63:56;
20338c2ecf20Sopenharmony_ci#endif
20348c2ecf20Sopenharmony_ci	} s;
20358c2ecf20Sopenharmony_ci};
20368c2ecf20Sopenharmony_ci
20378c2ecf20Sopenharmony_ci#endif
2038