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_AGL_DEFS_H__ 298c2ecf20Sopenharmony_ci#define __CVMX_AGL_DEFS_H__ 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_BAD_REG (CVMX_ADD_IO_SEG(0x00011800E0000518ull)) 328c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_BIST (CVMX_ADD_IO_SEG(0x00011800E0000400ull)) 338c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_DRV_CTL (CVMX_ADD_IO_SEG(0x00011800E00007F0ull)) 348c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_INF_MODE (CVMX_ADD_IO_SEG(0x00011800E00007F8ull)) 358c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_PRTX_CFG(offset) (CVMX_ADD_IO_SEG(0x00011800E0000010ull) + ((offset) & 1) * 2048) 368c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_ADR_CAM0(offset) (CVMX_ADD_IO_SEG(0x00011800E0000180ull) + ((offset) & 1) * 2048) 378c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_ADR_CAM1(offset) (CVMX_ADD_IO_SEG(0x00011800E0000188ull) + ((offset) & 1) * 2048) 388c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_ADR_CAM2(offset) (CVMX_ADD_IO_SEG(0x00011800E0000190ull) + ((offset) & 1) * 2048) 398c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_ADR_CAM3(offset) (CVMX_ADD_IO_SEG(0x00011800E0000198ull) + ((offset) & 1) * 2048) 408c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_ADR_CAM4(offset) (CVMX_ADD_IO_SEG(0x00011800E00001A0ull) + ((offset) & 1) * 2048) 418c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_ADR_CAM5(offset) (CVMX_ADD_IO_SEG(0x00011800E00001A8ull) + ((offset) & 1) * 2048) 428c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_ADR_CAM_EN(offset) (CVMX_ADD_IO_SEG(0x00011800E0000108ull) + ((offset) & 1) * 2048) 438c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_ADR_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000100ull) + ((offset) & 1) * 2048) 448c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_DECISION(offset) (CVMX_ADD_IO_SEG(0x00011800E0000040ull) + ((offset) & 1) * 2048) 458c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_FRM_CHK(offset) (CVMX_ADD_IO_SEG(0x00011800E0000020ull) + ((offset) & 1) * 2048) 468c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_FRM_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000018ull) + ((offset) & 1) * 2048) 478c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_FRM_MAX(offset) (CVMX_ADD_IO_SEG(0x00011800E0000030ull) + ((offset) & 1) * 2048) 488c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_FRM_MIN(offset) (CVMX_ADD_IO_SEG(0x00011800E0000028ull) + ((offset) & 1) * 2048) 498c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_IFG(offset) (CVMX_ADD_IO_SEG(0x00011800E0000058ull) + ((offset) & 1) * 2048) 508c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_INT_EN(offset) (CVMX_ADD_IO_SEG(0x00011800E0000008ull) + ((offset) & 1) * 2048) 518c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_INT_REG(offset) (CVMX_ADD_IO_SEG(0x00011800E0000000ull) + ((offset) & 1) * 2048) 528c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_JABBER(offset) (CVMX_ADD_IO_SEG(0x00011800E0000038ull) + ((offset) & 1) * 2048) 538c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_PAUSE_DROP_TIME(offset) (CVMX_ADD_IO_SEG(0x00011800E0000068ull) + ((offset) & 1) * 2048) 548c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_RX_INBND(offset) (CVMX_ADD_IO_SEG(0x00011800E0000060ull) + ((offset) & 1) * 2048) 558c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_STATS_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000050ull) + ((offset) & 1) * 2048) 568c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_STATS_OCTS(offset) (CVMX_ADD_IO_SEG(0x00011800E0000088ull) + ((offset) & 1) * 2048) 578c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_STATS_OCTS_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000098ull) + ((offset) & 1) * 2048) 588c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_STATS_OCTS_DMAC(offset) (CVMX_ADD_IO_SEG(0x00011800E00000A8ull) + ((offset) & 1) * 2048) 598c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_STATS_OCTS_DRP(offset) (CVMX_ADD_IO_SEG(0x00011800E00000B8ull) + ((offset) & 1) * 2048) 608c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_STATS_PKTS(offset) (CVMX_ADD_IO_SEG(0x00011800E0000080ull) + ((offset) & 1) * 2048) 618c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_STATS_PKTS_BAD(offset) (CVMX_ADD_IO_SEG(0x00011800E00000C0ull) + ((offset) & 1) * 2048) 628c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_STATS_PKTS_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000090ull) + ((offset) & 1) * 2048) 638c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_STATS_PKTS_DMAC(offset) (CVMX_ADD_IO_SEG(0x00011800E00000A0ull) + ((offset) & 1) * 2048) 648c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_STATS_PKTS_DRP(offset) (CVMX_ADD_IO_SEG(0x00011800E00000B0ull) + ((offset) & 1) * 2048) 658c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RXX_UDD_SKP(offset) (CVMX_ADD_IO_SEG(0x00011800E0000048ull) + ((offset) & 1) * 2048) 668c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RX_BP_DROPX(offset) (CVMX_ADD_IO_SEG(0x00011800E0000420ull) + ((offset) & 1) * 8) 678c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RX_BP_OFFX(offset) (CVMX_ADD_IO_SEG(0x00011800E0000460ull) + ((offset) & 1) * 8) 688c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RX_BP_ONX(offset) (CVMX_ADD_IO_SEG(0x00011800E0000440ull) + ((offset) & 1) * 8) 698c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RX_PRT_INFO (CVMX_ADD_IO_SEG(0x00011800E00004E8ull)) 708c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_RX_TX_STATUS (CVMX_ADD_IO_SEG(0x00011800E00007E8ull)) 718c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_SMACX(offset) (CVMX_ADD_IO_SEG(0x00011800E0000230ull) + ((offset) & 1) * 2048) 728c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_STAT_BP (CVMX_ADD_IO_SEG(0x00011800E0000520ull)) 738c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_APPEND(offset) (CVMX_ADD_IO_SEG(0x00011800E0000218ull) + ((offset) & 1) * 2048) 748c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_CLK(offset) (CVMX_ADD_IO_SEG(0x00011800E0000208ull) + ((offset) & 1) * 2048) 758c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000270ull) + ((offset) & 1) * 2048) 768c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_MIN_PKT(offset) (CVMX_ADD_IO_SEG(0x00011800E0000240ull) + ((offset) & 1) * 2048) 778c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_PAUSE_PKT_INTERVAL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000248ull) + ((offset) & 1) * 2048) 788c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_PAUSE_PKT_TIME(offset) (CVMX_ADD_IO_SEG(0x00011800E0000238ull) + ((offset) & 1) * 2048) 798c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_PAUSE_TOGO(offset) (CVMX_ADD_IO_SEG(0x00011800E0000258ull) + ((offset) & 1) * 2048) 808c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_PAUSE_ZERO(offset) (CVMX_ADD_IO_SEG(0x00011800E0000260ull) + ((offset) & 1) * 2048) 818c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_SOFT_PAUSE(offset) (CVMX_ADD_IO_SEG(0x00011800E0000250ull) + ((offset) & 1) * 2048) 828c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_STAT0(offset) (CVMX_ADD_IO_SEG(0x00011800E0000280ull) + ((offset) & 1) * 2048) 838c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_STAT1(offset) (CVMX_ADD_IO_SEG(0x00011800E0000288ull) + ((offset) & 1) * 2048) 848c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_STAT2(offset) (CVMX_ADD_IO_SEG(0x00011800E0000290ull) + ((offset) & 1) * 2048) 858c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_STAT3(offset) (CVMX_ADD_IO_SEG(0x00011800E0000298ull) + ((offset) & 1) * 2048) 868c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_STAT4(offset) (CVMX_ADD_IO_SEG(0x00011800E00002A0ull) + ((offset) & 1) * 2048) 878c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_STAT5(offset) (CVMX_ADD_IO_SEG(0x00011800E00002A8ull) + ((offset) & 1) * 2048) 888c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_STAT6(offset) (CVMX_ADD_IO_SEG(0x00011800E00002B0ull) + ((offset) & 1) * 2048) 898c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_STAT7(offset) (CVMX_ADD_IO_SEG(0x00011800E00002B8ull) + ((offset) & 1) * 2048) 908c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_STAT8(offset) (CVMX_ADD_IO_SEG(0x00011800E00002C0ull) + ((offset) & 1) * 2048) 918c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_STAT9(offset) (CVMX_ADD_IO_SEG(0x00011800E00002C8ull) + ((offset) & 1) * 2048) 928c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_STATS_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0000268ull) + ((offset) & 1) * 2048) 938c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TXX_THRESH(offset) (CVMX_ADD_IO_SEG(0x00011800E0000210ull) + ((offset) & 1) * 2048) 948c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TX_BP (CVMX_ADD_IO_SEG(0x00011800E00004D0ull)) 958c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TX_COL_ATTEMPT (CVMX_ADD_IO_SEG(0x00011800E0000498ull)) 968c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TX_IFG (CVMX_ADD_IO_SEG(0x00011800E0000488ull)) 978c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TX_INT_EN (CVMX_ADD_IO_SEG(0x00011800E0000508ull)) 988c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TX_INT_REG (CVMX_ADD_IO_SEG(0x00011800E0000500ull)) 998c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TX_JAM (CVMX_ADD_IO_SEG(0x00011800E0000490ull)) 1008c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TX_LFSR (CVMX_ADD_IO_SEG(0x00011800E00004F8ull)) 1018c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TX_OVR_BP (CVMX_ADD_IO_SEG(0x00011800E00004C8ull)) 1028c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TX_PAUSE_PKT_DMAC (CVMX_ADD_IO_SEG(0x00011800E00004A0ull)) 1038c2ecf20Sopenharmony_ci#define CVMX_AGL_GMX_TX_PAUSE_PKT_TYPE (CVMX_ADD_IO_SEG(0x00011800E00004A8ull)) 1048c2ecf20Sopenharmony_ci#define CVMX_AGL_PRTX_CTL(offset) (CVMX_ADD_IO_SEG(0x00011800E0002000ull) + ((offset) & 1) * 8) 1058c2ecf20Sopenharmony_ci 1068c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_bad_reg { 1078c2ecf20Sopenharmony_ci uint64_t u64; 1088c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_bad_reg_s { 1098c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1108c2ecf20Sopenharmony_ci uint64_t reserved_38_63:26; 1118c2ecf20Sopenharmony_ci uint64_t txpsh1:1; 1128c2ecf20Sopenharmony_ci uint64_t txpop1:1; 1138c2ecf20Sopenharmony_ci uint64_t ovrflw1:1; 1148c2ecf20Sopenharmony_ci uint64_t txpsh:1; 1158c2ecf20Sopenharmony_ci uint64_t txpop:1; 1168c2ecf20Sopenharmony_ci uint64_t ovrflw:1; 1178c2ecf20Sopenharmony_ci uint64_t reserved_27_31:5; 1188c2ecf20Sopenharmony_ci uint64_t statovr:1; 1198c2ecf20Sopenharmony_ci uint64_t reserved_24_25:2; 1208c2ecf20Sopenharmony_ci uint64_t loststat:2; 1218c2ecf20Sopenharmony_ci uint64_t reserved_4_21:18; 1228c2ecf20Sopenharmony_ci uint64_t out_ovr:2; 1238c2ecf20Sopenharmony_ci uint64_t reserved_0_1:2; 1248c2ecf20Sopenharmony_ci#else 1258c2ecf20Sopenharmony_ci uint64_t reserved_0_1:2; 1268c2ecf20Sopenharmony_ci uint64_t out_ovr:2; 1278c2ecf20Sopenharmony_ci uint64_t reserved_4_21:18; 1288c2ecf20Sopenharmony_ci uint64_t loststat:2; 1298c2ecf20Sopenharmony_ci uint64_t reserved_24_25:2; 1308c2ecf20Sopenharmony_ci uint64_t statovr:1; 1318c2ecf20Sopenharmony_ci uint64_t reserved_27_31:5; 1328c2ecf20Sopenharmony_ci uint64_t ovrflw:1; 1338c2ecf20Sopenharmony_ci uint64_t txpop:1; 1348c2ecf20Sopenharmony_ci uint64_t txpsh:1; 1358c2ecf20Sopenharmony_ci uint64_t ovrflw1:1; 1368c2ecf20Sopenharmony_ci uint64_t txpop1:1; 1378c2ecf20Sopenharmony_ci uint64_t txpsh1:1; 1388c2ecf20Sopenharmony_ci uint64_t reserved_38_63:26; 1398c2ecf20Sopenharmony_ci#endif 1408c2ecf20Sopenharmony_ci } s; 1418c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_bad_reg_cn52xx { 1428c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1438c2ecf20Sopenharmony_ci uint64_t reserved_38_63:26; 1448c2ecf20Sopenharmony_ci uint64_t txpsh1:1; 1458c2ecf20Sopenharmony_ci uint64_t txpop1:1; 1468c2ecf20Sopenharmony_ci uint64_t ovrflw1:1; 1478c2ecf20Sopenharmony_ci uint64_t txpsh:1; 1488c2ecf20Sopenharmony_ci uint64_t txpop:1; 1498c2ecf20Sopenharmony_ci uint64_t ovrflw:1; 1508c2ecf20Sopenharmony_ci uint64_t reserved_27_31:5; 1518c2ecf20Sopenharmony_ci uint64_t statovr:1; 1528c2ecf20Sopenharmony_ci uint64_t reserved_23_25:3; 1538c2ecf20Sopenharmony_ci uint64_t loststat:1; 1548c2ecf20Sopenharmony_ci uint64_t reserved_4_21:18; 1558c2ecf20Sopenharmony_ci uint64_t out_ovr:2; 1568c2ecf20Sopenharmony_ci uint64_t reserved_0_1:2; 1578c2ecf20Sopenharmony_ci#else 1588c2ecf20Sopenharmony_ci uint64_t reserved_0_1:2; 1598c2ecf20Sopenharmony_ci uint64_t out_ovr:2; 1608c2ecf20Sopenharmony_ci uint64_t reserved_4_21:18; 1618c2ecf20Sopenharmony_ci uint64_t loststat:1; 1628c2ecf20Sopenharmony_ci uint64_t reserved_23_25:3; 1638c2ecf20Sopenharmony_ci uint64_t statovr:1; 1648c2ecf20Sopenharmony_ci uint64_t reserved_27_31:5; 1658c2ecf20Sopenharmony_ci uint64_t ovrflw:1; 1668c2ecf20Sopenharmony_ci uint64_t txpop:1; 1678c2ecf20Sopenharmony_ci uint64_t txpsh:1; 1688c2ecf20Sopenharmony_ci uint64_t ovrflw1:1; 1698c2ecf20Sopenharmony_ci uint64_t txpop1:1; 1708c2ecf20Sopenharmony_ci uint64_t txpsh1:1; 1718c2ecf20Sopenharmony_ci uint64_t reserved_38_63:26; 1728c2ecf20Sopenharmony_ci#endif 1738c2ecf20Sopenharmony_ci } cn52xx; 1748c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_bad_reg_cn56xx { 1758c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 1768c2ecf20Sopenharmony_ci uint64_t reserved_35_63:29; 1778c2ecf20Sopenharmony_ci uint64_t txpsh:1; 1788c2ecf20Sopenharmony_ci uint64_t txpop:1; 1798c2ecf20Sopenharmony_ci uint64_t ovrflw:1; 1808c2ecf20Sopenharmony_ci uint64_t reserved_27_31:5; 1818c2ecf20Sopenharmony_ci uint64_t statovr:1; 1828c2ecf20Sopenharmony_ci uint64_t reserved_23_25:3; 1838c2ecf20Sopenharmony_ci uint64_t loststat:1; 1848c2ecf20Sopenharmony_ci uint64_t reserved_3_21:19; 1858c2ecf20Sopenharmony_ci uint64_t out_ovr:1; 1868c2ecf20Sopenharmony_ci uint64_t reserved_0_1:2; 1878c2ecf20Sopenharmony_ci#else 1888c2ecf20Sopenharmony_ci uint64_t reserved_0_1:2; 1898c2ecf20Sopenharmony_ci uint64_t out_ovr:1; 1908c2ecf20Sopenharmony_ci uint64_t reserved_3_21:19; 1918c2ecf20Sopenharmony_ci uint64_t loststat:1; 1928c2ecf20Sopenharmony_ci uint64_t reserved_23_25:3; 1938c2ecf20Sopenharmony_ci uint64_t statovr:1; 1948c2ecf20Sopenharmony_ci uint64_t reserved_27_31:5; 1958c2ecf20Sopenharmony_ci uint64_t ovrflw:1; 1968c2ecf20Sopenharmony_ci uint64_t txpop:1; 1978c2ecf20Sopenharmony_ci uint64_t txpsh:1; 1988c2ecf20Sopenharmony_ci uint64_t reserved_35_63:29; 1998c2ecf20Sopenharmony_ci#endif 2008c2ecf20Sopenharmony_ci } cn56xx; 2018c2ecf20Sopenharmony_ci}; 2028c2ecf20Sopenharmony_ci 2038c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_bist { 2048c2ecf20Sopenharmony_ci uint64_t u64; 2058c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_bist_s { 2068c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2078c2ecf20Sopenharmony_ci uint64_t reserved_25_63:39; 2088c2ecf20Sopenharmony_ci uint64_t status:25; 2098c2ecf20Sopenharmony_ci#else 2108c2ecf20Sopenharmony_ci uint64_t status:25; 2118c2ecf20Sopenharmony_ci uint64_t reserved_25_63:39; 2128c2ecf20Sopenharmony_ci#endif 2138c2ecf20Sopenharmony_ci } s; 2148c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_bist_cn52xx { 2158c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2168c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 2178c2ecf20Sopenharmony_ci uint64_t status:10; 2188c2ecf20Sopenharmony_ci#else 2198c2ecf20Sopenharmony_ci uint64_t status:10; 2208c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 2218c2ecf20Sopenharmony_ci#endif 2228c2ecf20Sopenharmony_ci } cn52xx; 2238c2ecf20Sopenharmony_ci}; 2248c2ecf20Sopenharmony_ci 2258c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_drv_ctl { 2268c2ecf20Sopenharmony_ci uint64_t u64; 2278c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_drv_ctl_s { 2288c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2298c2ecf20Sopenharmony_ci uint64_t reserved_49_63:15; 2308c2ecf20Sopenharmony_ci uint64_t byp_en1:1; 2318c2ecf20Sopenharmony_ci uint64_t reserved_45_47:3; 2328c2ecf20Sopenharmony_ci uint64_t pctl1:5; 2338c2ecf20Sopenharmony_ci uint64_t reserved_37_39:3; 2348c2ecf20Sopenharmony_ci uint64_t nctl1:5; 2358c2ecf20Sopenharmony_ci uint64_t reserved_17_31:15; 2368c2ecf20Sopenharmony_ci uint64_t byp_en:1; 2378c2ecf20Sopenharmony_ci uint64_t reserved_13_15:3; 2388c2ecf20Sopenharmony_ci uint64_t pctl:5; 2398c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 2408c2ecf20Sopenharmony_ci uint64_t nctl:5; 2418c2ecf20Sopenharmony_ci#else 2428c2ecf20Sopenharmony_ci uint64_t nctl:5; 2438c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 2448c2ecf20Sopenharmony_ci uint64_t pctl:5; 2458c2ecf20Sopenharmony_ci uint64_t reserved_13_15:3; 2468c2ecf20Sopenharmony_ci uint64_t byp_en:1; 2478c2ecf20Sopenharmony_ci uint64_t reserved_17_31:15; 2488c2ecf20Sopenharmony_ci uint64_t nctl1:5; 2498c2ecf20Sopenharmony_ci uint64_t reserved_37_39:3; 2508c2ecf20Sopenharmony_ci uint64_t pctl1:5; 2518c2ecf20Sopenharmony_ci uint64_t reserved_45_47:3; 2528c2ecf20Sopenharmony_ci uint64_t byp_en1:1; 2538c2ecf20Sopenharmony_ci uint64_t reserved_49_63:15; 2548c2ecf20Sopenharmony_ci#endif 2558c2ecf20Sopenharmony_ci } s; 2568c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_drv_ctl_cn56xx { 2578c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2588c2ecf20Sopenharmony_ci uint64_t reserved_17_63:47; 2598c2ecf20Sopenharmony_ci uint64_t byp_en:1; 2608c2ecf20Sopenharmony_ci uint64_t reserved_13_15:3; 2618c2ecf20Sopenharmony_ci uint64_t pctl:5; 2628c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 2638c2ecf20Sopenharmony_ci uint64_t nctl:5; 2648c2ecf20Sopenharmony_ci#else 2658c2ecf20Sopenharmony_ci uint64_t nctl:5; 2668c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 2678c2ecf20Sopenharmony_ci uint64_t pctl:5; 2688c2ecf20Sopenharmony_ci uint64_t reserved_13_15:3; 2698c2ecf20Sopenharmony_ci uint64_t byp_en:1; 2708c2ecf20Sopenharmony_ci uint64_t reserved_17_63:47; 2718c2ecf20Sopenharmony_ci#endif 2728c2ecf20Sopenharmony_ci } cn56xx; 2738c2ecf20Sopenharmony_ci}; 2748c2ecf20Sopenharmony_ci 2758c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_inf_mode { 2768c2ecf20Sopenharmony_ci uint64_t u64; 2778c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_inf_mode_s { 2788c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2798c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 2808c2ecf20Sopenharmony_ci uint64_t en:1; 2818c2ecf20Sopenharmony_ci uint64_t reserved_0_0:1; 2828c2ecf20Sopenharmony_ci#else 2838c2ecf20Sopenharmony_ci uint64_t reserved_0_0:1; 2848c2ecf20Sopenharmony_ci uint64_t en:1; 2858c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 2868c2ecf20Sopenharmony_ci#endif 2878c2ecf20Sopenharmony_ci } s; 2888c2ecf20Sopenharmony_ci}; 2898c2ecf20Sopenharmony_ci 2908c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_prtx_cfg { 2918c2ecf20Sopenharmony_ci uint64_t u64; 2928c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_prtx_cfg_s { 2938c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 2948c2ecf20Sopenharmony_ci uint64_t reserved_14_63:50; 2958c2ecf20Sopenharmony_ci uint64_t tx_idle:1; 2968c2ecf20Sopenharmony_ci uint64_t rx_idle:1; 2978c2ecf20Sopenharmony_ci uint64_t reserved_9_11:3; 2988c2ecf20Sopenharmony_ci uint64_t speed_msb:1; 2998c2ecf20Sopenharmony_ci uint64_t reserved_7_7:1; 3008c2ecf20Sopenharmony_ci uint64_t burst:1; 3018c2ecf20Sopenharmony_ci uint64_t tx_en:1; 3028c2ecf20Sopenharmony_ci uint64_t rx_en:1; 3038c2ecf20Sopenharmony_ci uint64_t slottime:1; 3048c2ecf20Sopenharmony_ci uint64_t duplex:1; 3058c2ecf20Sopenharmony_ci uint64_t speed:1; 3068c2ecf20Sopenharmony_ci uint64_t en:1; 3078c2ecf20Sopenharmony_ci#else 3088c2ecf20Sopenharmony_ci uint64_t en:1; 3098c2ecf20Sopenharmony_ci uint64_t speed:1; 3108c2ecf20Sopenharmony_ci uint64_t duplex:1; 3118c2ecf20Sopenharmony_ci uint64_t slottime:1; 3128c2ecf20Sopenharmony_ci uint64_t rx_en:1; 3138c2ecf20Sopenharmony_ci uint64_t tx_en:1; 3148c2ecf20Sopenharmony_ci uint64_t burst:1; 3158c2ecf20Sopenharmony_ci uint64_t reserved_7_7:1; 3168c2ecf20Sopenharmony_ci uint64_t speed_msb:1; 3178c2ecf20Sopenharmony_ci uint64_t reserved_9_11:3; 3188c2ecf20Sopenharmony_ci uint64_t rx_idle:1; 3198c2ecf20Sopenharmony_ci uint64_t tx_idle:1; 3208c2ecf20Sopenharmony_ci uint64_t reserved_14_63:50; 3218c2ecf20Sopenharmony_ci#endif 3228c2ecf20Sopenharmony_ci } s; 3238c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_prtx_cfg_cn52xx { 3248c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3258c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 3268c2ecf20Sopenharmony_ci uint64_t tx_en:1; 3278c2ecf20Sopenharmony_ci uint64_t rx_en:1; 3288c2ecf20Sopenharmony_ci uint64_t slottime:1; 3298c2ecf20Sopenharmony_ci uint64_t duplex:1; 3308c2ecf20Sopenharmony_ci uint64_t speed:1; 3318c2ecf20Sopenharmony_ci uint64_t en:1; 3328c2ecf20Sopenharmony_ci#else 3338c2ecf20Sopenharmony_ci uint64_t en:1; 3348c2ecf20Sopenharmony_ci uint64_t speed:1; 3358c2ecf20Sopenharmony_ci uint64_t duplex:1; 3368c2ecf20Sopenharmony_ci uint64_t slottime:1; 3378c2ecf20Sopenharmony_ci uint64_t rx_en:1; 3388c2ecf20Sopenharmony_ci uint64_t tx_en:1; 3398c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 3408c2ecf20Sopenharmony_ci#endif 3418c2ecf20Sopenharmony_ci } cn52xx; 3428c2ecf20Sopenharmony_ci}; 3438c2ecf20Sopenharmony_ci 3448c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_adr_cam0 { 3458c2ecf20Sopenharmony_ci uint64_t u64; 3468c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_adr_cam0_s { 3478c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3488c2ecf20Sopenharmony_ci uint64_t adr:64; 3498c2ecf20Sopenharmony_ci#else 3508c2ecf20Sopenharmony_ci uint64_t adr:64; 3518c2ecf20Sopenharmony_ci#endif 3528c2ecf20Sopenharmony_ci } s; 3538c2ecf20Sopenharmony_ci}; 3548c2ecf20Sopenharmony_ci 3558c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_adr_cam1 { 3568c2ecf20Sopenharmony_ci uint64_t u64; 3578c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_adr_cam1_s { 3588c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3598c2ecf20Sopenharmony_ci uint64_t adr:64; 3608c2ecf20Sopenharmony_ci#else 3618c2ecf20Sopenharmony_ci uint64_t adr:64; 3628c2ecf20Sopenharmony_ci#endif 3638c2ecf20Sopenharmony_ci } s; 3648c2ecf20Sopenharmony_ci}; 3658c2ecf20Sopenharmony_ci 3668c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_adr_cam2 { 3678c2ecf20Sopenharmony_ci uint64_t u64; 3688c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_adr_cam2_s { 3698c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3708c2ecf20Sopenharmony_ci uint64_t adr:64; 3718c2ecf20Sopenharmony_ci#else 3728c2ecf20Sopenharmony_ci uint64_t adr:64; 3738c2ecf20Sopenharmony_ci#endif 3748c2ecf20Sopenharmony_ci } s; 3758c2ecf20Sopenharmony_ci}; 3768c2ecf20Sopenharmony_ci 3778c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_adr_cam3 { 3788c2ecf20Sopenharmony_ci uint64_t u64; 3798c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_adr_cam3_s { 3808c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3818c2ecf20Sopenharmony_ci uint64_t adr:64; 3828c2ecf20Sopenharmony_ci#else 3838c2ecf20Sopenharmony_ci uint64_t adr:64; 3848c2ecf20Sopenharmony_ci#endif 3858c2ecf20Sopenharmony_ci } s; 3868c2ecf20Sopenharmony_ci}; 3878c2ecf20Sopenharmony_ci 3888c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_adr_cam4 { 3898c2ecf20Sopenharmony_ci uint64_t u64; 3908c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_adr_cam4_s { 3918c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 3928c2ecf20Sopenharmony_ci uint64_t adr:64; 3938c2ecf20Sopenharmony_ci#else 3948c2ecf20Sopenharmony_ci uint64_t adr:64; 3958c2ecf20Sopenharmony_ci#endif 3968c2ecf20Sopenharmony_ci } s; 3978c2ecf20Sopenharmony_ci}; 3988c2ecf20Sopenharmony_ci 3998c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_adr_cam5 { 4008c2ecf20Sopenharmony_ci uint64_t u64; 4018c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_adr_cam5_s { 4028c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4038c2ecf20Sopenharmony_ci uint64_t adr:64; 4048c2ecf20Sopenharmony_ci#else 4058c2ecf20Sopenharmony_ci uint64_t adr:64; 4068c2ecf20Sopenharmony_ci#endif 4078c2ecf20Sopenharmony_ci } s; 4088c2ecf20Sopenharmony_ci}; 4098c2ecf20Sopenharmony_ci 4108c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_adr_cam_en { 4118c2ecf20Sopenharmony_ci uint64_t u64; 4128c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_adr_cam_en_s { 4138c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4148c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 4158c2ecf20Sopenharmony_ci uint64_t en:8; 4168c2ecf20Sopenharmony_ci#else 4178c2ecf20Sopenharmony_ci uint64_t en:8; 4188c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 4198c2ecf20Sopenharmony_ci#endif 4208c2ecf20Sopenharmony_ci } s; 4218c2ecf20Sopenharmony_ci}; 4228c2ecf20Sopenharmony_ci 4238c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_adr_ctl { 4248c2ecf20Sopenharmony_ci uint64_t u64; 4258c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_adr_ctl_s { 4268c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4278c2ecf20Sopenharmony_ci uint64_t reserved_4_63:60; 4288c2ecf20Sopenharmony_ci uint64_t cam_mode:1; 4298c2ecf20Sopenharmony_ci uint64_t mcst:2; 4308c2ecf20Sopenharmony_ci uint64_t bcst:1; 4318c2ecf20Sopenharmony_ci#else 4328c2ecf20Sopenharmony_ci uint64_t bcst:1; 4338c2ecf20Sopenharmony_ci uint64_t mcst:2; 4348c2ecf20Sopenharmony_ci uint64_t cam_mode:1; 4358c2ecf20Sopenharmony_ci uint64_t reserved_4_63:60; 4368c2ecf20Sopenharmony_ci#endif 4378c2ecf20Sopenharmony_ci } s; 4388c2ecf20Sopenharmony_ci}; 4398c2ecf20Sopenharmony_ci 4408c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_decision { 4418c2ecf20Sopenharmony_ci uint64_t u64; 4428c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_decision_s { 4438c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4448c2ecf20Sopenharmony_ci uint64_t reserved_5_63:59; 4458c2ecf20Sopenharmony_ci uint64_t cnt:5; 4468c2ecf20Sopenharmony_ci#else 4478c2ecf20Sopenharmony_ci uint64_t cnt:5; 4488c2ecf20Sopenharmony_ci uint64_t reserved_5_63:59; 4498c2ecf20Sopenharmony_ci#endif 4508c2ecf20Sopenharmony_ci } s; 4518c2ecf20Sopenharmony_ci}; 4528c2ecf20Sopenharmony_ci 4538c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_frm_chk { 4548c2ecf20Sopenharmony_ci uint64_t u64; 4558c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_frm_chk_s { 4568c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4578c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 4588c2ecf20Sopenharmony_ci uint64_t niberr:1; 4598c2ecf20Sopenharmony_ci uint64_t skperr:1; 4608c2ecf20Sopenharmony_ci uint64_t rcverr:1; 4618c2ecf20Sopenharmony_ci uint64_t lenerr:1; 4628c2ecf20Sopenharmony_ci uint64_t alnerr:1; 4638c2ecf20Sopenharmony_ci uint64_t fcserr:1; 4648c2ecf20Sopenharmony_ci uint64_t jabber:1; 4658c2ecf20Sopenharmony_ci uint64_t maxerr:1; 4668c2ecf20Sopenharmony_ci uint64_t carext:1; 4678c2ecf20Sopenharmony_ci uint64_t minerr:1; 4688c2ecf20Sopenharmony_ci#else 4698c2ecf20Sopenharmony_ci uint64_t minerr:1; 4708c2ecf20Sopenharmony_ci uint64_t carext:1; 4718c2ecf20Sopenharmony_ci uint64_t maxerr:1; 4728c2ecf20Sopenharmony_ci uint64_t jabber:1; 4738c2ecf20Sopenharmony_ci uint64_t fcserr:1; 4748c2ecf20Sopenharmony_ci uint64_t alnerr:1; 4758c2ecf20Sopenharmony_ci uint64_t lenerr:1; 4768c2ecf20Sopenharmony_ci uint64_t rcverr:1; 4778c2ecf20Sopenharmony_ci uint64_t skperr:1; 4788c2ecf20Sopenharmony_ci uint64_t niberr:1; 4798c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 4808c2ecf20Sopenharmony_ci#endif 4818c2ecf20Sopenharmony_ci } s; 4828c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_frm_chk_cn52xx { 4838c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 4848c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 4858c2ecf20Sopenharmony_ci uint64_t skperr:1; 4868c2ecf20Sopenharmony_ci uint64_t rcverr:1; 4878c2ecf20Sopenharmony_ci uint64_t lenerr:1; 4888c2ecf20Sopenharmony_ci uint64_t alnerr:1; 4898c2ecf20Sopenharmony_ci uint64_t fcserr:1; 4908c2ecf20Sopenharmony_ci uint64_t jabber:1; 4918c2ecf20Sopenharmony_ci uint64_t maxerr:1; 4928c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 4938c2ecf20Sopenharmony_ci uint64_t minerr:1; 4948c2ecf20Sopenharmony_ci#else 4958c2ecf20Sopenharmony_ci uint64_t minerr:1; 4968c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 4978c2ecf20Sopenharmony_ci uint64_t maxerr:1; 4988c2ecf20Sopenharmony_ci uint64_t jabber:1; 4998c2ecf20Sopenharmony_ci uint64_t fcserr:1; 5008c2ecf20Sopenharmony_ci uint64_t alnerr:1; 5018c2ecf20Sopenharmony_ci uint64_t lenerr:1; 5028c2ecf20Sopenharmony_ci uint64_t rcverr:1; 5038c2ecf20Sopenharmony_ci uint64_t skperr:1; 5048c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 5058c2ecf20Sopenharmony_ci#endif 5068c2ecf20Sopenharmony_ci } cn52xx; 5078c2ecf20Sopenharmony_ci}; 5088c2ecf20Sopenharmony_ci 5098c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_frm_ctl { 5108c2ecf20Sopenharmony_ci uint64_t u64; 5118c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_frm_ctl_s { 5128c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5138c2ecf20Sopenharmony_ci uint64_t reserved_13_63:51; 5148c2ecf20Sopenharmony_ci uint64_t ptp_mode:1; 5158c2ecf20Sopenharmony_ci uint64_t reserved_11_11:1; 5168c2ecf20Sopenharmony_ci uint64_t null_dis:1; 5178c2ecf20Sopenharmony_ci uint64_t pre_align:1; 5188c2ecf20Sopenharmony_ci uint64_t pad_len:1; 5198c2ecf20Sopenharmony_ci uint64_t vlan_len:1; 5208c2ecf20Sopenharmony_ci uint64_t pre_free:1; 5218c2ecf20Sopenharmony_ci uint64_t ctl_smac:1; 5228c2ecf20Sopenharmony_ci uint64_t ctl_mcst:1; 5238c2ecf20Sopenharmony_ci uint64_t ctl_bck:1; 5248c2ecf20Sopenharmony_ci uint64_t ctl_drp:1; 5258c2ecf20Sopenharmony_ci uint64_t pre_strp:1; 5268c2ecf20Sopenharmony_ci uint64_t pre_chk:1; 5278c2ecf20Sopenharmony_ci#else 5288c2ecf20Sopenharmony_ci uint64_t pre_chk:1; 5298c2ecf20Sopenharmony_ci uint64_t pre_strp:1; 5308c2ecf20Sopenharmony_ci uint64_t ctl_drp:1; 5318c2ecf20Sopenharmony_ci uint64_t ctl_bck:1; 5328c2ecf20Sopenharmony_ci uint64_t ctl_mcst:1; 5338c2ecf20Sopenharmony_ci uint64_t ctl_smac:1; 5348c2ecf20Sopenharmony_ci uint64_t pre_free:1; 5358c2ecf20Sopenharmony_ci uint64_t vlan_len:1; 5368c2ecf20Sopenharmony_ci uint64_t pad_len:1; 5378c2ecf20Sopenharmony_ci uint64_t pre_align:1; 5388c2ecf20Sopenharmony_ci uint64_t null_dis:1; 5398c2ecf20Sopenharmony_ci uint64_t reserved_11_11:1; 5408c2ecf20Sopenharmony_ci uint64_t ptp_mode:1; 5418c2ecf20Sopenharmony_ci uint64_t reserved_13_63:51; 5428c2ecf20Sopenharmony_ci#endif 5438c2ecf20Sopenharmony_ci } s; 5448c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_frm_ctl_cn52xx { 5458c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5468c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 5478c2ecf20Sopenharmony_ci uint64_t pre_align:1; 5488c2ecf20Sopenharmony_ci uint64_t pad_len:1; 5498c2ecf20Sopenharmony_ci uint64_t vlan_len:1; 5508c2ecf20Sopenharmony_ci uint64_t pre_free:1; 5518c2ecf20Sopenharmony_ci uint64_t ctl_smac:1; 5528c2ecf20Sopenharmony_ci uint64_t ctl_mcst:1; 5538c2ecf20Sopenharmony_ci uint64_t ctl_bck:1; 5548c2ecf20Sopenharmony_ci uint64_t ctl_drp:1; 5558c2ecf20Sopenharmony_ci uint64_t pre_strp:1; 5568c2ecf20Sopenharmony_ci uint64_t pre_chk:1; 5578c2ecf20Sopenharmony_ci#else 5588c2ecf20Sopenharmony_ci uint64_t pre_chk:1; 5598c2ecf20Sopenharmony_ci uint64_t pre_strp:1; 5608c2ecf20Sopenharmony_ci uint64_t ctl_drp:1; 5618c2ecf20Sopenharmony_ci uint64_t ctl_bck:1; 5628c2ecf20Sopenharmony_ci uint64_t ctl_mcst:1; 5638c2ecf20Sopenharmony_ci uint64_t ctl_smac:1; 5648c2ecf20Sopenharmony_ci uint64_t pre_free:1; 5658c2ecf20Sopenharmony_ci uint64_t vlan_len:1; 5668c2ecf20Sopenharmony_ci uint64_t pad_len:1; 5678c2ecf20Sopenharmony_ci uint64_t pre_align:1; 5688c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 5698c2ecf20Sopenharmony_ci#endif 5708c2ecf20Sopenharmony_ci } cn52xx; 5718c2ecf20Sopenharmony_ci}; 5728c2ecf20Sopenharmony_ci 5738c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_frm_max { 5748c2ecf20Sopenharmony_ci uint64_t u64; 5758c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_frm_max_s { 5768c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5778c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 5788c2ecf20Sopenharmony_ci uint64_t len:16; 5798c2ecf20Sopenharmony_ci#else 5808c2ecf20Sopenharmony_ci uint64_t len:16; 5818c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 5828c2ecf20Sopenharmony_ci#endif 5838c2ecf20Sopenharmony_ci } s; 5848c2ecf20Sopenharmony_ci}; 5858c2ecf20Sopenharmony_ci 5868c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_frm_min { 5878c2ecf20Sopenharmony_ci uint64_t u64; 5888c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_frm_min_s { 5898c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 5908c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 5918c2ecf20Sopenharmony_ci uint64_t len:16; 5928c2ecf20Sopenharmony_ci#else 5938c2ecf20Sopenharmony_ci uint64_t len:16; 5948c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 5958c2ecf20Sopenharmony_ci#endif 5968c2ecf20Sopenharmony_ci } s; 5978c2ecf20Sopenharmony_ci}; 5988c2ecf20Sopenharmony_ci 5998c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_ifg { 6008c2ecf20Sopenharmony_ci uint64_t u64; 6018c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_ifg_s { 6028c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6038c2ecf20Sopenharmony_ci uint64_t reserved_4_63:60; 6048c2ecf20Sopenharmony_ci uint64_t ifg:4; 6058c2ecf20Sopenharmony_ci#else 6068c2ecf20Sopenharmony_ci uint64_t ifg:4; 6078c2ecf20Sopenharmony_ci uint64_t reserved_4_63:60; 6088c2ecf20Sopenharmony_ci#endif 6098c2ecf20Sopenharmony_ci } s; 6108c2ecf20Sopenharmony_ci}; 6118c2ecf20Sopenharmony_ci 6128c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_int_en { 6138c2ecf20Sopenharmony_ci uint64_t u64; 6148c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_int_en_s { 6158c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6168c2ecf20Sopenharmony_ci uint64_t reserved_20_63:44; 6178c2ecf20Sopenharmony_ci uint64_t pause_drp:1; 6188c2ecf20Sopenharmony_ci uint64_t phy_dupx:1; 6198c2ecf20Sopenharmony_ci uint64_t phy_spd:1; 6208c2ecf20Sopenharmony_ci uint64_t phy_link:1; 6218c2ecf20Sopenharmony_ci uint64_t ifgerr:1; 6228c2ecf20Sopenharmony_ci uint64_t coldet:1; 6238c2ecf20Sopenharmony_ci uint64_t falerr:1; 6248c2ecf20Sopenharmony_ci uint64_t rsverr:1; 6258c2ecf20Sopenharmony_ci uint64_t pcterr:1; 6268c2ecf20Sopenharmony_ci uint64_t ovrerr:1; 6278c2ecf20Sopenharmony_ci uint64_t niberr:1; 6288c2ecf20Sopenharmony_ci uint64_t skperr:1; 6298c2ecf20Sopenharmony_ci uint64_t rcverr:1; 6308c2ecf20Sopenharmony_ci uint64_t lenerr:1; 6318c2ecf20Sopenharmony_ci uint64_t alnerr:1; 6328c2ecf20Sopenharmony_ci uint64_t fcserr:1; 6338c2ecf20Sopenharmony_ci uint64_t jabber:1; 6348c2ecf20Sopenharmony_ci uint64_t maxerr:1; 6358c2ecf20Sopenharmony_ci uint64_t carext:1; 6368c2ecf20Sopenharmony_ci uint64_t minerr:1; 6378c2ecf20Sopenharmony_ci#else 6388c2ecf20Sopenharmony_ci uint64_t minerr:1; 6398c2ecf20Sopenharmony_ci uint64_t carext:1; 6408c2ecf20Sopenharmony_ci uint64_t maxerr:1; 6418c2ecf20Sopenharmony_ci uint64_t jabber:1; 6428c2ecf20Sopenharmony_ci uint64_t fcserr:1; 6438c2ecf20Sopenharmony_ci uint64_t alnerr:1; 6448c2ecf20Sopenharmony_ci uint64_t lenerr:1; 6458c2ecf20Sopenharmony_ci uint64_t rcverr:1; 6468c2ecf20Sopenharmony_ci uint64_t skperr:1; 6478c2ecf20Sopenharmony_ci uint64_t niberr:1; 6488c2ecf20Sopenharmony_ci uint64_t ovrerr:1; 6498c2ecf20Sopenharmony_ci uint64_t pcterr:1; 6508c2ecf20Sopenharmony_ci uint64_t rsverr:1; 6518c2ecf20Sopenharmony_ci uint64_t falerr:1; 6528c2ecf20Sopenharmony_ci uint64_t coldet:1; 6538c2ecf20Sopenharmony_ci uint64_t ifgerr:1; 6548c2ecf20Sopenharmony_ci uint64_t phy_link:1; 6558c2ecf20Sopenharmony_ci uint64_t phy_spd:1; 6568c2ecf20Sopenharmony_ci uint64_t phy_dupx:1; 6578c2ecf20Sopenharmony_ci uint64_t pause_drp:1; 6588c2ecf20Sopenharmony_ci uint64_t reserved_20_63:44; 6598c2ecf20Sopenharmony_ci#endif 6608c2ecf20Sopenharmony_ci } s; 6618c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_int_en_cn52xx { 6628c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 6638c2ecf20Sopenharmony_ci uint64_t reserved_20_63:44; 6648c2ecf20Sopenharmony_ci uint64_t pause_drp:1; 6658c2ecf20Sopenharmony_ci uint64_t reserved_16_18:3; 6668c2ecf20Sopenharmony_ci uint64_t ifgerr:1; 6678c2ecf20Sopenharmony_ci uint64_t coldet:1; 6688c2ecf20Sopenharmony_ci uint64_t falerr:1; 6698c2ecf20Sopenharmony_ci uint64_t rsverr:1; 6708c2ecf20Sopenharmony_ci uint64_t pcterr:1; 6718c2ecf20Sopenharmony_ci uint64_t ovrerr:1; 6728c2ecf20Sopenharmony_ci uint64_t reserved_9_9:1; 6738c2ecf20Sopenharmony_ci uint64_t skperr:1; 6748c2ecf20Sopenharmony_ci uint64_t rcverr:1; 6758c2ecf20Sopenharmony_ci uint64_t lenerr:1; 6768c2ecf20Sopenharmony_ci uint64_t alnerr:1; 6778c2ecf20Sopenharmony_ci uint64_t fcserr:1; 6788c2ecf20Sopenharmony_ci uint64_t jabber:1; 6798c2ecf20Sopenharmony_ci uint64_t maxerr:1; 6808c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 6818c2ecf20Sopenharmony_ci uint64_t minerr:1; 6828c2ecf20Sopenharmony_ci#else 6838c2ecf20Sopenharmony_ci uint64_t minerr:1; 6848c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 6858c2ecf20Sopenharmony_ci uint64_t maxerr:1; 6868c2ecf20Sopenharmony_ci uint64_t jabber:1; 6878c2ecf20Sopenharmony_ci uint64_t fcserr:1; 6888c2ecf20Sopenharmony_ci uint64_t alnerr:1; 6898c2ecf20Sopenharmony_ci uint64_t lenerr:1; 6908c2ecf20Sopenharmony_ci uint64_t rcverr:1; 6918c2ecf20Sopenharmony_ci uint64_t skperr:1; 6928c2ecf20Sopenharmony_ci uint64_t reserved_9_9:1; 6938c2ecf20Sopenharmony_ci uint64_t ovrerr:1; 6948c2ecf20Sopenharmony_ci uint64_t pcterr:1; 6958c2ecf20Sopenharmony_ci uint64_t rsverr:1; 6968c2ecf20Sopenharmony_ci uint64_t falerr:1; 6978c2ecf20Sopenharmony_ci uint64_t coldet:1; 6988c2ecf20Sopenharmony_ci uint64_t ifgerr:1; 6998c2ecf20Sopenharmony_ci uint64_t reserved_16_18:3; 7008c2ecf20Sopenharmony_ci uint64_t pause_drp:1; 7018c2ecf20Sopenharmony_ci uint64_t reserved_20_63:44; 7028c2ecf20Sopenharmony_ci#endif 7038c2ecf20Sopenharmony_ci } cn52xx; 7048c2ecf20Sopenharmony_ci}; 7058c2ecf20Sopenharmony_ci 7068c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_int_reg { 7078c2ecf20Sopenharmony_ci uint64_t u64; 7088c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_int_reg_s { 7098c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7108c2ecf20Sopenharmony_ci uint64_t reserved_20_63:44; 7118c2ecf20Sopenharmony_ci uint64_t pause_drp:1; 7128c2ecf20Sopenharmony_ci uint64_t phy_dupx:1; 7138c2ecf20Sopenharmony_ci uint64_t phy_spd:1; 7148c2ecf20Sopenharmony_ci uint64_t phy_link:1; 7158c2ecf20Sopenharmony_ci uint64_t ifgerr:1; 7168c2ecf20Sopenharmony_ci uint64_t coldet:1; 7178c2ecf20Sopenharmony_ci uint64_t falerr:1; 7188c2ecf20Sopenharmony_ci uint64_t rsverr:1; 7198c2ecf20Sopenharmony_ci uint64_t pcterr:1; 7208c2ecf20Sopenharmony_ci uint64_t ovrerr:1; 7218c2ecf20Sopenharmony_ci uint64_t niberr:1; 7228c2ecf20Sopenharmony_ci uint64_t skperr:1; 7238c2ecf20Sopenharmony_ci uint64_t rcverr:1; 7248c2ecf20Sopenharmony_ci uint64_t lenerr:1; 7258c2ecf20Sopenharmony_ci uint64_t alnerr:1; 7268c2ecf20Sopenharmony_ci uint64_t fcserr:1; 7278c2ecf20Sopenharmony_ci uint64_t jabber:1; 7288c2ecf20Sopenharmony_ci uint64_t maxerr:1; 7298c2ecf20Sopenharmony_ci uint64_t carext:1; 7308c2ecf20Sopenharmony_ci uint64_t minerr:1; 7318c2ecf20Sopenharmony_ci#else 7328c2ecf20Sopenharmony_ci uint64_t minerr:1; 7338c2ecf20Sopenharmony_ci uint64_t carext:1; 7348c2ecf20Sopenharmony_ci uint64_t maxerr:1; 7358c2ecf20Sopenharmony_ci uint64_t jabber:1; 7368c2ecf20Sopenharmony_ci uint64_t fcserr:1; 7378c2ecf20Sopenharmony_ci uint64_t alnerr:1; 7388c2ecf20Sopenharmony_ci uint64_t lenerr:1; 7398c2ecf20Sopenharmony_ci uint64_t rcverr:1; 7408c2ecf20Sopenharmony_ci uint64_t skperr:1; 7418c2ecf20Sopenharmony_ci uint64_t niberr:1; 7428c2ecf20Sopenharmony_ci uint64_t ovrerr:1; 7438c2ecf20Sopenharmony_ci uint64_t pcterr:1; 7448c2ecf20Sopenharmony_ci uint64_t rsverr:1; 7458c2ecf20Sopenharmony_ci uint64_t falerr:1; 7468c2ecf20Sopenharmony_ci uint64_t coldet:1; 7478c2ecf20Sopenharmony_ci uint64_t ifgerr:1; 7488c2ecf20Sopenharmony_ci uint64_t phy_link:1; 7498c2ecf20Sopenharmony_ci uint64_t phy_spd:1; 7508c2ecf20Sopenharmony_ci uint64_t phy_dupx:1; 7518c2ecf20Sopenharmony_ci uint64_t pause_drp:1; 7528c2ecf20Sopenharmony_ci uint64_t reserved_20_63:44; 7538c2ecf20Sopenharmony_ci#endif 7548c2ecf20Sopenharmony_ci } s; 7558c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_int_reg_cn52xx { 7568c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 7578c2ecf20Sopenharmony_ci uint64_t reserved_20_63:44; 7588c2ecf20Sopenharmony_ci uint64_t pause_drp:1; 7598c2ecf20Sopenharmony_ci uint64_t reserved_16_18:3; 7608c2ecf20Sopenharmony_ci uint64_t ifgerr:1; 7618c2ecf20Sopenharmony_ci uint64_t coldet:1; 7628c2ecf20Sopenharmony_ci uint64_t falerr:1; 7638c2ecf20Sopenharmony_ci uint64_t rsverr:1; 7648c2ecf20Sopenharmony_ci uint64_t pcterr:1; 7658c2ecf20Sopenharmony_ci uint64_t ovrerr:1; 7668c2ecf20Sopenharmony_ci uint64_t reserved_9_9:1; 7678c2ecf20Sopenharmony_ci uint64_t skperr:1; 7688c2ecf20Sopenharmony_ci uint64_t rcverr:1; 7698c2ecf20Sopenharmony_ci uint64_t lenerr:1; 7708c2ecf20Sopenharmony_ci uint64_t alnerr:1; 7718c2ecf20Sopenharmony_ci uint64_t fcserr:1; 7728c2ecf20Sopenharmony_ci uint64_t jabber:1; 7738c2ecf20Sopenharmony_ci uint64_t maxerr:1; 7748c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 7758c2ecf20Sopenharmony_ci uint64_t minerr:1; 7768c2ecf20Sopenharmony_ci#else 7778c2ecf20Sopenharmony_ci uint64_t minerr:1; 7788c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 7798c2ecf20Sopenharmony_ci uint64_t maxerr:1; 7808c2ecf20Sopenharmony_ci uint64_t jabber:1; 7818c2ecf20Sopenharmony_ci uint64_t fcserr:1; 7828c2ecf20Sopenharmony_ci uint64_t alnerr:1; 7838c2ecf20Sopenharmony_ci uint64_t lenerr:1; 7848c2ecf20Sopenharmony_ci uint64_t rcverr:1; 7858c2ecf20Sopenharmony_ci uint64_t skperr:1; 7868c2ecf20Sopenharmony_ci uint64_t reserved_9_9:1; 7878c2ecf20Sopenharmony_ci uint64_t ovrerr:1; 7888c2ecf20Sopenharmony_ci uint64_t pcterr:1; 7898c2ecf20Sopenharmony_ci uint64_t rsverr:1; 7908c2ecf20Sopenharmony_ci uint64_t falerr:1; 7918c2ecf20Sopenharmony_ci uint64_t coldet:1; 7928c2ecf20Sopenharmony_ci uint64_t ifgerr:1; 7938c2ecf20Sopenharmony_ci uint64_t reserved_16_18:3; 7948c2ecf20Sopenharmony_ci uint64_t pause_drp:1; 7958c2ecf20Sopenharmony_ci uint64_t reserved_20_63:44; 7968c2ecf20Sopenharmony_ci#endif 7978c2ecf20Sopenharmony_ci } cn52xx; 7988c2ecf20Sopenharmony_ci}; 7998c2ecf20Sopenharmony_ci 8008c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_jabber { 8018c2ecf20Sopenharmony_ci uint64_t u64; 8028c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_jabber_s { 8038c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8048c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 8058c2ecf20Sopenharmony_ci uint64_t cnt:16; 8068c2ecf20Sopenharmony_ci#else 8078c2ecf20Sopenharmony_ci uint64_t cnt:16; 8088c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 8098c2ecf20Sopenharmony_ci#endif 8108c2ecf20Sopenharmony_ci } s; 8118c2ecf20Sopenharmony_ci}; 8128c2ecf20Sopenharmony_ci 8138c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_pause_drop_time { 8148c2ecf20Sopenharmony_ci uint64_t u64; 8158c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_pause_drop_time_s { 8168c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8178c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 8188c2ecf20Sopenharmony_ci uint64_t status:16; 8198c2ecf20Sopenharmony_ci#else 8208c2ecf20Sopenharmony_ci uint64_t status:16; 8218c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 8228c2ecf20Sopenharmony_ci#endif 8238c2ecf20Sopenharmony_ci } s; 8248c2ecf20Sopenharmony_ci}; 8258c2ecf20Sopenharmony_ci 8268c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_rx_inbnd { 8278c2ecf20Sopenharmony_ci uint64_t u64; 8288c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_rx_inbnd_s { 8298c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8308c2ecf20Sopenharmony_ci uint64_t reserved_4_63:60; 8318c2ecf20Sopenharmony_ci uint64_t duplex:1; 8328c2ecf20Sopenharmony_ci uint64_t speed:2; 8338c2ecf20Sopenharmony_ci uint64_t status:1; 8348c2ecf20Sopenharmony_ci#else 8358c2ecf20Sopenharmony_ci uint64_t status:1; 8368c2ecf20Sopenharmony_ci uint64_t speed:2; 8378c2ecf20Sopenharmony_ci uint64_t duplex:1; 8388c2ecf20Sopenharmony_ci uint64_t reserved_4_63:60; 8398c2ecf20Sopenharmony_ci#endif 8408c2ecf20Sopenharmony_ci } s; 8418c2ecf20Sopenharmony_ci}; 8428c2ecf20Sopenharmony_ci 8438c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_stats_ctl { 8448c2ecf20Sopenharmony_ci uint64_t u64; 8458c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_stats_ctl_s { 8468c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8478c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 8488c2ecf20Sopenharmony_ci uint64_t rd_clr:1; 8498c2ecf20Sopenharmony_ci#else 8508c2ecf20Sopenharmony_ci uint64_t rd_clr:1; 8518c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 8528c2ecf20Sopenharmony_ci#endif 8538c2ecf20Sopenharmony_ci } s; 8548c2ecf20Sopenharmony_ci}; 8558c2ecf20Sopenharmony_ci 8568c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_stats_octs { 8578c2ecf20Sopenharmony_ci uint64_t u64; 8588c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_stats_octs_s { 8598c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8608c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 8618c2ecf20Sopenharmony_ci uint64_t cnt:48; 8628c2ecf20Sopenharmony_ci#else 8638c2ecf20Sopenharmony_ci uint64_t cnt:48; 8648c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 8658c2ecf20Sopenharmony_ci#endif 8668c2ecf20Sopenharmony_ci } s; 8678c2ecf20Sopenharmony_ci}; 8688c2ecf20Sopenharmony_ci 8698c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_stats_octs_ctl { 8708c2ecf20Sopenharmony_ci uint64_t u64; 8718c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_stats_octs_ctl_s { 8728c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8738c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 8748c2ecf20Sopenharmony_ci uint64_t cnt:48; 8758c2ecf20Sopenharmony_ci#else 8768c2ecf20Sopenharmony_ci uint64_t cnt:48; 8778c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 8788c2ecf20Sopenharmony_ci#endif 8798c2ecf20Sopenharmony_ci } s; 8808c2ecf20Sopenharmony_ci}; 8818c2ecf20Sopenharmony_ci 8828c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_stats_octs_dmac { 8838c2ecf20Sopenharmony_ci uint64_t u64; 8848c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_stats_octs_dmac_s { 8858c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8868c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 8878c2ecf20Sopenharmony_ci uint64_t cnt:48; 8888c2ecf20Sopenharmony_ci#else 8898c2ecf20Sopenharmony_ci uint64_t cnt:48; 8908c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 8918c2ecf20Sopenharmony_ci#endif 8928c2ecf20Sopenharmony_ci } s; 8938c2ecf20Sopenharmony_ci}; 8948c2ecf20Sopenharmony_ci 8958c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_stats_octs_drp { 8968c2ecf20Sopenharmony_ci uint64_t u64; 8978c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_stats_octs_drp_s { 8988c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 8998c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 9008c2ecf20Sopenharmony_ci uint64_t cnt:48; 9018c2ecf20Sopenharmony_ci#else 9028c2ecf20Sopenharmony_ci uint64_t cnt:48; 9038c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 9048c2ecf20Sopenharmony_ci#endif 9058c2ecf20Sopenharmony_ci } s; 9068c2ecf20Sopenharmony_ci}; 9078c2ecf20Sopenharmony_ci 9088c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_stats_pkts { 9098c2ecf20Sopenharmony_ci uint64_t u64; 9108c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_stats_pkts_s { 9118c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 9128c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 9138c2ecf20Sopenharmony_ci uint64_t cnt:32; 9148c2ecf20Sopenharmony_ci#else 9158c2ecf20Sopenharmony_ci uint64_t cnt:32; 9168c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 9178c2ecf20Sopenharmony_ci#endif 9188c2ecf20Sopenharmony_ci } s; 9198c2ecf20Sopenharmony_ci}; 9208c2ecf20Sopenharmony_ci 9218c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_stats_pkts_bad { 9228c2ecf20Sopenharmony_ci uint64_t u64; 9238c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_stats_pkts_bad_s { 9248c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 9258c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 9268c2ecf20Sopenharmony_ci uint64_t cnt:32; 9278c2ecf20Sopenharmony_ci#else 9288c2ecf20Sopenharmony_ci uint64_t cnt:32; 9298c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 9308c2ecf20Sopenharmony_ci#endif 9318c2ecf20Sopenharmony_ci } s; 9328c2ecf20Sopenharmony_ci}; 9338c2ecf20Sopenharmony_ci 9348c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_stats_pkts_ctl { 9358c2ecf20Sopenharmony_ci uint64_t u64; 9368c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_stats_pkts_ctl_s { 9378c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 9388c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 9398c2ecf20Sopenharmony_ci uint64_t cnt:32; 9408c2ecf20Sopenharmony_ci#else 9418c2ecf20Sopenharmony_ci uint64_t cnt:32; 9428c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 9438c2ecf20Sopenharmony_ci#endif 9448c2ecf20Sopenharmony_ci } s; 9458c2ecf20Sopenharmony_ci}; 9468c2ecf20Sopenharmony_ci 9478c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_stats_pkts_dmac { 9488c2ecf20Sopenharmony_ci uint64_t u64; 9498c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_stats_pkts_dmac_s { 9508c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 9518c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 9528c2ecf20Sopenharmony_ci uint64_t cnt:32; 9538c2ecf20Sopenharmony_ci#else 9548c2ecf20Sopenharmony_ci uint64_t cnt:32; 9558c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 9568c2ecf20Sopenharmony_ci#endif 9578c2ecf20Sopenharmony_ci } s; 9588c2ecf20Sopenharmony_ci}; 9598c2ecf20Sopenharmony_ci 9608c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_stats_pkts_drp { 9618c2ecf20Sopenharmony_ci uint64_t u64; 9628c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_stats_pkts_drp_s { 9638c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 9648c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 9658c2ecf20Sopenharmony_ci uint64_t cnt:32; 9668c2ecf20Sopenharmony_ci#else 9678c2ecf20Sopenharmony_ci uint64_t cnt:32; 9688c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 9698c2ecf20Sopenharmony_ci#endif 9708c2ecf20Sopenharmony_ci } s; 9718c2ecf20Sopenharmony_ci}; 9728c2ecf20Sopenharmony_ci 9738c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rxx_udd_skp { 9748c2ecf20Sopenharmony_ci uint64_t u64; 9758c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rxx_udd_skp_s { 9768c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 9778c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 9788c2ecf20Sopenharmony_ci uint64_t fcssel:1; 9798c2ecf20Sopenharmony_ci uint64_t reserved_7_7:1; 9808c2ecf20Sopenharmony_ci uint64_t len:7; 9818c2ecf20Sopenharmony_ci#else 9828c2ecf20Sopenharmony_ci uint64_t len:7; 9838c2ecf20Sopenharmony_ci uint64_t reserved_7_7:1; 9848c2ecf20Sopenharmony_ci uint64_t fcssel:1; 9858c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 9868c2ecf20Sopenharmony_ci#endif 9878c2ecf20Sopenharmony_ci } s; 9888c2ecf20Sopenharmony_ci}; 9898c2ecf20Sopenharmony_ci 9908c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rx_bp_dropx { 9918c2ecf20Sopenharmony_ci uint64_t u64; 9928c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rx_bp_dropx_s { 9938c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 9948c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 9958c2ecf20Sopenharmony_ci uint64_t mark:6; 9968c2ecf20Sopenharmony_ci#else 9978c2ecf20Sopenharmony_ci uint64_t mark:6; 9988c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 9998c2ecf20Sopenharmony_ci#endif 10008c2ecf20Sopenharmony_ci } s; 10018c2ecf20Sopenharmony_ci}; 10028c2ecf20Sopenharmony_ci 10038c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rx_bp_offx { 10048c2ecf20Sopenharmony_ci uint64_t u64; 10058c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rx_bp_offx_s { 10068c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10078c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 10088c2ecf20Sopenharmony_ci uint64_t mark:6; 10098c2ecf20Sopenharmony_ci#else 10108c2ecf20Sopenharmony_ci uint64_t mark:6; 10118c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 10128c2ecf20Sopenharmony_ci#endif 10138c2ecf20Sopenharmony_ci } s; 10148c2ecf20Sopenharmony_ci}; 10158c2ecf20Sopenharmony_ci 10168c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rx_bp_onx { 10178c2ecf20Sopenharmony_ci uint64_t u64; 10188c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rx_bp_onx_s { 10198c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10208c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 10218c2ecf20Sopenharmony_ci uint64_t mark:9; 10228c2ecf20Sopenharmony_ci#else 10238c2ecf20Sopenharmony_ci uint64_t mark:9; 10248c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 10258c2ecf20Sopenharmony_ci#endif 10268c2ecf20Sopenharmony_ci } s; 10278c2ecf20Sopenharmony_ci}; 10288c2ecf20Sopenharmony_ci 10298c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rx_prt_info { 10308c2ecf20Sopenharmony_ci uint64_t u64; 10318c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rx_prt_info_s { 10328c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10338c2ecf20Sopenharmony_ci uint64_t reserved_18_63:46; 10348c2ecf20Sopenharmony_ci uint64_t drop:2; 10358c2ecf20Sopenharmony_ci uint64_t reserved_2_15:14; 10368c2ecf20Sopenharmony_ci uint64_t commit:2; 10378c2ecf20Sopenharmony_ci#else 10388c2ecf20Sopenharmony_ci uint64_t commit:2; 10398c2ecf20Sopenharmony_ci uint64_t reserved_2_15:14; 10408c2ecf20Sopenharmony_ci uint64_t drop:2; 10418c2ecf20Sopenharmony_ci uint64_t reserved_18_63:46; 10428c2ecf20Sopenharmony_ci#endif 10438c2ecf20Sopenharmony_ci } s; 10448c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rx_prt_info_cn56xx { 10458c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10468c2ecf20Sopenharmony_ci uint64_t reserved_17_63:47; 10478c2ecf20Sopenharmony_ci uint64_t drop:1; 10488c2ecf20Sopenharmony_ci uint64_t reserved_1_15:15; 10498c2ecf20Sopenharmony_ci uint64_t commit:1; 10508c2ecf20Sopenharmony_ci#else 10518c2ecf20Sopenharmony_ci uint64_t commit:1; 10528c2ecf20Sopenharmony_ci uint64_t reserved_1_15:15; 10538c2ecf20Sopenharmony_ci uint64_t drop:1; 10548c2ecf20Sopenharmony_ci uint64_t reserved_17_63:47; 10558c2ecf20Sopenharmony_ci#endif 10568c2ecf20Sopenharmony_ci } cn56xx; 10578c2ecf20Sopenharmony_ci}; 10588c2ecf20Sopenharmony_ci 10598c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_rx_tx_status { 10608c2ecf20Sopenharmony_ci uint64_t u64; 10618c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rx_tx_status_s { 10628c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10638c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 10648c2ecf20Sopenharmony_ci uint64_t tx:2; 10658c2ecf20Sopenharmony_ci uint64_t reserved_2_3:2; 10668c2ecf20Sopenharmony_ci uint64_t rx:2; 10678c2ecf20Sopenharmony_ci#else 10688c2ecf20Sopenharmony_ci uint64_t rx:2; 10698c2ecf20Sopenharmony_ci uint64_t reserved_2_3:2; 10708c2ecf20Sopenharmony_ci uint64_t tx:2; 10718c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 10728c2ecf20Sopenharmony_ci#endif 10738c2ecf20Sopenharmony_ci } s; 10748c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_rx_tx_status_cn56xx { 10758c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10768c2ecf20Sopenharmony_ci uint64_t reserved_5_63:59; 10778c2ecf20Sopenharmony_ci uint64_t tx:1; 10788c2ecf20Sopenharmony_ci uint64_t reserved_1_3:3; 10798c2ecf20Sopenharmony_ci uint64_t rx:1; 10808c2ecf20Sopenharmony_ci#else 10818c2ecf20Sopenharmony_ci uint64_t rx:1; 10828c2ecf20Sopenharmony_ci uint64_t reserved_1_3:3; 10838c2ecf20Sopenharmony_ci uint64_t tx:1; 10848c2ecf20Sopenharmony_ci uint64_t reserved_5_63:59; 10858c2ecf20Sopenharmony_ci#endif 10868c2ecf20Sopenharmony_ci } cn56xx; 10878c2ecf20Sopenharmony_ci}; 10888c2ecf20Sopenharmony_ci 10898c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_smacx { 10908c2ecf20Sopenharmony_ci uint64_t u64; 10918c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_smacx_s { 10928c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 10938c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 10948c2ecf20Sopenharmony_ci uint64_t smac:48; 10958c2ecf20Sopenharmony_ci#else 10968c2ecf20Sopenharmony_ci uint64_t smac:48; 10978c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 10988c2ecf20Sopenharmony_ci#endif 10998c2ecf20Sopenharmony_ci } s; 11008c2ecf20Sopenharmony_ci}; 11018c2ecf20Sopenharmony_ci 11028c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_stat_bp { 11038c2ecf20Sopenharmony_ci uint64_t u64; 11048c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_stat_bp_s { 11058c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 11068c2ecf20Sopenharmony_ci uint64_t reserved_17_63:47; 11078c2ecf20Sopenharmony_ci uint64_t bp:1; 11088c2ecf20Sopenharmony_ci uint64_t cnt:16; 11098c2ecf20Sopenharmony_ci#else 11108c2ecf20Sopenharmony_ci uint64_t cnt:16; 11118c2ecf20Sopenharmony_ci uint64_t bp:1; 11128c2ecf20Sopenharmony_ci uint64_t reserved_17_63:47; 11138c2ecf20Sopenharmony_ci#endif 11148c2ecf20Sopenharmony_ci } s; 11158c2ecf20Sopenharmony_ci}; 11168c2ecf20Sopenharmony_ci 11178c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_append { 11188c2ecf20Sopenharmony_ci uint64_t u64; 11198c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_append_s { 11208c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 11218c2ecf20Sopenharmony_ci uint64_t reserved_4_63:60; 11228c2ecf20Sopenharmony_ci uint64_t force_fcs:1; 11238c2ecf20Sopenharmony_ci uint64_t fcs:1; 11248c2ecf20Sopenharmony_ci uint64_t pad:1; 11258c2ecf20Sopenharmony_ci uint64_t preamble:1; 11268c2ecf20Sopenharmony_ci#else 11278c2ecf20Sopenharmony_ci uint64_t preamble:1; 11288c2ecf20Sopenharmony_ci uint64_t pad:1; 11298c2ecf20Sopenharmony_ci uint64_t fcs:1; 11308c2ecf20Sopenharmony_ci uint64_t force_fcs:1; 11318c2ecf20Sopenharmony_ci uint64_t reserved_4_63:60; 11328c2ecf20Sopenharmony_ci#endif 11338c2ecf20Sopenharmony_ci } s; 11348c2ecf20Sopenharmony_ci}; 11358c2ecf20Sopenharmony_ci 11368c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_clk { 11378c2ecf20Sopenharmony_ci uint64_t u64; 11388c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_clk_s { 11398c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 11408c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 11418c2ecf20Sopenharmony_ci uint64_t clk_cnt:6; 11428c2ecf20Sopenharmony_ci#else 11438c2ecf20Sopenharmony_ci uint64_t clk_cnt:6; 11448c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 11458c2ecf20Sopenharmony_ci#endif 11468c2ecf20Sopenharmony_ci } s; 11478c2ecf20Sopenharmony_ci}; 11488c2ecf20Sopenharmony_ci 11498c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_ctl { 11508c2ecf20Sopenharmony_ci uint64_t u64; 11518c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_ctl_s { 11528c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 11538c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 11548c2ecf20Sopenharmony_ci uint64_t xsdef_en:1; 11558c2ecf20Sopenharmony_ci uint64_t xscol_en:1; 11568c2ecf20Sopenharmony_ci#else 11578c2ecf20Sopenharmony_ci uint64_t xscol_en:1; 11588c2ecf20Sopenharmony_ci uint64_t xsdef_en:1; 11598c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 11608c2ecf20Sopenharmony_ci#endif 11618c2ecf20Sopenharmony_ci } s; 11628c2ecf20Sopenharmony_ci}; 11638c2ecf20Sopenharmony_ci 11648c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_min_pkt { 11658c2ecf20Sopenharmony_ci uint64_t u64; 11668c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_min_pkt_s { 11678c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 11688c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 11698c2ecf20Sopenharmony_ci uint64_t min_size:8; 11708c2ecf20Sopenharmony_ci#else 11718c2ecf20Sopenharmony_ci uint64_t min_size:8; 11728c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 11738c2ecf20Sopenharmony_ci#endif 11748c2ecf20Sopenharmony_ci } s; 11758c2ecf20Sopenharmony_ci}; 11768c2ecf20Sopenharmony_ci 11778c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_pause_pkt_interval { 11788c2ecf20Sopenharmony_ci uint64_t u64; 11798c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_pause_pkt_interval_s { 11808c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 11818c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 11828c2ecf20Sopenharmony_ci uint64_t interval:16; 11838c2ecf20Sopenharmony_ci#else 11848c2ecf20Sopenharmony_ci uint64_t interval:16; 11858c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 11868c2ecf20Sopenharmony_ci#endif 11878c2ecf20Sopenharmony_ci } s; 11888c2ecf20Sopenharmony_ci}; 11898c2ecf20Sopenharmony_ci 11908c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_pause_pkt_time { 11918c2ecf20Sopenharmony_ci uint64_t u64; 11928c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_pause_pkt_time_s { 11938c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 11948c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 11958c2ecf20Sopenharmony_ci uint64_t time:16; 11968c2ecf20Sopenharmony_ci#else 11978c2ecf20Sopenharmony_ci uint64_t time:16; 11988c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 11998c2ecf20Sopenharmony_ci#endif 12008c2ecf20Sopenharmony_ci } s; 12018c2ecf20Sopenharmony_ci}; 12028c2ecf20Sopenharmony_ci 12038c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_pause_togo { 12048c2ecf20Sopenharmony_ci uint64_t u64; 12058c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_pause_togo_s { 12068c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12078c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 12088c2ecf20Sopenharmony_ci uint64_t time:16; 12098c2ecf20Sopenharmony_ci#else 12108c2ecf20Sopenharmony_ci uint64_t time:16; 12118c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 12128c2ecf20Sopenharmony_ci#endif 12138c2ecf20Sopenharmony_ci } s; 12148c2ecf20Sopenharmony_ci}; 12158c2ecf20Sopenharmony_ci 12168c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_pause_zero { 12178c2ecf20Sopenharmony_ci uint64_t u64; 12188c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_pause_zero_s { 12198c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12208c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 12218c2ecf20Sopenharmony_ci uint64_t send:1; 12228c2ecf20Sopenharmony_ci#else 12238c2ecf20Sopenharmony_ci uint64_t send:1; 12248c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 12258c2ecf20Sopenharmony_ci#endif 12268c2ecf20Sopenharmony_ci } s; 12278c2ecf20Sopenharmony_ci}; 12288c2ecf20Sopenharmony_ci 12298c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_soft_pause { 12308c2ecf20Sopenharmony_ci uint64_t u64; 12318c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_soft_pause_s { 12328c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12338c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 12348c2ecf20Sopenharmony_ci uint64_t time:16; 12358c2ecf20Sopenharmony_ci#else 12368c2ecf20Sopenharmony_ci uint64_t time:16; 12378c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 12388c2ecf20Sopenharmony_ci#endif 12398c2ecf20Sopenharmony_ci } s; 12408c2ecf20Sopenharmony_ci}; 12418c2ecf20Sopenharmony_ci 12428c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_stat0 { 12438c2ecf20Sopenharmony_ci uint64_t u64; 12448c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_stat0_s { 12458c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12468c2ecf20Sopenharmony_ci uint64_t xsdef:32; 12478c2ecf20Sopenharmony_ci uint64_t xscol:32; 12488c2ecf20Sopenharmony_ci#else 12498c2ecf20Sopenharmony_ci uint64_t xscol:32; 12508c2ecf20Sopenharmony_ci uint64_t xsdef:32; 12518c2ecf20Sopenharmony_ci#endif 12528c2ecf20Sopenharmony_ci } s; 12538c2ecf20Sopenharmony_ci}; 12548c2ecf20Sopenharmony_ci 12558c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_stat1 { 12568c2ecf20Sopenharmony_ci uint64_t u64; 12578c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_stat1_s { 12588c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12598c2ecf20Sopenharmony_ci uint64_t scol:32; 12608c2ecf20Sopenharmony_ci uint64_t mcol:32; 12618c2ecf20Sopenharmony_ci#else 12628c2ecf20Sopenharmony_ci uint64_t mcol:32; 12638c2ecf20Sopenharmony_ci uint64_t scol:32; 12648c2ecf20Sopenharmony_ci#endif 12658c2ecf20Sopenharmony_ci } s; 12668c2ecf20Sopenharmony_ci}; 12678c2ecf20Sopenharmony_ci 12688c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_stat2 { 12698c2ecf20Sopenharmony_ci uint64_t u64; 12708c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_stat2_s { 12718c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12728c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 12738c2ecf20Sopenharmony_ci uint64_t octs:48; 12748c2ecf20Sopenharmony_ci#else 12758c2ecf20Sopenharmony_ci uint64_t octs:48; 12768c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 12778c2ecf20Sopenharmony_ci#endif 12788c2ecf20Sopenharmony_ci } s; 12798c2ecf20Sopenharmony_ci}; 12808c2ecf20Sopenharmony_ci 12818c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_stat3 { 12828c2ecf20Sopenharmony_ci uint64_t u64; 12838c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_stat3_s { 12848c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12858c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 12868c2ecf20Sopenharmony_ci uint64_t pkts:32; 12878c2ecf20Sopenharmony_ci#else 12888c2ecf20Sopenharmony_ci uint64_t pkts:32; 12898c2ecf20Sopenharmony_ci uint64_t reserved_32_63:32; 12908c2ecf20Sopenharmony_ci#endif 12918c2ecf20Sopenharmony_ci } s; 12928c2ecf20Sopenharmony_ci}; 12938c2ecf20Sopenharmony_ci 12948c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_stat4 { 12958c2ecf20Sopenharmony_ci uint64_t u64; 12968c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_stat4_s { 12978c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 12988c2ecf20Sopenharmony_ci uint64_t hist1:32; 12998c2ecf20Sopenharmony_ci uint64_t hist0:32; 13008c2ecf20Sopenharmony_ci#else 13018c2ecf20Sopenharmony_ci uint64_t hist0:32; 13028c2ecf20Sopenharmony_ci uint64_t hist1:32; 13038c2ecf20Sopenharmony_ci#endif 13048c2ecf20Sopenharmony_ci } s; 13058c2ecf20Sopenharmony_ci}; 13068c2ecf20Sopenharmony_ci 13078c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_stat5 { 13088c2ecf20Sopenharmony_ci uint64_t u64; 13098c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_stat5_s { 13108c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13118c2ecf20Sopenharmony_ci uint64_t hist3:32; 13128c2ecf20Sopenharmony_ci uint64_t hist2:32; 13138c2ecf20Sopenharmony_ci#else 13148c2ecf20Sopenharmony_ci uint64_t hist2:32; 13158c2ecf20Sopenharmony_ci uint64_t hist3:32; 13168c2ecf20Sopenharmony_ci#endif 13178c2ecf20Sopenharmony_ci } s; 13188c2ecf20Sopenharmony_ci}; 13198c2ecf20Sopenharmony_ci 13208c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_stat6 { 13218c2ecf20Sopenharmony_ci uint64_t u64; 13228c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_stat6_s { 13238c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13248c2ecf20Sopenharmony_ci uint64_t hist5:32; 13258c2ecf20Sopenharmony_ci uint64_t hist4:32; 13268c2ecf20Sopenharmony_ci#else 13278c2ecf20Sopenharmony_ci uint64_t hist4:32; 13288c2ecf20Sopenharmony_ci uint64_t hist5:32; 13298c2ecf20Sopenharmony_ci#endif 13308c2ecf20Sopenharmony_ci } s; 13318c2ecf20Sopenharmony_ci}; 13328c2ecf20Sopenharmony_ci 13338c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_stat7 { 13348c2ecf20Sopenharmony_ci uint64_t u64; 13358c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_stat7_s { 13368c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13378c2ecf20Sopenharmony_ci uint64_t hist7:32; 13388c2ecf20Sopenharmony_ci uint64_t hist6:32; 13398c2ecf20Sopenharmony_ci#else 13408c2ecf20Sopenharmony_ci uint64_t hist6:32; 13418c2ecf20Sopenharmony_ci uint64_t hist7:32; 13428c2ecf20Sopenharmony_ci#endif 13438c2ecf20Sopenharmony_ci } s; 13448c2ecf20Sopenharmony_ci}; 13458c2ecf20Sopenharmony_ci 13468c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_stat8 { 13478c2ecf20Sopenharmony_ci uint64_t u64; 13488c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_stat8_s { 13498c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13508c2ecf20Sopenharmony_ci uint64_t mcst:32; 13518c2ecf20Sopenharmony_ci uint64_t bcst:32; 13528c2ecf20Sopenharmony_ci#else 13538c2ecf20Sopenharmony_ci uint64_t bcst:32; 13548c2ecf20Sopenharmony_ci uint64_t mcst:32; 13558c2ecf20Sopenharmony_ci#endif 13568c2ecf20Sopenharmony_ci } s; 13578c2ecf20Sopenharmony_ci}; 13588c2ecf20Sopenharmony_ci 13598c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_stat9 { 13608c2ecf20Sopenharmony_ci uint64_t u64; 13618c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_stat9_s { 13628c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13638c2ecf20Sopenharmony_ci uint64_t undflw:32; 13648c2ecf20Sopenharmony_ci uint64_t ctl:32; 13658c2ecf20Sopenharmony_ci#else 13668c2ecf20Sopenharmony_ci uint64_t ctl:32; 13678c2ecf20Sopenharmony_ci uint64_t undflw:32; 13688c2ecf20Sopenharmony_ci#endif 13698c2ecf20Sopenharmony_ci } s; 13708c2ecf20Sopenharmony_ci}; 13718c2ecf20Sopenharmony_ci 13728c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_stats_ctl { 13738c2ecf20Sopenharmony_ci uint64_t u64; 13748c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_stats_ctl_s { 13758c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13768c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 13778c2ecf20Sopenharmony_ci uint64_t rd_clr:1; 13788c2ecf20Sopenharmony_ci#else 13798c2ecf20Sopenharmony_ci uint64_t rd_clr:1; 13808c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 13818c2ecf20Sopenharmony_ci#endif 13828c2ecf20Sopenharmony_ci } s; 13838c2ecf20Sopenharmony_ci}; 13848c2ecf20Sopenharmony_ci 13858c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_txx_thresh { 13868c2ecf20Sopenharmony_ci uint64_t u64; 13878c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_txx_thresh_s { 13888c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13898c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 13908c2ecf20Sopenharmony_ci uint64_t cnt:6; 13918c2ecf20Sopenharmony_ci#else 13928c2ecf20Sopenharmony_ci uint64_t cnt:6; 13938c2ecf20Sopenharmony_ci uint64_t reserved_6_63:58; 13948c2ecf20Sopenharmony_ci#endif 13958c2ecf20Sopenharmony_ci } s; 13968c2ecf20Sopenharmony_ci}; 13978c2ecf20Sopenharmony_ci 13988c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_tx_bp { 13998c2ecf20Sopenharmony_ci uint64_t u64; 14008c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_tx_bp_s { 14018c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 14028c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 14038c2ecf20Sopenharmony_ci uint64_t bp:2; 14048c2ecf20Sopenharmony_ci#else 14058c2ecf20Sopenharmony_ci uint64_t bp:2; 14068c2ecf20Sopenharmony_ci uint64_t reserved_2_63:62; 14078c2ecf20Sopenharmony_ci#endif 14088c2ecf20Sopenharmony_ci } s; 14098c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_tx_bp_cn56xx { 14108c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 14118c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 14128c2ecf20Sopenharmony_ci uint64_t bp:1; 14138c2ecf20Sopenharmony_ci#else 14148c2ecf20Sopenharmony_ci uint64_t bp:1; 14158c2ecf20Sopenharmony_ci uint64_t reserved_1_63:63; 14168c2ecf20Sopenharmony_ci#endif 14178c2ecf20Sopenharmony_ci } cn56xx; 14188c2ecf20Sopenharmony_ci}; 14198c2ecf20Sopenharmony_ci 14208c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_tx_col_attempt { 14218c2ecf20Sopenharmony_ci uint64_t u64; 14228c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_tx_col_attempt_s { 14238c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 14248c2ecf20Sopenharmony_ci uint64_t reserved_5_63:59; 14258c2ecf20Sopenharmony_ci uint64_t limit:5; 14268c2ecf20Sopenharmony_ci#else 14278c2ecf20Sopenharmony_ci uint64_t limit:5; 14288c2ecf20Sopenharmony_ci uint64_t reserved_5_63:59; 14298c2ecf20Sopenharmony_ci#endif 14308c2ecf20Sopenharmony_ci } s; 14318c2ecf20Sopenharmony_ci}; 14328c2ecf20Sopenharmony_ci 14338c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_tx_ifg { 14348c2ecf20Sopenharmony_ci uint64_t u64; 14358c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_tx_ifg_s { 14368c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 14378c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 14388c2ecf20Sopenharmony_ci uint64_t ifg2:4; 14398c2ecf20Sopenharmony_ci uint64_t ifg1:4; 14408c2ecf20Sopenharmony_ci#else 14418c2ecf20Sopenharmony_ci uint64_t ifg1:4; 14428c2ecf20Sopenharmony_ci uint64_t ifg2:4; 14438c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 14448c2ecf20Sopenharmony_ci#endif 14458c2ecf20Sopenharmony_ci } s; 14468c2ecf20Sopenharmony_ci}; 14478c2ecf20Sopenharmony_ci 14488c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_tx_int_en { 14498c2ecf20Sopenharmony_ci uint64_t u64; 14508c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_tx_int_en_s { 14518c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 14528c2ecf20Sopenharmony_ci uint64_t reserved_22_63:42; 14538c2ecf20Sopenharmony_ci uint64_t ptp_lost:2; 14548c2ecf20Sopenharmony_ci uint64_t reserved_18_19:2; 14558c2ecf20Sopenharmony_ci uint64_t late_col:2; 14568c2ecf20Sopenharmony_ci uint64_t reserved_14_15:2; 14578c2ecf20Sopenharmony_ci uint64_t xsdef:2; 14588c2ecf20Sopenharmony_ci uint64_t reserved_10_11:2; 14598c2ecf20Sopenharmony_ci uint64_t xscol:2; 14608c2ecf20Sopenharmony_ci uint64_t reserved_4_7:4; 14618c2ecf20Sopenharmony_ci uint64_t undflw:2; 14628c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 14638c2ecf20Sopenharmony_ci uint64_t pko_nxa:1; 14648c2ecf20Sopenharmony_ci#else 14658c2ecf20Sopenharmony_ci uint64_t pko_nxa:1; 14668c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 14678c2ecf20Sopenharmony_ci uint64_t undflw:2; 14688c2ecf20Sopenharmony_ci uint64_t reserved_4_7:4; 14698c2ecf20Sopenharmony_ci uint64_t xscol:2; 14708c2ecf20Sopenharmony_ci uint64_t reserved_10_11:2; 14718c2ecf20Sopenharmony_ci uint64_t xsdef:2; 14728c2ecf20Sopenharmony_ci uint64_t reserved_14_15:2; 14738c2ecf20Sopenharmony_ci uint64_t late_col:2; 14748c2ecf20Sopenharmony_ci uint64_t reserved_18_19:2; 14758c2ecf20Sopenharmony_ci uint64_t ptp_lost:2; 14768c2ecf20Sopenharmony_ci uint64_t reserved_22_63:42; 14778c2ecf20Sopenharmony_ci#endif 14788c2ecf20Sopenharmony_ci } s; 14798c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_tx_int_en_cn52xx { 14808c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 14818c2ecf20Sopenharmony_ci uint64_t reserved_18_63:46; 14828c2ecf20Sopenharmony_ci uint64_t late_col:2; 14838c2ecf20Sopenharmony_ci uint64_t reserved_14_15:2; 14848c2ecf20Sopenharmony_ci uint64_t xsdef:2; 14858c2ecf20Sopenharmony_ci uint64_t reserved_10_11:2; 14868c2ecf20Sopenharmony_ci uint64_t xscol:2; 14878c2ecf20Sopenharmony_ci uint64_t reserved_4_7:4; 14888c2ecf20Sopenharmony_ci uint64_t undflw:2; 14898c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 14908c2ecf20Sopenharmony_ci uint64_t pko_nxa:1; 14918c2ecf20Sopenharmony_ci#else 14928c2ecf20Sopenharmony_ci uint64_t pko_nxa:1; 14938c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 14948c2ecf20Sopenharmony_ci uint64_t undflw:2; 14958c2ecf20Sopenharmony_ci uint64_t reserved_4_7:4; 14968c2ecf20Sopenharmony_ci uint64_t xscol:2; 14978c2ecf20Sopenharmony_ci uint64_t reserved_10_11:2; 14988c2ecf20Sopenharmony_ci uint64_t xsdef:2; 14998c2ecf20Sopenharmony_ci uint64_t reserved_14_15:2; 15008c2ecf20Sopenharmony_ci uint64_t late_col:2; 15018c2ecf20Sopenharmony_ci uint64_t reserved_18_63:46; 15028c2ecf20Sopenharmony_ci#endif 15038c2ecf20Sopenharmony_ci } cn52xx; 15048c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_tx_int_en_cn56xx { 15058c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 15068c2ecf20Sopenharmony_ci uint64_t reserved_17_63:47; 15078c2ecf20Sopenharmony_ci uint64_t late_col:1; 15088c2ecf20Sopenharmony_ci uint64_t reserved_13_15:3; 15098c2ecf20Sopenharmony_ci uint64_t xsdef:1; 15108c2ecf20Sopenharmony_ci uint64_t reserved_9_11:3; 15118c2ecf20Sopenharmony_ci uint64_t xscol:1; 15128c2ecf20Sopenharmony_ci uint64_t reserved_3_7:5; 15138c2ecf20Sopenharmony_ci uint64_t undflw:1; 15148c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 15158c2ecf20Sopenharmony_ci uint64_t pko_nxa:1; 15168c2ecf20Sopenharmony_ci#else 15178c2ecf20Sopenharmony_ci uint64_t pko_nxa:1; 15188c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 15198c2ecf20Sopenharmony_ci uint64_t undflw:1; 15208c2ecf20Sopenharmony_ci uint64_t reserved_3_7:5; 15218c2ecf20Sopenharmony_ci uint64_t xscol:1; 15228c2ecf20Sopenharmony_ci uint64_t reserved_9_11:3; 15238c2ecf20Sopenharmony_ci uint64_t xsdef:1; 15248c2ecf20Sopenharmony_ci uint64_t reserved_13_15:3; 15258c2ecf20Sopenharmony_ci uint64_t late_col:1; 15268c2ecf20Sopenharmony_ci uint64_t reserved_17_63:47; 15278c2ecf20Sopenharmony_ci#endif 15288c2ecf20Sopenharmony_ci } cn56xx; 15298c2ecf20Sopenharmony_ci}; 15308c2ecf20Sopenharmony_ci 15318c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_tx_int_reg { 15328c2ecf20Sopenharmony_ci uint64_t u64; 15338c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_tx_int_reg_s { 15348c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 15358c2ecf20Sopenharmony_ci uint64_t reserved_22_63:42; 15368c2ecf20Sopenharmony_ci uint64_t ptp_lost:2; 15378c2ecf20Sopenharmony_ci uint64_t reserved_18_19:2; 15388c2ecf20Sopenharmony_ci uint64_t late_col:2; 15398c2ecf20Sopenharmony_ci uint64_t reserved_14_15:2; 15408c2ecf20Sopenharmony_ci uint64_t xsdef:2; 15418c2ecf20Sopenharmony_ci uint64_t reserved_10_11:2; 15428c2ecf20Sopenharmony_ci uint64_t xscol:2; 15438c2ecf20Sopenharmony_ci uint64_t reserved_4_7:4; 15448c2ecf20Sopenharmony_ci uint64_t undflw:2; 15458c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 15468c2ecf20Sopenharmony_ci uint64_t pko_nxa:1; 15478c2ecf20Sopenharmony_ci#else 15488c2ecf20Sopenharmony_ci uint64_t pko_nxa:1; 15498c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 15508c2ecf20Sopenharmony_ci uint64_t undflw:2; 15518c2ecf20Sopenharmony_ci uint64_t reserved_4_7:4; 15528c2ecf20Sopenharmony_ci uint64_t xscol:2; 15538c2ecf20Sopenharmony_ci uint64_t reserved_10_11:2; 15548c2ecf20Sopenharmony_ci uint64_t xsdef:2; 15558c2ecf20Sopenharmony_ci uint64_t reserved_14_15:2; 15568c2ecf20Sopenharmony_ci uint64_t late_col:2; 15578c2ecf20Sopenharmony_ci uint64_t reserved_18_19:2; 15588c2ecf20Sopenharmony_ci uint64_t ptp_lost:2; 15598c2ecf20Sopenharmony_ci uint64_t reserved_22_63:42; 15608c2ecf20Sopenharmony_ci#endif 15618c2ecf20Sopenharmony_ci } s; 15628c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_tx_int_reg_cn52xx { 15638c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 15648c2ecf20Sopenharmony_ci uint64_t reserved_18_63:46; 15658c2ecf20Sopenharmony_ci uint64_t late_col:2; 15668c2ecf20Sopenharmony_ci uint64_t reserved_14_15:2; 15678c2ecf20Sopenharmony_ci uint64_t xsdef:2; 15688c2ecf20Sopenharmony_ci uint64_t reserved_10_11:2; 15698c2ecf20Sopenharmony_ci uint64_t xscol:2; 15708c2ecf20Sopenharmony_ci uint64_t reserved_4_7:4; 15718c2ecf20Sopenharmony_ci uint64_t undflw:2; 15728c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 15738c2ecf20Sopenharmony_ci uint64_t pko_nxa:1; 15748c2ecf20Sopenharmony_ci#else 15758c2ecf20Sopenharmony_ci uint64_t pko_nxa:1; 15768c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 15778c2ecf20Sopenharmony_ci uint64_t undflw:2; 15788c2ecf20Sopenharmony_ci uint64_t reserved_4_7:4; 15798c2ecf20Sopenharmony_ci uint64_t xscol:2; 15808c2ecf20Sopenharmony_ci uint64_t reserved_10_11:2; 15818c2ecf20Sopenharmony_ci uint64_t xsdef:2; 15828c2ecf20Sopenharmony_ci uint64_t reserved_14_15:2; 15838c2ecf20Sopenharmony_ci uint64_t late_col:2; 15848c2ecf20Sopenharmony_ci uint64_t reserved_18_63:46; 15858c2ecf20Sopenharmony_ci#endif 15868c2ecf20Sopenharmony_ci } cn52xx; 15878c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_tx_int_reg_cn56xx { 15888c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 15898c2ecf20Sopenharmony_ci uint64_t reserved_17_63:47; 15908c2ecf20Sopenharmony_ci uint64_t late_col:1; 15918c2ecf20Sopenharmony_ci uint64_t reserved_13_15:3; 15928c2ecf20Sopenharmony_ci uint64_t xsdef:1; 15938c2ecf20Sopenharmony_ci uint64_t reserved_9_11:3; 15948c2ecf20Sopenharmony_ci uint64_t xscol:1; 15958c2ecf20Sopenharmony_ci uint64_t reserved_3_7:5; 15968c2ecf20Sopenharmony_ci uint64_t undflw:1; 15978c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 15988c2ecf20Sopenharmony_ci uint64_t pko_nxa:1; 15998c2ecf20Sopenharmony_ci#else 16008c2ecf20Sopenharmony_ci uint64_t pko_nxa:1; 16018c2ecf20Sopenharmony_ci uint64_t reserved_1_1:1; 16028c2ecf20Sopenharmony_ci uint64_t undflw:1; 16038c2ecf20Sopenharmony_ci uint64_t reserved_3_7:5; 16048c2ecf20Sopenharmony_ci uint64_t xscol:1; 16058c2ecf20Sopenharmony_ci uint64_t reserved_9_11:3; 16068c2ecf20Sopenharmony_ci uint64_t xsdef:1; 16078c2ecf20Sopenharmony_ci uint64_t reserved_13_15:3; 16088c2ecf20Sopenharmony_ci uint64_t late_col:1; 16098c2ecf20Sopenharmony_ci uint64_t reserved_17_63:47; 16108c2ecf20Sopenharmony_ci#endif 16118c2ecf20Sopenharmony_ci } cn56xx; 16128c2ecf20Sopenharmony_ci}; 16138c2ecf20Sopenharmony_ci 16148c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_tx_jam { 16158c2ecf20Sopenharmony_ci uint64_t u64; 16168c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_tx_jam_s { 16178c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 16188c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 16198c2ecf20Sopenharmony_ci uint64_t jam:8; 16208c2ecf20Sopenharmony_ci#else 16218c2ecf20Sopenharmony_ci uint64_t jam:8; 16228c2ecf20Sopenharmony_ci uint64_t reserved_8_63:56; 16238c2ecf20Sopenharmony_ci#endif 16248c2ecf20Sopenharmony_ci } s; 16258c2ecf20Sopenharmony_ci}; 16268c2ecf20Sopenharmony_ci 16278c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_tx_lfsr { 16288c2ecf20Sopenharmony_ci uint64_t u64; 16298c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_tx_lfsr_s { 16308c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 16318c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 16328c2ecf20Sopenharmony_ci uint64_t lfsr:16; 16338c2ecf20Sopenharmony_ci#else 16348c2ecf20Sopenharmony_ci uint64_t lfsr:16; 16358c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 16368c2ecf20Sopenharmony_ci#endif 16378c2ecf20Sopenharmony_ci } s; 16388c2ecf20Sopenharmony_ci}; 16398c2ecf20Sopenharmony_ci 16408c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_tx_ovr_bp { 16418c2ecf20Sopenharmony_ci uint64_t u64; 16428c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_tx_ovr_bp_s { 16438c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 16448c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 16458c2ecf20Sopenharmony_ci uint64_t en:2; 16468c2ecf20Sopenharmony_ci uint64_t reserved_6_7:2; 16478c2ecf20Sopenharmony_ci uint64_t bp:2; 16488c2ecf20Sopenharmony_ci uint64_t reserved_2_3:2; 16498c2ecf20Sopenharmony_ci uint64_t ign_full:2; 16508c2ecf20Sopenharmony_ci#else 16518c2ecf20Sopenharmony_ci uint64_t ign_full:2; 16528c2ecf20Sopenharmony_ci uint64_t reserved_2_3:2; 16538c2ecf20Sopenharmony_ci uint64_t bp:2; 16548c2ecf20Sopenharmony_ci uint64_t reserved_6_7:2; 16558c2ecf20Sopenharmony_ci uint64_t en:2; 16568c2ecf20Sopenharmony_ci uint64_t reserved_10_63:54; 16578c2ecf20Sopenharmony_ci#endif 16588c2ecf20Sopenharmony_ci } s; 16598c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_tx_ovr_bp_cn56xx { 16608c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 16618c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 16628c2ecf20Sopenharmony_ci uint64_t en:1; 16638c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 16648c2ecf20Sopenharmony_ci uint64_t bp:1; 16658c2ecf20Sopenharmony_ci uint64_t reserved_1_3:3; 16668c2ecf20Sopenharmony_ci uint64_t ign_full:1; 16678c2ecf20Sopenharmony_ci#else 16688c2ecf20Sopenharmony_ci uint64_t ign_full:1; 16698c2ecf20Sopenharmony_ci uint64_t reserved_1_3:3; 16708c2ecf20Sopenharmony_ci uint64_t bp:1; 16718c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 16728c2ecf20Sopenharmony_ci uint64_t en:1; 16738c2ecf20Sopenharmony_ci uint64_t reserved_9_63:55; 16748c2ecf20Sopenharmony_ci#endif 16758c2ecf20Sopenharmony_ci } cn56xx; 16768c2ecf20Sopenharmony_ci}; 16778c2ecf20Sopenharmony_ci 16788c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_tx_pause_pkt_dmac { 16798c2ecf20Sopenharmony_ci uint64_t u64; 16808c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_tx_pause_pkt_dmac_s { 16818c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 16828c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 16838c2ecf20Sopenharmony_ci uint64_t dmac:48; 16848c2ecf20Sopenharmony_ci#else 16858c2ecf20Sopenharmony_ci uint64_t dmac:48; 16868c2ecf20Sopenharmony_ci uint64_t reserved_48_63:16; 16878c2ecf20Sopenharmony_ci#endif 16888c2ecf20Sopenharmony_ci } s; 16898c2ecf20Sopenharmony_ci}; 16908c2ecf20Sopenharmony_ci 16918c2ecf20Sopenharmony_ciunion cvmx_agl_gmx_tx_pause_pkt_type { 16928c2ecf20Sopenharmony_ci uint64_t u64; 16938c2ecf20Sopenharmony_ci struct cvmx_agl_gmx_tx_pause_pkt_type_s { 16948c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 16958c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 16968c2ecf20Sopenharmony_ci uint64_t type:16; 16978c2ecf20Sopenharmony_ci#else 16988c2ecf20Sopenharmony_ci uint64_t type:16; 16998c2ecf20Sopenharmony_ci uint64_t reserved_16_63:48; 17008c2ecf20Sopenharmony_ci#endif 17018c2ecf20Sopenharmony_ci } s; 17028c2ecf20Sopenharmony_ci}; 17038c2ecf20Sopenharmony_ci 17048c2ecf20Sopenharmony_ciunion cvmx_agl_prtx_ctl { 17058c2ecf20Sopenharmony_ci uint64_t u64; 17068c2ecf20Sopenharmony_ci struct cvmx_agl_prtx_ctl_s { 17078c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 17088c2ecf20Sopenharmony_ci uint64_t drv_byp:1; 17098c2ecf20Sopenharmony_ci uint64_t reserved_62_62:1; 17108c2ecf20Sopenharmony_ci uint64_t cmp_pctl:6; 17118c2ecf20Sopenharmony_ci uint64_t reserved_54_55:2; 17128c2ecf20Sopenharmony_ci uint64_t cmp_nctl:6; 17138c2ecf20Sopenharmony_ci uint64_t reserved_46_47:2; 17148c2ecf20Sopenharmony_ci uint64_t drv_pctl:6; 17158c2ecf20Sopenharmony_ci uint64_t reserved_38_39:2; 17168c2ecf20Sopenharmony_ci uint64_t drv_nctl:6; 17178c2ecf20Sopenharmony_ci uint64_t reserved_29_31:3; 17188c2ecf20Sopenharmony_ci uint64_t clk_set:5; 17198c2ecf20Sopenharmony_ci uint64_t clkrx_byp:1; 17208c2ecf20Sopenharmony_ci uint64_t reserved_21_22:2; 17218c2ecf20Sopenharmony_ci uint64_t clkrx_set:5; 17228c2ecf20Sopenharmony_ci uint64_t clktx_byp:1; 17238c2ecf20Sopenharmony_ci uint64_t reserved_13_14:2; 17248c2ecf20Sopenharmony_ci uint64_t clktx_set:5; 17258c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 17268c2ecf20Sopenharmony_ci uint64_t dllrst:1; 17278c2ecf20Sopenharmony_ci uint64_t comp:1; 17288c2ecf20Sopenharmony_ci uint64_t enable:1; 17298c2ecf20Sopenharmony_ci uint64_t clkrst:1; 17308c2ecf20Sopenharmony_ci uint64_t mode:1; 17318c2ecf20Sopenharmony_ci#else 17328c2ecf20Sopenharmony_ci uint64_t mode:1; 17338c2ecf20Sopenharmony_ci uint64_t clkrst:1; 17348c2ecf20Sopenharmony_ci uint64_t enable:1; 17358c2ecf20Sopenharmony_ci uint64_t comp:1; 17368c2ecf20Sopenharmony_ci uint64_t dllrst:1; 17378c2ecf20Sopenharmony_ci uint64_t reserved_5_7:3; 17388c2ecf20Sopenharmony_ci uint64_t clktx_set:5; 17398c2ecf20Sopenharmony_ci uint64_t reserved_13_14:2; 17408c2ecf20Sopenharmony_ci uint64_t clktx_byp:1; 17418c2ecf20Sopenharmony_ci uint64_t clkrx_set:5; 17428c2ecf20Sopenharmony_ci uint64_t reserved_21_22:2; 17438c2ecf20Sopenharmony_ci uint64_t clkrx_byp:1; 17448c2ecf20Sopenharmony_ci uint64_t clk_set:5; 17458c2ecf20Sopenharmony_ci uint64_t reserved_29_31:3; 17468c2ecf20Sopenharmony_ci uint64_t drv_nctl:6; 17478c2ecf20Sopenharmony_ci uint64_t reserved_38_39:2; 17488c2ecf20Sopenharmony_ci uint64_t drv_pctl:6; 17498c2ecf20Sopenharmony_ci uint64_t reserved_46_47:2; 17508c2ecf20Sopenharmony_ci uint64_t cmp_nctl:6; 17518c2ecf20Sopenharmony_ci uint64_t reserved_54_55:2; 17528c2ecf20Sopenharmony_ci uint64_t cmp_pctl:6; 17538c2ecf20Sopenharmony_ci uint64_t reserved_62_62:1; 17548c2ecf20Sopenharmony_ci uint64_t drv_byp:1; 17558c2ecf20Sopenharmony_ci#endif 17568c2ecf20Sopenharmony_ci } s; 17578c2ecf20Sopenharmony_ci}; 17588c2ecf20Sopenharmony_ci 17598c2ecf20Sopenharmony_ci#endif 1760