18c2ecf20Sopenharmony_ci/****************************************************************************** 28c2ecf20Sopenharmony_ci * This software may be used and distributed according to the terms of 38c2ecf20Sopenharmony_ci * the GNU General Public License (GPL), incorporated herein by reference. 48c2ecf20Sopenharmony_ci * Drivers based on or derived from this code fall under the GPL and must 58c2ecf20Sopenharmony_ci * retain the authorship, copyright and license notice. This file is not 68c2ecf20Sopenharmony_ci * a complete program and may only be used when the entire operating 78c2ecf20Sopenharmony_ci * system is licensed under the GPL. 88c2ecf20Sopenharmony_ci * See the file COPYING in this distribution for more information. 98c2ecf20Sopenharmony_ci * 108c2ecf20Sopenharmony_ci * vxge-reg.h: Driver for Exar Corp's X3100 Series 10GbE PCIe I/O Virtualized 118c2ecf20Sopenharmony_ci * Server Adapter. 128c2ecf20Sopenharmony_ci * Copyright(c) 2002-2010 Exar Corp. 138c2ecf20Sopenharmony_ci ******************************************************************************/ 148c2ecf20Sopenharmony_ci#ifndef VXGE_REG_H 158c2ecf20Sopenharmony_ci#define VXGE_REG_H 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci/* 188c2ecf20Sopenharmony_ci * vxge_mBIT(loc) - set bit at offset 198c2ecf20Sopenharmony_ci */ 208c2ecf20Sopenharmony_ci#define vxge_mBIT(loc) (0x8000000000000000ULL >> (loc)) 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci/* 238c2ecf20Sopenharmony_ci * vxge_vBIT(val, loc, sz) - set bits at offset 248c2ecf20Sopenharmony_ci */ 258c2ecf20Sopenharmony_ci#define vxge_vBIT(val, loc, sz) (((u64)(val)) << (64-(loc)-(sz))) 268c2ecf20Sopenharmony_ci#define vxge_vBIT32(val, loc, sz) (((u32)(val)) << (32-(loc)-(sz))) 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci/* 298c2ecf20Sopenharmony_ci * vxge_bVALn(bits, loc, n) - Get the value of n bits at location 308c2ecf20Sopenharmony_ci */ 318c2ecf20Sopenharmony_ci#define vxge_bVALn(bits, loc, n) \ 328c2ecf20Sopenharmony_ci ((((u64)bits) >> (64-(loc+n))) & ((0x1ULL << n) - 1)) 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci#define VXGE_HW_TITAN_ASIC_ID_GET_INITIAL_DEVICE_ID(bits) \ 358c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 16) 368c2ecf20Sopenharmony_ci#define VXGE_HW_TITAN_ASIC_ID_GET_INITIAL_MAJOR_REVISION(bits) \ 378c2ecf20Sopenharmony_ci vxge_bVALn(bits, 48, 8) 388c2ecf20Sopenharmony_ci#define VXGE_HW_TITAN_ASIC_ID_GET_INITIAL_MINOR_REVISION(bits) \ 398c2ecf20Sopenharmony_ci vxge_bVALn(bits, 56, 8) 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_TO_FUNC_MAP_CFG1_GET_VPATH_TO_FUNC_MAP_CFG1(bits) \ 428c2ecf20Sopenharmony_ci vxge_bVALn(bits, 3, 5) 438c2ecf20Sopenharmony_ci#define VXGE_HW_HOST_TYPE_ASSIGNMENTS_GET_HOST_TYPE_ASSIGNMENTS(bits) \ 448c2ecf20Sopenharmony_ci vxge_bVALn(bits, 5, 3) 458c2ecf20Sopenharmony_ci#define VXGE_HW_PF_SW_RESET_COMMAND 0xA5 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ci#define VXGE_HW_TITAN_PCICFGMGMT_REG_SPACES 17 488c2ecf20Sopenharmony_ci#define VXGE_HW_TITAN_SRPCIM_REG_SPACES 17 498c2ecf20Sopenharmony_ci#define VXGE_HW_TITAN_VPMGMT_REG_SPACES 17 508c2ecf20Sopenharmony_ci#define VXGE_HW_TITAN_VPATH_REG_SPACES 17 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ci#define VXGE_HW_FW_API_GET_EPROM_REV 31 538c2ecf20Sopenharmony_ci 548c2ecf20Sopenharmony_ci#define VXGE_EPROM_IMG_MAJOR(val) (u32) vxge_bVALn(val, 48, 4) 558c2ecf20Sopenharmony_ci#define VXGE_EPROM_IMG_MINOR(val) (u32) vxge_bVALn(val, 52, 4) 568c2ecf20Sopenharmony_ci#define VXGE_EPROM_IMG_FIX(val) (u32) vxge_bVALn(val, 56, 4) 578c2ecf20Sopenharmony_ci#define VXGE_EPROM_IMG_BUILD(val) (u32) vxge_bVALn(val, 60, 4) 588c2ecf20Sopenharmony_ci 598c2ecf20Sopenharmony_ci#define VXGE_HW_GET_EPROM_IMAGE_INDEX(val) vxge_bVALn(val, 16, 8) 608c2ecf20Sopenharmony_ci#define VXGE_HW_GET_EPROM_IMAGE_VALID(val) vxge_bVALn(val, 31, 1) 618c2ecf20Sopenharmony_ci#define VXGE_HW_GET_EPROM_IMAGE_TYPE(val) vxge_bVALn(val, 40, 8) 628c2ecf20Sopenharmony_ci#define VXGE_HW_GET_EPROM_IMAGE_REV(val) vxge_bVALn(val, 48, 16) 638c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_ROM_IMAGE_INDEX(val) vxge_vBIT(val, 16, 8) 648c2ecf20Sopenharmony_ci 658c2ecf20Sopenharmony_ci#define VXGE_HW_FW_API_GET_FUNC_MODE 29 668c2ecf20Sopenharmony_ci#define VXGE_HW_GET_FUNC_MODE_VAL(val) (val & 0xFF) 678c2ecf20Sopenharmony_ci 688c2ecf20Sopenharmony_ci#define VXGE_HW_FW_UPGRADE_MEMO 13 698c2ecf20Sopenharmony_ci#define VXGE_HW_FW_UPGRADE_ACTION 16 708c2ecf20Sopenharmony_ci#define VXGE_HW_FW_UPGRADE_OFFSET_START 2 718c2ecf20Sopenharmony_ci#define VXGE_HW_FW_UPGRADE_OFFSET_SEND 3 728c2ecf20Sopenharmony_ci#define VXGE_HW_FW_UPGRADE_OFFSET_COMMIT 4 738c2ecf20Sopenharmony_ci#define VXGE_HW_FW_UPGRADE_OFFSET_READ 5 748c2ecf20Sopenharmony_ci 758c2ecf20Sopenharmony_ci#define VXGE_HW_FW_UPGRADE_BLK_SIZE 16 768c2ecf20Sopenharmony_ci#define VXGE_HW_UPGRADE_GET_RET_ERR_CODE(val) (val & 0xff) 778c2ecf20Sopenharmony_ci#define VXGE_HW_UPGRADE_GET_SEC_ERR_CODE(val) ((val >> 8) & 0xff) 788c2ecf20Sopenharmony_ci 798c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_MODE_RESERVED 0 808c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_MODE_NO_IOV 1 818c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_MODE_SR_IOV 2 828c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_MODE_MR_IOV 3 838c2ecf20Sopenharmony_ci 848c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_GEN_CFG1_TMAC_PERMA_STOP_EN vxge_mBIT(3) 858c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_GEN_CFG1_BLOCK_BCAST_TO_WIRE vxge_mBIT(19) 868c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_GEN_CFG1_BLOCK_BCAST_TO_SWITCH vxge_mBIT(23) 878c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_GEN_CFG1_HOST_APPEND_FCS vxge_mBIT(31) 888c2ecf20Sopenharmony_ci 898c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_IS_FIRST_GET_VPATH_IS_FIRST(bits) vxge_bVALn(bits, 3, 1) 908c2ecf20Sopenharmony_ci 918c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_VPATH_ASSIGNMENT_GET_BMAP_ROOT(bits) \ 928c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 32) 938c2ecf20Sopenharmony_ci 948c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_VPMGMT_CLONE_GET_MAX_PYLD_LEN(bits) \ 958c2ecf20Sopenharmony_ci vxge_bVALn(bits, 50, 14) 968c2ecf20Sopenharmony_ci 978c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_VSPORT_CHOICES_VP_GET_VSPORT_VECTOR(bits) \ 988c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 17) 998c2ecf20Sopenharmony_ci 1008c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_VPATH_TO_VSPORT_VPMGMT_CLONE_GET_VSPORT_NUMBER(bits) \ 1018c2ecf20Sopenharmony_ci vxge_bVALn(bits, 3, 5) 1028c2ecf20Sopenharmony_ci 1038c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_DRBL_TRIPLET_TOTAL_GET_KDFC_MAX_SIZE(bits) \ 1048c2ecf20Sopenharmony_ci vxge_bVALn(bits, 17, 15) 1058c2ecf20Sopenharmony_ci 1068c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_0_CTRL_MODE_LEGACY_MODE 0 1078c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_0_CTRL_MODE_NON_OFFLOAD_ONLY 1 1088c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_0_CTRL_MODE_MULTI_OP_MODE 2 1098c2ecf20Sopenharmony_ci 1108c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_1_CTRL_MODE_MESSAGES_ONLY 0 1118c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_1_CTRL_MODE_MULTI_OP_MODE 1 1128c2ecf20Sopenharmony_ci 1138c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_GET_KDFC_INITIAL_OFFSET(val) \ 1148c2ecf20Sopenharmony_ci (val&~VXGE_HW_TOC_KDFC_INITIAL_BIR(7)) 1158c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_GET_KDFC_INITIAL_BIR(val) \ 1168c2ecf20Sopenharmony_ci vxge_bVALn(val, 61, 3) 1178c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_GET_USDC_INITIAL_OFFSET(val) \ 1188c2ecf20Sopenharmony_ci (val&~VXGE_HW_TOC_USDC_INITIAL_BIR(7)) 1198c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_GET_USDC_INITIAL_BIR(val) \ 1208c2ecf20Sopenharmony_ci vxge_bVALn(val, 61, 3) 1218c2ecf20Sopenharmony_ci 1228c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_KDFC_VPATH_STRIDE_GET_TOC_KDFC_VPATH_STRIDE(bits) bits 1238c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_KDFC_FIFO_STRIDE_GET_TOC_KDFC_FIFO_STRIDE(bits) bits 1248c2ecf20Sopenharmony_ci 1258c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_OFFSET_GET_KDFC_RCTR0(bits) \ 1268c2ecf20Sopenharmony_ci vxge_bVALn(bits, 1, 15) 1278c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_OFFSET_GET_KDFC_RCTR1(bits) \ 1288c2ecf20Sopenharmony_ci vxge_bVALn(bits, 17, 15) 1298c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_OFFSET_GET_KDFC_RCTR2(bits) \ 1308c2ecf20Sopenharmony_ci vxge_bVALn(bits, 33, 15) 1318c2ecf20Sopenharmony_ci 1328c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_OFFSET_KDFC_VAPTH_NUM(val) vxge_vBIT(val, 42, 5) 1338c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_OFFSET_KDFC_FIFO_NUM(val) vxge_vBIT(val, 47, 2) 1348c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_OFFSET_KDFC_FIFO_OFFSET(val) \ 1358c2ecf20Sopenharmony_ci vxge_vBIT(val, 49, 15) 1368c2ecf20Sopenharmony_ci 1378c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG4_RING_MODE_ONE_BUFFER 0 1388c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG4_RING_MODE_THREE_BUFFER 1 1398c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG4_RING_MODE_FIVE_BUFFER 2 1408c2ecf20Sopenharmony_ci 1418c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG7_SCATTER_MODE_A 0 1428c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG7_SCATTER_MODE_B 2 1438c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG7_SCATTER_MODE_C 1 1448c2ecf20Sopenharmony_ci 1458c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_CTRL_WE_READ 0 1468c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_CTRL_WE_WRITE 1 1478c2ecf20Sopenharmony_ci 1488c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_CTRL_DATA_STRUCT_SEL_DA 0 1498c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_CTRL_DATA_STRUCT_SEL_VID 1 1508c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_CTRL_DATA_STRUCT_SEL_ETYPE 2 1518c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_CTRL_DATA_STRUCT_SEL_PN 3 1528c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_CTRL_DATA_STRUCT_SEL_RANGE_PN 4 1538c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_CTRL_DATA_STRUCT_SEL_RTH_GEN_CFG 5 1548c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_CTRL_DATA_STRUCT_SEL_RTH_SOLO_IT 6 1558c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_CTRL_DATA_STRUCT_SEL_RTH_JHASH_CFG 7 1568c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_CTRL_DATA_STRUCT_SEL_RTH_MASK 8 1578c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_CTRL_DATA_STRUCT_SEL_RTH_KEY 9 1588c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_CTRL_DATA_STRUCT_SEL_QOS 10 1598c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_CTRL_DATA_STRUCT_SEL_DS 11 1608c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_CTRL_DATA_STRUCT_SEL_RTH_MULTI_IT 12 1618c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_CTRL_DATA_STRUCT_SEL_FW_VERSION 13 1628c2ecf20Sopenharmony_ci 1638c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_DATA0_GET_DA_MAC_ADDR(bits) \ 1648c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 48) 1658c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_DATA0_DA_MAC_ADDR(val) vxge_vBIT(val, 0, 48) 1668c2ecf20Sopenharmony_ci 1678c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_DATA1_GET_DA_MAC_ADDR_MASK(bits) \ 1688c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 48) 1698c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_DATA1_DA_MAC_ADDR_MASK(val) vxge_vBIT(val, 0, 48) 1708c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_DATA1_DA_MAC_ADDR_ADD_PRIVILEGED_MODE \ 1718c2ecf20Sopenharmony_ci vxge_mBIT(54) 1728c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_DATA1_GET_DA_MAC_ADDR_ADD_VPATH(bits) \ 1738c2ecf20Sopenharmony_ci vxge_bVALn(bits, 55, 5) 1748c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_DATA1_DA_MAC_ADDR_ADD_VPATH(val) \ 1758c2ecf20Sopenharmony_ci vxge_vBIT(val, 55, 5) 1768c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_DATA1_GET_DA_MAC_ADDR_ADD_MODE(bits) \ 1778c2ecf20Sopenharmony_ci vxge_bVALn(bits, 62, 2) 1788c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_STEER_DATA1_DA_MAC_ADDR_MODE(val) vxge_vBIT(val, 62, 2) 1798c2ecf20Sopenharmony_ci 1808c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION_ADD_ENTRY 0 1818c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION_DELETE_ENTRY 1 1828c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION_LIST_FIRST_ENTRY 2 1838c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION_LIST_NEXT_ENTRY 3 1848c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION_READ_ENTRY 0 1858c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION_WRITE_ENTRY 1 1868c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION_READ_MEMO_ENTRY 3 1878c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION_LED_CONTROL 4 1888c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION_ALL_CLEAR 172 1898c2ecf20Sopenharmony_ci 1908c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_DA 0 1918c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_VID 1 1928c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_ETYPE 2 1938c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_PN 3 1948c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_RTH_GEN_CFG 5 1958c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACS_STEER_CTRL_DATA_STRUCT_SEL_RTH_SOLO_IT 6 1968c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_RTH_JHASH_CFG 7 1978c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_RTH_MASK 8 1988c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_RTH_KEY 9 1998c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_QOS 10 2008c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_DS 11 2018c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACS_STEER_CTRL_DATA_STRUCT_SEL_RTH_MULTI_IT 12 2028c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_FW_MEMO 13 2038c2ecf20Sopenharmony_ci 2048c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_DA_MAC_ADDR(bits) \ 2058c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 48) 2068c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_DA_MAC_ADDR(val) vxge_vBIT(val, 0, 48) 2078c2ecf20Sopenharmony_ci 2088c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_VLAN_ID(bits) vxge_bVALn(bits, 0, 12) 2098c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_VLAN_ID(val) vxge_vBIT(val, 0, 12) 2108c2ecf20Sopenharmony_ci 2118c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_ETYPE(bits) vxge_bVALn(bits, 0, 11) 2128c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_ETYPE(val) vxge_vBIT(val, 0, 16) 2138c2ecf20Sopenharmony_ci 2148c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_PN_SRC_DEST_SEL(bits) \ 2158c2ecf20Sopenharmony_ci vxge_bVALn(bits, 3, 1) 2168c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_PN_SRC_DEST_SEL vxge_mBIT(3) 2178c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_PN_TCP_UDP_SEL(bits) \ 2188c2ecf20Sopenharmony_ci vxge_bVALn(bits, 7, 1) 2198c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_PN_TCP_UDP_SEL vxge_mBIT(7) 2208c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_PN_PORT_NUM(bits) \ 2218c2ecf20Sopenharmony_ci vxge_bVALn(bits, 8, 16) 2228c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_PN_PORT_NUM(val) vxge_vBIT(val, 8, 16) 2238c2ecf20Sopenharmony_ci 2248c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_RTH_EN(bits) \ 2258c2ecf20Sopenharmony_ci vxge_bVALn(bits, 3, 1) 2268c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_RTH_EN vxge_mBIT(3) 2278c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_BUCKET_SIZE(bits) \ 2288c2ecf20Sopenharmony_ci vxge_bVALn(bits, 4, 4) 2298c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_BUCKET_SIZE(val) \ 2308c2ecf20Sopenharmony_ci vxge_vBIT(val, 4, 4) 2318c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_ALG_SEL(bits) \ 2328c2ecf20Sopenharmony_ci vxge_bVALn(bits, 10, 2) 2338c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_ALG_SEL(val) \ 2348c2ecf20Sopenharmony_ci vxge_vBIT(val, 10, 2) 2358c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_ALG_SEL_JENKINS 0 2368c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_ALG_SEL_MS_RSS 1 2378c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_ALG_SEL_CRC32C 2 2388c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_RTH_TCP_IPV4_EN(bits) \ 2398c2ecf20Sopenharmony_ci vxge_bVALn(bits, 15, 1) 2408c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_RTH_TCP_IPV4_EN vxge_mBIT(15) 2418c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_RTH_IPV4_EN(bits) \ 2428c2ecf20Sopenharmony_ci vxge_bVALn(bits, 19, 1) 2438c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_RTH_IPV4_EN vxge_mBIT(19) 2448c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_RTH_TCP_IPV6_EN(bits) \ 2458c2ecf20Sopenharmony_ci vxge_bVALn(bits, 23, 1) 2468c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_RTH_TCP_IPV6_EN vxge_mBIT(23) 2478c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_RTH_IPV6_EN(bits) \ 2488c2ecf20Sopenharmony_ci vxge_bVALn(bits, 27, 1) 2498c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_RTH_IPV6_EN vxge_mBIT(27) 2508c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_RTH_TCP_IPV6_EX_EN(bits) \ 2518c2ecf20Sopenharmony_ci vxge_bVALn(bits, 31, 1) 2528c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_RTH_TCP_IPV6_EX_EN vxge_mBIT(31) 2538c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_RTH_IPV6_EX_EN(bits) \ 2548c2ecf20Sopenharmony_ci vxge_bVALn(bits, 35, 1) 2558c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_RTH_IPV6_EX_EN vxge_mBIT(35) 2568c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_ACTIVE_TABLE(bits) \ 2578c2ecf20Sopenharmony_ci vxge_bVALn(bits, 39, 1) 2588c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_ACTIVE_TABLE vxge_mBIT(39) 2598c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_REPL_ENTRY_EN(bits) \ 2608c2ecf20Sopenharmony_ci vxge_bVALn(bits, 43, 1) 2618c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_REPL_ENTRY_EN vxge_mBIT(43) 2628c2ecf20Sopenharmony_ci 2638c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_SOLO_IT_ENTRY_EN(bits) \ 2648c2ecf20Sopenharmony_ci vxge_bVALn(bits, 3, 1) 2658c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_SOLO_IT_ENTRY_EN vxge_mBIT(3) 2668c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_SOLO_IT_BUCKET_DATA(bits) \ 2678c2ecf20Sopenharmony_ci vxge_bVALn(bits, 9, 7) 2688c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_SOLO_IT_BUCKET_DATA(val) \ 2698c2ecf20Sopenharmony_ci vxge_vBIT(val, 9, 7) 2708c2ecf20Sopenharmony_ci 2718c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_ITEM0_BUCKET_NUM(bits) \ 2728c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 8) 2738c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_ITEM0_BUCKET_NUM(val) \ 2748c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 8) 2758c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_ITEM0_ENTRY_EN(bits) \ 2768c2ecf20Sopenharmony_ci vxge_bVALn(bits, 8, 1) 2778c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_ITEM0_ENTRY_EN vxge_mBIT(8) 2788c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_ITEM0_BUCKET_DATA(bits) \ 2798c2ecf20Sopenharmony_ci vxge_bVALn(bits, 9, 7) 2808c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_ITEM0_BUCKET_DATA(val) \ 2818c2ecf20Sopenharmony_ci vxge_vBIT(val, 9, 7) 2828c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_ITEM1_BUCKET_NUM(bits) \ 2838c2ecf20Sopenharmony_ci vxge_bVALn(bits, 16, 8) 2848c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_ITEM1_BUCKET_NUM(val) \ 2858c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 8) 2868c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_ITEM1_ENTRY_EN(bits) \ 2878c2ecf20Sopenharmony_ci vxge_bVALn(bits, 24, 1) 2888c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_ITEM1_ENTRY_EN vxge_mBIT(24) 2898c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_ITEM1_BUCKET_DATA(bits) \ 2908c2ecf20Sopenharmony_ci vxge_bVALn(bits, 25, 7) 2918c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_ITEM1_BUCKET_DATA(val) \ 2928c2ecf20Sopenharmony_ci vxge_vBIT(val, 25, 7) 2938c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM0_BUCKET_NUM(bits) \ 2948c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 8) 2958c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM0_BUCKET_NUM(val) \ 2968c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 8) 2978c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM0_ENTRY_EN(bits) \ 2988c2ecf20Sopenharmony_ci vxge_bVALn(bits, 8, 1) 2998c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM0_ENTRY_EN vxge_mBIT(8) 3008c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM0_BUCKET_DATA(bits) \ 3018c2ecf20Sopenharmony_ci vxge_bVALn(bits, 9, 7) 3028c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM0_BUCKET_DATA(val) \ 3038c2ecf20Sopenharmony_ci vxge_vBIT(val, 9, 7) 3048c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM1_BUCKET_NUM(bits) \ 3058c2ecf20Sopenharmony_ci vxge_bVALn(bits, 16, 8) 3068c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM1_BUCKET_NUM(val) \ 3078c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 8) 3088c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM1_ENTRY_EN(bits) \ 3098c2ecf20Sopenharmony_ci vxge_bVALn(bits, 24, 1) 3108c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM1_ENTRY_EN vxge_mBIT(24) 3118c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM1_BUCKET_DATA(bits) \ 3128c2ecf20Sopenharmony_ci vxge_bVALn(bits, 25, 7) 3138c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM1_BUCKET_DATA(val) \ 3148c2ecf20Sopenharmony_ci vxge_vBIT(val, 25, 7) 3158c2ecf20Sopenharmony_ci 3168c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_JHASH_CFG_GOLDEN_RATIO(bits) \ 3178c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 32) 3188c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_JHASH_CFG_GOLDEN_RATIO(val) \ 3198c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 32) 3208c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_JHASH_CFG_INIT_VALUE(bits) \ 3218c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 32) 3228c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_JHASH_CFG_INIT_VALUE(val) \ 3238c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 32) 3248c2ecf20Sopenharmony_ci 3258c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_MASK_IPV6_SA_MASK(bits) \ 3268c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 16) 3278c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_MASK_IPV6_SA_MASK(val) \ 3288c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 16) 3298c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_MASK_IPV6_DA_MASK(bits) \ 3308c2ecf20Sopenharmony_ci vxge_bVALn(bits, 16, 16) 3318c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_MASK_IPV6_DA_MASK(val) \ 3328c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 16) 3338c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_MASK_IPV4_SA_MASK(bits) \ 3348c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 4) 3358c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_MASK_IPV4_SA_MASK(val) \ 3368c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 4) 3378c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_MASK_IPV4_DA_MASK(bits) \ 3388c2ecf20Sopenharmony_ci vxge_bVALn(bits, 36, 4) 3398c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_MASK_IPV4_DA_MASK(val) \ 3408c2ecf20Sopenharmony_ci vxge_vBIT(val, 36, 4) 3418c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_MASK_L4SP_MASK(bits) \ 3428c2ecf20Sopenharmony_ci vxge_bVALn(bits, 40, 2) 3438c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_MASK_L4SP_MASK(val) \ 3448c2ecf20Sopenharmony_ci vxge_vBIT(val, 40, 2) 3458c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_MASK_L4DP_MASK(bits) \ 3468c2ecf20Sopenharmony_ci vxge_bVALn(bits, 42, 2) 3478c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_MASK_L4DP_MASK(val) \ 3488c2ecf20Sopenharmony_ci vxge_vBIT(val, 42, 2) 3498c2ecf20Sopenharmony_ci 3508c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_KEY_KEY(bits) \ 3518c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 64) 3528c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_KEY_KEY vxge_vBIT(val, 0, 64) 3538c2ecf20Sopenharmony_ci 3548c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_QOS_ENTRY_EN(bits) \ 3558c2ecf20Sopenharmony_ci vxge_bVALn(bits, 3, 1) 3568c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_QOS_ENTRY_EN vxge_mBIT(3) 3578c2ecf20Sopenharmony_ci 3588c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_DS_ENTRY_EN(bits) \ 3598c2ecf20Sopenharmony_ci vxge_bVALn(bits, 3, 1) 3608c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_DS_ENTRY_EN vxge_mBIT(3) 3618c2ecf20Sopenharmony_ci 3628c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_DA_MAC_ADDR_MASK(bits) \ 3638c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 48) 3648c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_DA_MAC_ADDR_MASK(val) \ 3658c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 48) 3668c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_DA_MAC_ADDR_MODE(val) \ 3678c2ecf20Sopenharmony_ci vxge_vBIT(val, 62, 2) 3688c2ecf20Sopenharmony_ci 3698c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM4_BUCKET_NUM(bits) \ 3708c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 8) 3718c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM4_BUCKET_NUM(val) \ 3728c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 8) 3738c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM4_ENTRY_EN(bits) \ 3748c2ecf20Sopenharmony_ci vxge_bVALn(bits, 8, 1) 3758c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM4_ENTRY_EN vxge_mBIT(8) 3768c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM4_BUCKET_DATA(bits) \ 3778c2ecf20Sopenharmony_ci vxge_bVALn(bits, 9, 7) 3788c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM4_BUCKET_DATA(val) \ 3798c2ecf20Sopenharmony_ci vxge_vBIT(val, 9, 7) 3808c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM5_BUCKET_NUM(bits) \ 3818c2ecf20Sopenharmony_ci vxge_bVALn(bits, 16, 8) 3828c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM5_BUCKET_NUM(val) \ 3838c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 8) 3848c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM5_ENTRY_EN(bits) \ 3858c2ecf20Sopenharmony_ci vxge_bVALn(bits, 24, 1) 3868c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM5_ENTRY_EN vxge_mBIT(24) 3878c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM5_BUCKET_DATA(bits) \ 3888c2ecf20Sopenharmony_ci vxge_bVALn(bits, 25, 7) 3898c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM5_BUCKET_DATA(val) \ 3908c2ecf20Sopenharmony_ci vxge_vBIT(val, 25, 7) 3918c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM6_BUCKET_NUM(bits) \ 3928c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 8) 3938c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM6_BUCKET_NUM(val) \ 3948c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 8) 3958c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM6_ENTRY_EN(bits) \ 3968c2ecf20Sopenharmony_ci vxge_bVALn(bits, 40, 1) 3978c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM6_ENTRY_EN vxge_mBIT(40) 3988c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM6_BUCKET_DATA(bits) \ 3998c2ecf20Sopenharmony_ci vxge_bVALn(bits, 41, 7) 4008c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM6_BUCKET_DATA(val) \ 4018c2ecf20Sopenharmony_ci vxge_vBIT(val, 41, 7) 4028c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM7_BUCKET_NUM(bits) \ 4038c2ecf20Sopenharmony_ci vxge_bVALn(bits, 48, 8) 4048c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM7_BUCKET_NUM(val) \ 4058c2ecf20Sopenharmony_ci vxge_vBIT(val, 48, 8) 4068c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM7_ENTRY_EN(bits) \ 4078c2ecf20Sopenharmony_ci vxge_bVALn(bits, 56, 1) 4088c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM7_ENTRY_EN vxge_mBIT(56) 4098c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM7_BUCKET_DATA(bits) \ 4108c2ecf20Sopenharmony_ci vxge_bVALn(bits, 57, 7) 4118c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_RTH_ITEM7_BUCKET_DATA(val) \ 4128c2ecf20Sopenharmony_ci vxge_vBIT(val, 57, 7) 4138c2ecf20Sopenharmony_ci 4148c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_MEMO_ITEM_PART_NUMBER 0 4158c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_MEMO_ITEM_SERIAL_NUMBER 1 4168c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_MEMO_ITEM_VERSION 2 4178c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_MEMO_ITEM_PCI_MODE 3 4188c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_MEMO_ITEM_DESC_0 4 4198c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_MEMO_ITEM_DESC_1 5 4208c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_MEMO_ITEM_DESC_2 6 4218c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_MEMO_ITEM_DESC_3 7 4228c2ecf20Sopenharmony_ci 4238c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_LED_CONTROL_ON 1 4248c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_LED_CONTROL_OFF 0 4258c2ecf20Sopenharmony_ci 4268c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_DAY(bits) \ 4278c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 8) 4288c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_FW_VER_DAY(val) vxge_vBIT(val, 0, 8) 4298c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_MONTH(bits) \ 4308c2ecf20Sopenharmony_ci vxge_bVALn(bits, 8, 8) 4318c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_FW_VER_MONTH(val) vxge_vBIT(val, 8, 8) 4328c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_YEAR(bits) \ 4338c2ecf20Sopenharmony_ci vxge_bVALn(bits, 16, 16) 4348c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_FW_VER_YEAR(val) \ 4358c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 16) 4368c2ecf20Sopenharmony_ci 4378c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_MAJOR(bits) \ 4388c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 8) 4398c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_FW_VER_MAJOR vxge_vBIT(val, 32, 8) 4408c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_MINOR(bits) \ 4418c2ecf20Sopenharmony_ci vxge_bVALn(bits, 40, 8) 4428c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_FW_VER_MINOR vxge_vBIT(val, 40, 8) 4438c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_BUILD(bits) \ 4448c2ecf20Sopenharmony_ci vxge_bVALn(bits, 48, 16) 4458c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_FW_VER_BUILD vxge_vBIT(val, 48, 16) 4468c2ecf20Sopenharmony_ci 4478c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_FLASH_VER_DAY(bits) \ 4488c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 8) 4498c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_FLASH_VER_DAY(val) vxge_vBIT(val, 0, 8) 4508c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_FLASH_VER_MONTH(bits) \ 4518c2ecf20Sopenharmony_ci vxge_bVALn(bits, 8, 8) 4528c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_FLASH_VER_MONTH(val) vxge_vBIT(val, 8, 8) 4538c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_FLASH_VER_YEAR(bits) \ 4548c2ecf20Sopenharmony_ci vxge_bVALn(bits, 16, 16) 4558c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_FLASH_VER_YEAR(val) \ 4568c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 16) 4578c2ecf20Sopenharmony_ci 4588c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_FLASH_VER_MAJOR(bits) \ 4598c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 8) 4608c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_FLASH_VER_MAJOR vxge_vBIT(val, 32, 8) 4618c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_FLASH_VER_MINOR(bits) \ 4628c2ecf20Sopenharmony_ci vxge_bVALn(bits, 40, 8) 4638c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_FLASH_VER_MINOR vxge_vBIT(val, 40, 8) 4648c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_FLASH_VER_BUILD(bits) \ 4658c2ecf20Sopenharmony_ci vxge_bVALn(bits, 48, 16) 4668c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_FLASH_VER_BUILD vxge_vBIT(val, 48, 16) 4678c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_GET_ACTION(bits) vxge_bVALn(bits, 0, 8) 4688c2ecf20Sopenharmony_ci 4698c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_TO_VPATH_ALARM_REG_GET_PPIF_SRPCIM_TO_VPATH_ALARM(bits)\ 4708c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 18) 4718c2ecf20Sopenharmony_ci 4728c2ecf20Sopenharmony_ci#define VXGE_HW_RX_MULTI_CAST_STATS_GET_FRAME_DISCARD(bits) \ 4738c2ecf20Sopenharmony_ci vxge_bVALn(bits, 48, 16) 4748c2ecf20Sopenharmony_ci#define VXGE_HW_RX_FRM_TRANSFERRED_GET_RX_FRM_TRANSFERRED(bits) \ 4758c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 32) 4768c2ecf20Sopenharmony_ci#define VXGE_HW_RXD_RETURNED_GET_RXD_RETURNED(bits) vxge_bVALn(bits, 48, 16) 4778c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_DEBUG_STATS0_GET_INI_NUM_MWR_SENT(bits) \ 4788c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 32) 4798c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_DEBUG_STATS1_GET_INI_NUM_MRD_SENT(bits) \ 4808c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 32) 4818c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_DEBUG_STATS2_GET_INI_NUM_CPL_RCVD(bits) \ 4828c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 32) 4838c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_DEBUG_STATS3_GET_INI_NUM_MWR_BYTE_SENT(bits) (bits) 4848c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_DEBUG_STATS4_GET_INI_NUM_CPL_BYTE_RCVD(bits) (bits) 4858c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_DEBUG_STATS5_GET_WRCRDTARB_XOFF(bits) \ 4868c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 32) 4878c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_DEBUG_STATS6_GET_RDCRDTARB_XOFF(bits) \ 4888c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 32) 4898c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENSTATS_COUNT01_GET_PPIF_VPATH_GENSTATS_COUNT1(bits) \ 4908c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 32) 4918c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENSTATS_COUNT01_GET_PPIF_VPATH_GENSTATS_COUNT0(bits) \ 4928c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 32) 4938c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENSTATS_COUNT23_GET_PPIF_VPATH_GENSTATS_COUNT3(bits) \ 4948c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 32) 4958c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENSTATS_COUNT23_GET_PPIF_VPATH_GENSTATS_COUNT2(bits) \ 4968c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 32) 4978c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENSTATS_COUNT4_GET_PPIF_VPATH_GENSTATS_COUNT4(bits) \ 4988c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 32) 4998c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENSTATS_COUNT5_GET_PPIF_VPATH_GENSTATS_COUNT5(bits) \ 5008c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 32) 5018c2ecf20Sopenharmony_ci#define VXGE_HW_TX_VP_RESET_DISCARDED_FRMS_GET_TX_VP_RESET_DISCARDED_FRMS(bits\ 5028c2ecf20Sopenharmony_ci) vxge_bVALn(bits, 48, 16) 5038c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STATS_GET_RX_MPA_CRC_FAIL_FRMS(bits) vxge_bVALn(bits, 0, 16) 5048c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STATS_GET_RX_MPA_MRK_FAIL_FRMS(bits) \ 5058c2ecf20Sopenharmony_ci vxge_bVALn(bits, 16, 16) 5068c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STATS_GET_RX_MPA_LEN_FAIL_FRMS(bits) \ 5078c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 16) 5088c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STATS_GET_RX_FAU_RX_WOL_FRMS(bits) vxge_bVALn(bits, 0, 16) 5098c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STATS_GET_RX_FAU_RX_VP_RESET_DISCARDED_FRMS(bits) \ 5108c2ecf20Sopenharmony_ci vxge_bVALn(bits, 16, 16) 5118c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STATS_GET_RX_FAU_RX_PERMITTED_FRMS(bits) \ 5128c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 16) 5138c2ecf20Sopenharmony_ci 5148c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_DEBUG_STATS0_GET_INI_WR_DROP(bits) \ 5158c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 32) 5168c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_DEBUG_STATS0_GET_INI_RD_DROP(bits) \ 5178c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 32) 5188c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_DEBUG_STATS1_GET_VPLANE_WRCRDTARB_PH_CRDT_DEPLETED(bits\ 5198c2ecf20Sopenharmony_ci) vxge_bVALn(bits, 32, 32) 5208c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_DEBUG_STATS2_GET_VPLANE_WRCRDTARB_PD_CRDT_DEPLETED(bits\ 5218c2ecf20Sopenharmony_ci) vxge_bVALn(bits, 32, 32) 5228c2ecf20Sopenharmony_ci#define \ 5238c2ecf20Sopenharmony_ciVXGE_HW_MRPCIM_DEBUG_STATS3_GET_VPLANE_RDCRDTARB_NPH_CRDT_DEPLETED(bits) \ 5248c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 32) 5258c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_DEBUG_STATS4_GET_INI_WR_VPIN_DROP(bits) \ 5268c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 32) 5278c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_DEBUG_STATS4_GET_INI_RD_VPIN_DROP(bits) \ 5288c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 32) 5298c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTATS_COUNT01_GET_GENSTATS_COUNT1(bits) \ 5308c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 32) 5318c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTATS_COUNT01_GET_GENSTATS_COUNT0(bits) \ 5328c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 32) 5338c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTATS_COUNT23_GET_GENSTATS_COUNT3(bits) \ 5348c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 32) 5358c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTATS_COUNT23_GET_GENSTATS_COUNT2(bits) \ 5368c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 32) 5378c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTATS_COUNT4_GET_GENSTATS_COUNT4(bits) \ 5388c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 32) 5398c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTATS_COUNT5_GET_GENSTATS_COUNT5(bits) \ 5408c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 32) 5418c2ecf20Sopenharmony_ci 5428c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS0_GET_RSTDROP_MSG(bits) vxge_bVALn(bits, 0, 32) 5438c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS0_GET_RSTDROP_CPL(bits) vxge_bVALn(bits, 32, 32) 5448c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS1_GET_RSTDROP_CLIENT0(bits) vxge_bVALn(bits, 0, 32) 5458c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS1_GET_RSTDROP_CLIENT1(bits) vxge_bVALn(bits, 32, 32) 5468c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS2_GET_RSTDROP_CLIENT2(bits) vxge_bVALn(bits, 0, 32) 5478c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS3_GET_VPLANE_DEPL_PH(bits) vxge_bVALn(bits, 0, 16) 5488c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS3_GET_VPLANE_DEPL_NPH(bits) vxge_bVALn(bits, 16, 16) 5498c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS3_GET_VPLANE_DEPL_CPLH(bits) vxge_bVALn(bits, 32, 16) 5508c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS4_GET_VPLANE_DEPL_PD(bits) vxge_bVALn(bits, 0, 16) 5518c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS4_GET_VPLANE_DEPL_NPD(bits) bVAL(bits, 16, 16) 5528c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS4_GET_VPLANE_DEPL_CPLD(bits) vxge_bVALn(bits, 32, 16) 5538c2ecf20Sopenharmony_ci 5548c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STATS_TPA_TX_PATH_GET_TX_PERMITTED_FRMS(bits) \ 5558c2ecf20Sopenharmony_ci vxge_bVALn(bits, 32, 32) 5568c2ecf20Sopenharmony_ci 5578c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STAT_TX_ANY_FRMS_GET_PORT0_TX_ANY_FRMS(bits) \ 5588c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 8) 5598c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STAT_TX_ANY_FRMS_GET_PORT1_TX_ANY_FRMS(bits) \ 5608c2ecf20Sopenharmony_ci vxge_bVALn(bits, 8, 8) 5618c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STAT_TX_ANY_FRMS_GET_PORT2_TX_ANY_FRMS(bits) \ 5628c2ecf20Sopenharmony_ci vxge_bVALn(bits, 16, 8) 5638c2ecf20Sopenharmony_ci 5648c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STAT_RX_ANY_FRMS_GET_PORT0_RX_ANY_FRMS(bits) \ 5658c2ecf20Sopenharmony_ci vxge_bVALn(bits, 0, 8) 5668c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STAT_RX_ANY_FRMS_GET_PORT1_RX_ANY_FRMS(bits) \ 5678c2ecf20Sopenharmony_ci vxge_bVALn(bits, 8, 8) 5688c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STAT_RX_ANY_FRMS_GET_PORT2_RX_ANY_FRMS(bits) \ 5698c2ecf20Sopenharmony_ci vxge_bVALn(bits, 16, 8) 5708c2ecf20Sopenharmony_ci 5718c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_PRIV_H 5728c2ecf20Sopenharmony_ci 5738c2ecf20Sopenharmony_ci#define VXGE_HW_SWAPPER_INITIAL_VALUE 0x0123456789abcdefULL 5748c2ecf20Sopenharmony_ci#define VXGE_HW_SWAPPER_BYTE_SWAPPED 0xefcdab8967452301ULL 5758c2ecf20Sopenharmony_ci#define VXGE_HW_SWAPPER_BIT_FLIPPED 0x80c4a2e691d5b3f7ULL 5768c2ecf20Sopenharmony_ci#define VXGE_HW_SWAPPER_BYTE_SWAPPED_BIT_FLIPPED 0xf7b3d591e6a2c480ULL 5778c2ecf20Sopenharmony_ci 5788c2ecf20Sopenharmony_ci#define VXGE_HW_SWAPPER_READ_BYTE_SWAP_ENABLE 0xFFFFFFFFFFFFFFFFULL 5798c2ecf20Sopenharmony_ci#define VXGE_HW_SWAPPER_READ_BYTE_SWAP_DISABLE 0x0000000000000000ULL 5808c2ecf20Sopenharmony_ci 5818c2ecf20Sopenharmony_ci#define VXGE_HW_SWAPPER_READ_BIT_FLAP_ENABLE 0xFFFFFFFFFFFFFFFFULL 5828c2ecf20Sopenharmony_ci#define VXGE_HW_SWAPPER_READ_BIT_FLAP_DISABLE 0x0000000000000000ULL 5838c2ecf20Sopenharmony_ci 5848c2ecf20Sopenharmony_ci#define VXGE_HW_SWAPPER_WRITE_BYTE_SWAP_ENABLE 0xFFFFFFFFFFFFFFFFULL 5858c2ecf20Sopenharmony_ci#define VXGE_HW_SWAPPER_WRITE_BYTE_SWAP_DISABLE 0x0000000000000000ULL 5868c2ecf20Sopenharmony_ci 5878c2ecf20Sopenharmony_ci#define VXGE_HW_SWAPPER_WRITE_BIT_FLAP_ENABLE 0xFFFFFFFFFFFFFFFFULL 5888c2ecf20Sopenharmony_ci#define VXGE_HW_SWAPPER_WRITE_BIT_FLAP_DISABLE 0x0000000000000000ULL 5898c2ecf20Sopenharmony_ci 5908c2ecf20Sopenharmony_ci/* 5918c2ecf20Sopenharmony_ci * The registers are memory mapped and are native big-endian byte order. The 5928c2ecf20Sopenharmony_ci * little-endian hosts are handled by enabling hardware byte-swapping for 5938c2ecf20Sopenharmony_ci * register and dma operations. 5948c2ecf20Sopenharmony_ci */ 5958c2ecf20Sopenharmony_cistruct vxge_hw_legacy_reg { 5968c2ecf20Sopenharmony_ci 5978c2ecf20Sopenharmony_ci u8 unused00010[0x00010]; 5988c2ecf20Sopenharmony_ci 5998c2ecf20Sopenharmony_ci/*0x00010*/ u64 toc_swapper_fb; 6008c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_SWAPPER_FB_INITIAL_VAL(val) vxge_vBIT(val, 0, 64) 6018c2ecf20Sopenharmony_ci/*0x00018*/ u64 pifm_rd_swap_en; 6028c2ecf20Sopenharmony_ci#define VXGE_HW_PIFM_RD_SWAP_EN_PIFM_RD_SWAP_EN(val) vxge_vBIT(val, 0, 64) 6038c2ecf20Sopenharmony_ci/*0x00020*/ u64 pifm_rd_flip_en; 6048c2ecf20Sopenharmony_ci#define VXGE_HW_PIFM_RD_FLIP_EN_PIFM_RD_FLIP_EN(val) vxge_vBIT(val, 0, 64) 6058c2ecf20Sopenharmony_ci/*0x00028*/ u64 pifm_wr_swap_en; 6068c2ecf20Sopenharmony_ci#define VXGE_HW_PIFM_WR_SWAP_EN_PIFM_WR_SWAP_EN(val) vxge_vBIT(val, 0, 64) 6078c2ecf20Sopenharmony_ci/*0x00030*/ u64 pifm_wr_flip_en; 6088c2ecf20Sopenharmony_ci#define VXGE_HW_PIFM_WR_FLIP_EN_PIFM_WR_FLIP_EN(val) vxge_vBIT(val, 0, 64) 6098c2ecf20Sopenharmony_ci/*0x00038*/ u64 toc_first_pointer; 6108c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_FIRST_POINTER_INITIAL_VAL(val) vxge_vBIT(val, 0, 64) 6118c2ecf20Sopenharmony_ci/*0x00040*/ u64 host_access_en; 6128c2ecf20Sopenharmony_ci#define VXGE_HW_HOST_ACCESS_EN_HOST_ACCESS_EN(val) vxge_vBIT(val, 0, 64) 6138c2ecf20Sopenharmony_ci 6148c2ecf20Sopenharmony_ci} __packed; 6158c2ecf20Sopenharmony_ci 6168c2ecf20Sopenharmony_cistruct vxge_hw_toc_reg { 6178c2ecf20Sopenharmony_ci 6188c2ecf20Sopenharmony_ci u8 unused00050[0x00050]; 6198c2ecf20Sopenharmony_ci 6208c2ecf20Sopenharmony_ci/*0x00050*/ u64 toc_common_pointer; 6218c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_COMMON_POINTER_INITIAL_VAL(val) vxge_vBIT(val, 0, 64) 6228c2ecf20Sopenharmony_ci/*0x00058*/ u64 toc_memrepair_pointer; 6238c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_MEMREPAIR_POINTER_INITIAL_VAL(val) vxge_vBIT(val, 0, 64) 6248c2ecf20Sopenharmony_ci/*0x00060*/ u64 toc_pcicfgmgmt_pointer[17]; 6258c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_PCICFGMGMT_POINTER_INITIAL_VAL(val) vxge_vBIT(val, 0, 64) 6268c2ecf20Sopenharmony_ci u8 unused001e0[0x001e0-0x000e8]; 6278c2ecf20Sopenharmony_ci 6288c2ecf20Sopenharmony_ci/*0x001e0*/ u64 toc_mrpcim_pointer; 6298c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_MRPCIM_POINTER_INITIAL_VAL(val) vxge_vBIT(val, 0, 64) 6308c2ecf20Sopenharmony_ci/*0x001e8*/ u64 toc_srpcim_pointer[17]; 6318c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_SRPCIM_POINTER_INITIAL_VAL(val) vxge_vBIT(val, 0, 64) 6328c2ecf20Sopenharmony_ci u8 unused00278[0x00278-0x00270]; 6338c2ecf20Sopenharmony_ci 6348c2ecf20Sopenharmony_ci/*0x00278*/ u64 toc_vpmgmt_pointer[17]; 6358c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_VPMGMT_POINTER_INITIAL_VAL(val) vxge_vBIT(val, 0, 64) 6368c2ecf20Sopenharmony_ci u8 unused00390[0x00390-0x00300]; 6378c2ecf20Sopenharmony_ci 6388c2ecf20Sopenharmony_ci/*0x00390*/ u64 toc_vpath_pointer[17]; 6398c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_VPATH_POINTER_INITIAL_VAL(val) vxge_vBIT(val, 0, 64) 6408c2ecf20Sopenharmony_ci u8 unused004a0[0x004a0-0x00418]; 6418c2ecf20Sopenharmony_ci 6428c2ecf20Sopenharmony_ci/*0x004a0*/ u64 toc_kdfc; 6438c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_KDFC_INITIAL_OFFSET(val) vxge_vBIT(val, 0, 61) 6448c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_KDFC_INITIAL_BIR(val) vxge_vBIT(val, 61, 3) 6458c2ecf20Sopenharmony_ci/*0x004a8*/ u64 toc_usdc; 6468c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_USDC_INITIAL_OFFSET(val) vxge_vBIT(val, 0, 61) 6478c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_USDC_INITIAL_BIR(val) vxge_vBIT(val, 61, 3) 6488c2ecf20Sopenharmony_ci/*0x004b0*/ u64 toc_kdfc_vpath_stride; 6498c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_KDFC_VPATH_STRIDE_INITIAL_TOC_KDFC_VPATH_STRIDE(val) \ 6508c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 64) 6518c2ecf20Sopenharmony_ci/*0x004b8*/ u64 toc_kdfc_fifo_stride; 6528c2ecf20Sopenharmony_ci#define VXGE_HW_TOC_KDFC_FIFO_STRIDE_INITIAL_TOC_KDFC_FIFO_STRIDE(val) \ 6538c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 64) 6548c2ecf20Sopenharmony_ci 6558c2ecf20Sopenharmony_ci} __packed; 6568c2ecf20Sopenharmony_ci 6578c2ecf20Sopenharmony_cistruct vxge_hw_common_reg { 6588c2ecf20Sopenharmony_ci 6598c2ecf20Sopenharmony_ci u8 unused00a00[0x00a00]; 6608c2ecf20Sopenharmony_ci 6618c2ecf20Sopenharmony_ci/*0x00a00*/ u64 prc_status1; 6628c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_STATUS1_PRC_VP_QUIESCENT(n) vxge_mBIT(n) 6638c2ecf20Sopenharmony_ci/*0x00a08*/ u64 rxdcm_reset_in_progress; 6648c2ecf20Sopenharmony_ci#define VXGE_HW_RXDCM_RESET_IN_PROGRESS_PRC_VP(n) vxge_mBIT(n) 6658c2ecf20Sopenharmony_ci/*0x00a10*/ u64 replicq_flush_in_progress; 6668c2ecf20Sopenharmony_ci#define VXGE_HW_REPLICQ_FLUSH_IN_PROGRESS_NOA_VP(n) vxge_mBIT(n) 6678c2ecf20Sopenharmony_ci/*0x00a18*/ u64 rxpe_cmds_reset_in_progress; 6688c2ecf20Sopenharmony_ci#define VXGE_HW_RXPE_CMDS_RESET_IN_PROGRESS_NOA_VP(n) vxge_mBIT(n) 6698c2ecf20Sopenharmony_ci/*0x00a20*/ u64 mxp_cmds_reset_in_progress; 6708c2ecf20Sopenharmony_ci#define VXGE_HW_MXP_CMDS_RESET_IN_PROGRESS_NOA_VP(n) vxge_mBIT(n) 6718c2ecf20Sopenharmony_ci/*0x00a28*/ u64 noffload_reset_in_progress; 6728c2ecf20Sopenharmony_ci#define VXGE_HW_NOFFLOAD_RESET_IN_PROGRESS_PRC_VP(n) vxge_mBIT(n) 6738c2ecf20Sopenharmony_ci/*0x00a30*/ u64 rd_req_in_progress; 6748c2ecf20Sopenharmony_ci#define VXGE_HW_RD_REQ_IN_PROGRESS_VP(n) vxge_mBIT(n) 6758c2ecf20Sopenharmony_ci/*0x00a38*/ u64 rd_req_outstanding; 6768c2ecf20Sopenharmony_ci#define VXGE_HW_RD_REQ_OUTSTANDING_VP(n) vxge_mBIT(n) 6778c2ecf20Sopenharmony_ci/*0x00a40*/ u64 kdfc_reset_in_progress; 6788c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_RESET_IN_PROGRESS_NOA_VP(n) vxge_mBIT(n) 6798c2ecf20Sopenharmony_ci u8 unused00b00[0x00b00-0x00a48]; 6808c2ecf20Sopenharmony_ci 6818c2ecf20Sopenharmony_ci/*0x00b00*/ u64 one_cfg_vp; 6828c2ecf20Sopenharmony_ci#define VXGE_HW_ONE_CFG_VP_RDY(n) vxge_mBIT(n) 6838c2ecf20Sopenharmony_ci/*0x00b08*/ u64 one_common; 6848c2ecf20Sopenharmony_ci#define VXGE_HW_ONE_COMMON_PET_VPATH_RESET_IN_PROGRESS(n) vxge_mBIT(n) 6858c2ecf20Sopenharmony_ci u8 unused00b80[0x00b80-0x00b10]; 6868c2ecf20Sopenharmony_ci 6878c2ecf20Sopenharmony_ci/*0x00b80*/ u64 tim_int_en; 6888c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_INT_EN_TIM_VP(n) vxge_mBIT(n) 6898c2ecf20Sopenharmony_ci/*0x00b88*/ u64 tim_set_int_en; 6908c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_SET_INT_EN_VP(n) vxge_mBIT(n) 6918c2ecf20Sopenharmony_ci/*0x00b90*/ u64 tim_clr_int_en; 6928c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CLR_INT_EN_VP(n) vxge_mBIT(n) 6938c2ecf20Sopenharmony_ci/*0x00b98*/ u64 tim_mask_int_during_reset; 6948c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_MASK_INT_DURING_RESET_VPATH(n) vxge_mBIT(n) 6958c2ecf20Sopenharmony_ci/*0x00ba0*/ u64 tim_reset_in_progress; 6968c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_RESET_IN_PROGRESS_TIM_VPATH(n) vxge_mBIT(n) 6978c2ecf20Sopenharmony_ci/*0x00ba8*/ u64 tim_outstanding_bmap; 6988c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_OUTSTANDING_BMAP_TIM_VPATH(n) vxge_mBIT(n) 6998c2ecf20Sopenharmony_ci u8 unused00c00[0x00c00-0x00bb0]; 7008c2ecf20Sopenharmony_ci 7018c2ecf20Sopenharmony_ci/*0x00c00*/ u64 msg_reset_in_progress; 7028c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_RESET_IN_PROGRESS_MSG_COMPOSITE(val) vxge_vBIT(val, 0, 17) 7038c2ecf20Sopenharmony_ci/*0x00c08*/ u64 msg_mxp_mr_ready; 7048c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_MXP_MR_READY_MP_BOOTED(n) vxge_mBIT(n) 7058c2ecf20Sopenharmony_ci/*0x00c10*/ u64 msg_uxp_mr_ready; 7068c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_UXP_MR_READY_UP_BOOTED(n) vxge_mBIT(n) 7078c2ecf20Sopenharmony_ci/*0x00c18*/ u64 msg_dmq_noni_rtl_prefetch; 7088c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_DMQ_NONI_RTL_PREFETCH_BYPASS_ENABLE(n) vxge_mBIT(n) 7098c2ecf20Sopenharmony_ci/*0x00c20*/ u64 msg_umq_rtl_bwr; 7108c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_UMQ_RTL_BWR_PREFETCH_DISABLE(n) vxge_mBIT(n) 7118c2ecf20Sopenharmony_ci u8 unused00d00[0x00d00-0x00c28]; 7128c2ecf20Sopenharmony_ci 7138c2ecf20Sopenharmony_ci/*0x00d00*/ u64 cmn_rsthdlr_cfg0; 7148c2ecf20Sopenharmony_ci#define VXGE_HW_CMN_RSTHDLR_CFG0_SW_RESET_VPATH(val) vxge_vBIT(val, 0, 17) 7158c2ecf20Sopenharmony_ci/*0x00d08*/ u64 cmn_rsthdlr_cfg1; 7168c2ecf20Sopenharmony_ci#define VXGE_HW_CMN_RSTHDLR_CFG1_CLR_VPATH_RESET(val) vxge_vBIT(val, 0, 17) 7178c2ecf20Sopenharmony_ci/*0x00d10*/ u64 cmn_rsthdlr_cfg2; 7188c2ecf20Sopenharmony_ci#define VXGE_HW_CMN_RSTHDLR_CFG2_SW_RESET_FIFO0(val) vxge_vBIT(val, 0, 17) 7198c2ecf20Sopenharmony_ci/*0x00d18*/ u64 cmn_rsthdlr_cfg3; 7208c2ecf20Sopenharmony_ci#define VXGE_HW_CMN_RSTHDLR_CFG3_SW_RESET_FIFO1(val) vxge_vBIT(val, 0, 17) 7218c2ecf20Sopenharmony_ci/*0x00d20*/ u64 cmn_rsthdlr_cfg4; 7228c2ecf20Sopenharmony_ci#define VXGE_HW_CMN_RSTHDLR_CFG4_SW_RESET_FIFO2(val) vxge_vBIT(val, 0, 17) 7238c2ecf20Sopenharmony_ci u8 unused00d40[0x00d40-0x00d28]; 7248c2ecf20Sopenharmony_ci 7258c2ecf20Sopenharmony_ci/*0x00d40*/ u64 cmn_rsthdlr_cfg8; 7268c2ecf20Sopenharmony_ci#define VXGE_HW_CMN_RSTHDLR_CFG8_INCR_VPATH_INST_NUM(val) vxge_vBIT(val, 0, 17) 7278c2ecf20Sopenharmony_ci/*0x00d48*/ u64 stats_cfg0; 7288c2ecf20Sopenharmony_ci#define VXGE_HW_STATS_CFG0_STATS_ENABLE(val) vxge_vBIT(val, 0, 17) 7298c2ecf20Sopenharmony_ci u8 unused00da8[0x00da8-0x00d50]; 7308c2ecf20Sopenharmony_ci 7318c2ecf20Sopenharmony_ci/*0x00da8*/ u64 clear_msix_mask_vect[4]; 7328c2ecf20Sopenharmony_ci#define VXGE_HW_CLEAR_MSIX_MASK_VECT_CLEAR_MSIX_MASK_VECT(val) \ 7338c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 17) 7348c2ecf20Sopenharmony_ci/*0x00dc8*/ u64 set_msix_mask_vect[4]; 7358c2ecf20Sopenharmony_ci#define VXGE_HW_SET_MSIX_MASK_VECT_SET_MSIX_MASK_VECT(val) vxge_vBIT(val, 0, 17) 7368c2ecf20Sopenharmony_ci/*0x00de8*/ u64 clear_msix_mask_all_vect; 7378c2ecf20Sopenharmony_ci#define VXGE_HW_CLEAR_MSIX_MASK_ALL_VECT_CLEAR_MSIX_MASK_ALL_VECT(val) \ 7388c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 17) 7398c2ecf20Sopenharmony_ci/*0x00df0*/ u64 set_msix_mask_all_vect; 7408c2ecf20Sopenharmony_ci#define VXGE_HW_SET_MSIX_MASK_ALL_VECT_SET_MSIX_MASK_ALL_VECT(val) \ 7418c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 17) 7428c2ecf20Sopenharmony_ci/*0x00df8*/ u64 mask_vector[4]; 7438c2ecf20Sopenharmony_ci#define VXGE_HW_MASK_VECTOR_MASK_VECTOR(val) vxge_vBIT(val, 0, 17) 7448c2ecf20Sopenharmony_ci/*0x00e18*/ u64 msix_pending_vector[4]; 7458c2ecf20Sopenharmony_ci#define VXGE_HW_MSIX_PENDING_VECTOR_MSIX_PENDING_VECTOR(val) \ 7468c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 17) 7478c2ecf20Sopenharmony_ci/*0x00e38*/ u64 clr_msix_one_shot_vec[4]; 7488c2ecf20Sopenharmony_ci#define VXGE_HW_CLR_MSIX_ONE_SHOT_VEC_CLR_MSIX_ONE_SHOT_VEC(val) \ 7498c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 17) 7508c2ecf20Sopenharmony_ci/*0x00e58*/ u64 titan_asic_id; 7518c2ecf20Sopenharmony_ci#define VXGE_HW_TITAN_ASIC_ID_INITIAL_DEVICE_ID(val) vxge_vBIT(val, 0, 16) 7528c2ecf20Sopenharmony_ci#define VXGE_HW_TITAN_ASIC_ID_INITIAL_MAJOR_REVISION(val) vxge_vBIT(val, 48, 8) 7538c2ecf20Sopenharmony_ci#define VXGE_HW_TITAN_ASIC_ID_INITIAL_MINOR_REVISION(val) vxge_vBIT(val, 56, 8) 7548c2ecf20Sopenharmony_ci/*0x00e60*/ u64 titan_general_int_status; 7558c2ecf20Sopenharmony_ci#define VXGE_HW_TITAN_GENERAL_INT_STATUS_MRPCIM_ALARM_INT vxge_mBIT(0) 7568c2ecf20Sopenharmony_ci#define VXGE_HW_TITAN_GENERAL_INT_STATUS_SRPCIM_ALARM_INT vxge_mBIT(1) 7578c2ecf20Sopenharmony_ci#define VXGE_HW_TITAN_GENERAL_INT_STATUS_VPATH_ALARM_INT vxge_mBIT(2) 7588c2ecf20Sopenharmony_ci#define VXGE_HW_TITAN_GENERAL_INT_STATUS_VPATH_TRAFFIC_INT(val) \ 7598c2ecf20Sopenharmony_ci vxge_vBIT(val, 3, 17) 7608c2ecf20Sopenharmony_ci u8 unused00e70[0x00e70-0x00e68]; 7618c2ecf20Sopenharmony_ci 7628c2ecf20Sopenharmony_ci/*0x00e70*/ u64 titan_mask_all_int; 7638c2ecf20Sopenharmony_ci#define VXGE_HW_TITAN_MASK_ALL_INT_ALARM vxge_mBIT(7) 7648c2ecf20Sopenharmony_ci#define VXGE_HW_TITAN_MASK_ALL_INT_TRAFFIC vxge_mBIT(15) 7658c2ecf20Sopenharmony_ci u8 unused00e80[0x00e80-0x00e78]; 7668c2ecf20Sopenharmony_ci 7678c2ecf20Sopenharmony_ci/*0x00e80*/ u64 tim_int_status0; 7688c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_INT_STATUS0_TIM_INT_STATUS0(val) vxge_vBIT(val, 0, 64) 7698c2ecf20Sopenharmony_ci/*0x00e88*/ u64 tim_int_mask0; 7708c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_INT_MASK0_TIM_INT_MASK0(val) vxge_vBIT(val, 0, 64) 7718c2ecf20Sopenharmony_ci/*0x00e90*/ u64 tim_int_status1; 7728c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_INT_STATUS1_TIM_INT_STATUS1(val) vxge_vBIT(val, 0, 4) 7738c2ecf20Sopenharmony_ci/*0x00e98*/ u64 tim_int_mask1; 7748c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_INT_MASK1_TIM_INT_MASK1(val) vxge_vBIT(val, 0, 4) 7758c2ecf20Sopenharmony_ci/*0x00ea0*/ u64 rti_int_status; 7768c2ecf20Sopenharmony_ci#define VXGE_HW_RTI_INT_STATUS_RTI_INT_STATUS(val) vxge_vBIT(val, 0, 17) 7778c2ecf20Sopenharmony_ci/*0x00ea8*/ u64 rti_int_mask; 7788c2ecf20Sopenharmony_ci#define VXGE_HW_RTI_INT_MASK_RTI_INT_MASK(val) vxge_vBIT(val, 0, 17) 7798c2ecf20Sopenharmony_ci/*0x00eb0*/ u64 adapter_status; 7808c2ecf20Sopenharmony_ci#define VXGE_HW_ADAPTER_STATUS_RTDMA_RTDMA_READY vxge_mBIT(0) 7818c2ecf20Sopenharmony_ci#define VXGE_HW_ADAPTER_STATUS_WRDMA_WRDMA_READY vxge_mBIT(1) 7828c2ecf20Sopenharmony_ci#define VXGE_HW_ADAPTER_STATUS_KDFC_KDFC_READY vxge_mBIT(2) 7838c2ecf20Sopenharmony_ci#define VXGE_HW_ADAPTER_STATUS_TPA_TMAC_BUF_EMPTY vxge_mBIT(3) 7848c2ecf20Sopenharmony_ci#define VXGE_HW_ADAPTER_STATUS_RDCTL_PIC_QUIESCENT vxge_mBIT(4) 7858c2ecf20Sopenharmony_ci#define VXGE_HW_ADAPTER_STATUS_XGMAC_NETWORK_FAULT vxge_mBIT(5) 7868c2ecf20Sopenharmony_ci#define VXGE_HW_ADAPTER_STATUS_ROCRC_OFFLOAD_QUIESCENT vxge_mBIT(6) 7878c2ecf20Sopenharmony_ci#define VXGE_HW_ADAPTER_STATUS_G3IF_FB_G3IF_FB_GDDR3_READY vxge_mBIT(7) 7888c2ecf20Sopenharmony_ci#define VXGE_HW_ADAPTER_STATUS_G3IF_CM_G3IF_CM_GDDR3_READY vxge_mBIT(8) 7898c2ecf20Sopenharmony_ci#define VXGE_HW_ADAPTER_STATUS_RIC_RIC_RUNNING vxge_mBIT(9) 7908c2ecf20Sopenharmony_ci#define VXGE_HW_ADAPTER_STATUS_CMG_C_PLL_IN_LOCK vxge_mBIT(10) 7918c2ecf20Sopenharmony_ci#define VXGE_HW_ADAPTER_STATUS_XGMAC_X_PLL_IN_LOCK vxge_mBIT(11) 7928c2ecf20Sopenharmony_ci#define VXGE_HW_ADAPTER_STATUS_FBIF_M_PLL_IN_LOCK vxge_mBIT(12) 7938c2ecf20Sopenharmony_ci#define VXGE_HW_ADAPTER_STATUS_PCC_PCC_IDLE(val) vxge_vBIT(val, 24, 8) 7948c2ecf20Sopenharmony_ci#define VXGE_HW_ADAPTER_STATUS_ROCRC_RC_PRC_QUIESCENT(val) vxge_vBIT(val, 44, 8) 7958c2ecf20Sopenharmony_ci/*0x00eb8*/ u64 gen_ctrl; 7968c2ecf20Sopenharmony_ci#define VXGE_HW_GEN_CTRL_SPI_MRPCIM_WR_DIS vxge_mBIT(0) 7978c2ecf20Sopenharmony_ci#define VXGE_HW_GEN_CTRL_SPI_MRPCIM_RD_DIS vxge_mBIT(1) 7988c2ecf20Sopenharmony_ci#define VXGE_HW_GEN_CTRL_SPI_SRPCIM_WR_DIS vxge_mBIT(2) 7998c2ecf20Sopenharmony_ci#define VXGE_HW_GEN_CTRL_SPI_SRPCIM_RD_DIS vxge_mBIT(3) 8008c2ecf20Sopenharmony_ci#define VXGE_HW_GEN_CTRL_SPI_DEBUG_DIS vxge_mBIT(4) 8018c2ecf20Sopenharmony_ci#define VXGE_HW_GEN_CTRL_SPI_APP_LTSSM_TIMER_DIS vxge_mBIT(5) 8028c2ecf20Sopenharmony_ci#define VXGE_HW_GEN_CTRL_SPI_NOT_USED(val) vxge_vBIT(val, 6, 4) 8038c2ecf20Sopenharmony_ci u8 unused00ed0[0x00ed0-0x00ec0]; 8048c2ecf20Sopenharmony_ci 8058c2ecf20Sopenharmony_ci/*0x00ed0*/ u64 adapter_ready; 8068c2ecf20Sopenharmony_ci#define VXGE_HW_ADAPTER_READY_ADAPTER_READY vxge_mBIT(63) 8078c2ecf20Sopenharmony_ci/*0x00ed8*/ u64 outstanding_read; 8088c2ecf20Sopenharmony_ci#define VXGE_HW_OUTSTANDING_READ_OUTSTANDING_READ(val) vxge_vBIT(val, 0, 17) 8098c2ecf20Sopenharmony_ci/*0x00ee0*/ u64 vpath_rst_in_prog; 8108c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_RST_IN_PROG_VPATH_RST_IN_PROG(val) vxge_vBIT(val, 0, 17) 8118c2ecf20Sopenharmony_ci/*0x00ee8*/ u64 vpath_reg_modified; 8128c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_REG_MODIFIED_VPATH_REG_MODIFIED(val) vxge_vBIT(val, 0, 17) 8138c2ecf20Sopenharmony_ci u8 unused00fc0[0x00fc0-0x00ef0]; 8148c2ecf20Sopenharmony_ci 8158c2ecf20Sopenharmony_ci/*0x00fc0*/ u64 cp_reset_in_progress; 8168c2ecf20Sopenharmony_ci#define VXGE_HW_CP_RESET_IN_PROGRESS_CP_VPATH(n) vxge_mBIT(n) 8178c2ecf20Sopenharmony_ci u8 unused01080[0x01080-0x00fc8]; 8188c2ecf20Sopenharmony_ci 8198c2ecf20Sopenharmony_ci/*0x01080*/ u64 xgmac_ready; 8208c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_READY_XMACJ_READY(val) vxge_vBIT(val, 0, 17) 8218c2ecf20Sopenharmony_ci u8 unused010c0[0x010c0-0x01088]; 8228c2ecf20Sopenharmony_ci 8238c2ecf20Sopenharmony_ci/*0x010c0*/ u64 fbif_ready; 8248c2ecf20Sopenharmony_ci#define VXGE_HW_FBIF_READY_FAU_READY(val) vxge_vBIT(val, 0, 17) 8258c2ecf20Sopenharmony_ci u8 unused01100[0x01100-0x010c8]; 8268c2ecf20Sopenharmony_ci 8278c2ecf20Sopenharmony_ci/*0x01100*/ u64 vplane_assignments; 8288c2ecf20Sopenharmony_ci#define VXGE_HW_VPLANE_ASSIGNMENTS_VPLANE_ASSIGNMENTS(val) vxge_vBIT(val, 3, 5) 8298c2ecf20Sopenharmony_ci/*0x01108*/ u64 vpath_assignments; 8308c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_ASSIGNMENTS_VPATH_ASSIGNMENTS(val) vxge_vBIT(val, 0, 17) 8318c2ecf20Sopenharmony_ci/*0x01110*/ u64 resource_assignments; 8328c2ecf20Sopenharmony_ci#define VXGE_HW_RESOURCE_ASSIGNMENTS_RESOURCE_ASSIGNMENTS(val) \ 8338c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 17) 8348c2ecf20Sopenharmony_ci/*0x01118*/ u64 host_type_assignments; 8358c2ecf20Sopenharmony_ci#define VXGE_HW_HOST_TYPE_ASSIGNMENTS_HOST_TYPE_ASSIGNMENTS(val) \ 8368c2ecf20Sopenharmony_ci vxge_vBIT(val, 5, 3) 8378c2ecf20Sopenharmony_ci u8 unused01128[0x01128-0x01120]; 8388c2ecf20Sopenharmony_ci 8398c2ecf20Sopenharmony_ci/*0x01128*/ u64 max_resource_assignments; 8408c2ecf20Sopenharmony_ci#define VXGE_HW_MAX_RESOURCE_ASSIGNMENTS_PCI_MAX_VPLANE(val) \ 8418c2ecf20Sopenharmony_ci vxge_vBIT(val, 3, 5) 8428c2ecf20Sopenharmony_ci#define VXGE_HW_MAX_RESOURCE_ASSIGNMENTS_PCI_MAX_VPATHS(val) \ 8438c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 8448c2ecf20Sopenharmony_ci/*0x01130*/ u64 pf_vpath_assignments; 8458c2ecf20Sopenharmony_ci#define VXGE_HW_PF_VPATH_ASSIGNMENTS_PF_VPATH_ASSIGNMENTS(val) \ 8468c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 17) 8478c2ecf20Sopenharmony_ci u8 unused01200[0x01200-0x01138]; 8488c2ecf20Sopenharmony_ci 8498c2ecf20Sopenharmony_ci/*0x01200*/ u64 rts_access_icmp; 8508c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_ICMP_EN(val) vxge_vBIT(val, 0, 17) 8518c2ecf20Sopenharmony_ci/*0x01208*/ u64 rts_access_tcpsyn; 8528c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_TCPSYN_EN(val) vxge_vBIT(val, 0, 17) 8538c2ecf20Sopenharmony_ci/*0x01210*/ u64 rts_access_zl4pyld; 8548c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_ZL4PYLD_EN(val) vxge_vBIT(val, 0, 17) 8558c2ecf20Sopenharmony_ci/*0x01218*/ u64 rts_access_l4prtcl_tcp; 8568c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_L4PRTCL_TCP_EN(val) vxge_vBIT(val, 0, 17) 8578c2ecf20Sopenharmony_ci/*0x01220*/ u64 rts_access_l4prtcl_udp; 8588c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_L4PRTCL_UDP_EN(val) vxge_vBIT(val, 0, 17) 8598c2ecf20Sopenharmony_ci/*0x01228*/ u64 rts_access_l4prtcl_flex; 8608c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_L4PRTCL_FLEX_EN(val) vxge_vBIT(val, 0, 17) 8618c2ecf20Sopenharmony_ci/*0x01230*/ u64 rts_access_ipfrag; 8628c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_IPFRAG_EN(val) vxge_vBIT(val, 0, 17) 8638c2ecf20Sopenharmony_ci 8648c2ecf20Sopenharmony_ci} __packed; 8658c2ecf20Sopenharmony_ci 8668c2ecf20Sopenharmony_cistruct vxge_hw_memrepair_reg { 8678c2ecf20Sopenharmony_ci u64 unused1; 8688c2ecf20Sopenharmony_ci u64 unused2; 8698c2ecf20Sopenharmony_ci} __packed; 8708c2ecf20Sopenharmony_ci 8718c2ecf20Sopenharmony_cistruct vxge_hw_pcicfgmgmt_reg { 8728c2ecf20Sopenharmony_ci 8738c2ecf20Sopenharmony_ci/*0x00000*/ u64 resource_no; 8748c2ecf20Sopenharmony_ci#define VXGE_HW_RESOURCE_NO_PFN_OR_VF BIT(3) 8758c2ecf20Sopenharmony_ci/*0x00008*/ u64 bargrp_pf_or_vf_bar0_mask; 8768c2ecf20Sopenharmony_ci#define VXGE_HW_BARGRP_PF_OR_VF_BAR0_MASK_BARGRP_PF_OR_VF_BAR0_MASK(val) \ 8778c2ecf20Sopenharmony_ci vxge_vBIT(val, 2, 6) 8788c2ecf20Sopenharmony_ci/*0x00010*/ u64 bargrp_pf_or_vf_bar1_mask; 8798c2ecf20Sopenharmony_ci#define VXGE_HW_BARGRP_PF_OR_VF_BAR1_MASK_BARGRP_PF_OR_VF_BAR1_MASK(val) \ 8808c2ecf20Sopenharmony_ci vxge_vBIT(val, 2, 6) 8818c2ecf20Sopenharmony_ci/*0x00018*/ u64 bargrp_pf_or_vf_bar2_mask; 8828c2ecf20Sopenharmony_ci#define VXGE_HW_BARGRP_PF_OR_VF_BAR2_MASK_BARGRP_PF_OR_VF_BAR2_MASK(val) \ 8838c2ecf20Sopenharmony_ci vxge_vBIT(val, 2, 6) 8848c2ecf20Sopenharmony_ci/*0x00020*/ u64 msixgrp_no; 8858c2ecf20Sopenharmony_ci#define VXGE_HW_MSIXGRP_NO_TABLE_SIZE(val) vxge_vBIT(val, 5, 11) 8868c2ecf20Sopenharmony_ci 8878c2ecf20Sopenharmony_ci} __packed; 8888c2ecf20Sopenharmony_ci 8898c2ecf20Sopenharmony_cistruct vxge_hw_mrpcim_reg { 8908c2ecf20Sopenharmony_ci/*0x00000*/ u64 g3fbct_int_status; 8918c2ecf20Sopenharmony_ci#define VXGE_HW_G3FBCT_INT_STATUS_ERR_G3IF_INT vxge_mBIT(0) 8928c2ecf20Sopenharmony_ci/*0x00008*/ u64 g3fbct_int_mask; 8938c2ecf20Sopenharmony_ci/*0x00010*/ u64 g3fbct_err_reg; 8948c2ecf20Sopenharmony_ci#define VXGE_HW_G3FBCT_ERR_REG_G3IF_SM_ERR vxge_mBIT(4) 8958c2ecf20Sopenharmony_ci#define VXGE_HW_G3FBCT_ERR_REG_G3IF_GDDR3_DECC vxge_mBIT(5) 8968c2ecf20Sopenharmony_ci#define VXGE_HW_G3FBCT_ERR_REG_G3IF_GDDR3_U_DECC vxge_mBIT(6) 8978c2ecf20Sopenharmony_ci#define VXGE_HW_G3FBCT_ERR_REG_G3IF_CTRL_FIFO_DECC vxge_mBIT(7) 8988c2ecf20Sopenharmony_ci#define VXGE_HW_G3FBCT_ERR_REG_G3IF_GDDR3_SECC vxge_mBIT(29) 8998c2ecf20Sopenharmony_ci#define VXGE_HW_G3FBCT_ERR_REG_G3IF_GDDR3_U_SECC vxge_mBIT(30) 9008c2ecf20Sopenharmony_ci#define VXGE_HW_G3FBCT_ERR_REG_G3IF_CTRL_FIFO_SECC vxge_mBIT(31) 9018c2ecf20Sopenharmony_ci/*0x00018*/ u64 g3fbct_err_mask; 9028c2ecf20Sopenharmony_ci/*0x00020*/ u64 g3fbct_err_alarm; 9038c2ecf20Sopenharmony_ci 9048c2ecf20Sopenharmony_ci u8 unused00a00[0x00a00-0x00028]; 9058c2ecf20Sopenharmony_ci 9068c2ecf20Sopenharmony_ci/*0x00a00*/ u64 wrdma_int_status; 9078c2ecf20Sopenharmony_ci#define VXGE_HW_WRDMA_INT_STATUS_RC_ALARM_RC_INT vxge_mBIT(0) 9088c2ecf20Sopenharmony_ci#define VXGE_HW_WRDMA_INT_STATUS_RXDRM_SM_ERR_RXDRM_INT vxge_mBIT(1) 9098c2ecf20Sopenharmony_ci#define VXGE_HW_WRDMA_INT_STATUS_RXDCM_SM_ERR_RXDCM_SM_INT vxge_mBIT(2) 9108c2ecf20Sopenharmony_ci#define VXGE_HW_WRDMA_INT_STATUS_RXDWM_SM_ERR_RXDWM_INT vxge_mBIT(3) 9118c2ecf20Sopenharmony_ci#define VXGE_HW_WRDMA_INT_STATUS_RDA_ERR_RDA_INT vxge_mBIT(6) 9128c2ecf20Sopenharmony_ci#define VXGE_HW_WRDMA_INT_STATUS_RDA_ECC_DB_RDA_ECC_DB_INT vxge_mBIT(8) 9138c2ecf20Sopenharmony_ci#define VXGE_HW_WRDMA_INT_STATUS_RDA_ECC_SG_RDA_ECC_SG_INT vxge_mBIT(9) 9148c2ecf20Sopenharmony_ci#define VXGE_HW_WRDMA_INT_STATUS_FRF_ALARM_FRF_INT vxge_mBIT(12) 9158c2ecf20Sopenharmony_ci#define VXGE_HW_WRDMA_INT_STATUS_ROCRC_ALARM_ROCRC_INT vxge_mBIT(13) 9168c2ecf20Sopenharmony_ci#define VXGE_HW_WRDMA_INT_STATUS_WDE0_ALARM_WDE0_INT vxge_mBIT(14) 9178c2ecf20Sopenharmony_ci#define VXGE_HW_WRDMA_INT_STATUS_WDE1_ALARM_WDE1_INT vxge_mBIT(15) 9188c2ecf20Sopenharmony_ci#define VXGE_HW_WRDMA_INT_STATUS_WDE2_ALARM_WDE2_INT vxge_mBIT(16) 9198c2ecf20Sopenharmony_ci#define VXGE_HW_WRDMA_INT_STATUS_WDE3_ALARM_WDE3_INT vxge_mBIT(17) 9208c2ecf20Sopenharmony_ci/*0x00a08*/ u64 wrdma_int_mask; 9218c2ecf20Sopenharmony_ci/*0x00a10*/ u64 rc_alarm_reg; 9228c2ecf20Sopenharmony_ci#define VXGE_HW_RC_ALARM_REG_FTC_SM_ERR vxge_mBIT(0) 9238c2ecf20Sopenharmony_ci#define VXGE_HW_RC_ALARM_REG_FTC_SM_PHASE_ERR vxge_mBIT(1) 9248c2ecf20Sopenharmony_ci#define VXGE_HW_RC_ALARM_REG_BTDWM_SM_ERR vxge_mBIT(2) 9258c2ecf20Sopenharmony_ci#define VXGE_HW_RC_ALARM_REG_BTC_SM_ERR vxge_mBIT(3) 9268c2ecf20Sopenharmony_ci#define VXGE_HW_RC_ALARM_REG_BTDCM_SM_ERR vxge_mBIT(4) 9278c2ecf20Sopenharmony_ci#define VXGE_HW_RC_ALARM_REG_BTDRM_SM_ERR vxge_mBIT(5) 9288c2ecf20Sopenharmony_ci#define VXGE_HW_RC_ALARM_REG_RMM_RXD_RC_ECC_DB_ERR vxge_mBIT(6) 9298c2ecf20Sopenharmony_ci#define VXGE_HW_RC_ALARM_REG_RMM_RXD_RC_ECC_SG_ERR vxge_mBIT(7) 9308c2ecf20Sopenharmony_ci#define VXGE_HW_RC_ALARM_REG_RHS_RXD_RHS_ECC_DB_ERR vxge_mBIT(8) 9318c2ecf20Sopenharmony_ci#define VXGE_HW_RC_ALARM_REG_RHS_RXD_RHS_ECC_SG_ERR vxge_mBIT(9) 9328c2ecf20Sopenharmony_ci#define VXGE_HW_RC_ALARM_REG_RMM_SM_ERR vxge_mBIT(10) 9338c2ecf20Sopenharmony_ci#define VXGE_HW_RC_ALARM_REG_BTC_VPATH_MISMATCH_ERR vxge_mBIT(12) 9348c2ecf20Sopenharmony_ci/*0x00a18*/ u64 rc_alarm_mask; 9358c2ecf20Sopenharmony_ci/*0x00a20*/ u64 rc_alarm_alarm; 9368c2ecf20Sopenharmony_ci/*0x00a28*/ u64 rxdrm_sm_err_reg; 9378c2ecf20Sopenharmony_ci#define VXGE_HW_RXDRM_SM_ERR_REG_PRC_VP(n) vxge_mBIT(n) 9388c2ecf20Sopenharmony_ci/*0x00a30*/ u64 rxdrm_sm_err_mask; 9398c2ecf20Sopenharmony_ci/*0x00a38*/ u64 rxdrm_sm_err_alarm; 9408c2ecf20Sopenharmony_ci/*0x00a40*/ u64 rxdcm_sm_err_reg; 9418c2ecf20Sopenharmony_ci#define VXGE_HW_RXDCM_SM_ERR_REG_PRC_VP(n) vxge_mBIT(n) 9428c2ecf20Sopenharmony_ci/*0x00a48*/ u64 rxdcm_sm_err_mask; 9438c2ecf20Sopenharmony_ci/*0x00a50*/ u64 rxdcm_sm_err_alarm; 9448c2ecf20Sopenharmony_ci/*0x00a58*/ u64 rxdwm_sm_err_reg; 9458c2ecf20Sopenharmony_ci#define VXGE_HW_RXDWM_SM_ERR_REG_PRC_VP(n) vxge_mBIT(n) 9468c2ecf20Sopenharmony_ci/*0x00a60*/ u64 rxdwm_sm_err_mask; 9478c2ecf20Sopenharmony_ci/*0x00a68*/ u64 rxdwm_sm_err_alarm; 9488c2ecf20Sopenharmony_ci/*0x00a70*/ u64 rda_err_reg; 9498c2ecf20Sopenharmony_ci#define VXGE_HW_RDA_ERR_REG_RDA_SM0_ERR_ALARM vxge_mBIT(0) 9508c2ecf20Sopenharmony_ci#define VXGE_HW_RDA_ERR_REG_RDA_MISC_ERR vxge_mBIT(1) 9518c2ecf20Sopenharmony_ci#define VXGE_HW_RDA_ERR_REG_RDA_PCIX_ERR vxge_mBIT(2) 9528c2ecf20Sopenharmony_ci#define VXGE_HW_RDA_ERR_REG_RDA_RXD_ECC_DB_ERR vxge_mBIT(3) 9538c2ecf20Sopenharmony_ci#define VXGE_HW_RDA_ERR_REG_RDA_FRM_ECC_DB_ERR vxge_mBIT(4) 9548c2ecf20Sopenharmony_ci#define VXGE_HW_RDA_ERR_REG_RDA_UQM_ECC_DB_ERR vxge_mBIT(5) 9558c2ecf20Sopenharmony_ci#define VXGE_HW_RDA_ERR_REG_RDA_IMM_ECC_DB_ERR vxge_mBIT(6) 9568c2ecf20Sopenharmony_ci#define VXGE_HW_RDA_ERR_REG_RDA_TIM_ECC_DB_ERR vxge_mBIT(7) 9578c2ecf20Sopenharmony_ci/*0x00a78*/ u64 rda_err_mask; 9588c2ecf20Sopenharmony_ci/*0x00a80*/ u64 rda_err_alarm; 9598c2ecf20Sopenharmony_ci/*0x00a88*/ u64 rda_ecc_db_reg; 9608c2ecf20Sopenharmony_ci#define VXGE_HW_RDA_ECC_DB_REG_RDA_RXD_ERR(n) vxge_mBIT(n) 9618c2ecf20Sopenharmony_ci/*0x00a90*/ u64 rda_ecc_db_mask; 9628c2ecf20Sopenharmony_ci/*0x00a98*/ u64 rda_ecc_db_alarm; 9638c2ecf20Sopenharmony_ci/*0x00aa0*/ u64 rda_ecc_sg_reg; 9648c2ecf20Sopenharmony_ci#define VXGE_HW_RDA_ECC_SG_REG_RDA_RXD_ERR(n) vxge_mBIT(n) 9658c2ecf20Sopenharmony_ci/*0x00aa8*/ u64 rda_ecc_sg_mask; 9668c2ecf20Sopenharmony_ci/*0x00ab0*/ u64 rda_ecc_sg_alarm; 9678c2ecf20Sopenharmony_ci/*0x00ab8*/ u64 rqa_err_reg; 9688c2ecf20Sopenharmony_ci#define VXGE_HW_RQA_ERR_REG_RQA_SM_ERR_ALARM vxge_mBIT(0) 9698c2ecf20Sopenharmony_ci/*0x00ac0*/ u64 rqa_err_mask; 9708c2ecf20Sopenharmony_ci/*0x00ac8*/ u64 rqa_err_alarm; 9718c2ecf20Sopenharmony_ci/*0x00ad0*/ u64 frf_alarm_reg; 9728c2ecf20Sopenharmony_ci#define VXGE_HW_FRF_ALARM_REG_PRC_VP_FRF_SM_ERR(n) vxge_mBIT(n) 9738c2ecf20Sopenharmony_ci/*0x00ad8*/ u64 frf_alarm_mask; 9748c2ecf20Sopenharmony_ci/*0x00ae0*/ u64 frf_alarm_alarm; 9758c2ecf20Sopenharmony_ci/*0x00ae8*/ u64 rocrc_alarm_reg; 9768c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_QCQ_QCC_BYP_ECC_DB vxge_mBIT(0) 9778c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_QCQ_QCC_BYP_ECC_SG vxge_mBIT(1) 9788c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_NOA_NMA_SM_ERR vxge_mBIT(2) 9798c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_NOA_IMMM_ECC_DB vxge_mBIT(3) 9808c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_NOA_IMMM_ECC_SG vxge_mBIT(4) 9818c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_UDQ_UMQM_ECC_DB vxge_mBIT(5) 9828c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_UDQ_UMQM_ECC_SG vxge_mBIT(6) 9838c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_NOA_RCBM_ECC_DB vxge_mBIT(11) 9848c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_NOA_RCBM_ECC_SG vxge_mBIT(12) 9858c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_QCQ_MULTI_EGB_RSVD_ERR vxge_mBIT(13) 9868c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_QCQ_MULTI_EGB_OWN_ERR vxge_mBIT(14) 9878c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_QCQ_MULTI_BYP_OWN_ERR vxge_mBIT(15) 9888c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_QCQ_OWN_NOT_ASSIGNED_ERR vxge_mBIT(16) 9898c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_QCQ_OWN_RSVD_SYNC_ERR vxge_mBIT(17) 9908c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_QCQ_LOST_EGB_ERR vxge_mBIT(18) 9918c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_RCQ_BYPQ0_OVERFLOW vxge_mBIT(19) 9928c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_RCQ_BYPQ1_OVERFLOW vxge_mBIT(20) 9938c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_RCQ_BYPQ2_OVERFLOW vxge_mBIT(21) 9948c2ecf20Sopenharmony_ci#define VXGE_HW_ROCRC_ALARM_REG_NOA_WCT_CMD_FIFO_ERR vxge_mBIT(22) 9958c2ecf20Sopenharmony_ci/*0x00af0*/ u64 rocrc_alarm_mask; 9968c2ecf20Sopenharmony_ci/*0x00af8*/ u64 rocrc_alarm_alarm; 9978c2ecf20Sopenharmony_ci/*0x00b00*/ u64 wde0_alarm_reg; 9988c2ecf20Sopenharmony_ci#define VXGE_HW_WDE0_ALARM_REG_WDE0_DCC_SM_ERR vxge_mBIT(0) 9998c2ecf20Sopenharmony_ci#define VXGE_HW_WDE0_ALARM_REG_WDE0_PRM_SM_ERR vxge_mBIT(1) 10008c2ecf20Sopenharmony_ci#define VXGE_HW_WDE0_ALARM_REG_WDE0_CP_SM_ERR vxge_mBIT(2) 10018c2ecf20Sopenharmony_ci#define VXGE_HW_WDE0_ALARM_REG_WDE0_CP_CMD_ERR vxge_mBIT(3) 10028c2ecf20Sopenharmony_ci#define VXGE_HW_WDE0_ALARM_REG_WDE0_PCR_SM_ERR vxge_mBIT(4) 10038c2ecf20Sopenharmony_ci/*0x00b08*/ u64 wde0_alarm_mask; 10048c2ecf20Sopenharmony_ci/*0x00b10*/ u64 wde0_alarm_alarm; 10058c2ecf20Sopenharmony_ci/*0x00b18*/ u64 wde1_alarm_reg; 10068c2ecf20Sopenharmony_ci#define VXGE_HW_WDE1_ALARM_REG_WDE1_DCC_SM_ERR vxge_mBIT(0) 10078c2ecf20Sopenharmony_ci#define VXGE_HW_WDE1_ALARM_REG_WDE1_PRM_SM_ERR vxge_mBIT(1) 10088c2ecf20Sopenharmony_ci#define VXGE_HW_WDE1_ALARM_REG_WDE1_CP_SM_ERR vxge_mBIT(2) 10098c2ecf20Sopenharmony_ci#define VXGE_HW_WDE1_ALARM_REG_WDE1_CP_CMD_ERR vxge_mBIT(3) 10108c2ecf20Sopenharmony_ci#define VXGE_HW_WDE1_ALARM_REG_WDE1_PCR_SM_ERR vxge_mBIT(4) 10118c2ecf20Sopenharmony_ci/*0x00b20*/ u64 wde1_alarm_mask; 10128c2ecf20Sopenharmony_ci/*0x00b28*/ u64 wde1_alarm_alarm; 10138c2ecf20Sopenharmony_ci/*0x00b30*/ u64 wde2_alarm_reg; 10148c2ecf20Sopenharmony_ci#define VXGE_HW_WDE2_ALARM_REG_WDE2_DCC_SM_ERR vxge_mBIT(0) 10158c2ecf20Sopenharmony_ci#define VXGE_HW_WDE2_ALARM_REG_WDE2_PRM_SM_ERR vxge_mBIT(1) 10168c2ecf20Sopenharmony_ci#define VXGE_HW_WDE2_ALARM_REG_WDE2_CP_SM_ERR vxge_mBIT(2) 10178c2ecf20Sopenharmony_ci#define VXGE_HW_WDE2_ALARM_REG_WDE2_CP_CMD_ERR vxge_mBIT(3) 10188c2ecf20Sopenharmony_ci#define VXGE_HW_WDE2_ALARM_REG_WDE2_PCR_SM_ERR vxge_mBIT(4) 10198c2ecf20Sopenharmony_ci/*0x00b38*/ u64 wde2_alarm_mask; 10208c2ecf20Sopenharmony_ci/*0x00b40*/ u64 wde2_alarm_alarm; 10218c2ecf20Sopenharmony_ci/*0x00b48*/ u64 wde3_alarm_reg; 10228c2ecf20Sopenharmony_ci#define VXGE_HW_WDE3_ALARM_REG_WDE3_DCC_SM_ERR vxge_mBIT(0) 10238c2ecf20Sopenharmony_ci#define VXGE_HW_WDE3_ALARM_REG_WDE3_PRM_SM_ERR vxge_mBIT(1) 10248c2ecf20Sopenharmony_ci#define VXGE_HW_WDE3_ALARM_REG_WDE3_CP_SM_ERR vxge_mBIT(2) 10258c2ecf20Sopenharmony_ci#define VXGE_HW_WDE3_ALARM_REG_WDE3_CP_CMD_ERR vxge_mBIT(3) 10268c2ecf20Sopenharmony_ci#define VXGE_HW_WDE3_ALARM_REG_WDE3_PCR_SM_ERR vxge_mBIT(4) 10278c2ecf20Sopenharmony_ci/*0x00b50*/ u64 wde3_alarm_mask; 10288c2ecf20Sopenharmony_ci/*0x00b58*/ u64 wde3_alarm_alarm; 10298c2ecf20Sopenharmony_ci 10308c2ecf20Sopenharmony_ci u8 unused00be8[0x00be8-0x00b60]; 10318c2ecf20Sopenharmony_ci 10328c2ecf20Sopenharmony_ci/*0x00be8*/ u64 rx_w_round_robin_0; 10338c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_0_RX_W_PRIORITY_SS_0(val) vxge_vBIT(val, 3, 5) 10348c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_0_RX_W_PRIORITY_SS_1(val) vxge_vBIT(val, 11, 5) 10358c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_0_RX_W_PRIORITY_SS_2(val) vxge_vBIT(val, 19, 5) 10368c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_0_RX_W_PRIORITY_SS_3(val) vxge_vBIT(val, 27, 5) 10378c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_0_RX_W_PRIORITY_SS_4(val) vxge_vBIT(val, 35, 5) 10388c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_0_RX_W_PRIORITY_SS_5(val) vxge_vBIT(val, 43, 5) 10398c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_0_RX_W_PRIORITY_SS_6(val) vxge_vBIT(val, 51, 5) 10408c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_0_RX_W_PRIORITY_SS_7(val) vxge_vBIT(val, 59, 5) 10418c2ecf20Sopenharmony_ci/*0x00bf0*/ u64 rx_w_round_robin_1; 10428c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_1_RX_W_PRIORITY_SS_8(val) vxge_vBIT(val, 3, 5) 10438c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_1_RX_W_PRIORITY_SS_9(val) vxge_vBIT(val, 11, 5) 10448c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_1_RX_W_PRIORITY_SS_10(val) \ 10458c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 10468c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_1_RX_W_PRIORITY_SS_11(val) \ 10478c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 10488c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_1_RX_W_PRIORITY_SS_12(val) \ 10498c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 10508c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_1_RX_W_PRIORITY_SS_13(val) \ 10518c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 10528c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_1_RX_W_PRIORITY_SS_14(val) \ 10538c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 10548c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_1_RX_W_PRIORITY_SS_15(val) \ 10558c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 10568c2ecf20Sopenharmony_ci/*0x00bf8*/ u64 rx_w_round_robin_2; 10578c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_2_RX_W_PRIORITY_SS_16(val) vxge_vBIT(val, 3, 5) 10588c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_2_RX_W_PRIORITY_SS_17(val) \ 10598c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 10608c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_2_RX_W_PRIORITY_SS_18(val) \ 10618c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 10628c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_2_RX_W_PRIORITY_SS_19(val) \ 10638c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 10648c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_2_RX_W_PRIORITY_SS_20(val) \ 10658c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 10668c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_2_RX_W_PRIORITY_SS_21(val) \ 10678c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 10688c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_2_RX_W_PRIORITY_SS_22(val) \ 10698c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 10708c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_2_RX_W_PRIORITY_SS_23(val) \ 10718c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 10728c2ecf20Sopenharmony_ci/*0x00c00*/ u64 rx_w_round_robin_3; 10738c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_3_RX_W_PRIORITY_SS_24(val) vxge_vBIT(val, 3, 5) 10748c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_3_RX_W_PRIORITY_SS_25(val) \ 10758c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 10768c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_3_RX_W_PRIORITY_SS_26(val) \ 10778c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 10788c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_3_RX_W_PRIORITY_SS_27(val) \ 10798c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 10808c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_3_RX_W_PRIORITY_SS_28(val) \ 10818c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 10828c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_3_RX_W_PRIORITY_SS_29(val) \ 10838c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 10848c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_3_RX_W_PRIORITY_SS_30(val) \ 10858c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 10868c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_3_RX_W_PRIORITY_SS_31(val) \ 10878c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 10888c2ecf20Sopenharmony_ci/*0x00c08*/ u64 rx_w_round_robin_4; 10898c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_4_RX_W_PRIORITY_SS_32(val) vxge_vBIT(val, 3, 5) 10908c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_4_RX_W_PRIORITY_SS_33(val) \ 10918c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 10928c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_4_RX_W_PRIORITY_SS_34(val) \ 10938c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 10948c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_4_RX_W_PRIORITY_SS_35(val) \ 10958c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 10968c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_4_RX_W_PRIORITY_SS_36(val) \ 10978c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 10988c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_4_RX_W_PRIORITY_SS_37(val) \ 10998c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 11008c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_4_RX_W_PRIORITY_SS_38(val) \ 11018c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 11028c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_4_RX_W_PRIORITY_SS_39(val) \ 11038c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 11048c2ecf20Sopenharmony_ci/*0x00c10*/ u64 rx_w_round_robin_5; 11058c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_5_RX_W_PRIORITY_SS_40(val) vxge_vBIT(val, 3, 5) 11068c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_5_RX_W_PRIORITY_SS_41(val) \ 11078c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 11088c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_5_RX_W_PRIORITY_SS_42(val) \ 11098c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 11108c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_5_RX_W_PRIORITY_SS_43(val) \ 11118c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 11128c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_5_RX_W_PRIORITY_SS_44(val) \ 11138c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 11148c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_5_RX_W_PRIORITY_SS_45(val) \ 11158c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 11168c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_5_RX_W_PRIORITY_SS_46(val) \ 11178c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 11188c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_5_RX_W_PRIORITY_SS_47(val) \ 11198c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 11208c2ecf20Sopenharmony_ci/*0x00c18*/ u64 rx_w_round_robin_6; 11218c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_6_RX_W_PRIORITY_SS_48(val) vxge_vBIT(val, 3, 5) 11228c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_6_RX_W_PRIORITY_SS_49(val) \ 11238c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 11248c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_6_RX_W_PRIORITY_SS_50(val) \ 11258c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 11268c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_6_RX_W_PRIORITY_SS_51(val) \ 11278c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 11288c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_6_RX_W_PRIORITY_SS_52(val) \ 11298c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 11308c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_6_RX_W_PRIORITY_SS_53(val) \ 11318c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 11328c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_6_RX_W_PRIORITY_SS_54(val) \ 11338c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 11348c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_6_RX_W_PRIORITY_SS_55(val) \ 11358c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 11368c2ecf20Sopenharmony_ci/*0x00c20*/ u64 rx_w_round_robin_7; 11378c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_7_RX_W_PRIORITY_SS_56(val) vxge_vBIT(val, 3, 5) 11388c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_7_RX_W_PRIORITY_SS_57(val) \ 11398c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 11408c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_7_RX_W_PRIORITY_SS_58(val) \ 11418c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 11428c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_7_RX_W_PRIORITY_SS_59(val) \ 11438c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 11448c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_7_RX_W_PRIORITY_SS_60(val) \ 11458c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 11468c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_7_RX_W_PRIORITY_SS_61(val) \ 11478c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 11488c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_7_RX_W_PRIORITY_SS_62(val) \ 11498c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 11508c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_7_RX_W_PRIORITY_SS_63(val) \ 11518c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 11528c2ecf20Sopenharmony_ci/*0x00c28*/ u64 rx_w_round_robin_8; 11538c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_8_RX_W_PRIORITY_SS_64(val) vxge_vBIT(val, 3, 5) 11548c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_8_RX_W_PRIORITY_SS_65(val) \ 11558c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 11568c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_8_RX_W_PRIORITY_SS_66(val) \ 11578c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 11588c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_8_RX_W_PRIORITY_SS_67(val) \ 11598c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 11608c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_8_RX_W_PRIORITY_SS_68(val) \ 11618c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 11628c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_8_RX_W_PRIORITY_SS_69(val) \ 11638c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 11648c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_8_RX_W_PRIORITY_SS_70(val) \ 11658c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 11668c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_8_RX_W_PRIORITY_SS_71(val) \ 11678c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 11688c2ecf20Sopenharmony_ci/*0x00c30*/ u64 rx_w_round_robin_9; 11698c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_9_RX_W_PRIORITY_SS_72(val) vxge_vBIT(val, 3, 5) 11708c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_9_RX_W_PRIORITY_SS_73(val) \ 11718c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 11728c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_9_RX_W_PRIORITY_SS_74(val) \ 11738c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 11748c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_9_RX_W_PRIORITY_SS_75(val) \ 11758c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 11768c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_9_RX_W_PRIORITY_SS_76(val) \ 11778c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 11788c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_9_RX_W_PRIORITY_SS_77(val) \ 11798c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 11808c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_9_RX_W_PRIORITY_SS_78(val) \ 11818c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 11828c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_9_RX_W_PRIORITY_SS_79(val) \ 11838c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 11848c2ecf20Sopenharmony_ci/*0x00c38*/ u64 rx_w_round_robin_10; 11858c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_10_RX_W_PRIORITY_SS_80(val) \ 11868c2ecf20Sopenharmony_ci vxge_vBIT(val, 3, 5) 11878c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_10_RX_W_PRIORITY_SS_81(val) \ 11888c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 11898c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_10_RX_W_PRIORITY_SS_82(val) \ 11908c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 11918c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_10_RX_W_PRIORITY_SS_83(val) \ 11928c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 11938c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_10_RX_W_PRIORITY_SS_84(val) \ 11948c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 11958c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_10_RX_W_PRIORITY_SS_85(val) \ 11968c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 11978c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_10_RX_W_PRIORITY_SS_86(val) \ 11988c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 11998c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_10_RX_W_PRIORITY_SS_87(val) \ 12008c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 12018c2ecf20Sopenharmony_ci/*0x00c40*/ u64 rx_w_round_robin_11; 12028c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_11_RX_W_PRIORITY_SS_88(val) \ 12038c2ecf20Sopenharmony_ci vxge_vBIT(val, 3, 5) 12048c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_11_RX_W_PRIORITY_SS_89(val) \ 12058c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 12068c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_11_RX_W_PRIORITY_SS_90(val) \ 12078c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 12088c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_11_RX_W_PRIORITY_SS_91(val) \ 12098c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 12108c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_11_RX_W_PRIORITY_SS_92(val) \ 12118c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 12128c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_11_RX_W_PRIORITY_SS_93(val) \ 12138c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 12148c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_11_RX_W_PRIORITY_SS_94(val) \ 12158c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 12168c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_11_RX_W_PRIORITY_SS_95(val) \ 12178c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 12188c2ecf20Sopenharmony_ci/*0x00c48*/ u64 rx_w_round_robin_12; 12198c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_12_RX_W_PRIORITY_SS_96(val) \ 12208c2ecf20Sopenharmony_ci vxge_vBIT(val, 3, 5) 12218c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_12_RX_W_PRIORITY_SS_97(val) \ 12228c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 12238c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_12_RX_W_PRIORITY_SS_98(val) \ 12248c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 12258c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_12_RX_W_PRIORITY_SS_99(val) \ 12268c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 12278c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_12_RX_W_PRIORITY_SS_100(val) \ 12288c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 12298c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_12_RX_W_PRIORITY_SS_101(val) \ 12308c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 12318c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_12_RX_W_PRIORITY_SS_102(val) \ 12328c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 12338c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_12_RX_W_PRIORITY_SS_103(val) \ 12348c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 12358c2ecf20Sopenharmony_ci/*0x00c50*/ u64 rx_w_round_robin_13; 12368c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_13_RX_W_PRIORITY_SS_104(val) \ 12378c2ecf20Sopenharmony_ci vxge_vBIT(val, 3, 5) 12388c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_13_RX_W_PRIORITY_SS_105(val) \ 12398c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 12408c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_13_RX_W_PRIORITY_SS_106(val) \ 12418c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 12428c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_13_RX_W_PRIORITY_SS_107(val) \ 12438c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 12448c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_13_RX_W_PRIORITY_SS_108(val) \ 12458c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 12468c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_13_RX_W_PRIORITY_SS_109(val) \ 12478c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 12488c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_13_RX_W_PRIORITY_SS_110(val) \ 12498c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 12508c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_13_RX_W_PRIORITY_SS_111(val) \ 12518c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 12528c2ecf20Sopenharmony_ci/*0x00c58*/ u64 rx_w_round_robin_14; 12538c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_14_RX_W_PRIORITY_SS_112(val) \ 12548c2ecf20Sopenharmony_ci vxge_vBIT(val, 3, 5) 12558c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_14_RX_W_PRIORITY_SS_113(val) \ 12568c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 12578c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_14_RX_W_PRIORITY_SS_114(val) \ 12588c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 12598c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_14_RX_W_PRIORITY_SS_115(val) \ 12608c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 12618c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_14_RX_W_PRIORITY_SS_116(val) \ 12628c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 12638c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_14_RX_W_PRIORITY_SS_117(val) \ 12648c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 12658c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_14_RX_W_PRIORITY_SS_118(val) \ 12668c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 12678c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_14_RX_W_PRIORITY_SS_119(val) \ 12688c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 12698c2ecf20Sopenharmony_ci/*0x00c60*/ u64 rx_w_round_robin_15; 12708c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_15_RX_W_PRIORITY_SS_120(val) \ 12718c2ecf20Sopenharmony_ci vxge_vBIT(val, 3, 5) 12728c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_15_RX_W_PRIORITY_SS_121(val) \ 12738c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 12748c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_15_RX_W_PRIORITY_SS_122(val) \ 12758c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 12768c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_15_RX_W_PRIORITY_SS_123(val) \ 12778c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 12788c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_15_RX_W_PRIORITY_SS_124(val) \ 12798c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 12808c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_15_RX_W_PRIORITY_SS_125(val) \ 12818c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 12828c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_15_RX_W_PRIORITY_SS_126(val) \ 12838c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 12848c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_15_RX_W_PRIORITY_SS_127(val) \ 12858c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 12868c2ecf20Sopenharmony_ci/*0x00c68*/ u64 rx_w_round_robin_16; 12878c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_16_RX_W_PRIORITY_SS_128(val) \ 12888c2ecf20Sopenharmony_ci vxge_vBIT(val, 3, 5) 12898c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_16_RX_W_PRIORITY_SS_129(val) \ 12908c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 12918c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_16_RX_W_PRIORITY_SS_130(val) \ 12928c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 12938c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_16_RX_W_PRIORITY_SS_131(val) \ 12948c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 12958c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_16_RX_W_PRIORITY_SS_132(val) \ 12968c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 12978c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_16_RX_W_PRIORITY_SS_133(val) \ 12988c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 12998c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_16_RX_W_PRIORITY_SS_134(val) \ 13008c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 13018c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_16_RX_W_PRIORITY_SS_135(val) \ 13028c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 13038c2ecf20Sopenharmony_ci/*0x00c70*/ u64 rx_w_round_robin_17; 13048c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_17_RX_W_PRIORITY_SS_136(val) \ 13058c2ecf20Sopenharmony_ci vxge_vBIT(val, 3, 5) 13068c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_17_RX_W_PRIORITY_SS_137(val) \ 13078c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 13088c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_17_RX_W_PRIORITY_SS_138(val) \ 13098c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 13108c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_17_RX_W_PRIORITY_SS_139(val) \ 13118c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 13128c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_17_RX_W_PRIORITY_SS_140(val) \ 13138c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 13148c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_17_RX_W_PRIORITY_SS_141(val) \ 13158c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 13168c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_17_RX_W_PRIORITY_SS_142(val) \ 13178c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 13188c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_17_RX_W_PRIORITY_SS_143(val) \ 13198c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 13208c2ecf20Sopenharmony_ci/*0x00c78*/ u64 rx_w_round_robin_18; 13218c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_18_RX_W_PRIORITY_SS_144(val) \ 13228c2ecf20Sopenharmony_ci vxge_vBIT(val, 3, 5) 13238c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_18_RX_W_PRIORITY_SS_145(val) \ 13248c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 13258c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_18_RX_W_PRIORITY_SS_146(val) \ 13268c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 13278c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_18_RX_W_PRIORITY_SS_147(val) \ 13288c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 13298c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_18_RX_W_PRIORITY_SS_148(val) \ 13308c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 13318c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_18_RX_W_PRIORITY_SS_149(val) \ 13328c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 13338c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_18_RX_W_PRIORITY_SS_150(val) \ 13348c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 13358c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_18_RX_W_PRIORITY_SS_151(val) \ 13368c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 13378c2ecf20Sopenharmony_ci/*0x00c80*/ u64 rx_w_round_robin_19; 13388c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_19_RX_W_PRIORITY_SS_152(val) \ 13398c2ecf20Sopenharmony_ci vxge_vBIT(val, 3, 5) 13408c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_19_RX_W_PRIORITY_SS_153(val) \ 13418c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 13428c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_19_RX_W_PRIORITY_SS_154(val) \ 13438c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 13448c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_19_RX_W_PRIORITY_SS_155(val) \ 13458c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 13468c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_19_RX_W_PRIORITY_SS_156(val) \ 13478c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 13488c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_19_RX_W_PRIORITY_SS_157(val) \ 13498c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 13508c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_19_RX_W_PRIORITY_SS_158(val) \ 13518c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 13528c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_19_RX_W_PRIORITY_SS_159(val) \ 13538c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 13548c2ecf20Sopenharmony_ci/*0x00c88*/ u64 rx_w_round_robin_20; 13558c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_20_RX_W_PRIORITY_SS_160(val) \ 13568c2ecf20Sopenharmony_ci vxge_vBIT(val, 3, 5) 13578c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_20_RX_W_PRIORITY_SS_161(val) \ 13588c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 13598c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_20_RX_W_PRIORITY_SS_162(val) \ 13608c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 13618c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_20_RX_W_PRIORITY_SS_163(val) \ 13628c2ecf20Sopenharmony_ci vxge_vBIT(val, 27, 5) 13638c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_20_RX_W_PRIORITY_SS_164(val) \ 13648c2ecf20Sopenharmony_ci vxge_vBIT(val, 35, 5) 13658c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_20_RX_W_PRIORITY_SS_165(val) \ 13668c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 13678c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_20_RX_W_PRIORITY_SS_166(val) \ 13688c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 13698c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_20_RX_W_PRIORITY_SS_167(val) \ 13708c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 13718c2ecf20Sopenharmony_ci/*0x00c90*/ u64 rx_w_round_robin_21; 13728c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_21_RX_W_PRIORITY_SS_168(val) \ 13738c2ecf20Sopenharmony_ci vxge_vBIT(val, 3, 5) 13748c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_21_RX_W_PRIORITY_SS_169(val) \ 13758c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 13768c2ecf20Sopenharmony_ci#define VXGE_HW_RX_W_ROUND_ROBIN_21_RX_W_PRIORITY_SS_170(val) \ 13778c2ecf20Sopenharmony_ci vxge_vBIT(val, 19, 5) 13788c2ecf20Sopenharmony_ci 13798c2ecf20Sopenharmony_ci#define VXGE_HW_WRR_RING_SERVICE_STATES 171 13808c2ecf20Sopenharmony_ci#define VXGE_HW_WRR_RING_COUNT 22 13818c2ecf20Sopenharmony_ci 13828c2ecf20Sopenharmony_ci/*0x00c98*/ u64 rx_queue_priority_0; 13838c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_0_RX_Q_NUMBER_0(val) vxge_vBIT(val, 3, 5) 13848c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_0_RX_Q_NUMBER_1(val) vxge_vBIT(val, 11, 5) 13858c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_0_RX_Q_NUMBER_2(val) vxge_vBIT(val, 19, 5) 13868c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_0_RX_Q_NUMBER_3(val) vxge_vBIT(val, 27, 5) 13878c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_0_RX_Q_NUMBER_4(val) vxge_vBIT(val, 35, 5) 13888c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_0_RX_Q_NUMBER_5(val) vxge_vBIT(val, 43, 5) 13898c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_0_RX_Q_NUMBER_6(val) vxge_vBIT(val, 51, 5) 13908c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_0_RX_Q_NUMBER_7(val) vxge_vBIT(val, 59, 5) 13918c2ecf20Sopenharmony_ci/*0x00ca0*/ u64 rx_queue_priority_1; 13928c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_1_RX_Q_NUMBER_8(val) vxge_vBIT(val, 3, 5) 13938c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_1_RX_Q_NUMBER_9(val) vxge_vBIT(val, 11, 5) 13948c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_1_RX_Q_NUMBER_10(val) vxge_vBIT(val, 19, 5) 13958c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_1_RX_Q_NUMBER_11(val) vxge_vBIT(val, 27, 5) 13968c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_1_RX_Q_NUMBER_12(val) vxge_vBIT(val, 35, 5) 13978c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_1_RX_Q_NUMBER_13(val) vxge_vBIT(val, 43, 5) 13988c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_1_RX_Q_NUMBER_14(val) vxge_vBIT(val, 51, 5) 13998c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_1_RX_Q_NUMBER_15(val) vxge_vBIT(val, 59, 5) 14008c2ecf20Sopenharmony_ci/*0x00ca8*/ u64 rx_queue_priority_2; 14018c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_PRIORITY_2_RX_Q_NUMBER_16(val) vxge_vBIT(val, 3, 5) 14028c2ecf20Sopenharmony_ci u8 unused00cc8[0x00cc8-0x00cb0]; 14038c2ecf20Sopenharmony_ci 14048c2ecf20Sopenharmony_ci/*0x00cc8*/ u64 replication_queue_priority; 14058c2ecf20Sopenharmony_ci#define VXGE_HW_REPLICATION_QUEUE_PRIORITY_REPLICATION_QUEUE_PRIORITY(val) \ 14068c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 14078c2ecf20Sopenharmony_ci/*0x00cd0*/ u64 rx_queue_select; 14088c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_SELECT_NUMBER(n) vxge_mBIT(n) 14098c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_SELECT_ENABLE_CODE vxge_mBIT(15) 14108c2ecf20Sopenharmony_ci#define VXGE_HW_RX_QUEUE_SELECT_ENABLE_HIERARCHICAL_PRTY vxge_mBIT(23) 14118c2ecf20Sopenharmony_ci/*0x00cd8*/ u64 rqa_vpbp_ctrl; 14128c2ecf20Sopenharmony_ci#define VXGE_HW_RQA_VPBP_CTRL_WR_XON_DIS vxge_mBIT(15) 14138c2ecf20Sopenharmony_ci#define VXGE_HW_RQA_VPBP_CTRL_ROCRC_DIS vxge_mBIT(23) 14148c2ecf20Sopenharmony_ci#define VXGE_HW_RQA_VPBP_CTRL_TXPE_DIS vxge_mBIT(31) 14158c2ecf20Sopenharmony_ci/*0x00ce0*/ u64 rx_multi_cast_ctrl; 14168c2ecf20Sopenharmony_ci#define VXGE_HW_RX_MULTI_CAST_CTRL_TIME_OUT_DIS vxge_mBIT(0) 14178c2ecf20Sopenharmony_ci#define VXGE_HW_RX_MULTI_CAST_CTRL_FRM_DROP_DIS vxge_mBIT(1) 14188c2ecf20Sopenharmony_ci#define VXGE_HW_RX_MULTI_CAST_CTRL_NO_RXD_TIME_OUT_CNT(val) \ 14198c2ecf20Sopenharmony_ci vxge_vBIT(val, 2, 30) 14208c2ecf20Sopenharmony_ci#define VXGE_HW_RX_MULTI_CAST_CTRL_TIME_OUT_CNT(val) vxge_vBIT(val, 32, 32) 14218c2ecf20Sopenharmony_ci/*0x00ce8*/ u64 wde_prm_ctrl; 14228c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_PRM_CTRL_SPAV_THRESHOLD(val) vxge_vBIT(val, 2, 10) 14238c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_PRM_CTRL_SPLIT_THRESHOLD(val) vxge_vBIT(val, 18, 14) 14248c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_PRM_CTRL_SPLIT_ON_1ST_ROW vxge_mBIT(32) 14258c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_PRM_CTRL_SPLIT_ON_ROW_BNDRY vxge_mBIT(33) 14268c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_PRM_CTRL_FB_ROW_SIZE(val) vxge_vBIT(val, 46, 2) 14278c2ecf20Sopenharmony_ci/*0x00cf0*/ u64 noa_ctrl; 14288c2ecf20Sopenharmony_ci#define VXGE_HW_NOA_CTRL_FRM_PRTY_QUOTA(val) vxge_vBIT(val, 3, 5) 14298c2ecf20Sopenharmony_ci#define VXGE_HW_NOA_CTRL_NON_FRM_PRTY_QUOTA(val) vxge_vBIT(val, 11, 5) 14308c2ecf20Sopenharmony_ci#define VXGE_HW_NOA_CTRL_IGNORE_KDFC_IF_STATUS vxge_mBIT(16) 14318c2ecf20Sopenharmony_ci#define VXGE_HW_NOA_CTRL_MAX_JOB_CNT_FOR_WDE0(val) vxge_vBIT(val, 37, 4) 14328c2ecf20Sopenharmony_ci#define VXGE_HW_NOA_CTRL_MAX_JOB_CNT_FOR_WDE1(val) vxge_vBIT(val, 45, 4) 14338c2ecf20Sopenharmony_ci#define VXGE_HW_NOA_CTRL_MAX_JOB_CNT_FOR_WDE2(val) vxge_vBIT(val, 53, 4) 14348c2ecf20Sopenharmony_ci#define VXGE_HW_NOA_CTRL_MAX_JOB_CNT_FOR_WDE3(val) vxge_vBIT(val, 60, 4) 14358c2ecf20Sopenharmony_ci/*0x00cf8*/ u64 phase_cfg; 14368c2ecf20Sopenharmony_ci#define VXGE_HW_PHASE_CFG_QCC_WR_PHASE_EN vxge_mBIT(0) 14378c2ecf20Sopenharmony_ci#define VXGE_HW_PHASE_CFG_QCC_RD_PHASE_EN vxge_mBIT(3) 14388c2ecf20Sopenharmony_ci#define VXGE_HW_PHASE_CFG_IMMM_WR_PHASE_EN vxge_mBIT(7) 14398c2ecf20Sopenharmony_ci#define VXGE_HW_PHASE_CFG_IMMM_RD_PHASE_EN vxge_mBIT(11) 14408c2ecf20Sopenharmony_ci#define VXGE_HW_PHASE_CFG_UMQM_WR_PHASE_EN vxge_mBIT(15) 14418c2ecf20Sopenharmony_ci#define VXGE_HW_PHASE_CFG_UMQM_RD_PHASE_EN vxge_mBIT(19) 14428c2ecf20Sopenharmony_ci#define VXGE_HW_PHASE_CFG_RCBM_WR_PHASE_EN vxge_mBIT(23) 14438c2ecf20Sopenharmony_ci#define VXGE_HW_PHASE_CFG_RCBM_RD_PHASE_EN vxge_mBIT(27) 14448c2ecf20Sopenharmony_ci#define VXGE_HW_PHASE_CFG_RXD_RC_WR_PHASE_EN vxge_mBIT(31) 14458c2ecf20Sopenharmony_ci#define VXGE_HW_PHASE_CFG_RXD_RC_RD_PHASE_EN vxge_mBIT(35) 14468c2ecf20Sopenharmony_ci#define VXGE_HW_PHASE_CFG_RXD_RHS_WR_PHASE_EN vxge_mBIT(39) 14478c2ecf20Sopenharmony_ci#define VXGE_HW_PHASE_CFG_RXD_RHS_RD_PHASE_EN vxge_mBIT(43) 14488c2ecf20Sopenharmony_ci/*0x00d00*/ u64 rcq_bypq_cfg; 14498c2ecf20Sopenharmony_ci#define VXGE_HW_RCQ_BYPQ_CFG_OVERFLOW_THRESHOLD(val) vxge_vBIT(val, 10, 22) 14508c2ecf20Sopenharmony_ci#define VXGE_HW_RCQ_BYPQ_CFG_BYP_ON_THRESHOLD(val) vxge_vBIT(val, 39, 9) 14518c2ecf20Sopenharmony_ci#define VXGE_HW_RCQ_BYPQ_CFG_BYP_OFF_THRESHOLD(val) vxge_vBIT(val, 55, 9) 14528c2ecf20Sopenharmony_ci u8 unused00e00[0x00e00-0x00d08]; 14538c2ecf20Sopenharmony_ci 14548c2ecf20Sopenharmony_ci/*0x00e00*/ u64 doorbell_int_status; 14558c2ecf20Sopenharmony_ci#define VXGE_HW_DOORBELL_INT_STATUS_KDFC_ERR_REG_TXDMA_KDFC_INT vxge_mBIT(7) 14568c2ecf20Sopenharmony_ci#define VXGE_HW_DOORBELL_INT_STATUS_USDC_ERR_REG_TXDMA_USDC_INT vxge_mBIT(15) 14578c2ecf20Sopenharmony_ci/*0x00e08*/ u64 doorbell_int_mask; 14588c2ecf20Sopenharmony_ci/*0x00e10*/ u64 kdfc_err_reg; 14598c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ERR_REG_KDFC_KDFC_ECC_SG_ERR vxge_mBIT(7) 14608c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ERR_REG_KDFC_KDFC_ECC_DB_ERR vxge_mBIT(15) 14618c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ERR_REG_KDFC_KDFC_SM_ERR_ALARM vxge_mBIT(23) 14628c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ERR_REG_KDFC_KDFC_MISC_ERR_1 vxge_mBIT(32) 14638c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ERR_REG_KDFC_KDFC_PCIX_ERR vxge_mBIT(39) 14648c2ecf20Sopenharmony_ci/*0x00e18*/ u64 kdfc_err_mask; 14658c2ecf20Sopenharmony_ci/*0x00e20*/ u64 kdfc_err_reg_alarm; 14668c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ERR_REG_ALARM_KDFC_KDFC_ECC_SG_ERR vxge_mBIT(7) 14678c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ERR_REG_ALARM_KDFC_KDFC_ECC_DB_ERR vxge_mBIT(15) 14688c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ERR_REG_ALARM_KDFC_KDFC_SM_ERR_ALARM vxge_mBIT(23) 14698c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ERR_REG_ALARM_KDFC_KDFC_MISC_ERR_1 vxge_mBIT(32) 14708c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ERR_REG_ALARM_KDFC_KDFC_PCIX_ERR vxge_mBIT(39) 14718c2ecf20Sopenharmony_ci u8 unused00e40[0x00e40-0x00e28]; 14728c2ecf20Sopenharmony_ci/*0x00e40*/ u64 kdfc_vp_partition_0; 14738c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_0_ENABLE vxge_mBIT(0) 14748c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_0_NUMBER_0(val) vxge_vBIT(val, 5, 3) 14758c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_0_LENGTH_0(val) vxge_vBIT(val, 17, 15) 14768c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_0_NUMBER_1(val) vxge_vBIT(val, 37, 3) 14778c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_0_LENGTH_1(val) vxge_vBIT(val, 49, 15) 14788c2ecf20Sopenharmony_ci/*0x00e48*/ u64 kdfc_vp_partition_1; 14798c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_1_NUMBER_2(val) vxge_vBIT(val, 5, 3) 14808c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_1_LENGTH_2(val) vxge_vBIT(val, 17, 15) 14818c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_1_NUMBER_3(val) vxge_vBIT(val, 37, 3) 14828c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_1_LENGTH_3(val) vxge_vBIT(val, 49, 15) 14838c2ecf20Sopenharmony_ci/*0x00e50*/ u64 kdfc_vp_partition_2; 14848c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_2_NUMBER_4(val) vxge_vBIT(val, 5, 3) 14858c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_2_LENGTH_4(val) vxge_vBIT(val, 17, 15) 14868c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_2_NUMBER_5(val) vxge_vBIT(val, 37, 3) 14878c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_2_LENGTH_5(val) vxge_vBIT(val, 49, 15) 14888c2ecf20Sopenharmony_ci/*0x00e58*/ u64 kdfc_vp_partition_3; 14898c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_3_NUMBER_6(val) vxge_vBIT(val, 5, 3) 14908c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_3_LENGTH_6(val) vxge_vBIT(val, 17, 15) 14918c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_3_NUMBER_7(val) vxge_vBIT(val, 37, 3) 14928c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_3_LENGTH_7(val) vxge_vBIT(val, 49, 15) 14938c2ecf20Sopenharmony_ci/*0x00e60*/ u64 kdfc_vp_partition_4; 14948c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_4_LENGTH_8(val) vxge_vBIT(val, 17, 15) 14958c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_4_LENGTH_9(val) vxge_vBIT(val, 49, 15) 14968c2ecf20Sopenharmony_ci/*0x00e68*/ u64 kdfc_vp_partition_5; 14978c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_5_LENGTH_10(val) vxge_vBIT(val, 17, 15) 14988c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_5_LENGTH_11(val) vxge_vBIT(val, 49, 15) 14998c2ecf20Sopenharmony_ci/*0x00e70*/ u64 kdfc_vp_partition_6; 15008c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_6_LENGTH_12(val) vxge_vBIT(val, 17, 15) 15018c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_6_LENGTH_13(val) vxge_vBIT(val, 49, 15) 15028c2ecf20Sopenharmony_ci/*0x00e78*/ u64 kdfc_vp_partition_7; 15038c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_7_LENGTH_14(val) vxge_vBIT(val, 17, 15) 15048c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_7_LENGTH_15(val) vxge_vBIT(val, 49, 15) 15058c2ecf20Sopenharmony_ci/*0x00e80*/ u64 kdfc_vp_partition_8; 15068c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_VP_PARTITION_8_LENGTH_16(val) vxge_vBIT(val, 17, 15) 15078c2ecf20Sopenharmony_ci/*0x00e88*/ u64 kdfc_w_round_robin_0; 15088c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_0_NUMBER_0(val) vxge_vBIT(val, 3, 5) 15098c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_0_NUMBER_1(val) vxge_vBIT(val, 11, 5) 15108c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_0_NUMBER_2(val) vxge_vBIT(val, 19, 5) 15118c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_0_NUMBER_3(val) vxge_vBIT(val, 27, 5) 15128c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_0_NUMBER_4(val) vxge_vBIT(val, 35, 5) 15138c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_0_NUMBER_5(val) vxge_vBIT(val, 43, 5) 15148c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_0_NUMBER_6(val) vxge_vBIT(val, 51, 5) 15158c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_0_NUMBER_7(val) vxge_vBIT(val, 59, 5) 15168c2ecf20Sopenharmony_ci 15178c2ecf20Sopenharmony_ci u8 unused0f28[0x0f28-0x0e90]; 15188c2ecf20Sopenharmony_ci 15198c2ecf20Sopenharmony_ci/*0x00f28*/ u64 kdfc_w_round_robin_20; 15208c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_20_NUMBER_0(val) vxge_vBIT(val, 3, 5) 15218c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_20_NUMBER_1(val) vxge_vBIT(val, 11, 5) 15228c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_20_NUMBER_2(val) vxge_vBIT(val, 19, 5) 15238c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_20_NUMBER_3(val) vxge_vBIT(val, 27, 5) 15248c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_20_NUMBER_4(val) vxge_vBIT(val, 35, 5) 15258c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_20_NUMBER_5(val) vxge_vBIT(val, 43, 5) 15268c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_20_NUMBER_6(val) vxge_vBIT(val, 51, 5) 15278c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_20_NUMBER_7(val) vxge_vBIT(val, 59, 5) 15288c2ecf20Sopenharmony_ci 15298c2ecf20Sopenharmony_ci#define VXGE_HW_WRR_FIFO_COUNT 20 15308c2ecf20Sopenharmony_ci 15318c2ecf20Sopenharmony_ci u8 unused0fc8[0x0fc8-0x0f30]; 15328c2ecf20Sopenharmony_ci 15338c2ecf20Sopenharmony_ci/*0x00fc8*/ u64 kdfc_w_round_robin_40; 15348c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_40_NUMBER_0(val) vxge_vBIT(val, 3, 5) 15358c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_40_NUMBER_1(val) vxge_vBIT(val, 11, 5) 15368c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_40_NUMBER_2(val) vxge_vBIT(val, 19, 5) 15378c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_40_NUMBER_3(val) vxge_vBIT(val, 27, 5) 15388c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_40_NUMBER_4(val) vxge_vBIT(val, 35, 5) 15398c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_40_NUMBER_5(val) vxge_vBIT(val, 43, 5) 15408c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_40_NUMBER_6(val) vxge_vBIT(val, 51, 5) 15418c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_W_ROUND_ROBIN_40_NUMBER_7(val) vxge_vBIT(val, 59, 5) 15428c2ecf20Sopenharmony_ci 15438c2ecf20Sopenharmony_ci u8 unused1068[0x01068-0x0fd0]; 15448c2ecf20Sopenharmony_ci 15458c2ecf20Sopenharmony_ci/*0x01068*/ u64 kdfc_entry_type_sel_0; 15468c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ENTRY_TYPE_SEL_0_NUMBER_0(val) vxge_vBIT(val, 6, 2) 15478c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ENTRY_TYPE_SEL_0_NUMBER_1(val) vxge_vBIT(val, 14, 2) 15488c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ENTRY_TYPE_SEL_0_NUMBER_2(val) vxge_vBIT(val, 22, 2) 15498c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ENTRY_TYPE_SEL_0_NUMBER_3(val) vxge_vBIT(val, 30, 2) 15508c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ENTRY_TYPE_SEL_0_NUMBER_4(val) vxge_vBIT(val, 38, 2) 15518c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ENTRY_TYPE_SEL_0_NUMBER_5(val) vxge_vBIT(val, 46, 2) 15528c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ENTRY_TYPE_SEL_0_NUMBER_6(val) vxge_vBIT(val, 54, 2) 15538c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ENTRY_TYPE_SEL_0_NUMBER_7(val) vxge_vBIT(val, 62, 2) 15548c2ecf20Sopenharmony_ci/*0x01070*/ u64 kdfc_entry_type_sel_1; 15558c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_ENTRY_TYPE_SEL_1_NUMBER_8(val) vxge_vBIT(val, 6, 2) 15568c2ecf20Sopenharmony_ci/*0x01078*/ u64 kdfc_fifo_0_ctrl; 15578c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_FIFO_0_CTRL_WRR_NUMBER(val) vxge_vBIT(val, 3, 5) 15588c2ecf20Sopenharmony_ci#define VXGE_HW_WEIGHTED_RR_SERVICE_STATES 176 15598c2ecf20Sopenharmony_ci#define VXGE_HW_WRR_FIFO_SERVICE_STATES 153 15608c2ecf20Sopenharmony_ci 15618c2ecf20Sopenharmony_ci u8 unused1100[0x01100-0x1080]; 15628c2ecf20Sopenharmony_ci 15638c2ecf20Sopenharmony_ci/*0x01100*/ u64 kdfc_fifo_17_ctrl; 15648c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_FIFO_17_CTRL_WRR_NUMBER(val) vxge_vBIT(val, 3, 5) 15658c2ecf20Sopenharmony_ci 15668c2ecf20Sopenharmony_ci u8 unused1600[0x01600-0x1108]; 15678c2ecf20Sopenharmony_ci 15688c2ecf20Sopenharmony_ci/*0x01600*/ u64 rxmac_int_status; 15698c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_INT_STATUS_RXMAC_GEN_ERR_RXMAC_GEN_INT vxge_mBIT(3) 15708c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_INT_STATUS_RXMAC_ECC_ERR_RXMAC_ECC_INT vxge_mBIT(7) 15718c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_INT_STATUS_RXMAC_VARIOUS_ERR_RXMAC_VARIOUS_INT \ 15728c2ecf20Sopenharmony_ci vxge_mBIT(11) 15738c2ecf20Sopenharmony_ci/*0x01608*/ u64 rxmac_int_mask; 15748c2ecf20Sopenharmony_ci u8 unused01618[0x01618-0x01610]; 15758c2ecf20Sopenharmony_ci 15768c2ecf20Sopenharmony_ci/*0x01618*/ u64 rxmac_gen_err_reg; 15778c2ecf20Sopenharmony_ci/*0x01620*/ u64 rxmac_gen_err_mask; 15788c2ecf20Sopenharmony_ci/*0x01628*/ u64 rxmac_gen_err_alarm; 15798c2ecf20Sopenharmony_ci/*0x01630*/ u64 rxmac_ecc_err_reg; 15808c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RMAC_PORT0_RMAC_RTS_PART_SG_ERR(val) \ 15818c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 4) 15828c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RMAC_PORT0_RMAC_RTS_PART_DB_ERR(val) \ 15838c2ecf20Sopenharmony_ci vxge_vBIT(val, 4, 4) 15848c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RMAC_PORT1_RMAC_RTS_PART_SG_ERR(val) \ 15858c2ecf20Sopenharmony_ci vxge_vBIT(val, 8, 4) 15868c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RMAC_PORT1_RMAC_RTS_PART_DB_ERR(val) \ 15878c2ecf20Sopenharmony_ci vxge_vBIT(val, 12, 4) 15888c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RMAC_PORT2_RMAC_RTS_PART_SG_ERR(val) \ 15898c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 4) 15908c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RMAC_PORT2_RMAC_RTS_PART_DB_ERR(val) \ 15918c2ecf20Sopenharmony_ci vxge_vBIT(val, 20, 4) 15928c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_DA_LKP_PRT0_SG_ERR(val) \ 15938c2ecf20Sopenharmony_ci vxge_vBIT(val, 24, 2) 15948c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_DA_LKP_PRT0_DB_ERR(val) \ 15958c2ecf20Sopenharmony_ci vxge_vBIT(val, 26, 2) 15968c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_DA_LKP_PRT1_SG_ERR(val) \ 15978c2ecf20Sopenharmony_ci vxge_vBIT(val, 28, 2) 15988c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_DA_LKP_PRT1_DB_ERR(val) \ 15998c2ecf20Sopenharmony_ci vxge_vBIT(val, 30, 2) 16008c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_VID_LKP_SG_ERR vxge_mBIT(32) 16018c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_VID_LKP_DB_ERR vxge_mBIT(33) 16028c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_PN_LKP_PRT0_SG_ERR vxge_mBIT(34) 16038c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_PN_LKP_PRT0_DB_ERR vxge_mBIT(35) 16048c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_PN_LKP_PRT1_SG_ERR vxge_mBIT(36) 16058c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_PN_LKP_PRT1_DB_ERR vxge_mBIT(37) 16068c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_PN_LKP_PRT2_SG_ERR vxge_mBIT(38) 16078c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_PN_LKP_PRT2_DB_ERR vxge_mBIT(39) 16088c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_RTH_MASK_SG_ERR(val) \ 16098c2ecf20Sopenharmony_ci vxge_vBIT(val, 40, 7) 16108c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_RTH_MASK_DB_ERR(val) \ 16118c2ecf20Sopenharmony_ci vxge_vBIT(val, 47, 7) 16128c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_RTH_LKP_SG_ERR(val) \ 16138c2ecf20Sopenharmony_ci vxge_vBIT(val, 54, 3) 16148c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_RTH_LKP_DB_ERR(val) \ 16158c2ecf20Sopenharmony_ci vxge_vBIT(val, 57, 3) 16168c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_DS_LKP_SG_ERR \ 16178c2ecf20Sopenharmony_ci vxge_mBIT(60) 16188c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_ECC_ERR_REG_RTSJ_RMAC_DS_LKP_DB_ERR \ 16198c2ecf20Sopenharmony_ci vxge_mBIT(61) 16208c2ecf20Sopenharmony_ci/*0x01638*/ u64 rxmac_ecc_err_mask; 16218c2ecf20Sopenharmony_ci/*0x01640*/ u64 rxmac_ecc_err_alarm; 16228c2ecf20Sopenharmony_ci/*0x01648*/ u64 rxmac_various_err_reg; 16238c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_VARIOUS_ERR_REG_RMAC_RMAC_PORT0_FSM_ERR vxge_mBIT(0) 16248c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_VARIOUS_ERR_REG_RMAC_RMAC_PORT1_FSM_ERR vxge_mBIT(1) 16258c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_VARIOUS_ERR_REG_RMAC_RMAC_PORT2_FSM_ERR vxge_mBIT(2) 16268c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_VARIOUS_ERR_REG_RMACJ_RMACJ_FSM_ERR vxge_mBIT(3) 16278c2ecf20Sopenharmony_ci/*0x01650*/ u64 rxmac_various_err_mask; 16288c2ecf20Sopenharmony_ci/*0x01658*/ u64 rxmac_various_err_alarm; 16298c2ecf20Sopenharmony_ci/*0x01660*/ u64 rxmac_gen_cfg; 16308c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_GEN_CFG_SCALE_RMAC_UTIL vxge_mBIT(11) 16318c2ecf20Sopenharmony_ci/*0x01668*/ u64 rxmac_authorize_all_addr; 16328c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_AUTHORIZE_ALL_ADDR_VP(n) vxge_mBIT(n) 16338c2ecf20Sopenharmony_ci/*0x01670*/ u64 rxmac_authorize_all_vid; 16348c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_AUTHORIZE_ALL_VID_VP(n) vxge_mBIT(n) 16358c2ecf20Sopenharmony_ci u8 unused016c0[0x016c0-0x01678]; 16368c2ecf20Sopenharmony_ci 16378c2ecf20Sopenharmony_ci/*0x016c0*/ u64 rxmac_red_rate_repl_queue; 16388c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_REPL_QUEUE_CRATE_THR0(val) vxge_vBIT(val, 0, 4) 16398c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_REPL_QUEUE_CRATE_THR1(val) vxge_vBIT(val, 4, 4) 16408c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_REPL_QUEUE_CRATE_THR2(val) vxge_vBIT(val, 8, 4) 16418c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_REPL_QUEUE_CRATE_THR3(val) vxge_vBIT(val, 12, 4) 16428c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_REPL_QUEUE_FRATE_THR0(val) vxge_vBIT(val, 16, 4) 16438c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_REPL_QUEUE_FRATE_THR1(val) vxge_vBIT(val, 20, 4) 16448c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_REPL_QUEUE_FRATE_THR2(val) vxge_vBIT(val, 24, 4) 16458c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_REPL_QUEUE_FRATE_THR3(val) vxge_vBIT(val, 28, 4) 16468c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_REPL_QUEUE_TRICKLE_EN vxge_mBIT(35) 16478c2ecf20Sopenharmony_ci u8 unused016e0[0x016e0-0x016c8]; 16488c2ecf20Sopenharmony_ci 16498c2ecf20Sopenharmony_ci/*0x016e0*/ u64 rxmac_cfg0_port[3]; 16508c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_RMAC_EN vxge_mBIT(3) 16518c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_STRIP_FCS vxge_mBIT(7) 16528c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_DISCARD_PFRM vxge_mBIT(11) 16538c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_IGNORE_FCS_ERR vxge_mBIT(15) 16548c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_IGNORE_LONG_ERR vxge_mBIT(19) 16558c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_IGNORE_USIZED_ERR vxge_mBIT(23) 16568c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_IGNORE_LEN_MISMATCH vxge_mBIT(27) 16578c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_MAX_PYLD_LEN(val) vxge_vBIT(val, 50, 14) 16588c2ecf20Sopenharmony_ci u8 unused01710[0x01710-0x016f8]; 16598c2ecf20Sopenharmony_ci 16608c2ecf20Sopenharmony_ci/*0x01710*/ u64 rxmac_cfg2_port[3]; 16618c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG2_PORT_PROM_EN vxge_mBIT(3) 16628c2ecf20Sopenharmony_ci/*0x01728*/ u64 rxmac_pause_cfg_port[3]; 16638c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_GEN_EN vxge_mBIT(3) 16648c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_RCV_EN vxge_mBIT(7) 16658c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_ACCEL_SEND(val) vxge_vBIT(val, 9, 3) 16668c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_DUAL_THR vxge_mBIT(15) 16678c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_HIGH_PTIME(val) vxge_vBIT(val, 20, 16) 16688c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_IGNORE_PF_FCS_ERR vxge_mBIT(39) 16698c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_IGNORE_PF_LEN_ERR vxge_mBIT(43) 16708c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_LIMITER_EN vxge_mBIT(47) 16718c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_MAX_LIMIT(val) vxge_vBIT(val, 48, 8) 16728c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_PERMIT_RATEMGMT_CTRL vxge_mBIT(59) 16738c2ecf20Sopenharmony_ci u8 unused01758[0x01758-0x01740]; 16748c2ecf20Sopenharmony_ci 16758c2ecf20Sopenharmony_ci/*0x01758*/ u64 rxmac_red_cfg0_port[3]; 16768c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_CFG0_PORT_RED_EN_VP(n) vxge_mBIT(n) 16778c2ecf20Sopenharmony_ci/*0x01770*/ u64 rxmac_red_cfg1_port[3]; 16788c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_CFG1_PORT_FINE_EN vxge_mBIT(3) 16798c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_CFG1_PORT_RED_EN_REPL_QUEUE vxge_mBIT(11) 16808c2ecf20Sopenharmony_ci/*0x01788*/ u64 rxmac_red_cfg2_port[3]; 16818c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_CFG2_PORT_TRICKLE_EN_VP(n) vxge_mBIT(n) 16828c2ecf20Sopenharmony_ci/*0x017a0*/ u64 rxmac_link_util_port[3]; 16838c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_LINK_UTIL_PORT_RMAC_RMAC_UTILIZATION(val) \ 16848c2ecf20Sopenharmony_ci vxge_vBIT(val, 1, 7) 16858c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_LINK_UTIL_PORT_RMAC_UTIL_CFG(val) vxge_vBIT(val, 8, 4) 16868c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_LINK_UTIL_PORT_RMAC_RMAC_FRAC_UTIL(val) \ 16878c2ecf20Sopenharmony_ci vxge_vBIT(val, 12, 4) 16888c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_LINK_UTIL_PORT_RMAC_PKT_WEIGHT(val) vxge_vBIT(val, 16, 4) 16898c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_LINK_UTIL_PORT_RMAC_RMAC_SCALE_FACTOR vxge_mBIT(23) 16908c2ecf20Sopenharmony_ci u8 unused017d0[0x017d0-0x017b8]; 16918c2ecf20Sopenharmony_ci 16928c2ecf20Sopenharmony_ci/*0x017d0*/ u64 rxmac_status_port[3]; 16938c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_STATUS_PORT_RMAC_RX_FRM_RCVD vxge_mBIT(3) 16948c2ecf20Sopenharmony_ci u8 unused01800[0x01800-0x017e8]; 16958c2ecf20Sopenharmony_ci 16968c2ecf20Sopenharmony_ci/*0x01800*/ u64 rxmac_rx_pa_cfg0; 16978c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_IGNORE_FRAME_ERR vxge_mBIT(3) 16988c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_SUPPORT_SNAP_AB_N vxge_mBIT(7) 16998c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_SEARCH_FOR_HAO vxge_mBIT(18) 17008c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_SUPPORT_MOBILE_IPV6_HDRS vxge_mBIT(19) 17018c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_IPV6_STOP_SEARCHING vxge_mBIT(23) 17028c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_NO_PS_IF_UNKNOWN vxge_mBIT(27) 17038c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_SEARCH_FOR_ETYPE vxge_mBIT(35) 17048c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_TOSS_ANY_FRM_IF_L3_CSUM_ERR vxge_mBIT(39) 17058c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_TOSS_OFFLD_FRM_IF_L3_CSUM_ERR vxge_mBIT(43) 17068c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_TOSS_ANY_FRM_IF_L4_CSUM_ERR vxge_mBIT(47) 17078c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_TOSS_OFFLD_FRM_IF_L4_CSUM_ERR vxge_mBIT(51) 17088c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_TOSS_ANY_FRM_IF_RPA_ERR vxge_mBIT(55) 17098c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_TOSS_OFFLD_FRM_IF_RPA_ERR vxge_mBIT(59) 17108c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_JUMBO_SNAP_EN vxge_mBIT(63) 17118c2ecf20Sopenharmony_ci/*0x01808*/ u64 rxmac_rx_pa_cfg1; 17128c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG1_REPL_IPV4_TCP_INCL_PH vxge_mBIT(3) 17138c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG1_REPL_IPV6_TCP_INCL_PH vxge_mBIT(7) 17148c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG1_REPL_IPV4_UDP_INCL_PH vxge_mBIT(11) 17158c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG1_REPL_IPV6_UDP_INCL_PH vxge_mBIT(15) 17168c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG1_REPL_L4_INCL_CF vxge_mBIT(19) 17178c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG1_REPL_STRIP_VLAN_TAG vxge_mBIT(23) 17188c2ecf20Sopenharmony_ci u8 unused01828[0x01828-0x01810]; 17198c2ecf20Sopenharmony_ci 17208c2ecf20Sopenharmony_ci/*0x01828*/ u64 rts_mgr_cfg0; 17218c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_RTS_DP_SP_PRIORITY vxge_mBIT(3) 17228c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_FLEX_L4PRTCL_VALUE(val) vxge_vBIT(val, 24, 8) 17238c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_ICMP_TRASH vxge_mBIT(35) 17248c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_TCPSYN_TRASH vxge_mBIT(39) 17258c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_ZL4PYLD_TRASH vxge_mBIT(43) 17268c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_L4PRTCL_TCP_TRASH vxge_mBIT(47) 17278c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_L4PRTCL_UDP_TRASH vxge_mBIT(51) 17288c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_L4PRTCL_FLEX_TRASH vxge_mBIT(55) 17298c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_IPFRAG_TRASH vxge_mBIT(59) 17308c2ecf20Sopenharmony_ci/*0x01830*/ u64 rts_mgr_cfg1; 17318c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG1_DA_ACTIVE_TABLE vxge_mBIT(3) 17328c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG1_PN_ACTIVE_TABLE vxge_mBIT(7) 17338c2ecf20Sopenharmony_ci/*0x01838*/ u64 rts_mgr_criteria_priority; 17348c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_ETYPE(val) vxge_vBIT(val, 5, 3) 17358c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_ICMP_TCPSYN(val) vxge_vBIT(val, 9, 3) 17368c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_L4PN(val) vxge_vBIT(val, 13, 3) 17378c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_RANGE_L4PN(val) vxge_vBIT(val, 17, 3) 17388c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_RTH_IT(val) vxge_vBIT(val, 21, 3) 17398c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_DS(val) vxge_vBIT(val, 25, 3) 17408c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_QOS(val) vxge_vBIT(val, 29, 3) 17418c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_ZL4PYLD(val) vxge_vBIT(val, 33, 3) 17428c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_L4PRTCL(val) vxge_vBIT(val, 37, 3) 17438c2ecf20Sopenharmony_ci/*0x01840*/ u64 rts_mgr_da_pause_cfg; 17448c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_DA_PAUSE_CFG_VPATH_VECTOR(val) vxge_vBIT(val, 0, 17) 17458c2ecf20Sopenharmony_ci/*0x01848*/ u64 rts_mgr_da_slow_proto_cfg; 17468c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_DA_SLOW_PROTO_CFG_VPATH_VECTOR(val) \ 17478c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 17) 17488c2ecf20Sopenharmony_ci u8 unused01890[0x01890-0x01850]; 17498c2ecf20Sopenharmony_ci/*0x01890*/ u64 rts_mgr_cbasin_cfg; 17508c2ecf20Sopenharmony_ci u8 unused01968[0x01968-0x01898]; 17518c2ecf20Sopenharmony_ci 17528c2ecf20Sopenharmony_ci/*0x01968*/ u64 dbg_stat_rx_any_frms; 17538c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STAT_RX_ANY_FRMS_PORT0_RX_ANY_FRMS(val) vxge_vBIT(val, 0, 8) 17548c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STAT_RX_ANY_FRMS_PORT1_RX_ANY_FRMS(val) vxge_vBIT(val, 8, 8) 17558c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STAT_RX_ANY_FRMS_PORT2_RX_ANY_FRMS(val) \ 17568c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 8) 17578c2ecf20Sopenharmony_ci u8 unused01a00[0x01a00-0x01970]; 17588c2ecf20Sopenharmony_ci 17598c2ecf20Sopenharmony_ci/*0x01a00*/ u64 rxmac_red_rate_vp[17]; 17608c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_VP_CRATE_THR0(val) vxge_vBIT(val, 0, 4) 17618c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_VP_CRATE_THR1(val) vxge_vBIT(val, 4, 4) 17628c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_VP_CRATE_THR2(val) vxge_vBIT(val, 8, 4) 17638c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_VP_CRATE_THR3(val) vxge_vBIT(val, 12, 4) 17648c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_VP_FRATE_THR0(val) vxge_vBIT(val, 16, 4) 17658c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_VP_FRATE_THR1(val) vxge_vBIT(val, 20, 4) 17668c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_VP_FRATE_THR2(val) vxge_vBIT(val, 24, 4) 17678c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RED_RATE_VP_FRATE_THR3(val) vxge_vBIT(val, 28, 4) 17688c2ecf20Sopenharmony_ci u8 unused01e00[0x01e00-0x01a88]; 17698c2ecf20Sopenharmony_ci 17708c2ecf20Sopenharmony_ci/*0x01e00*/ u64 xgmac_int_status; 17718c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_INT_STATUS_XMAC_GEN_ERR_XMAC_GEN_INT vxge_mBIT(3) 17728c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_INT_STATUS_XMAC_LINK_ERR_PORT0_XMAC_LINK_INT_PORT0 \ 17738c2ecf20Sopenharmony_ci vxge_mBIT(7) 17748c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_INT_STATUS_XMAC_LINK_ERR_PORT1_XMAC_LINK_INT_PORT1 \ 17758c2ecf20Sopenharmony_ci vxge_mBIT(11) 17768c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_INT_STATUS_XGXS_GEN_ERR_XGXS_GEN_INT vxge_mBIT(15) 17778c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_INT_STATUS_ASIC_NTWK_ERR_ASIC_NTWK_INT vxge_mBIT(19) 17788c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_INT_STATUS_ASIC_GPIO_ERR_ASIC_GPIO_INT vxge_mBIT(23) 17798c2ecf20Sopenharmony_ci/*0x01e08*/ u64 xgmac_int_mask; 17808c2ecf20Sopenharmony_ci/*0x01e10*/ u64 xmac_gen_err_reg; 17818c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_LAGC_LAG_PORT0_ACTOR_CHURN_DETECTED \ 17828c2ecf20Sopenharmony_ci vxge_mBIT(7) 17838c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_LAGC_LAG_PORT0_PARTNER_CHURN_DETECTED \ 17848c2ecf20Sopenharmony_ci vxge_mBIT(11) 17858c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_LAGC_LAG_PORT0_RECEIVED_LACPDU vxge_mBIT(15) 17868c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_LAGC_LAG_PORT1_ACTOR_CHURN_DETECTED \ 17878c2ecf20Sopenharmony_ci vxge_mBIT(19) 17888c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_LAGC_LAG_PORT1_PARTNER_CHURN_DETECTED \ 17898c2ecf20Sopenharmony_ci vxge_mBIT(23) 17908c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_LAGC_LAG_PORT1_RECEIVED_LACPDU vxge_mBIT(27) 17918c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_XLCM_LAG_FAILOVER_DETECTED vxge_mBIT(31) 17928c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_XSTATS_RMAC_STATS_TILE0_SG_ERR(val) \ 17938c2ecf20Sopenharmony_ci vxge_vBIT(val, 40, 2) 17948c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_XSTATS_RMAC_STATS_TILE0_DB_ERR(val) \ 17958c2ecf20Sopenharmony_ci vxge_vBIT(val, 42, 2) 17968c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_XSTATS_RMAC_STATS_TILE1_SG_ERR(val) \ 17978c2ecf20Sopenharmony_ci vxge_vBIT(val, 44, 2) 17988c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_XSTATS_RMAC_STATS_TILE1_DB_ERR(val) \ 17998c2ecf20Sopenharmony_ci vxge_vBIT(val, 46, 2) 18008c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_XSTATS_RMAC_STATS_TILE2_SG_ERR(val) \ 18018c2ecf20Sopenharmony_ci vxge_vBIT(val, 48, 2) 18028c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_XSTATS_RMAC_STATS_TILE2_DB_ERR(val) \ 18038c2ecf20Sopenharmony_ci vxge_vBIT(val, 50, 2) 18048c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_XSTATS_RMAC_STATS_TILE3_SG_ERR(val) \ 18058c2ecf20Sopenharmony_ci vxge_vBIT(val, 52, 2) 18068c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_XSTATS_RMAC_STATS_TILE3_DB_ERR(val) \ 18078c2ecf20Sopenharmony_ci vxge_vBIT(val, 54, 2) 18088c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_XSTATS_RMAC_STATS_TILE4_SG_ERR(val) \ 18098c2ecf20Sopenharmony_ci vxge_vBIT(val, 56, 2) 18108c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_XSTATS_RMAC_STATS_TILE4_DB_ERR(val) \ 18118c2ecf20Sopenharmony_ci vxge_vBIT(val, 58, 2) 18128c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_ERR_REG_XMACJ_XMAC_FSM_ERR vxge_mBIT(63) 18138c2ecf20Sopenharmony_ci/*0x01e18*/ u64 xmac_gen_err_mask; 18148c2ecf20Sopenharmony_ci/*0x01e20*/ u64 xmac_gen_err_alarm; 18158c2ecf20Sopenharmony_ci/*0x01e28*/ u64 xmac_link_err_port0_reg; 18168c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_LINK_ERR_PORT_REG_XMACJ_PORT_DOWN vxge_mBIT(3) 18178c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_LINK_ERR_PORT_REG_XMACJ_PORT_UP vxge_mBIT(7) 18188c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_LINK_ERR_PORT_REG_XMACJ_PORT_WENT_DOWN vxge_mBIT(11) 18198c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_LINK_ERR_PORT_REG_XMACJ_PORT_WENT_UP vxge_mBIT(15) 18208c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_LINK_ERR_PORT_REG_XMACJ_PORT_REAFFIRMED_FAULT \ 18218c2ecf20Sopenharmony_ci vxge_mBIT(19) 18228c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_LINK_ERR_PORT_REG_XMACJ_PORT_REAFFIRMED_OK vxge_mBIT(23) 18238c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_LINK_ERR_PORT_REG_XMACJ_LINK_DOWN vxge_mBIT(27) 18248c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_LINK_ERR_PORT_REG_XMACJ_LINK_UP vxge_mBIT(31) 18258c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_LINK_ERR_PORT_REG_RATEMGMT_RATE_CHANGE vxge_mBIT(35) 18268c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_LINK_ERR_PORT_REG_RATEMGMT_LASI_INV vxge_mBIT(39) 18278c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_LINK_ERR_PORT_REG_XMDIO_MDIO_MGR_ACCESS_COMPLETE \ 18288c2ecf20Sopenharmony_ci vxge_mBIT(47) 18298c2ecf20Sopenharmony_ci/*0x01e30*/ u64 xmac_link_err_port0_mask; 18308c2ecf20Sopenharmony_ci/*0x01e38*/ u64 xmac_link_err_port0_alarm; 18318c2ecf20Sopenharmony_ci/*0x01e40*/ u64 xmac_link_err_port1_reg; 18328c2ecf20Sopenharmony_ci/*0x01e48*/ u64 xmac_link_err_port1_mask; 18338c2ecf20Sopenharmony_ci/*0x01e50*/ u64 xmac_link_err_port1_alarm; 18348c2ecf20Sopenharmony_ci/*0x01e58*/ u64 xgxs_gen_err_reg; 18358c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_GEN_ERR_REG_XGXS_XGXS_FSM_ERR vxge_mBIT(63) 18368c2ecf20Sopenharmony_ci/*0x01e60*/ u64 xgxs_gen_err_mask; 18378c2ecf20Sopenharmony_ci/*0x01e68*/ u64 xgxs_gen_err_alarm; 18388c2ecf20Sopenharmony_ci/*0x01e70*/ u64 asic_ntwk_err_reg; 18398c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_ERR_REG_XMACJ_NTWK_DOWN vxge_mBIT(3) 18408c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_ERR_REG_XMACJ_NTWK_UP vxge_mBIT(7) 18418c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_ERR_REG_XMACJ_NTWK_WENT_DOWN vxge_mBIT(11) 18428c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_ERR_REG_XMACJ_NTWK_WENT_UP vxge_mBIT(15) 18438c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_ERR_REG_XMACJ_NTWK_REAFFIRMED_FAULT vxge_mBIT(19) 18448c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_ERR_REG_XMACJ_NTWK_REAFFIRMED_OK vxge_mBIT(23) 18458c2ecf20Sopenharmony_ci/*0x01e78*/ u64 asic_ntwk_err_mask; 18468c2ecf20Sopenharmony_ci/*0x01e80*/ u64 asic_ntwk_err_alarm; 18478c2ecf20Sopenharmony_ci/*0x01e88*/ u64 asic_gpio_err_reg; 18488c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_GPIO_ERR_REG_XMACJ_GPIO_INT(n) vxge_mBIT(n) 18498c2ecf20Sopenharmony_ci/*0x01e90*/ u64 asic_gpio_err_mask; 18508c2ecf20Sopenharmony_ci/*0x01e98*/ u64 asic_gpio_err_alarm; 18518c2ecf20Sopenharmony_ci/*0x01ea0*/ u64 xgmac_gen_status; 18528c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_GEN_STATUS_XMACJ_NTWK_OK vxge_mBIT(3) 18538c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_GEN_STATUS_XMACJ_NTWK_DATA_RATE vxge_mBIT(11) 18548c2ecf20Sopenharmony_ci/*0x01ea8*/ u64 xgmac_gen_fw_memo_status; 18558c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_GEN_FW_MEMO_STATUS_XMACJ_EVENTS_PENDING(val) \ 18568c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 17) 18578c2ecf20Sopenharmony_ci/*0x01eb0*/ u64 xgmac_gen_fw_memo_mask; 18588c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_GEN_FW_MEMO_MASK_MASK(val) vxge_vBIT(val, 0, 64) 18598c2ecf20Sopenharmony_ci/*0x01eb8*/ u64 xgmac_gen_fw_vpath_to_vsport_status; 18608c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_GEN_FW_VPATH_TO_VSPORT_STATUS_XMACJ_EVENTS_PENDING(val) \ 18618c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 17) 18628c2ecf20Sopenharmony_ci/*0x01ec0*/ u64 xgmac_main_cfg_port[2]; 18638c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_MAIN_CFG_PORT_PORT_EN vxge_mBIT(3) 18648c2ecf20Sopenharmony_ci u8 unused01f40[0x01f40-0x01ed0]; 18658c2ecf20Sopenharmony_ci 18668c2ecf20Sopenharmony_ci/*0x01f40*/ u64 xmac_gen_cfg; 18678c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_CFG_RATEMGMT_MAC_RATE_SEL(val) vxge_vBIT(val, 2, 2) 18688c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_CFG_TX_HEAD_DROP_WHEN_FAULT vxge_mBIT(7) 18698c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_CFG_FAULT_BEHAVIOUR vxge_mBIT(27) 18708c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_CFG_PERIOD_NTWK_UP(val) vxge_vBIT(val, 28, 4) 18718c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_CFG_PERIOD_NTWK_DOWN(val) vxge_vBIT(val, 32, 4) 18728c2ecf20Sopenharmony_ci/*0x01f48*/ u64 xmac_timestamp; 18738c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_TIMESTAMP_EN vxge_mBIT(3) 18748c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_TIMESTAMP_USE_LINK_ID(val) vxge_vBIT(val, 6, 2) 18758c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_TIMESTAMP_INTERVAL(val) vxge_vBIT(val, 12, 4) 18768c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_TIMESTAMP_TIMER_RESTART vxge_mBIT(19) 18778c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_TIMESTAMP_XMACJ_ROLLOVER_CNT(val) vxge_vBIT(val, 32, 16) 18788c2ecf20Sopenharmony_ci/*0x01f50*/ u64 xmac_stats_gen_cfg; 18798c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_STATS_GEN_CFG_PRTAGGR_CUM_TIMER(val) vxge_vBIT(val, 4, 4) 18808c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_STATS_GEN_CFG_VPATH_CUM_TIMER(val) vxge_vBIT(val, 8, 4) 18818c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_STATS_GEN_CFG_VLAN_HANDLING vxge_mBIT(15) 18828c2ecf20Sopenharmony_ci/*0x01f58*/ u64 xmac_stats_sys_cmd; 18838c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_STATS_SYS_CMD_OP(val) vxge_vBIT(val, 5, 3) 18848c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_STATS_SYS_CMD_STROBE vxge_mBIT(15) 18858c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_STATS_SYS_CMD_LOC_SEL(val) vxge_vBIT(val, 27, 5) 18868c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_STATS_SYS_CMD_OFFSET_SEL(val) vxge_vBIT(val, 32, 8) 18878c2ecf20Sopenharmony_ci/*0x01f60*/ u64 xmac_stats_sys_data; 18888c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_STATS_SYS_DATA_XSMGR_DATA(val) vxge_vBIT(val, 0, 64) 18898c2ecf20Sopenharmony_ci u8 unused01f80[0x01f80-0x01f68]; 18908c2ecf20Sopenharmony_ci 18918c2ecf20Sopenharmony_ci/*0x01f80*/ u64 asic_ntwk_ctrl; 18928c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_CTRL_REQ_TEST_NTWK vxge_mBIT(3) 18938c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_CTRL_PORT0_REQ_TEST_PORT vxge_mBIT(11) 18948c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_CTRL_PORT1_REQ_TEST_PORT vxge_mBIT(15) 18958c2ecf20Sopenharmony_ci/*0x01f88*/ u64 asic_ntwk_cfg_show_port_info; 18968c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_CFG_SHOW_PORT_INFO_VP(n) vxge_mBIT(n) 18978c2ecf20Sopenharmony_ci/*0x01f90*/ u64 asic_ntwk_cfg_port_num; 18988c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_CFG_PORT_NUM_VP(n) vxge_mBIT(n) 18998c2ecf20Sopenharmony_ci/*0x01f98*/ u64 xmac_cfg_port[3]; 19008c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_CFG_PORT_XGMII_LOOPBACK vxge_mBIT(3) 19018c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_CFG_PORT_XGMII_REVERSE_LOOPBACK vxge_mBIT(7) 19028c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_CFG_PORT_XGMII_TX_BEHAV vxge_mBIT(11) 19038c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_CFG_PORT_XGMII_RX_BEHAV vxge_mBIT(15) 19048c2ecf20Sopenharmony_ci/*0x01fb0*/ u64 xmac_station_addr_port[2]; 19058c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_STATION_ADDR_PORT_MAC_ADDR(val) vxge_vBIT(val, 0, 48) 19068c2ecf20Sopenharmony_ci u8 unused02020[0x02020-0x01fc0]; 19078c2ecf20Sopenharmony_ci 19088c2ecf20Sopenharmony_ci/*0x02020*/ u64 lag_cfg; 19098c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_CFG_EN vxge_mBIT(3) 19108c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_CFG_MODE(val) vxge_vBIT(val, 6, 2) 19118c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_CFG_TX_DISCARD_BEHAV vxge_mBIT(11) 19128c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_CFG_RX_DISCARD_BEHAV vxge_mBIT(15) 19138c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_CFG_PREF_INDIV_PORT_NUM vxge_mBIT(19) 19148c2ecf20Sopenharmony_ci/*0x02028*/ u64 lag_status; 19158c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_STATUS_XLCM_WAITING_TO_FAILBACK vxge_mBIT(3) 19168c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_STATUS_XLCM_TIMER_VAL_COLD_FAILOVER(val) \ 19178c2ecf20Sopenharmony_ci vxge_vBIT(val, 8, 8) 19188c2ecf20Sopenharmony_ci/*0x02030*/ u64 lag_active_passive_cfg; 19198c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_ACTIVE_PASSIVE_CFG_HOT_STANDBY vxge_mBIT(3) 19208c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_ACTIVE_PASSIVE_CFG_LACP_DECIDES vxge_mBIT(7) 19218c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_ACTIVE_PASSIVE_CFG_PREF_ACTIVE_PORT_NUM vxge_mBIT(11) 19228c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_ACTIVE_PASSIVE_CFG_AUTO_FAILBACK vxge_mBIT(15) 19238c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_ACTIVE_PASSIVE_CFG_FAILBACK_EN vxge_mBIT(19) 19248c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_ACTIVE_PASSIVE_CFG_COLD_FAILOVER_TIMEOUT(val) \ 19258c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 16) 19268c2ecf20Sopenharmony_ci u8 unused02040[0x02040-0x02038]; 19278c2ecf20Sopenharmony_ci 19288c2ecf20Sopenharmony_ci/*0x02040*/ u64 lag_lacp_cfg; 19298c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_LACP_CFG_EN vxge_mBIT(3) 19308c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_LACP_CFG_LACP_BEGIN vxge_mBIT(7) 19318c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_LACP_CFG_DISCARD_LACP vxge_mBIT(11) 19328c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_LACP_CFG_LIBERAL_LEN_CHK vxge_mBIT(15) 19338c2ecf20Sopenharmony_ci/*0x02048*/ u64 lag_timer_cfg_1; 19348c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_TIMER_CFG_1_FAST_PER(val) vxge_vBIT(val, 0, 16) 19358c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_TIMER_CFG_1_SLOW_PER(val) vxge_vBIT(val, 16, 16) 19368c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_TIMER_CFG_1_SHORT_TIMEOUT(val) vxge_vBIT(val, 32, 16) 19378c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_TIMER_CFG_1_LONG_TIMEOUT(val) vxge_vBIT(val, 48, 16) 19388c2ecf20Sopenharmony_ci/*0x02050*/ u64 lag_timer_cfg_2; 19398c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_TIMER_CFG_2_CHURN_DET(val) vxge_vBIT(val, 0, 16) 19408c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_TIMER_CFG_2_AGGR_WAIT(val) vxge_vBIT(val, 16, 16) 19418c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_TIMER_CFG_2_SHORT_TIMER_SCALE(val) vxge_vBIT(val, 32, 16) 19428c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_TIMER_CFG_2_LONG_TIMER_SCALE(val) vxge_vBIT(val, 48, 16) 19438c2ecf20Sopenharmony_ci/*0x02058*/ u64 lag_sys_id; 19448c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_SYS_ID_ADDR(val) vxge_vBIT(val, 0, 48) 19458c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_SYS_ID_USE_PORT_ADDR vxge_mBIT(51) 19468c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_SYS_ID_ADDR_SEL vxge_mBIT(55) 19478c2ecf20Sopenharmony_ci/*0x02060*/ u64 lag_sys_cfg; 19488c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_SYS_CFG_SYS_PRI(val) vxge_vBIT(val, 0, 16) 19498c2ecf20Sopenharmony_ci u8 unused02070[0x02070-0x02068]; 19508c2ecf20Sopenharmony_ci 19518c2ecf20Sopenharmony_ci/*0x02070*/ u64 lag_aggr_addr_cfg[2]; 19528c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_AGGR_ADDR_CFG_ADDR(val) vxge_vBIT(val, 0, 48) 19538c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_AGGR_ADDR_CFG_USE_PORT_ADDR vxge_mBIT(51) 19548c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_AGGR_ADDR_CFG_ADDR_SEL vxge_mBIT(55) 19558c2ecf20Sopenharmony_ci/*0x02080*/ u64 lag_aggr_id_cfg[2]; 19568c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_AGGR_ID_CFG_ID(val) vxge_vBIT(val, 0, 16) 19578c2ecf20Sopenharmony_ci/*0x02090*/ u64 lag_aggr_admin_key[2]; 19588c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_AGGR_ADMIN_KEY_KEY(val) vxge_vBIT(val, 0, 16) 19598c2ecf20Sopenharmony_ci/*0x020a0*/ u64 lag_aggr_alt_admin_key; 19608c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_AGGR_ALT_ADMIN_KEY_KEY(val) vxge_vBIT(val, 0, 16) 19618c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_AGGR_ALT_ADMIN_KEY_ALT_AGGR vxge_mBIT(19) 19628c2ecf20Sopenharmony_ci/*0x020a8*/ u64 lag_aggr_oper_key[2]; 19638c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_AGGR_OPER_KEY_LAGC_KEY(val) vxge_vBIT(val, 0, 16) 19648c2ecf20Sopenharmony_ci/*0x020b8*/ u64 lag_aggr_partner_sys_id[2]; 19658c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_AGGR_PARTNER_SYS_ID_LAGC_ADDR(val) vxge_vBIT(val, 0, 48) 19668c2ecf20Sopenharmony_ci/*0x020c8*/ u64 lag_aggr_partner_info[2]; 19678c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_AGGR_PARTNER_INFO_LAGC_SYS_PRI(val) vxge_vBIT(val, 0, 16) 19688c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_AGGR_PARTNER_INFO_LAGC_OPER_KEY(val) \ 19698c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 16) 19708c2ecf20Sopenharmony_ci/*0x020d8*/ u64 lag_aggr_state[2]; 19718c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_AGGR_STATE_LAGC_TX vxge_mBIT(3) 19728c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_AGGR_STATE_LAGC_RX vxge_mBIT(7) 19738c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_AGGR_STATE_LAGC_READY vxge_mBIT(11) 19748c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_AGGR_STATE_LAGC_INDIVIDUAL vxge_mBIT(15) 19758c2ecf20Sopenharmony_ci u8 unused020f0[0x020f0-0x020e8]; 19768c2ecf20Sopenharmony_ci 19778c2ecf20Sopenharmony_ci/*0x020f0*/ u64 lag_port_cfg[2]; 19788c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_CFG_EN vxge_mBIT(3) 19798c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_CFG_DISCARD_SLOW_PROTO vxge_mBIT(7) 19808c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_CFG_HOST_CHOSEN_AGGR vxge_mBIT(11) 19818c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_CFG_DISCARD_UNKNOWN_SLOW_PROTO vxge_mBIT(15) 19828c2ecf20Sopenharmony_ci/*0x02100*/ u64 lag_port_actor_admin_cfg[2]; 19838c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_ADMIN_CFG_PORT_NUM(val) vxge_vBIT(val, 0, 16) 19848c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_ADMIN_CFG_PORT_PRI(val) vxge_vBIT(val, 16, 16) 19858c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_ADMIN_CFG_KEY_10G(val) vxge_vBIT(val, 32, 16) 19868c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_ADMIN_CFG_KEY_1G(val) vxge_vBIT(val, 48, 16) 19878c2ecf20Sopenharmony_ci/*0x02110*/ u64 lag_port_actor_admin_state[2]; 19888c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_ADMIN_STATE_LACP_ACTIVITY vxge_mBIT(3) 19898c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_ADMIN_STATE_LACP_TIMEOUT vxge_mBIT(7) 19908c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_ADMIN_STATE_AGGREGATION vxge_mBIT(11) 19918c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_ADMIN_STATE_SYNCHRONIZATION vxge_mBIT(15) 19928c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_ADMIN_STATE_COLLECTING vxge_mBIT(19) 19938c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_ADMIN_STATE_DISTRIBUTING vxge_mBIT(23) 19948c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_ADMIN_STATE_DEFAULTED vxge_mBIT(27) 19958c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_ADMIN_STATE_EXPIRED vxge_mBIT(31) 19968c2ecf20Sopenharmony_ci/*0x02120*/ u64 lag_port_partner_admin_sys_id[2]; 19978c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_ADMIN_SYS_ID_ADDR(val) vxge_vBIT(val, 0, 48) 19988c2ecf20Sopenharmony_ci/*0x02130*/ u64 lag_port_partner_admin_cfg[2]; 19998c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_ADMIN_CFG_SYS_PRI(val) vxge_vBIT(val, 0, 16) 20008c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_ADMIN_CFG_KEY(val) vxge_vBIT(val, 16, 16) 20018c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_ADMIN_CFG_PORT_NUM(val) \ 20028c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 16) 20038c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_ADMIN_CFG_PORT_PRI(val) \ 20048c2ecf20Sopenharmony_ci vxge_vBIT(val, 48, 16) 20058c2ecf20Sopenharmony_ci/*0x02140*/ u64 lag_port_partner_admin_state[2]; 20068c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_ADMIN_STATE_LACP_ACTIVITY vxge_mBIT(3) 20078c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_ADMIN_STATE_LACP_TIMEOUT vxge_mBIT(7) 20088c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_ADMIN_STATE_AGGREGATION vxge_mBIT(11) 20098c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_ADMIN_STATE_SYNCHRONIZATION vxge_mBIT(15) 20108c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_ADMIN_STATE_COLLECTING vxge_mBIT(19) 20118c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_ADMIN_STATE_DISTRIBUTING vxge_mBIT(23) 20128c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_ADMIN_STATE_DEFAULTED vxge_mBIT(27) 20138c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_ADMIN_STATE_EXPIRED vxge_mBIT(31) 20148c2ecf20Sopenharmony_ci/*0x02150*/ u64 lag_port_to_aggr[2]; 20158c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_TO_AGGR_LAGC_AGGR_ID(val) vxge_vBIT(val, 0, 16) 20168c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_TO_AGGR_LAGC_AGGR_VLD_ID vxge_mBIT(19) 20178c2ecf20Sopenharmony_ci/*0x02160*/ u64 lag_port_actor_oper_key[2]; 20188c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_OPER_KEY_LAGC_KEY(val) vxge_vBIT(val, 0, 16) 20198c2ecf20Sopenharmony_ci/*0x02170*/ u64 lag_port_actor_oper_state[2]; 20208c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_OPER_STATE_LAGC_LACP_ACTIVITY vxge_mBIT(3) 20218c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_OPER_STATE_LAGC_LACP_TIMEOUT vxge_mBIT(7) 20228c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_OPER_STATE_LAGC_AGGREGATION vxge_mBIT(11) 20238c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_OPER_STATE_LAGC_SYNCHRONIZATION vxge_mBIT(15) 20248c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_OPER_STATE_LAGC_COLLECTING vxge_mBIT(19) 20258c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_OPER_STATE_LAGC_DISTRIBUTING vxge_mBIT(23) 20268c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_OPER_STATE_LAGC_DEFAULTED vxge_mBIT(27) 20278c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_ACTOR_OPER_STATE_LAGC_EXPIRED vxge_mBIT(31) 20288c2ecf20Sopenharmony_ci/*0x02180*/ u64 lag_port_partner_oper_sys_id[2]; 20298c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_OPER_SYS_ID_LAGC_ADDR(val) \ 20308c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 48) 20318c2ecf20Sopenharmony_ci/*0x02190*/ u64 lag_port_partner_oper_info[2]; 20328c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_OPER_INFO_LAGC_SYS_PRI(val) \ 20338c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 16) 20348c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_OPER_INFO_LAGC_KEY(val) \ 20358c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 16) 20368c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_OPER_INFO_LAGC_PORT_NUM(val) \ 20378c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 16) 20388c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_OPER_INFO_LAGC_PORT_PRI(val) \ 20398c2ecf20Sopenharmony_ci vxge_vBIT(val, 48, 16) 20408c2ecf20Sopenharmony_ci/*0x021a0*/ u64 lag_port_partner_oper_state[2]; 20418c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_OPER_STATE_LAGC_LACP_ACTIVITY vxge_mBIT(3) 20428c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_OPER_STATE_LAGC_LACP_TIMEOUT vxge_mBIT(7) 20438c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_OPER_STATE_LAGC_AGGREGATION vxge_mBIT(11) 20448c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_OPER_STATE_LAGC_SYNCHRONIZATION \ 20458c2ecf20Sopenharmony_ci vxge_mBIT(15) 20468c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_OPER_STATE_LAGC_COLLECTING vxge_mBIT(19) 20478c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_OPER_STATE_LAGC_DISTRIBUTING vxge_mBIT(23) 20488c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_OPER_STATE_LAGC_DEFAULTED vxge_mBIT(27) 20498c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_PARTNER_OPER_STATE_LAGC_EXPIRED vxge_mBIT(31) 20508c2ecf20Sopenharmony_ci/*0x021b0*/ u64 lag_port_state_vars[2]; 20518c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_READY vxge_mBIT(3) 20528c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_SELECTED(val) vxge_vBIT(val, 6, 2) 20538c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_AGGR_NUM vxge_mBIT(11) 20548c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_PORT_MOVED vxge_mBIT(15) 20558c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_PORT_ENABLED vxge_mBIT(18) 20568c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_PORT_DISABLED vxge_mBIT(19) 20578c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_NTT vxge_mBIT(23) 20588c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_ACTOR_CHURN vxge_mBIT(27) 20598c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_PARTNER_CHURN vxge_mBIT(31) 20608c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_ACTOR_INFO_LEN_MISMATCH \ 20618c2ecf20Sopenharmony_ci vxge_mBIT(32) 20628c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_PARTNER_INFO_LEN_MISMATCH \ 20638c2ecf20Sopenharmony_ci vxge_mBIT(33) 20648c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_COLL_INFO_LEN_MISMATCH vxge_mBIT(34) 20658c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_TERM_INFO_LEN_MISMATCH vxge_mBIT(35) 20668c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_RX_FSM_STATE(val) vxge_vBIT(val, 37, 3) 20678c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_MUX_FSM_STATE(val) \ 20688c2ecf20Sopenharmony_ci vxge_vBIT(val, 41, 3) 20698c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_MUX_REASON(val) vxge_vBIT(val, 44, 4) 20708c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_ACTOR_CHURN_STATE vxge_mBIT(54) 20718c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_PARTNER_CHURN_STATE vxge_mBIT(55) 20728c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_ACTOR_CHURN_COUNT(val) \ 20738c2ecf20Sopenharmony_ci vxge_vBIT(val, 56, 4) 20748c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_STATE_VARS_LAGC_PARTNER_CHURN_COUNT(val) \ 20758c2ecf20Sopenharmony_ci vxge_vBIT(val, 60, 4) 20768c2ecf20Sopenharmony_ci/*0x021c0*/ u64 lag_port_timer_cntr[2]; 20778c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_TIMER_CNTR_LAGC_CURRENT_WHILE(val) vxge_vBIT(val, 0, 8) 20788c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_TIMER_CNTR_LAGC_PERIODIC_WHILE(val) \ 20798c2ecf20Sopenharmony_ci vxge_vBIT(val, 8, 8) 20808c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_TIMER_CNTR_LAGC_WAIT_WHILE(val) vxge_vBIT(val, 16, 8) 20818c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_TIMER_CNTR_LAGC_TX_LACP(val) vxge_vBIT(val, 24, 8) 20828c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_TIMER_CNTR_LAGC_ACTOR_SYNC_TRANSITION_COUNT(val) \ 20838c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 8) 20848c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_TIMER_CNTR_LAGC_PARTNER_SYNC_TRANSITION_COUNT(val) \ 20858c2ecf20Sopenharmony_ci vxge_vBIT(val, 40, 8) 20868c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_TIMER_CNTR_LAGC_ACTOR_CHANGE_COUNT(val) \ 20878c2ecf20Sopenharmony_ci vxge_vBIT(val, 48, 8) 20888c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_PORT_TIMER_CNTR_LAGC_PARTNER_CHANGE_COUNT(val) \ 20898c2ecf20Sopenharmony_ci vxge_vBIT(val, 56, 8) 20908c2ecf20Sopenharmony_ci u8 unused02208[0x02700-0x021d0]; 20918c2ecf20Sopenharmony_ci 20928c2ecf20Sopenharmony_ci/*0x02700*/ u64 rtdma_int_status; 20938c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_INT_STATUS_PDA_ALARM_PDA_INT vxge_mBIT(1) 20948c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_INT_STATUS_PCC_ERROR_PCC_INT vxge_mBIT(2) 20958c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_INT_STATUS_LSO_ERROR_LSO_INT vxge_mBIT(4) 20968c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_INT_STATUS_SM_ERROR_SM_INT vxge_mBIT(5) 20978c2ecf20Sopenharmony_ci/*0x02708*/ u64 rtdma_int_mask; 20988c2ecf20Sopenharmony_ci/*0x02710*/ u64 pda_alarm_reg; 20998c2ecf20Sopenharmony_ci#define VXGE_HW_PDA_ALARM_REG_PDA_HSC_FIFO_ERR vxge_mBIT(0) 21008c2ecf20Sopenharmony_ci#define VXGE_HW_PDA_ALARM_REG_PDA_SM_ERR vxge_mBIT(1) 21018c2ecf20Sopenharmony_ci/*0x02718*/ u64 pda_alarm_mask; 21028c2ecf20Sopenharmony_ci/*0x02720*/ u64 pda_alarm_alarm; 21038c2ecf20Sopenharmony_ci/*0x02728*/ u64 pcc_error_reg; 21048c2ecf20Sopenharmony_ci#define VXGE_HW_PCC_ERROR_REG_PCC_PCC_FRM_BUF_SBE(n) vxge_mBIT(n) 21058c2ecf20Sopenharmony_ci#define VXGE_HW_PCC_ERROR_REG_PCC_PCC_TXDO_SBE(n) vxge_mBIT(n) 21068c2ecf20Sopenharmony_ci#define VXGE_HW_PCC_ERROR_REG_PCC_PCC_FRM_BUF_DBE(n) vxge_mBIT(n) 21078c2ecf20Sopenharmony_ci#define VXGE_HW_PCC_ERROR_REG_PCC_PCC_TXDO_DBE(n) vxge_mBIT(n) 21088c2ecf20Sopenharmony_ci#define VXGE_HW_PCC_ERROR_REG_PCC_PCC_FSM_ERR_ALARM(n) vxge_mBIT(n) 21098c2ecf20Sopenharmony_ci#define VXGE_HW_PCC_ERROR_REG_PCC_PCC_SERR(n) vxge_mBIT(n) 21108c2ecf20Sopenharmony_ci/*0x02730*/ u64 pcc_error_mask; 21118c2ecf20Sopenharmony_ci/*0x02738*/ u64 pcc_error_alarm; 21128c2ecf20Sopenharmony_ci/*0x02740*/ u64 lso_error_reg; 21138c2ecf20Sopenharmony_ci#define VXGE_HW_LSO_ERROR_REG_PCC_LSO_ABORT(n) vxge_mBIT(n) 21148c2ecf20Sopenharmony_ci#define VXGE_HW_LSO_ERROR_REG_PCC_LSO_FSM_ERR_ALARM(n) vxge_mBIT(n) 21158c2ecf20Sopenharmony_ci/*0x02748*/ u64 lso_error_mask; 21168c2ecf20Sopenharmony_ci/*0x02750*/ u64 lso_error_alarm; 21178c2ecf20Sopenharmony_ci/*0x02758*/ u64 sm_error_reg; 21188c2ecf20Sopenharmony_ci#define VXGE_HW_SM_ERROR_REG_SM_FSM_ERR_ALARM vxge_mBIT(15) 21198c2ecf20Sopenharmony_ci/*0x02760*/ u64 sm_error_mask; 21208c2ecf20Sopenharmony_ci/*0x02768*/ u64 sm_error_alarm; 21218c2ecf20Sopenharmony_ci 21228c2ecf20Sopenharmony_ci u8 unused027a8[0x027a8-0x02770]; 21238c2ecf20Sopenharmony_ci 21248c2ecf20Sopenharmony_ci/*0x027a8*/ u64 txd_ownership_ctrl; 21258c2ecf20Sopenharmony_ci#define VXGE_HW_TXD_OWNERSHIP_CTRL_KEEP_OWNERSHIP vxge_mBIT(7) 21268c2ecf20Sopenharmony_ci/*0x027b0*/ u64 pcc_cfg; 21278c2ecf20Sopenharmony_ci#define VXGE_HW_PCC_CFG_PCC_ENABLE(n) vxge_mBIT(n) 21288c2ecf20Sopenharmony_ci#define VXGE_HW_PCC_CFG_PCC_ECC_ENABLE_N(n) vxge_mBIT(n) 21298c2ecf20Sopenharmony_ci/*0x027b8*/ u64 pcc_control; 21308c2ecf20Sopenharmony_ci#define VXGE_HW_PCC_CONTROL_FE_ENABLE(val) vxge_vBIT(val, 6, 2) 21318c2ecf20Sopenharmony_ci#define VXGE_HW_PCC_CONTROL_EARLY_ASSIGN_EN vxge_mBIT(15) 21328c2ecf20Sopenharmony_ci#define VXGE_HW_PCC_CONTROL_UNBLOCK_DB_ERR vxge_mBIT(31) 21338c2ecf20Sopenharmony_ci/*0x027c0*/ u64 pda_status1; 21348c2ecf20Sopenharmony_ci#define VXGE_HW_PDA_STATUS1_PDA_WRAP_0_CTR(val) vxge_vBIT(val, 4, 4) 21358c2ecf20Sopenharmony_ci#define VXGE_HW_PDA_STATUS1_PDA_WRAP_1_CTR(val) vxge_vBIT(val, 12, 4) 21368c2ecf20Sopenharmony_ci#define VXGE_HW_PDA_STATUS1_PDA_WRAP_2_CTR(val) vxge_vBIT(val, 20, 4) 21378c2ecf20Sopenharmony_ci#define VXGE_HW_PDA_STATUS1_PDA_WRAP_3_CTR(val) vxge_vBIT(val, 28, 4) 21388c2ecf20Sopenharmony_ci#define VXGE_HW_PDA_STATUS1_PDA_WRAP_4_CTR(val) vxge_vBIT(val, 36, 4) 21398c2ecf20Sopenharmony_ci#define VXGE_HW_PDA_STATUS1_PDA_WRAP_5_CTR(val) vxge_vBIT(val, 44, 4) 21408c2ecf20Sopenharmony_ci#define VXGE_HW_PDA_STATUS1_PDA_WRAP_6_CTR(val) vxge_vBIT(val, 52, 4) 21418c2ecf20Sopenharmony_ci#define VXGE_HW_PDA_STATUS1_PDA_WRAP_7_CTR(val) vxge_vBIT(val, 60, 4) 21428c2ecf20Sopenharmony_ci/*0x027c8*/ u64 rtdma_bw_timer; 21438c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_BW_TIMER_TIMER_CTRL(val) vxge_vBIT(val, 12, 4) 21448c2ecf20Sopenharmony_ci 21458c2ecf20Sopenharmony_ci u8 unused02900[0x02900-0x027d0]; 21468c2ecf20Sopenharmony_ci/*0x02900*/ u64 g3cmct_int_status; 21478c2ecf20Sopenharmony_ci#define VXGE_HW_G3CMCT_INT_STATUS_ERR_G3IF_INT vxge_mBIT(0) 21488c2ecf20Sopenharmony_ci/*0x02908*/ u64 g3cmct_int_mask; 21498c2ecf20Sopenharmony_ci/*0x02910*/ u64 g3cmct_err_reg; 21508c2ecf20Sopenharmony_ci#define VXGE_HW_G3CMCT_ERR_REG_G3IF_SM_ERR vxge_mBIT(4) 21518c2ecf20Sopenharmony_ci#define VXGE_HW_G3CMCT_ERR_REG_G3IF_GDDR3_DECC vxge_mBIT(5) 21528c2ecf20Sopenharmony_ci#define VXGE_HW_G3CMCT_ERR_REG_G3IF_GDDR3_U_DECC vxge_mBIT(6) 21538c2ecf20Sopenharmony_ci#define VXGE_HW_G3CMCT_ERR_REG_G3IF_CTRL_FIFO_DECC vxge_mBIT(7) 21548c2ecf20Sopenharmony_ci#define VXGE_HW_G3CMCT_ERR_REG_G3IF_GDDR3_SECC vxge_mBIT(29) 21558c2ecf20Sopenharmony_ci#define VXGE_HW_G3CMCT_ERR_REG_G3IF_GDDR3_U_SECC vxge_mBIT(30) 21568c2ecf20Sopenharmony_ci#define VXGE_HW_G3CMCT_ERR_REG_G3IF_CTRL_FIFO_SECC vxge_mBIT(31) 21578c2ecf20Sopenharmony_ci/*0x02918*/ u64 g3cmct_err_mask; 21588c2ecf20Sopenharmony_ci/*0x02920*/ u64 g3cmct_err_alarm; 21598c2ecf20Sopenharmony_ci u8 unused03000[0x03000-0x02928]; 21608c2ecf20Sopenharmony_ci 21618c2ecf20Sopenharmony_ci/*0x03000*/ u64 mc_int_status; 21628c2ecf20Sopenharmony_ci#define VXGE_HW_MC_INT_STATUS_MC_ERR_MC_INT vxge_mBIT(3) 21638c2ecf20Sopenharmony_ci#define VXGE_HW_MC_INT_STATUS_GROCRC_ALARM_ROCRC_INT vxge_mBIT(7) 21648c2ecf20Sopenharmony_ci#define VXGE_HW_MC_INT_STATUS_FAU_GEN_ERR_FAU_GEN_INT vxge_mBIT(11) 21658c2ecf20Sopenharmony_ci#define VXGE_HW_MC_INT_STATUS_FAU_ECC_ERR_FAU_ECC_INT vxge_mBIT(15) 21668c2ecf20Sopenharmony_ci/*0x03008*/ u64 mc_int_mask; 21678c2ecf20Sopenharmony_ci/*0x03010*/ u64 mc_err_reg; 21688c2ecf20Sopenharmony_ci#define VXGE_HW_MC_ERR_REG_MC_XFMD_MEM_ECC_SG_ERR_A vxge_mBIT(3) 21698c2ecf20Sopenharmony_ci#define VXGE_HW_MC_ERR_REG_MC_XFMD_MEM_ECC_SG_ERR_B vxge_mBIT(4) 21708c2ecf20Sopenharmony_ci#define VXGE_HW_MC_ERR_REG_MC_G3IF_RD_FIFO_ECC_SG_ERR vxge_mBIT(5) 21718c2ecf20Sopenharmony_ci#define VXGE_HW_MC_ERR_REG_MC_MIRI_ECC_SG_ERR_0 vxge_mBIT(6) 21728c2ecf20Sopenharmony_ci#define VXGE_HW_MC_ERR_REG_MC_MIRI_ECC_SG_ERR_1 vxge_mBIT(7) 21738c2ecf20Sopenharmony_ci#define VXGE_HW_MC_ERR_REG_MC_XFMD_MEM_ECC_DB_ERR_A vxge_mBIT(10) 21748c2ecf20Sopenharmony_ci#define VXGE_HW_MC_ERR_REG_MC_XFMD_MEM_ECC_DB_ERR_B vxge_mBIT(11) 21758c2ecf20Sopenharmony_ci#define VXGE_HW_MC_ERR_REG_MC_G3IF_RD_FIFO_ECC_DB_ERR vxge_mBIT(12) 21768c2ecf20Sopenharmony_ci#define VXGE_HW_MC_ERR_REG_MC_MIRI_ECC_DB_ERR_0 vxge_mBIT(13) 21778c2ecf20Sopenharmony_ci#define VXGE_HW_MC_ERR_REG_MC_MIRI_ECC_DB_ERR_1 vxge_mBIT(14) 21788c2ecf20Sopenharmony_ci#define VXGE_HW_MC_ERR_REG_MC_SM_ERR vxge_mBIT(15) 21798c2ecf20Sopenharmony_ci/*0x03018*/ u64 mc_err_mask; 21808c2ecf20Sopenharmony_ci/*0x03020*/ u64 mc_err_alarm; 21818c2ecf20Sopenharmony_ci/*0x03028*/ u64 grocrc_alarm_reg; 21828c2ecf20Sopenharmony_ci#define VXGE_HW_GROCRC_ALARM_REG_XFMD_WR_FIFO_ERR vxge_mBIT(3) 21838c2ecf20Sopenharmony_ci#define VXGE_HW_GROCRC_ALARM_REG_WDE2MSR_RD_FIFO_ERR vxge_mBIT(7) 21848c2ecf20Sopenharmony_ci/*0x03030*/ u64 grocrc_alarm_mask; 21858c2ecf20Sopenharmony_ci/*0x03038*/ u64 grocrc_alarm_alarm; 21868c2ecf20Sopenharmony_ci u8 unused03100[0x03100-0x03040]; 21878c2ecf20Sopenharmony_ci 21888c2ecf20Sopenharmony_ci/*0x03100*/ u64 rx_thresh_cfg_repl; 21898c2ecf20Sopenharmony_ci#define VXGE_HW_RX_THRESH_CFG_REPL_PAUSE_LOW_THR(val) vxge_vBIT(val, 0, 8) 21908c2ecf20Sopenharmony_ci#define VXGE_HW_RX_THRESH_CFG_REPL_PAUSE_HIGH_THR(val) vxge_vBIT(val, 8, 8) 21918c2ecf20Sopenharmony_ci#define VXGE_HW_RX_THRESH_CFG_REPL_RED_THR_0(val) vxge_vBIT(val, 16, 8) 21928c2ecf20Sopenharmony_ci#define VXGE_HW_RX_THRESH_CFG_REPL_RED_THR_1(val) vxge_vBIT(val, 24, 8) 21938c2ecf20Sopenharmony_ci#define VXGE_HW_RX_THRESH_CFG_REPL_RED_THR_2(val) vxge_vBIT(val, 32, 8) 21948c2ecf20Sopenharmony_ci#define VXGE_HW_RX_THRESH_CFG_REPL_RED_THR_3(val) vxge_vBIT(val, 40, 8) 21958c2ecf20Sopenharmony_ci#define VXGE_HW_RX_THRESH_CFG_REPL_GLOBAL_WOL_EN vxge_mBIT(62) 21968c2ecf20Sopenharmony_ci#define VXGE_HW_RX_THRESH_CFG_REPL_EXACT_VP_MATCH_REQ vxge_mBIT(63) 21978c2ecf20Sopenharmony_ci u8 unused033b8[0x033b8-0x03108]; 21988c2ecf20Sopenharmony_ci 21998c2ecf20Sopenharmony_ci/*0x033b8*/ u64 fbmc_ecc_cfg; 22008c2ecf20Sopenharmony_ci#define VXGE_HW_FBMC_ECC_CFG_ENABLE(val) vxge_vBIT(val, 3, 5) 22018c2ecf20Sopenharmony_ci u8 unused03400[0x03400-0x033c0]; 22028c2ecf20Sopenharmony_ci 22038c2ecf20Sopenharmony_ci/*0x03400*/ u64 pcipif_int_status; 22048c2ecf20Sopenharmony_ci#define VXGE_HW_PCIPIF_INT_STATUS_DBECC_ERR_DBECC_ERR_INT vxge_mBIT(3) 22058c2ecf20Sopenharmony_ci#define VXGE_HW_PCIPIF_INT_STATUS_SBECC_ERR_SBECC_ERR_INT vxge_mBIT(7) 22068c2ecf20Sopenharmony_ci#define VXGE_HW_PCIPIF_INT_STATUS_GENERAL_ERR_GENERAL_ERR_INT vxge_mBIT(11) 22078c2ecf20Sopenharmony_ci#define VXGE_HW_PCIPIF_INT_STATUS_SRPCIM_MSG_SRPCIM_MSG_INT vxge_mBIT(15) 22088c2ecf20Sopenharmony_ci#define VXGE_HW_PCIPIF_INT_STATUS_MRPCIM_SPARE_R1_MRPCIM_SPARE_R1_INT \ 22098c2ecf20Sopenharmony_ci vxge_mBIT(19) 22108c2ecf20Sopenharmony_ci/*0x03408*/ u64 pcipif_int_mask; 22118c2ecf20Sopenharmony_ci/*0x03410*/ u64 dbecc_err_reg; 22128c2ecf20Sopenharmony_ci#define VXGE_HW_DBECC_ERR_REG_PCI_RETRY_BUF_DB_ERR vxge_mBIT(3) 22138c2ecf20Sopenharmony_ci#define VXGE_HW_DBECC_ERR_REG_PCI_RETRY_SOT_DB_ERR vxge_mBIT(7) 22148c2ecf20Sopenharmony_ci#define VXGE_HW_DBECC_ERR_REG_PCI_P_HDR_DB_ERR vxge_mBIT(11) 22158c2ecf20Sopenharmony_ci#define VXGE_HW_DBECC_ERR_REG_PCI_P_DATA_DB_ERR vxge_mBIT(15) 22168c2ecf20Sopenharmony_ci#define VXGE_HW_DBECC_ERR_REG_PCI_NP_HDR_DB_ERR vxge_mBIT(19) 22178c2ecf20Sopenharmony_ci#define VXGE_HW_DBECC_ERR_REG_PCI_NP_DATA_DB_ERR vxge_mBIT(23) 22188c2ecf20Sopenharmony_ci/*0x03418*/ u64 dbecc_err_mask; 22198c2ecf20Sopenharmony_ci/*0x03420*/ u64 dbecc_err_alarm; 22208c2ecf20Sopenharmony_ci/*0x03428*/ u64 sbecc_err_reg; 22218c2ecf20Sopenharmony_ci#define VXGE_HW_SBECC_ERR_REG_PCI_RETRY_BUF_SG_ERR vxge_mBIT(3) 22228c2ecf20Sopenharmony_ci#define VXGE_HW_SBECC_ERR_REG_PCI_RETRY_SOT_SG_ERR vxge_mBIT(7) 22238c2ecf20Sopenharmony_ci#define VXGE_HW_SBECC_ERR_REG_PCI_P_HDR_SG_ERR vxge_mBIT(11) 22248c2ecf20Sopenharmony_ci#define VXGE_HW_SBECC_ERR_REG_PCI_P_DATA_SG_ERR vxge_mBIT(15) 22258c2ecf20Sopenharmony_ci#define VXGE_HW_SBECC_ERR_REG_PCI_NP_HDR_SG_ERR vxge_mBIT(19) 22268c2ecf20Sopenharmony_ci#define VXGE_HW_SBECC_ERR_REG_PCI_NP_DATA_SG_ERR vxge_mBIT(23) 22278c2ecf20Sopenharmony_ci/*0x03430*/ u64 sbecc_err_mask; 22288c2ecf20Sopenharmony_ci/*0x03438*/ u64 sbecc_err_alarm; 22298c2ecf20Sopenharmony_ci/*0x03440*/ u64 general_err_reg; 22308c2ecf20Sopenharmony_ci#define VXGE_HW_GENERAL_ERR_REG_PCI_DROPPED_ILLEGAL_CFG vxge_mBIT(3) 22318c2ecf20Sopenharmony_ci#define VXGE_HW_GENERAL_ERR_REG_PCI_ILLEGAL_MEM_MAP_PROG vxge_mBIT(7) 22328c2ecf20Sopenharmony_ci#define VXGE_HW_GENERAL_ERR_REG_PCI_LINK_RST_FSM_ERR vxge_mBIT(11) 22338c2ecf20Sopenharmony_ci#define VXGE_HW_GENERAL_ERR_REG_PCI_RX_ILLEGAL_TLP_VPLANE vxge_mBIT(15) 22348c2ecf20Sopenharmony_ci#define VXGE_HW_GENERAL_ERR_REG_PCI_TRAINING_RESET_DET vxge_mBIT(19) 22358c2ecf20Sopenharmony_ci#define VXGE_HW_GENERAL_ERR_REG_PCI_PCI_LINK_DOWN_DET vxge_mBIT(23) 22368c2ecf20Sopenharmony_ci#define VXGE_HW_GENERAL_ERR_REG_PCI_RESET_ACK_DLLP vxge_mBIT(27) 22378c2ecf20Sopenharmony_ci/*0x03448*/ u64 general_err_mask; 22388c2ecf20Sopenharmony_ci/*0x03450*/ u64 general_err_alarm; 22398c2ecf20Sopenharmony_ci/*0x03458*/ u64 srpcim_msg_reg; 22408c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE0_RMSG_INT \ 22418c2ecf20Sopenharmony_ci vxge_mBIT(0) 22428c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE1_RMSG_INT \ 22438c2ecf20Sopenharmony_ci vxge_mBIT(1) 22448c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE2_RMSG_INT \ 22458c2ecf20Sopenharmony_ci vxge_mBIT(2) 22468c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE3_RMSG_INT \ 22478c2ecf20Sopenharmony_ci vxge_mBIT(3) 22488c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE4_RMSG_INT \ 22498c2ecf20Sopenharmony_ci vxge_mBIT(4) 22508c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE5_RMSG_INT \ 22518c2ecf20Sopenharmony_ci vxge_mBIT(5) 22528c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE6_RMSG_INT \ 22538c2ecf20Sopenharmony_ci vxge_mBIT(6) 22548c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE7_RMSG_INT \ 22558c2ecf20Sopenharmony_ci vxge_mBIT(7) 22568c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE8_RMSG_INT \ 22578c2ecf20Sopenharmony_ci vxge_mBIT(8) 22588c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE9_RMSG_INT \ 22598c2ecf20Sopenharmony_ci vxge_mBIT(9) 22608c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE10_RMSG_INT \ 22618c2ecf20Sopenharmony_ci vxge_mBIT(10) 22628c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE11_RMSG_INT \ 22638c2ecf20Sopenharmony_ci vxge_mBIT(11) 22648c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE12_RMSG_INT \ 22658c2ecf20Sopenharmony_ci vxge_mBIT(12) 22668c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE13_RMSG_INT \ 22678c2ecf20Sopenharmony_ci vxge_mBIT(13) 22688c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE14_RMSG_INT \ 22698c2ecf20Sopenharmony_ci vxge_mBIT(14) 22708c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE15_RMSG_INT \ 22718c2ecf20Sopenharmony_ci vxge_mBIT(15) 22728c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_REG_SWIF_SRPCIM_TO_MRPCIM_VPLANE16_RMSG_INT \ 22738c2ecf20Sopenharmony_ci vxge_mBIT(16) 22748c2ecf20Sopenharmony_ci/*0x03460*/ u64 srpcim_msg_mask; 22758c2ecf20Sopenharmony_ci/*0x03468*/ u64 srpcim_msg_alarm; 22768c2ecf20Sopenharmony_ci u8 unused03600[0x03600-0x03470]; 22778c2ecf20Sopenharmony_ci 22788c2ecf20Sopenharmony_ci/*0x03600*/ u64 gcmg1_int_status; 22798c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG1_INT_STATUS_GSSCC_ERR_GSSCC_INT vxge_mBIT(0) 22808c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG1_INT_STATUS_GSSC0_ERR0_GSSC0_0_INT vxge_mBIT(1) 22818c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG1_INT_STATUS_GSSC0_ERR1_GSSC0_1_INT vxge_mBIT(2) 22828c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG1_INT_STATUS_GSSC1_ERR0_GSSC1_0_INT vxge_mBIT(3) 22838c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG1_INT_STATUS_GSSC1_ERR1_GSSC1_1_INT vxge_mBIT(4) 22848c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG1_INT_STATUS_GSSC2_ERR0_GSSC2_0_INT vxge_mBIT(5) 22858c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG1_INT_STATUS_GSSC2_ERR1_GSSC2_1_INT vxge_mBIT(6) 22868c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG1_INT_STATUS_UQM_ERR_UQM_INT vxge_mBIT(7) 22878c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG1_INT_STATUS_GQCC_ERR_GQCC_INT vxge_mBIT(8) 22888c2ecf20Sopenharmony_ci/*0x03608*/ u64 gcmg1_int_mask; 22898c2ecf20Sopenharmony_ci u8 unused03a00[0x03a00-0x03610]; 22908c2ecf20Sopenharmony_ci 22918c2ecf20Sopenharmony_ci/*0x03a00*/ u64 pcmg1_int_status; 22928c2ecf20Sopenharmony_ci#define VXGE_HW_PCMG1_INT_STATUS_PSSCC_ERR_PSSCC_INT vxge_mBIT(0) 22938c2ecf20Sopenharmony_ci#define VXGE_HW_PCMG1_INT_STATUS_PQCC_ERR_PQCC_INT vxge_mBIT(1) 22948c2ecf20Sopenharmony_ci#define VXGE_HW_PCMG1_INT_STATUS_PQCC_CQM_ERR_PQCC_CQM_INT vxge_mBIT(2) 22958c2ecf20Sopenharmony_ci#define VXGE_HW_PCMG1_INT_STATUS_PQCC_SQM_ERR_PQCC_SQM_INT vxge_mBIT(3) 22968c2ecf20Sopenharmony_ci/*0x03a08*/ u64 pcmg1_int_mask; 22978c2ecf20Sopenharmony_ci u8 unused04000[0x04000-0x03a10]; 22988c2ecf20Sopenharmony_ci 22998c2ecf20Sopenharmony_ci/*0x04000*/ u64 one_int_status; 23008c2ecf20Sopenharmony_ci#define VXGE_HW_ONE_INT_STATUS_RXPE_ERR_RXPE_INT vxge_mBIT(7) 23018c2ecf20Sopenharmony_ci#define VXGE_HW_ONE_INT_STATUS_TXPE_BCC_MEM_SG_ECC_ERR_TXPE_BCC_MEM_SG_ECC_INT \ 23028c2ecf20Sopenharmony_ci vxge_mBIT(13) 23038c2ecf20Sopenharmony_ci#define VXGE_HW_ONE_INT_STATUS_TXPE_BCC_MEM_DB_ECC_ERR_TXPE_BCC_MEM_DB_ECC_INT \ 23048c2ecf20Sopenharmony_ci vxge_mBIT(14) 23058c2ecf20Sopenharmony_ci#define VXGE_HW_ONE_INT_STATUS_TXPE_ERR_TXPE_INT vxge_mBIT(15) 23068c2ecf20Sopenharmony_ci#define VXGE_HW_ONE_INT_STATUS_DLM_ERR_DLM_INT vxge_mBIT(23) 23078c2ecf20Sopenharmony_ci#define VXGE_HW_ONE_INT_STATUS_PE_ERR_PE_INT vxge_mBIT(31) 23088c2ecf20Sopenharmony_ci#define VXGE_HW_ONE_INT_STATUS_RPE_ERR_RPE_INT vxge_mBIT(39) 23098c2ecf20Sopenharmony_ci#define VXGE_HW_ONE_INT_STATUS_RPE_FSM_ERR_RPE_FSM_INT vxge_mBIT(47) 23108c2ecf20Sopenharmony_ci#define VXGE_HW_ONE_INT_STATUS_OES_ERR_OES_INT vxge_mBIT(55) 23118c2ecf20Sopenharmony_ci/*0x04008*/ u64 one_int_mask; 23128c2ecf20Sopenharmony_ci u8 unused04818[0x04818-0x04010]; 23138c2ecf20Sopenharmony_ci 23148c2ecf20Sopenharmony_ci/*0x04818*/ u64 noa_wct_ctrl; 23158c2ecf20Sopenharmony_ci#define VXGE_HW_NOA_WCT_CTRL_VP_INT_NUM vxge_mBIT(0) 23168c2ecf20Sopenharmony_ci/*0x04820*/ u64 rc_cfg2; 23178c2ecf20Sopenharmony_ci#define VXGE_HW_RC_CFG2_BUFF1_SIZE(val) vxge_vBIT(val, 0, 16) 23188c2ecf20Sopenharmony_ci#define VXGE_HW_RC_CFG2_BUFF2_SIZE(val) vxge_vBIT(val, 16, 16) 23198c2ecf20Sopenharmony_ci#define VXGE_HW_RC_CFG2_BUFF3_SIZE(val) vxge_vBIT(val, 32, 16) 23208c2ecf20Sopenharmony_ci#define VXGE_HW_RC_CFG2_BUFF4_SIZE(val) vxge_vBIT(val, 48, 16) 23218c2ecf20Sopenharmony_ci/*0x04828*/ u64 rc_cfg3; 23228c2ecf20Sopenharmony_ci#define VXGE_HW_RC_CFG3_BUFF5_SIZE(val) vxge_vBIT(val, 0, 16) 23238c2ecf20Sopenharmony_ci/*0x04830*/ u64 rx_multi_cast_ctrl1; 23248c2ecf20Sopenharmony_ci#define VXGE_HW_RX_MULTI_CAST_CTRL1_ENABLE vxge_mBIT(7) 23258c2ecf20Sopenharmony_ci#define VXGE_HW_RX_MULTI_CAST_CTRL1_DELAY_COUNT(val) vxge_vBIT(val, 11, 5) 23268c2ecf20Sopenharmony_ci/*0x04838*/ u64 rxdm_dbg_rd; 23278c2ecf20Sopenharmony_ci#define VXGE_HW_RXDM_DBG_RD_ADDR(val) vxge_vBIT(val, 0, 12) 23288c2ecf20Sopenharmony_ci#define VXGE_HW_RXDM_DBG_RD_ENABLE vxge_mBIT(31) 23298c2ecf20Sopenharmony_ci/*0x04840*/ u64 rxdm_dbg_rd_data; 23308c2ecf20Sopenharmony_ci#define VXGE_HW_RXDM_DBG_RD_DATA_RMC_RXDM_DBG_RD_DATA(val) vxge_vBIT(val, 0, 64) 23318c2ecf20Sopenharmony_ci/*0x04848*/ u64 rqa_top_prty_for_vh[17]; 23328c2ecf20Sopenharmony_ci#define VXGE_HW_RQA_TOP_PRTY_FOR_VH_RQA_TOP_PRTY_FOR_VH(val) \ 23338c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 23348c2ecf20Sopenharmony_ci u8 unused04900[0x04900-0x048d0]; 23358c2ecf20Sopenharmony_ci 23368c2ecf20Sopenharmony_ci/*0x04900*/ u64 tim_status; 23378c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_STATUS_TIM_RESET_IN_PROGRESS vxge_mBIT(0) 23388c2ecf20Sopenharmony_ci/*0x04908*/ u64 tim_ecc_enable; 23398c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ECC_ENABLE_VBLS_N vxge_mBIT(7) 23408c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ECC_ENABLE_BMAP_N vxge_mBIT(15) 23418c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ECC_ENABLE_BMAP_MSG_N vxge_mBIT(23) 23428c2ecf20Sopenharmony_ci/*0x04910*/ u64 tim_bp_ctrl; 23438c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_BP_CTRL_RD_XON vxge_mBIT(7) 23448c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_BP_CTRL_WR_XON vxge_mBIT(15) 23458c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_BP_CTRL_ROCRC_BYP vxge_mBIT(23) 23468c2ecf20Sopenharmony_ci/*0x04918*/ u64 tim_resource_assignment_vh[17]; 23478c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_RESOURCE_ASSIGNMENT_VH_BMAP_ROOT(val) vxge_vBIT(val, 0, 32) 23488c2ecf20Sopenharmony_ci/*0x049a0*/ u64 tim_bmap_mapping_vp_err[17]; 23498c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_BMAP_MAPPING_VP_ERR_TIM_DEST_VPATH(val) vxge_vBIT(val, 3, 5) 23508c2ecf20Sopenharmony_ci u8 unused04b00[0x04b00-0x04a28]; 23518c2ecf20Sopenharmony_ci 23528c2ecf20Sopenharmony_ci/*0x04b00*/ u64 gcmg2_int_status; 23538c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG2_INT_STATUS_GXTMC_ERR_GXTMC_INT vxge_mBIT(7) 23548c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG2_INT_STATUS_GCP_ERR_GCP_INT vxge_mBIT(15) 23558c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG2_INT_STATUS_CMC_ERR_CMC_INT vxge_mBIT(23) 23568c2ecf20Sopenharmony_ci/*0x04b08*/ u64 gcmg2_int_mask; 23578c2ecf20Sopenharmony_ci/*0x04b10*/ u64 gxtmc_err_reg; 23588c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_BDT_MEM_DB_ERR(val) vxge_vBIT(val, 0, 4) 23598c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_BDT_MEM_SG_ERR(val) vxge_vBIT(val, 4, 4) 23608c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_CMC_RD_DATA_DB_ERR vxge_mBIT(8) 23618c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_REQ_FIFO_ERR vxge_mBIT(9) 23628c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_REQ_DATA_FIFO_ERR vxge_mBIT(10) 23638c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_WR_RSP_FIFO_ERR vxge_mBIT(11) 23648c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_RD_RSP_FIFO_ERR vxge_mBIT(12) 23658c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_CMI_WRP_FIFO_ERR vxge_mBIT(13) 23668c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_CMI_WRP_ERR vxge_mBIT(14) 23678c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_CMI_RRP_FIFO_ERR vxge_mBIT(15) 23688c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_CMI_RRP_ERR vxge_mBIT(16) 23698c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_CMI_DATA_SM_ERR vxge_mBIT(17) 23708c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_CMI_CMC0_IF_ERR vxge_mBIT(18) 23718c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_BDT_CMI_ARB_SM_ERR vxge_mBIT(19) 23728c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_BDT_CMI_CFC_SM_ERR vxge_mBIT(20) 23738c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_BDT_CMI_DFETCH_CREDIT_OVERFLOW \ 23748c2ecf20Sopenharmony_ci vxge_mBIT(21) 23758c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_BDT_CMI_DFETCH_CREDIT_UNDERFLOW \ 23768c2ecf20Sopenharmony_ci vxge_mBIT(22) 23778c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_BDT_CMI_DFETCH_SM_ERR vxge_mBIT(23) 23788c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_BDT_CMI_RCTRL_CREDIT_OVERFLOW \ 23798c2ecf20Sopenharmony_ci vxge_mBIT(24) 23808c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_BDT_CMI_RCTRL_CREDIT_UNDERFLOW \ 23818c2ecf20Sopenharmony_ci vxge_mBIT(25) 23828c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_BDT_CMI_RCTRL_SM_ERR vxge_mBIT(26) 23838c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_BDT_CMI_WCOMPL_SM_ERR vxge_mBIT(27) 23848c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_BDT_CMI_WCOMPL_TAG_ERR vxge_mBIT(28) 23858c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_BDT_CMI_WREQ_SM_ERR vxge_mBIT(29) 23868c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_BDT_CMI_WREQ_FIFO_ERR vxge_mBIT(30) 23878c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_CP2BDT_RFIFO_POP_ERR vxge_mBIT(31) 23888c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_XTMC_BDT_CMI_OP_ERR vxge_mBIT(32) 23898c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_XTMC_BDT_DFETCH_OP_ERR vxge_mBIT(33) 23908c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_XTMC_BDT_DFIFO_ERR vxge_mBIT(34) 23918c2ecf20Sopenharmony_ci#define VXGE_HW_GXTMC_ERR_REG_XTMC_CMI_ARB_SM_ERR vxge_mBIT(35) 23928c2ecf20Sopenharmony_ci/*0x04b18*/ u64 gxtmc_err_mask; 23938c2ecf20Sopenharmony_ci/*0x04b20*/ u64 gxtmc_err_alarm; 23948c2ecf20Sopenharmony_ci/*0x04b28*/ u64 cmc_err_reg; 23958c2ecf20Sopenharmony_ci#define VXGE_HW_CMC_ERR_REG_CMC_CMC_SM_ERR vxge_mBIT(0) 23968c2ecf20Sopenharmony_ci/*0x04b30*/ u64 cmc_err_mask; 23978c2ecf20Sopenharmony_ci/*0x04b38*/ u64 cmc_err_alarm; 23988c2ecf20Sopenharmony_ci/*0x04b40*/ u64 gcp_err_reg; 23998c2ecf20Sopenharmony_ci#define VXGE_HW_GCP_ERR_REG_CP_H2L2CP_FIFO_ERR vxge_mBIT(0) 24008c2ecf20Sopenharmony_ci#define VXGE_HW_GCP_ERR_REG_CP_STC2CP_FIFO_ERR vxge_mBIT(1) 24018c2ecf20Sopenharmony_ci#define VXGE_HW_GCP_ERR_REG_CP_STE2CP_FIFO_ERR vxge_mBIT(2) 24028c2ecf20Sopenharmony_ci#define VXGE_HW_GCP_ERR_REG_CP_TTE2CP_FIFO_ERR vxge_mBIT(3) 24038c2ecf20Sopenharmony_ci/*0x04b48*/ u64 gcp_err_mask; 24048c2ecf20Sopenharmony_ci/*0x04b50*/ u64 gcp_err_alarm; 24058c2ecf20Sopenharmony_ci u8 unused04f00[0x04f00-0x04b58]; 24068c2ecf20Sopenharmony_ci 24078c2ecf20Sopenharmony_ci/*0x04f00*/ u64 pcmg2_int_status; 24088c2ecf20Sopenharmony_ci#define VXGE_HW_PCMG2_INT_STATUS_PXTMC_ERR_PXTMC_INT vxge_mBIT(7) 24098c2ecf20Sopenharmony_ci#define VXGE_HW_PCMG2_INT_STATUS_CP_EXC_CP_XT_EXC_INT vxge_mBIT(15) 24108c2ecf20Sopenharmony_ci#define VXGE_HW_PCMG2_INT_STATUS_CP_ERR_CP_ERR_INT vxge_mBIT(23) 24118c2ecf20Sopenharmony_ci/*0x04f08*/ u64 pcmg2_int_mask; 24128c2ecf20Sopenharmony_ci/*0x04f10*/ u64 pxtmc_err_reg; 24138c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_XT_PIF_SRAM_DB_ERR(val) vxge_vBIT(val, 0, 2) 24148c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_MPT_REQ_FIFO_ERR vxge_mBIT(2) 24158c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_MPT_PRSP_FIFO_ERR vxge_mBIT(3) 24168c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_MPT_WRSP_FIFO_ERR vxge_mBIT(4) 24178c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_UPT_REQ_FIFO_ERR vxge_mBIT(5) 24188c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_UPT_PRSP_FIFO_ERR vxge_mBIT(6) 24198c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_UPT_WRSP_FIFO_ERR vxge_mBIT(7) 24208c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CPT_REQ_FIFO_ERR vxge_mBIT(8) 24218c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CPT_PRSP_FIFO_ERR vxge_mBIT(9) 24228c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CPT_WRSP_FIFO_ERR vxge_mBIT(10) 24238c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_REQ_FIFO_ERR vxge_mBIT(11) 24248c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_REQ_DATA_FIFO_ERR vxge_mBIT(12) 24258c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_WR_RSP_FIFO_ERR vxge_mBIT(13) 24268c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_RD_RSP_FIFO_ERR vxge_mBIT(14) 24278c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_MPT_REQ_SHADOW_ERR vxge_mBIT(15) 24288c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_MPT_RSP_SHADOW_ERR vxge_mBIT(16) 24298c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_UPT_REQ_SHADOW_ERR vxge_mBIT(17) 24308c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_UPT_RSP_SHADOW_ERR vxge_mBIT(18) 24318c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CPT_REQ_SHADOW_ERR vxge_mBIT(19) 24328c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CPT_RSP_SHADOW_ERR vxge_mBIT(20) 24338c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_XIL_SHADOW_ERR vxge_mBIT(21) 24348c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_ARB_SHADOW_ERR vxge_mBIT(22) 24358c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_RAM_SHADOW_ERR vxge_mBIT(23) 24368c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CMW_SHADOW_ERR vxge_mBIT(24) 24378c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CMR_SHADOW_ERR vxge_mBIT(25) 24388c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_MPT_REQ_FSM_ERR vxge_mBIT(26) 24398c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_MPT_RSP_FSM_ERR vxge_mBIT(27) 24408c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_UPT_REQ_FSM_ERR vxge_mBIT(28) 24418c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_UPT_RSP_FSM_ERR vxge_mBIT(29) 24428c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CPT_REQ_FSM_ERR vxge_mBIT(30) 24438c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CPT_RSP_FSM_ERR vxge_mBIT(31) 24448c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_XIL_FSM_ERR vxge_mBIT(32) 24458c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_ARB_FSM_ERR vxge_mBIT(33) 24468c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CMW_FSM_ERR vxge_mBIT(34) 24478c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CMR_FSM_ERR vxge_mBIT(35) 24488c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_MXP_RD_PROT_ERR vxge_mBIT(36) 24498c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_UXP_RD_PROT_ERR vxge_mBIT(37) 24508c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CXP_RD_PROT_ERR vxge_mBIT(38) 24518c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_MXP_WR_PROT_ERR vxge_mBIT(39) 24528c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_UXP_WR_PROT_ERR vxge_mBIT(40) 24538c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CXP_WR_PROT_ERR vxge_mBIT(41) 24548c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_MXP_INV_ADDR_ERR vxge_mBIT(42) 24558c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_UXP_INV_ADDR_ERR vxge_mBIT(43) 24568c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CXP_INV_ADDR_ERR vxge_mBIT(44) 24578c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_MXP_RD_PROT_INFO_ERR vxge_mBIT(45) 24588c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_UXP_RD_PROT_INFO_ERR vxge_mBIT(46) 24598c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CXP_RD_PROT_INFO_ERR vxge_mBIT(47) 24608c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_MXP_WR_PROT_INFO_ERR vxge_mBIT(48) 24618c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_UXP_WR_PROT_INFO_ERR vxge_mBIT(49) 24628c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CXP_WR_PROT_INFO_ERR vxge_mBIT(50) 24638c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_MXP_INV_ADDR_INFO_ERR vxge_mBIT(51) 24648c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_UXP_INV_ADDR_INFO_ERR vxge_mBIT(52) 24658c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CXP_INV_ADDR_INFO_ERR vxge_mBIT(53) 24668c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_XT_PIF_SRAM_SG_ERR(val) vxge_vBIT(val, 54, 2) 24678c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CP2BDT_DFIFO_PUSH_ERR vxge_mBIT(56) 24688c2ecf20Sopenharmony_ci#define VXGE_HW_PXTMC_ERR_REG_XTMC_CP2BDT_RFIFO_PUSH_ERR vxge_mBIT(57) 24698c2ecf20Sopenharmony_ci/*0x04f18*/ u64 pxtmc_err_mask; 24708c2ecf20Sopenharmony_ci/*0x04f20*/ u64 pxtmc_err_alarm; 24718c2ecf20Sopenharmony_ci/*0x04f28*/ u64 cp_err_reg; 24728c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_CP_DCACHE_SG_ERR(val) vxge_vBIT(val, 0, 8) 24738c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_CP_ICACHE_SG_ERR(val) vxge_vBIT(val, 8, 2) 24748c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_CP_DTAG_SG_ERR vxge_mBIT(10) 24758c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_CP_ITAG_SG_ERR vxge_mBIT(11) 24768c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_CP_TRACE_SG_ERR vxge_mBIT(12) 24778c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_DMA2CP_SG_ERR vxge_mBIT(13) 24788c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_MP2CP_SG_ERR vxge_mBIT(14) 24798c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_QCC2CP_SG_ERR vxge_mBIT(15) 24808c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_STC2CP_SG_ERR(val) vxge_vBIT(val, 16, 2) 24818c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_CP_DCACHE_DB_ERR(val) vxge_vBIT(val, 24, 8) 24828c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_CP_ICACHE_DB_ERR(val) vxge_vBIT(val, 32, 2) 24838c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_CP_DTAG_DB_ERR vxge_mBIT(34) 24848c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_CP_ITAG_DB_ERR vxge_mBIT(35) 24858c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_CP_TRACE_DB_ERR vxge_mBIT(36) 24868c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_DMA2CP_DB_ERR vxge_mBIT(37) 24878c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_MP2CP_DB_ERR vxge_mBIT(38) 24888c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_QCC2CP_DB_ERR vxge_mBIT(39) 24898c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_STC2CP_DB_ERR(val) vxge_vBIT(val, 40, 2) 24908c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_H2L2CP_FIFO_ERR vxge_mBIT(48) 24918c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_STC2CP_FIFO_ERR vxge_mBIT(49) 24928c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_STE2CP_FIFO_ERR vxge_mBIT(50) 24938c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_TTE2CP_FIFO_ERR vxge_mBIT(51) 24948c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_SWIF2CP_FIFO_ERR vxge_mBIT(52) 24958c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_CP2DMA_FIFO_ERR vxge_mBIT(53) 24968c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_DAM2CP_FIFO_ERR vxge_mBIT(54) 24978c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_MP2CP_FIFO_ERR vxge_mBIT(55) 24988c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_QCC2CP_FIFO_ERR vxge_mBIT(56) 24998c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_DMA2CP_FIFO_ERR vxge_mBIT(57) 25008c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_CP_WAKE_FSM_INTEGRITY_ERR vxge_mBIT(60) 25018c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_CP_PMON_FSM_INTEGRITY_ERR vxge_mBIT(61) 25028c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_DMA_RD_SHADOW_ERR vxge_mBIT(62) 25038c2ecf20Sopenharmony_ci#define VXGE_HW_CP_ERR_REG_CP_PIFT_CREDIT_ERR vxge_mBIT(63) 25048c2ecf20Sopenharmony_ci/*0x04f30*/ u64 cp_err_mask; 25058c2ecf20Sopenharmony_ci/*0x04f38*/ u64 cp_err_alarm; 25068c2ecf20Sopenharmony_ci u8 unused04fe8[0x04f50-0x04f40]; 25078c2ecf20Sopenharmony_ci 25088c2ecf20Sopenharmony_ci/*0x04f50*/ u64 cp_exc_reg; 25098c2ecf20Sopenharmony_ci#define VXGE_HW_CP_EXC_REG_CP_CP_CAUSE_INFO_INT vxge_mBIT(47) 25108c2ecf20Sopenharmony_ci#define VXGE_HW_CP_EXC_REG_CP_CP_CAUSE_CRIT_INT vxge_mBIT(55) 25118c2ecf20Sopenharmony_ci#define VXGE_HW_CP_EXC_REG_CP_CP_SERR vxge_mBIT(63) 25128c2ecf20Sopenharmony_ci/*0x04f58*/ u64 cp_exc_mask; 25138c2ecf20Sopenharmony_ci/*0x04f60*/ u64 cp_exc_alarm; 25148c2ecf20Sopenharmony_ci/*0x04f68*/ u64 cp_exc_cause; 25158c2ecf20Sopenharmony_ci#define VXGE_HW_CP_EXC_CAUSE_CP_CP_CAUSE(val) vxge_vBIT(val, 32, 32) 25168c2ecf20Sopenharmony_ci u8 unused05200[0x05200-0x04f70]; 25178c2ecf20Sopenharmony_ci 25188c2ecf20Sopenharmony_ci/*0x05200*/ u64 msg_int_status; 25198c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_INT_STATUS_TIM_ERR_TIM_INT vxge_mBIT(7) 25208c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_INT_STATUS_MSG_EXC_MSG_XT_EXC_INT vxge_mBIT(60) 25218c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_INT_STATUS_MSG_ERR3_MSG_ERR3_INT vxge_mBIT(61) 25228c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_INT_STATUS_MSG_ERR2_MSG_ERR2_INT vxge_mBIT(62) 25238c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_INT_STATUS_MSG_ERR_MSG_ERR_INT vxge_mBIT(63) 25248c2ecf20Sopenharmony_ci/*0x05208*/ u64 msg_int_mask; 25258c2ecf20Sopenharmony_ci/*0x05210*/ u64 tim_err_reg; 25268c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ERR_REG_TIM_VBLS_SG_ERR vxge_mBIT(4) 25278c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ERR_REG_TIM_BMAP_PA_SG_ERR vxge_mBIT(5) 25288c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ERR_REG_TIM_BMAP_PB_SG_ERR vxge_mBIT(6) 25298c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ERR_REG_TIM_BMAP_MSG_SG_ERR vxge_mBIT(7) 25308c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ERR_REG_TIM_VBLS_DB_ERR vxge_mBIT(12) 25318c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ERR_REG_TIM_BMAP_PA_DB_ERR vxge_mBIT(13) 25328c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ERR_REG_TIM_BMAP_PB_DB_ERR vxge_mBIT(14) 25338c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ERR_REG_TIM_BMAP_MSG_DB_ERR vxge_mBIT(15) 25348c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ERR_REG_TIM_BMAP_MEM_CNTRL_SM_ERR vxge_mBIT(18) 25358c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ERR_REG_TIM_BMAP_MSG_MEM_CNTRL_SM_ERR vxge_mBIT(19) 25368c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ERR_REG_TIM_MPIF_PCIWR_ERR vxge_mBIT(20) 25378c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ERR_REG_TIM_ROCRC_BMAP_UPDT_FIFO_ERR vxge_mBIT(22) 25388c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ERR_REG_TIM_CREATE_BMAPMSG_FIFO_ERR vxge_mBIT(23) 25398c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ERR_REG_TIM_ROCRCIF_MISMATCH vxge_mBIT(46) 25408c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_ERR_REG_TIM_BMAP_MAPPING_VP_ERR(n) vxge_mBIT(n) 25418c2ecf20Sopenharmony_ci/*0x05218*/ u64 tim_err_mask; 25428c2ecf20Sopenharmony_ci/*0x05220*/ u64 tim_err_alarm; 25438c2ecf20Sopenharmony_ci/*0x05228*/ u64 msg_err_reg; 25448c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_UP_UXP_WAKE_FSM_INTEGRITY_ERR vxge_mBIT(0) 25458c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MP_MXP_WAKE_FSM_INTEGRITY_ERR vxge_mBIT(1) 25468c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_DMQ_DMA_READ_CMD_FSM_INTEGRITY_ERR \ 25478c2ecf20Sopenharmony_ci vxge_mBIT(2) 25488c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_DMQ_DMA_RESP_FSM_INTEGRITY_ERR \ 25498c2ecf20Sopenharmony_ci vxge_mBIT(3) 25508c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_DMQ_OWN_FSM_INTEGRITY_ERR vxge_mBIT(4) 25518c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_PDA_ACC_FSM_INTEGRITY_ERR vxge_mBIT(5) 25528c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MP_MXP_PMON_FSM_INTEGRITY_ERR vxge_mBIT(6) 25538c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_UP_UXP_PMON_FSM_INTEGRITY_ERR vxge_mBIT(7) 25548c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_UP_UXP_DTAG_SG_ERR vxge_mBIT(8) 25558c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_UP_UXP_ITAG_SG_ERR vxge_mBIT(10) 25568c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MP_MXP_DTAG_SG_ERR vxge_mBIT(12) 25578c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MP_MXP_ITAG_SG_ERR vxge_mBIT(14) 25588c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_UP_UXP_TRACE_SG_ERR vxge_mBIT(16) 25598c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MP_MXP_TRACE_SG_ERR vxge_mBIT(17) 25608c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_CMG2MSG_SG_ERR vxge_mBIT(18) 25618c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_TXPE2MSG_SG_ERR vxge_mBIT(19) 25628c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_RXPE2MSG_SG_ERR vxge_mBIT(20) 25638c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_RPE2MSG_SG_ERR vxge_mBIT(21) 25648c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_UMQ_SG_ERR vxge_mBIT(26) 25658c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_BWR_PF_SG_ERR vxge_mBIT(27) 25668c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_DMQ_ECC_SG_ERR vxge_mBIT(29) 25678c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_DMA_RESP_ECC_SG_ERR vxge_mBIT(31) 25688c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_XFMDQRY_FSM_INTEGRITY_ERR vxge_mBIT(33) 25698c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_FRMQRY_FSM_INTEGRITY_ERR vxge_mBIT(34) 25708c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_UMQ_WRITE_FSM_INTEGRITY_ERR vxge_mBIT(35) 25718c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_UMQ_BWR_PF_FSM_INTEGRITY_ERR \ 25728c2ecf20Sopenharmony_ci vxge_mBIT(36) 25738c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_REG_RESP_FIFO_ERR vxge_mBIT(38) 25748c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_UP_UXP_DTAG_DB_ERR vxge_mBIT(39) 25758c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_UP_UXP_ITAG_DB_ERR vxge_mBIT(41) 25768c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MP_MXP_DTAG_DB_ERR vxge_mBIT(43) 25778c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MP_MXP_ITAG_DB_ERR vxge_mBIT(45) 25788c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_UP_UXP_TRACE_DB_ERR vxge_mBIT(47) 25798c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MP_MXP_TRACE_DB_ERR vxge_mBIT(48) 25808c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_CMG2MSG_DB_ERR vxge_mBIT(49) 25818c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_TXPE2MSG_DB_ERR vxge_mBIT(50) 25828c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_RXPE2MSG_DB_ERR vxge_mBIT(51) 25838c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_RPE2MSG_DB_ERR vxge_mBIT(52) 25848c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_REG_READ_FIFO_ERR vxge_mBIT(53) 25858c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_MXP2UXP_FIFO_ERR vxge_mBIT(54) 25868c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_KDFC_SIF_FIFO_ERR vxge_mBIT(55) 25878c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_CXP2SWIF_FIFO_ERR vxge_mBIT(56) 25888c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_UMQ_DB_ERR vxge_mBIT(57) 25898c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_BWR_PF_DB_ERR vxge_mBIT(58) 25908c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_BWR_SIF_FIFO_ERR vxge_mBIT(59) 25918c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_DMQ_ECC_DB_ERR vxge_mBIT(60) 25928c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_DMA_READ_FIFO_ERR vxge_mBIT(61) 25938c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_DMA_RESP_ECC_DB_ERR vxge_mBIT(62) 25948c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR_REG_MSG_QUE_UXP2MXP_FIFO_ERR vxge_mBIT(63) 25958c2ecf20Sopenharmony_ci/*0x05230*/ u64 msg_err_mask; 25968c2ecf20Sopenharmony_ci/*0x05238*/ u64 msg_err_alarm; 25978c2ecf20Sopenharmony_ci u8 unused05340[0x05340-0x05240]; 25988c2ecf20Sopenharmony_ci 25998c2ecf20Sopenharmony_ci/*0x05340*/ u64 msg_exc_reg; 26008c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_EXC_REG_MP_MXP_CAUSE_INFO_INT vxge_mBIT(50) 26018c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_EXC_REG_MP_MXP_CAUSE_CRIT_INT vxge_mBIT(51) 26028c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_EXC_REG_UP_UXP_CAUSE_INFO_INT vxge_mBIT(54) 26038c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_EXC_REG_UP_UXP_CAUSE_CRIT_INT vxge_mBIT(55) 26048c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_EXC_REG_MP_MXP_SERR vxge_mBIT(62) 26058c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_EXC_REG_UP_UXP_SERR vxge_mBIT(63) 26068c2ecf20Sopenharmony_ci/*0x05348*/ u64 msg_exc_mask; 26078c2ecf20Sopenharmony_ci/*0x05350*/ u64 msg_exc_alarm; 26088c2ecf20Sopenharmony_ci/*0x05358*/ u64 msg_exc_cause; 26098c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_EXC_CAUSE_MP_MXP(val) vxge_vBIT(val, 0, 32) 26108c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_EXC_CAUSE_UP_UXP(val) vxge_vBIT(val, 32, 32) 26118c2ecf20Sopenharmony_ci u8 unused05368[0x05380-0x05360]; 26128c2ecf20Sopenharmony_ci 26138c2ecf20Sopenharmony_ci/*0x05380*/ u64 msg_err2_reg; 26148c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_CMG2MSG_DISPATCH_FSM_INTEGRITY_ERR \ 26158c2ecf20Sopenharmony_ci vxge_mBIT(0) 26168c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_DMQ_DISPATCH_FSM_INTEGRITY_ERR \ 26178c2ecf20Sopenharmony_ci vxge_mBIT(1) 26188c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_SWIF_DISPATCH_FSM_INTEGRITY_ERR \ 26198c2ecf20Sopenharmony_ci vxge_mBIT(2) 26208c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_PIC_WRITE_FSM_INTEGRITY_ERR \ 26218c2ecf20Sopenharmony_ci vxge_mBIT(3) 26228c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_SWIFREG_FSM_INTEGRITY_ERR vxge_mBIT(4) 26238c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_TIM_WRITE_FSM_INTEGRITY_ERR \ 26248c2ecf20Sopenharmony_ci vxge_mBIT(5) 26258c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_UMQ_TA_FSM_INTEGRITY_ERR vxge_mBIT(6) 26268c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_TXPE_TA_FSM_INTEGRITY_ERR vxge_mBIT(7) 26278c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_RXPE_TA_FSM_INTEGRITY_ERR vxge_mBIT(8) 26288c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_SWIF_TA_FSM_INTEGRITY_ERR vxge_mBIT(9) 26298c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_DMA_TA_FSM_INTEGRITY_ERR vxge_mBIT(10) 26308c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_CP_TA_FSM_INTEGRITY_ERR vxge_mBIT(11) 26318c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA16_FSM_INTEGRITY_ERR \ 26328c2ecf20Sopenharmony_ci vxge_mBIT(12) 26338c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA15_FSM_INTEGRITY_ERR \ 26348c2ecf20Sopenharmony_ci vxge_mBIT(13) 26358c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA14_FSM_INTEGRITY_ERR \ 26368c2ecf20Sopenharmony_ci vxge_mBIT(14) 26378c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA13_FSM_INTEGRITY_ERR \ 26388c2ecf20Sopenharmony_ci vxge_mBIT(15) 26398c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA12_FSM_INTEGRITY_ERR \ 26408c2ecf20Sopenharmony_ci vxge_mBIT(16) 26418c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA11_FSM_INTEGRITY_ERR \ 26428c2ecf20Sopenharmony_ci vxge_mBIT(17) 26438c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA10_FSM_INTEGRITY_ERR \ 26448c2ecf20Sopenharmony_ci vxge_mBIT(18) 26458c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA9_FSM_INTEGRITY_ERR \ 26468c2ecf20Sopenharmony_ci vxge_mBIT(19) 26478c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA8_FSM_INTEGRITY_ERR \ 26488c2ecf20Sopenharmony_ci vxge_mBIT(20) 26498c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA7_FSM_INTEGRITY_ERR \ 26508c2ecf20Sopenharmony_ci vxge_mBIT(21) 26518c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA6_FSM_INTEGRITY_ERR \ 26528c2ecf20Sopenharmony_ci vxge_mBIT(22) 26538c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA5_FSM_INTEGRITY_ERR \ 26548c2ecf20Sopenharmony_ci vxge_mBIT(23) 26558c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA4_FSM_INTEGRITY_ERR \ 26568c2ecf20Sopenharmony_ci vxge_mBIT(24) 26578c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA3_FSM_INTEGRITY_ERR \ 26588c2ecf20Sopenharmony_ci vxge_mBIT(25) 26598c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA2_FSM_INTEGRITY_ERR \ 26608c2ecf20Sopenharmony_ci vxge_mBIT(26) 26618c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA1_FSM_INTEGRITY_ERR \ 26628c2ecf20Sopenharmony_ci vxge_mBIT(27) 26638c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_LONGTERMUMQ_TA0_FSM_INTEGRITY_ERR \ 26648c2ecf20Sopenharmony_ci vxge_mBIT(28) 26658c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_FBMC_OWN_FSM_INTEGRITY_ERR vxge_mBIT(29) 26668c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_TXPE2MSG_DISPATCH_FSM_INTEGRITY_ERR \ 26678c2ecf20Sopenharmony_ci vxge_mBIT(30) 26688c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_RXPE2MSG_DISPATCH_FSM_INTEGRITY_ERR \ 26698c2ecf20Sopenharmony_ci vxge_mBIT(31) 26708c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_RPE2MSG_DISPATCH_FSM_INTEGRITY_ERR \ 26718c2ecf20Sopenharmony_ci vxge_mBIT(32) 26728c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MP_MP_PIFT_IF_CREDIT_CNT_ERR vxge_mBIT(33) 26738c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_UP_UP_PIFT_IF_CREDIT_CNT_ERR vxge_mBIT(34) 26748c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_MSG_QUE_UMQ2PIC_CMD_FIFO_ERR vxge_mBIT(62) 26758c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR2_REG_TIM_TIM2MSG_CMD_FIFO_ERR vxge_mBIT(63) 26768c2ecf20Sopenharmony_ci/*0x05388*/ u64 msg_err2_mask; 26778c2ecf20Sopenharmony_ci/*0x05390*/ u64 msg_err2_alarm; 26788c2ecf20Sopenharmony_ci/*0x05398*/ u64 msg_err3_reg; 26798c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_DCACHE_SG_ERR0 vxge_mBIT(0) 26808c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_DCACHE_SG_ERR1 vxge_mBIT(1) 26818c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_DCACHE_SG_ERR2 vxge_mBIT(2) 26828c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_DCACHE_SG_ERR3 vxge_mBIT(3) 26838c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_DCACHE_SG_ERR4 vxge_mBIT(4) 26848c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_DCACHE_SG_ERR5 vxge_mBIT(5) 26858c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_DCACHE_SG_ERR6 vxge_mBIT(6) 26868c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_DCACHE_SG_ERR7 vxge_mBIT(7) 26878c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_ICACHE_SG_ERR0 vxge_mBIT(8) 26888c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_ICACHE_SG_ERR1 vxge_mBIT(9) 26898c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_DCACHE_SG_ERR0 vxge_mBIT(16) 26908c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_DCACHE_SG_ERR1 vxge_mBIT(17) 26918c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_DCACHE_SG_ERR2 vxge_mBIT(18) 26928c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_DCACHE_SG_ERR3 vxge_mBIT(19) 26938c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_DCACHE_SG_ERR4 vxge_mBIT(20) 26948c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_DCACHE_SG_ERR5 vxge_mBIT(21) 26958c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_DCACHE_SG_ERR6 vxge_mBIT(22) 26968c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_DCACHE_SG_ERR7 vxge_mBIT(23) 26978c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_ICACHE_SG_ERR0 vxge_mBIT(24) 26988c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_ICACHE_SG_ERR1 vxge_mBIT(25) 26998c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_DCACHE_DB_ERR0 vxge_mBIT(32) 27008c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_DCACHE_DB_ERR1 vxge_mBIT(33) 27018c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_DCACHE_DB_ERR2 vxge_mBIT(34) 27028c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_DCACHE_DB_ERR3 vxge_mBIT(35) 27038c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_DCACHE_DB_ERR4 vxge_mBIT(36) 27048c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_DCACHE_DB_ERR5 vxge_mBIT(37) 27058c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_DCACHE_DB_ERR6 vxge_mBIT(38) 27068c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_DCACHE_DB_ERR7 vxge_mBIT(39) 27078c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_ICACHE_DB_ERR0 vxge_mBIT(40) 27088c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_UP_UXP_ICACHE_DB_ERR1 vxge_mBIT(41) 27098c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_DCACHE_DB_ERR0 vxge_mBIT(48) 27108c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_DCACHE_DB_ERR1 vxge_mBIT(49) 27118c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_DCACHE_DB_ERR2 vxge_mBIT(50) 27128c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_DCACHE_DB_ERR3 vxge_mBIT(51) 27138c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_DCACHE_DB_ERR4 vxge_mBIT(52) 27148c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_DCACHE_DB_ERR5 vxge_mBIT(53) 27158c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_DCACHE_DB_ERR6 vxge_mBIT(54) 27168c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_DCACHE_DB_ERR7 vxge_mBIT(55) 27178c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_ICACHE_DB_ERR0 vxge_mBIT(56) 27188c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_ERR3_REG_MP_MXP_ICACHE_DB_ERR1 vxge_mBIT(57) 27198c2ecf20Sopenharmony_ci/*0x053a0*/ u64 msg_err3_mask; 27208c2ecf20Sopenharmony_ci/*0x053a8*/ u64 msg_err3_alarm; 27218c2ecf20Sopenharmony_ci u8 unused05600[0x05600-0x053b0]; 27228c2ecf20Sopenharmony_ci 27238c2ecf20Sopenharmony_ci/*0x05600*/ u64 fau_gen_err_reg; 27248c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_GEN_ERR_REG_FMPF_PORT0_PERMANENT_STOP vxge_mBIT(3) 27258c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_GEN_ERR_REG_FMPF_PORT1_PERMANENT_STOP vxge_mBIT(7) 27268c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_GEN_ERR_REG_FMPF_PORT2_PERMANENT_STOP vxge_mBIT(11) 27278c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_GEN_ERR_REG_FALR_AUTO_LRO_NOTIFICATION vxge_mBIT(15) 27288c2ecf20Sopenharmony_ci/*0x05608*/ u64 fau_gen_err_mask; 27298c2ecf20Sopenharmony_ci/*0x05610*/ u64 fau_gen_err_alarm; 27308c2ecf20Sopenharmony_ci/*0x05618*/ u64 fau_ecc_err_reg; 27318c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_ECC_ERR_REG_FAU_PORT0_FAU_MAC2F_N_SG_ERR vxge_mBIT(0) 27328c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_ECC_ERR_REG_FAU_PORT0_FAU_MAC2F_N_DB_ERR vxge_mBIT(1) 27338c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_ECC_ERR_REG_FAU_PORT0_FAU_MAC2F_W_SG_ERR(val) \ 27348c2ecf20Sopenharmony_ci vxge_vBIT(val, 2, 2) 27358c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_ECC_ERR_REG_FAU_PORT0_FAU_MAC2F_W_DB_ERR(val) \ 27368c2ecf20Sopenharmony_ci vxge_vBIT(val, 4, 2) 27378c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_ECC_ERR_REG_FAU_PORT1_FAU_MAC2F_N_SG_ERR vxge_mBIT(6) 27388c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_ECC_ERR_REG_FAU_PORT1_FAU_MAC2F_N_DB_ERR vxge_mBIT(7) 27398c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_ECC_ERR_REG_FAU_PORT1_FAU_MAC2F_W_SG_ERR(val) \ 27408c2ecf20Sopenharmony_ci vxge_vBIT(val, 8, 2) 27418c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_ECC_ERR_REG_FAU_PORT1_FAU_MAC2F_W_DB_ERR(val) \ 27428c2ecf20Sopenharmony_ci vxge_vBIT(val, 10, 2) 27438c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_ECC_ERR_REG_FAU_PORT2_FAU_MAC2F_N_SG_ERR vxge_mBIT(12) 27448c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_ECC_ERR_REG_FAU_PORT2_FAU_MAC2F_N_DB_ERR vxge_mBIT(13) 27458c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_ECC_ERR_REG_FAU_PORT2_FAU_MAC2F_W_SG_ERR(val) \ 27468c2ecf20Sopenharmony_ci vxge_vBIT(val, 14, 2) 27478c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_ECC_ERR_REG_FAU_PORT2_FAU_MAC2F_W_DB_ERR(val) \ 27488c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 2) 27498c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_ECC_ERR_REG_FAU_FAU_XFMD_INS_SG_ERR(val) \ 27508c2ecf20Sopenharmony_ci vxge_vBIT(val, 18, 2) 27518c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_ECC_ERR_REG_FAU_FAU_XFMD_INS_DB_ERR(val) \ 27528c2ecf20Sopenharmony_ci vxge_vBIT(val, 20, 2) 27538c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_ECC_ERR_REG_FAUJ_FAU_FSM_ERR vxge_mBIT(31) 27548c2ecf20Sopenharmony_ci/*0x05620*/ u64 fau_ecc_err_mask; 27558c2ecf20Sopenharmony_ci/*0x05628*/ u64 fau_ecc_err_alarm; 27568c2ecf20Sopenharmony_ci u8 unused05658[0x05658-0x05630]; 27578c2ecf20Sopenharmony_ci/*0x05658*/ u64 fau_pa_cfg; 27588c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_PA_CFG_REPL_L4_COMP_CSUM vxge_mBIT(3) 27598c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_PA_CFG_REPL_L3_INCL_CF vxge_mBIT(7) 27608c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_PA_CFG_REPL_L3_COMP_CSUM vxge_mBIT(11) 27618c2ecf20Sopenharmony_ci u8 unused05668[0x05668-0x05660]; 27628c2ecf20Sopenharmony_ci 27638c2ecf20Sopenharmony_ci/*0x05668*/ u64 dbg_stats_fau_rx_path; 27648c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STATS_FAU_RX_PATH_RX_PERMITTED_FRMS(val) \ 27658c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 32) 27668c2ecf20Sopenharmony_ci u8 unused056c0[0x056c0-0x05670]; 27678c2ecf20Sopenharmony_ci 27688c2ecf20Sopenharmony_ci/*0x056c0*/ u64 fau_lag_cfg; 27698c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_LAG_CFG_COLL_ALG(val) vxge_vBIT(val, 2, 2) 27708c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_LAG_CFG_INCR_RX_AGGR_STATS vxge_mBIT(7) 27718c2ecf20Sopenharmony_ci u8 unused05800[0x05800-0x056c8]; 27728c2ecf20Sopenharmony_ci 27738c2ecf20Sopenharmony_ci/*0x05800*/ u64 tpa_int_status; 27748c2ecf20Sopenharmony_ci#define VXGE_HW_TPA_INT_STATUS_ORP_ERR_ORP_INT vxge_mBIT(15) 27758c2ecf20Sopenharmony_ci#define VXGE_HW_TPA_INT_STATUS_PTM_ALARM_PTM_INT vxge_mBIT(23) 27768c2ecf20Sopenharmony_ci#define VXGE_HW_TPA_INT_STATUS_TPA_ERROR_TPA_INT vxge_mBIT(31) 27778c2ecf20Sopenharmony_ci/*0x05808*/ u64 tpa_int_mask; 27788c2ecf20Sopenharmony_ci/*0x05810*/ u64 orp_err_reg; 27798c2ecf20Sopenharmony_ci#define VXGE_HW_ORP_ERR_REG_ORP_FIFO_SG_ERR vxge_mBIT(3) 27808c2ecf20Sopenharmony_ci#define VXGE_HW_ORP_ERR_REG_ORP_FIFO_DB_ERR vxge_mBIT(7) 27818c2ecf20Sopenharmony_ci#define VXGE_HW_ORP_ERR_REG_ORP_XFMD_FIFO_UFLOW_ERR vxge_mBIT(11) 27828c2ecf20Sopenharmony_ci#define VXGE_HW_ORP_ERR_REG_ORP_FRM_FIFO_UFLOW_ERR vxge_mBIT(15) 27838c2ecf20Sopenharmony_ci#define VXGE_HW_ORP_ERR_REG_ORP_XFMD_RCV_FSM_ERR vxge_mBIT(19) 27848c2ecf20Sopenharmony_ci#define VXGE_HW_ORP_ERR_REG_ORP_OUTREAD_FSM_ERR vxge_mBIT(23) 27858c2ecf20Sopenharmony_ci#define VXGE_HW_ORP_ERR_REG_ORP_OUTQEM_FSM_ERR vxge_mBIT(27) 27868c2ecf20Sopenharmony_ci#define VXGE_HW_ORP_ERR_REG_ORP_XFMD_RCV_SHADOW_ERR vxge_mBIT(31) 27878c2ecf20Sopenharmony_ci#define VXGE_HW_ORP_ERR_REG_ORP_OUTREAD_SHADOW_ERR vxge_mBIT(35) 27888c2ecf20Sopenharmony_ci#define VXGE_HW_ORP_ERR_REG_ORP_OUTQEM_SHADOW_ERR vxge_mBIT(39) 27898c2ecf20Sopenharmony_ci#define VXGE_HW_ORP_ERR_REG_ORP_OUTFRM_SHADOW_ERR vxge_mBIT(43) 27908c2ecf20Sopenharmony_ci#define VXGE_HW_ORP_ERR_REG_ORP_OPTPRS_SHADOW_ERR vxge_mBIT(47) 27918c2ecf20Sopenharmony_ci/*0x05818*/ u64 orp_err_mask; 27928c2ecf20Sopenharmony_ci/*0x05820*/ u64 orp_err_alarm; 27938c2ecf20Sopenharmony_ci/*0x05828*/ u64 ptm_alarm_reg; 27948c2ecf20Sopenharmony_ci#define VXGE_HW_PTM_ALARM_REG_PTM_RDCTRL_SYNC_ERR vxge_mBIT(3) 27958c2ecf20Sopenharmony_ci#define VXGE_HW_PTM_ALARM_REG_PTM_RDCTRL_FIFO_ERR vxge_mBIT(7) 27968c2ecf20Sopenharmony_ci#define VXGE_HW_PTM_ALARM_REG_XFMD_RD_FIFO_ERR vxge_mBIT(11) 27978c2ecf20Sopenharmony_ci#define VXGE_HW_PTM_ALARM_REG_WDE2MSR_WR_FIFO_ERR vxge_mBIT(15) 27988c2ecf20Sopenharmony_ci#define VXGE_HW_PTM_ALARM_REG_PTM_FRMM_ECC_DB_ERR(val) vxge_vBIT(val, 18, 2) 27998c2ecf20Sopenharmony_ci#define VXGE_HW_PTM_ALARM_REG_PTM_FRMM_ECC_SG_ERR(val) vxge_vBIT(val, 22, 2) 28008c2ecf20Sopenharmony_ci/*0x05830*/ u64 ptm_alarm_mask; 28018c2ecf20Sopenharmony_ci/*0x05838*/ u64 ptm_alarm_alarm; 28028c2ecf20Sopenharmony_ci/*0x05840*/ u64 tpa_error_reg; 28038c2ecf20Sopenharmony_ci#define VXGE_HW_TPA_ERROR_REG_TPA_FSM_ERR_ALARM vxge_mBIT(3) 28048c2ecf20Sopenharmony_ci#define VXGE_HW_TPA_ERROR_REG_TPA_TPA_DA_LKUP_PRT0_DB_ERR vxge_mBIT(7) 28058c2ecf20Sopenharmony_ci#define VXGE_HW_TPA_ERROR_REG_TPA_TPA_DA_LKUP_PRT0_SG_ERR vxge_mBIT(11) 28068c2ecf20Sopenharmony_ci/*0x05848*/ u64 tpa_error_mask; 28078c2ecf20Sopenharmony_ci/*0x05850*/ u64 tpa_error_alarm; 28088c2ecf20Sopenharmony_ci/*0x05858*/ u64 tpa_global_cfg; 28098c2ecf20Sopenharmony_ci#define VXGE_HW_TPA_GLOBAL_CFG_SUPPORT_SNAP_AB_N vxge_mBIT(7) 28108c2ecf20Sopenharmony_ci#define VXGE_HW_TPA_GLOBAL_CFG_ECC_ENABLE_N vxge_mBIT(35) 28118c2ecf20Sopenharmony_ci u8 unused05868[0x05870-0x05860]; 28128c2ecf20Sopenharmony_ci 28138c2ecf20Sopenharmony_ci/*0x05870*/ u64 ptm_ecc_cfg; 28148c2ecf20Sopenharmony_ci#define VXGE_HW_PTM_ECC_CFG_PTM_FRMM_ECC_EN_N vxge_mBIT(3) 28158c2ecf20Sopenharmony_ci/*0x05878*/ u64 ptm_phase_cfg; 28168c2ecf20Sopenharmony_ci#define VXGE_HW_PTM_PHASE_CFG_FRMM_WR_PHASE_EN vxge_mBIT(3) 28178c2ecf20Sopenharmony_ci#define VXGE_HW_PTM_PHASE_CFG_FRMM_RD_PHASE_EN vxge_mBIT(7) 28188c2ecf20Sopenharmony_ci u8 unused05898[0x05898-0x05880]; 28198c2ecf20Sopenharmony_ci 28208c2ecf20Sopenharmony_ci/*0x05898*/ u64 dbg_stats_tpa_tx_path; 28218c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STATS_TPA_TX_PATH_TX_PERMITTED_FRMS(val) \ 28228c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 32) 28238c2ecf20Sopenharmony_ci u8 unused05900[0x05900-0x058a0]; 28248c2ecf20Sopenharmony_ci 28258c2ecf20Sopenharmony_ci/*0x05900*/ u64 tmac_int_status; 28268c2ecf20Sopenharmony_ci#define VXGE_HW_TMAC_INT_STATUS_TXMAC_GEN_ERR_TXMAC_GEN_INT vxge_mBIT(3) 28278c2ecf20Sopenharmony_ci#define VXGE_HW_TMAC_INT_STATUS_TXMAC_ECC_ERR_TXMAC_ECC_INT vxge_mBIT(7) 28288c2ecf20Sopenharmony_ci/*0x05908*/ u64 tmac_int_mask; 28298c2ecf20Sopenharmony_ci/*0x05910*/ u64 txmac_gen_err_reg; 28308c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_GEN_ERR_REG_TMACJ_PERMANENT_STOP vxge_mBIT(3) 28318c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_GEN_ERR_REG_TMACJ_NO_VALID_VSPORT vxge_mBIT(7) 28328c2ecf20Sopenharmony_ci/*0x05918*/ u64 txmac_gen_err_mask; 28338c2ecf20Sopenharmony_ci/*0x05920*/ u64 txmac_gen_err_alarm; 28348c2ecf20Sopenharmony_ci/*0x05928*/ u64 txmac_ecc_err_reg; 28358c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_ECC_ERR_REG_TMACJ_TMAC_TPA2MAC_SG_ERR vxge_mBIT(3) 28368c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_ECC_ERR_REG_TMACJ_TMAC_TPA2MAC_DB_ERR vxge_mBIT(7) 28378c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_ECC_ERR_REG_TMACJ_TMAC_TPA2M_SB_SG_ERR vxge_mBIT(11) 28388c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_ECC_ERR_REG_TMACJ_TMAC_TPA2M_SB_DB_ERR vxge_mBIT(15) 28398c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_ECC_ERR_REG_TMACJ_TMAC_TPA2M_DA_SG_ERR vxge_mBIT(19) 28408c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_ECC_ERR_REG_TMACJ_TMAC_TPA2M_DA_DB_ERR vxge_mBIT(23) 28418c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_ECC_ERR_REG_TMAC_TMAC_PORT0_FSM_ERR vxge_mBIT(27) 28428c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_ECC_ERR_REG_TMAC_TMAC_PORT1_FSM_ERR vxge_mBIT(31) 28438c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_ECC_ERR_REG_TMAC_TMAC_PORT2_FSM_ERR vxge_mBIT(35) 28448c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_ECC_ERR_REG_TMACJ_TMACJ_FSM_ERR vxge_mBIT(39) 28458c2ecf20Sopenharmony_ci/*0x05930*/ u64 txmac_ecc_err_mask; 28468c2ecf20Sopenharmony_ci/*0x05938*/ u64 txmac_ecc_err_alarm; 28478c2ecf20Sopenharmony_ci u8 unused05978[0x05978-0x05940]; 28488c2ecf20Sopenharmony_ci 28498c2ecf20Sopenharmony_ci/*0x05978*/ u64 dbg_stat_tx_any_frms; 28508c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STAT_TX_ANY_FRMS_PORT0_TX_ANY_FRMS(val) vxge_vBIT(val, 0, 8) 28518c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STAT_TX_ANY_FRMS_PORT1_TX_ANY_FRMS(val) vxge_vBIT(val, 8, 8) 28528c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STAT_TX_ANY_FRMS_PORT2_TX_ANY_FRMS(val) \ 28538c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 8) 28548c2ecf20Sopenharmony_ci u8 unused059a0[0x059a0-0x05980]; 28558c2ecf20Sopenharmony_ci 28568c2ecf20Sopenharmony_ci/*0x059a0*/ u64 txmac_link_util_port[3]; 28578c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_LINK_UTIL_PORT_TMAC_TMAC_UTILIZATION(val) \ 28588c2ecf20Sopenharmony_ci vxge_vBIT(val, 1, 7) 28598c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_LINK_UTIL_PORT_TMAC_UTIL_CFG(val) vxge_vBIT(val, 8, 4) 28608c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_LINK_UTIL_PORT_TMAC_TMAC_FRAC_UTIL(val) \ 28618c2ecf20Sopenharmony_ci vxge_vBIT(val, 12, 4) 28628c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_LINK_UTIL_PORT_TMAC_PKT_WEIGHT(val) vxge_vBIT(val, 16, 4) 28638c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_LINK_UTIL_PORT_TMAC_TMAC_SCALE_FACTOR vxge_mBIT(23) 28648c2ecf20Sopenharmony_ci/*0x059b8*/ u64 txmac_cfg0_port[3]; 28658c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_CFG0_PORT_TMAC_EN vxge_mBIT(3) 28668c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_CFG0_PORT_APPEND_PAD vxge_mBIT(7) 28678c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_CFG0_PORT_PAD_BYTE(val) vxge_vBIT(val, 8, 8) 28688c2ecf20Sopenharmony_ci/*0x059d0*/ u64 txmac_cfg1_port[3]; 28698c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_CFG1_PORT_AVG_IPG(val) vxge_vBIT(val, 40, 8) 28708c2ecf20Sopenharmony_ci/*0x059e8*/ u64 txmac_status_port[3]; 28718c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_STATUS_PORT_TMAC_TX_FRM_SENT vxge_mBIT(3) 28728c2ecf20Sopenharmony_ci u8 unused05a20[0x05a20-0x05a00]; 28738c2ecf20Sopenharmony_ci 28748c2ecf20Sopenharmony_ci/*0x05a20*/ u64 lag_distrib_dest; 28758c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_DISTRIB_DEST_MAP_VPATH(n) vxge_mBIT(n) 28768c2ecf20Sopenharmony_ci/*0x05a28*/ u64 lag_marker_cfg; 28778c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_MARKER_CFG_GEN_RCVR_EN vxge_mBIT(3) 28788c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_MARKER_CFG_RESP_EN vxge_mBIT(7) 28798c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_MARKER_CFG_RESP_TIMEOUT(val) vxge_vBIT(val, 16, 16) 28808c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_MARKER_CFG_SLOW_PROTO_MRKR_MIN_INTERVAL(val) \ 28818c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 16) 28828c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_MARKER_CFG_THROTTLE_MRKR_RESP vxge_mBIT(51) 28838c2ecf20Sopenharmony_ci/*0x05a30*/ u64 lag_tx_cfg; 28848c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_TX_CFG_INCR_TX_AGGR_STATS vxge_mBIT(3) 28858c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_TX_CFG_DISTRIB_ALG_SEL(val) vxge_vBIT(val, 6, 2) 28868c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_TX_CFG_DISTRIB_REMAP_IF_FAIL vxge_mBIT(11) 28878c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_TX_CFG_COLL_MAX_DELAY(val) vxge_vBIT(val, 16, 16) 28888c2ecf20Sopenharmony_ci/*0x05a38*/ u64 lag_tx_status; 28898c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_TX_STATUS_TLAG_TIMER_VAL_EMPTIED_LINK(val) \ 28908c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 8) 28918c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_TX_STATUS_TLAG_TIMER_VAL_SLOW_PROTO_MRKR(val) \ 28928c2ecf20Sopenharmony_ci vxge_vBIT(val, 8, 8) 28938c2ecf20Sopenharmony_ci#define VXGE_HW_LAG_TX_STATUS_TLAG_TIMER_VAL_SLOW_PROTO_MRKRRESP(val) \ 28948c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 8) 28958c2ecf20Sopenharmony_ci u8 unused05d48[0x05d48-0x05a40]; 28968c2ecf20Sopenharmony_ci 28978c2ecf20Sopenharmony_ci/*0x05d48*/ u64 srpcim_to_mrpcim_vplane_rmsg[17]; 28988c2ecf20Sopenharmony_ci#define \ 28998c2ecf20Sopenharmony_ciVXGE_HAL_SRPCIM_TO_MRPCIM_VPLANE_RMSG_SWIF_SRPCIM_TO_MRPCIM_VPLANE_RMSG(val)\ 29008c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 64) 29018c2ecf20Sopenharmony_ci u8 unused06420[0x06420-0x05dd0]; 29028c2ecf20Sopenharmony_ci 29038c2ecf20Sopenharmony_ci/*0x06420*/ u64 mrpcim_to_srpcim_vplane_wmsg[17]; 29048c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_TO_SRPCIM_VPLANE_WMSG_MRPCIM_TO_SRPCIM_VPLANE_WMSG(val) \ 29058c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 64) 29068c2ecf20Sopenharmony_ci/*0x064a8*/ u64 mrpcim_to_srpcim_vplane_wmsg_trig[17]; 29078c2ecf20Sopenharmony_ci 29088c2ecf20Sopenharmony_ci/*0x06530*/ u64 debug_stats0; 29098c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS0_RSTDROP_MSG(val) vxge_vBIT(val, 0, 32) 29108c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS0_RSTDROP_CPL(val) vxge_vBIT(val, 32, 32) 29118c2ecf20Sopenharmony_ci/*0x06538*/ u64 debug_stats1; 29128c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS1_RSTDROP_CLIENT0(val) vxge_vBIT(val, 0, 32) 29138c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS1_RSTDROP_CLIENT1(val) vxge_vBIT(val, 32, 32) 29148c2ecf20Sopenharmony_ci/*0x06540*/ u64 debug_stats2; 29158c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS2_RSTDROP_CLIENT2(val) vxge_vBIT(val, 0, 32) 29168c2ecf20Sopenharmony_ci/*0x06548*/ u64 debug_stats3_vplane[17]; 29178c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS3_VPLANE_DEPL_PH(val) vxge_vBIT(val, 0, 16) 29188c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS3_VPLANE_DEPL_NPH(val) vxge_vBIT(val, 16, 16) 29198c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS3_VPLANE_DEPL_CPLH(val) vxge_vBIT(val, 32, 16) 29208c2ecf20Sopenharmony_ci/*0x065d0*/ u64 debug_stats4_vplane[17]; 29218c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS4_VPLANE_DEPL_PD(val) vxge_vBIT(val, 0, 16) 29228c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS4_VPLANE_DEPL_NPD(val) vxge_vBIT(val, 16, 16) 29238c2ecf20Sopenharmony_ci#define VXGE_HW_DEBUG_STATS4_VPLANE_DEPL_CPLD(val) vxge_vBIT(val, 32, 16) 29248c2ecf20Sopenharmony_ci 29258c2ecf20Sopenharmony_ci u8 unused07000[0x07000-0x06658]; 29268c2ecf20Sopenharmony_ci 29278c2ecf20Sopenharmony_ci/*0x07000*/ u64 mrpcim_general_int_status; 29288c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_PIC_INT vxge_mBIT(0) 29298c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_PCI_INT vxge_mBIT(1) 29308c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_RTDMA_INT vxge_mBIT(2) 29318c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_WRDMA_INT vxge_mBIT(3) 29328c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_G3CMCT_INT vxge_mBIT(4) 29338c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_GCMG1_INT vxge_mBIT(5) 29348c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_GCMG2_INT vxge_mBIT(6) 29358c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_GCMG3_INT vxge_mBIT(7) 29368c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_G3CMIFL_INT vxge_mBIT(8) 29378c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_G3CMIFU_INT vxge_mBIT(9) 29388c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_PCMG1_INT vxge_mBIT(10) 29398c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_PCMG2_INT vxge_mBIT(11) 29408c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_PCMG3_INT vxge_mBIT(12) 29418c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_XMAC_INT vxge_mBIT(13) 29428c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_RXMAC_INT vxge_mBIT(14) 29438c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_TMAC_INT vxge_mBIT(15) 29448c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_G3FBIF_INT vxge_mBIT(16) 29458c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_FBMC_INT vxge_mBIT(17) 29468c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_G3FBCT_INT vxge_mBIT(18) 29478c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_TPA_INT vxge_mBIT(19) 29488c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_DRBELL_INT vxge_mBIT(20) 29498c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_ONE_INT vxge_mBIT(21) 29508c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_STATUS_MSG_INT vxge_mBIT(22) 29518c2ecf20Sopenharmony_ci/*0x07008*/ u64 mrpcim_general_int_mask; 29528c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_PIC_INT vxge_mBIT(0) 29538c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_PCI_INT vxge_mBIT(1) 29548c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_RTDMA_INT vxge_mBIT(2) 29558c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_WRDMA_INT vxge_mBIT(3) 29568c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_G3CMCT_INT vxge_mBIT(4) 29578c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_GCMG1_INT vxge_mBIT(5) 29588c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_GCMG2_INT vxge_mBIT(6) 29598c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_GCMG3_INT vxge_mBIT(7) 29608c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_G3CMIFL_INT vxge_mBIT(8) 29618c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_G3CMIFU_INT vxge_mBIT(9) 29628c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_PCMG1_INT vxge_mBIT(10) 29638c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_PCMG2_INT vxge_mBIT(11) 29648c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_PCMG3_INT vxge_mBIT(12) 29658c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_XMAC_INT vxge_mBIT(13) 29668c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_RXMAC_INT vxge_mBIT(14) 29678c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_TMAC_INT vxge_mBIT(15) 29688c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_G3FBIF_INT vxge_mBIT(16) 29698c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_FBMC_INT vxge_mBIT(17) 29708c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_G3FBCT_INT vxge_mBIT(18) 29718c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_TPA_INT vxge_mBIT(19) 29728c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_DRBELL_INT vxge_mBIT(20) 29738c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_ONE_INT vxge_mBIT(21) 29748c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_INT_MASK_MSG_INT vxge_mBIT(22) 29758c2ecf20Sopenharmony_ci/*0x07010*/ u64 mrpcim_ppif_int_status; 29768c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_PPIF_INT_STATUS_INI_ERRORS_INI_INT vxge_mBIT(3) 29778c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_PPIF_INT_STATUS_DMA_ERRORS_DMA_INT vxge_mBIT(7) 29788c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_PPIF_INT_STATUS_TGT_ERRORS_TGT_INT vxge_mBIT(11) 29798c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_PPIF_INT_STATUS_CONFIG_ERRORS_CONFIG_INT vxge_mBIT(15) 29808c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_CRDT_INT vxge_mBIT(19) 29818c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_PPIF_INT_STATUS_PLL_ERRORS_PLL_INT vxge_mBIT(27) 29828c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE0_CRD_INT_VPLANE0_INT\ 29838c2ecf20Sopenharmony_ci vxge_mBIT(31) 29848c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE1_CRD_INT_VPLANE1_INT\ 29858c2ecf20Sopenharmony_ci vxge_mBIT(32) 29868c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE2_CRD_INT_VPLANE2_INT\ 29878c2ecf20Sopenharmony_ci vxge_mBIT(33) 29888c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE3_CRD_INT_VPLANE3_INT\ 29898c2ecf20Sopenharmony_ci vxge_mBIT(34) 29908c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE4_CRD_INT_VPLANE4_INT\ 29918c2ecf20Sopenharmony_ci vxge_mBIT(35) 29928c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE5_CRD_INT_VPLANE5_INT\ 29938c2ecf20Sopenharmony_ci vxge_mBIT(36) 29948c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE6_CRD_INT_VPLANE6_INT\ 29958c2ecf20Sopenharmony_ci vxge_mBIT(37) 29968c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE7_CRD_INT_VPLANE7_INT\ 29978c2ecf20Sopenharmony_ci vxge_mBIT(38) 29988c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE8_CRD_INT_VPLANE8_INT\ 29998c2ecf20Sopenharmony_ci vxge_mBIT(39) 30008c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE9_CRD_INT_VPLANE9_INT\ 30018c2ecf20Sopenharmony_ci vxge_mBIT(40) 30028c2ecf20Sopenharmony_ci#define \ 30038c2ecf20Sopenharmony_ciVXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE10_CRD_INT_VPLANE10_INT \ 30048c2ecf20Sopenharmony_ci vxge_mBIT(41) 30058c2ecf20Sopenharmony_ci#define \ 30068c2ecf20Sopenharmony_ciVXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE11_CRD_INT_VPLANE11_INT \ 30078c2ecf20Sopenharmony_ci vxge_mBIT(42) 30088c2ecf20Sopenharmony_ci#define \ 30098c2ecf20Sopenharmony_ciVXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE12_CRD_INT_VPLANE12_INT \ 30108c2ecf20Sopenharmony_ci vxge_mBIT(43) 30118c2ecf20Sopenharmony_ci#define \ 30128c2ecf20Sopenharmony_ciVXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE13_CRD_INT_VPLANE13_INT \ 30138c2ecf20Sopenharmony_ci vxge_mBIT(44) 30148c2ecf20Sopenharmony_ci#define \ 30158c2ecf20Sopenharmony_ciVXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE14_CRD_INT_VPLANE14_INT \ 30168c2ecf20Sopenharmony_ci vxge_mBIT(45) 30178c2ecf20Sopenharmony_ci#define \ 30188c2ecf20Sopenharmony_ciVXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE15_CRD_INT_VPLANE15_INT \ 30198c2ecf20Sopenharmony_ci vxge_mBIT(46) 30208c2ecf20Sopenharmony_ci#define \ 30218c2ecf20Sopenharmony_ciVXGE_HW_MRPCIM_PPIF_INT_STATUS_CRDT_ERRORS_VPLANE16_CRD_INT_VPLANE16_INT \ 30228c2ecf20Sopenharmony_ci vxge_mBIT(47) 30238c2ecf20Sopenharmony_ci#define \ 30248c2ecf20Sopenharmony_ciVXGE_HW_MRPCIM_PPIF_INT_STATUS_VPATH_TO_MRPCIM_ALARM_VPATH_TO_MRPCIM_ALARM_INT \ 30258c2ecf20Sopenharmony_ci vxge_mBIT(55) 30268c2ecf20Sopenharmony_ci/*0x07018*/ u64 mrpcim_ppif_int_mask; 30278c2ecf20Sopenharmony_ci u8 unused07028[0x07028-0x07020]; 30288c2ecf20Sopenharmony_ci 30298c2ecf20Sopenharmony_ci/*0x07028*/ u64 ini_errors_reg; 30308c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_SCPL_CPL_TIMEOUT_UNUSED_TAG vxge_mBIT(3) 30318c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_SCPL_CPL_TIMEOUT vxge_mBIT(7) 30328c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_DCPL_FSM_ERR vxge_mBIT(11) 30338c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_DCPL_POISON vxge_mBIT(12) 30348c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_DCPL_UNSUPPORTED vxge_mBIT(15) 30358c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_DCPL_ABORT vxge_mBIT(19) 30368c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_INI_TLP_ABORT vxge_mBIT(23) 30378c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_INI_DLLP_ABORT vxge_mBIT(27) 30388c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_INI_ECRC_ERR vxge_mBIT(31) 30398c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_INI_BUF_DB_ERR vxge_mBIT(35) 30408c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_INI_BUF_SG_ERR vxge_mBIT(39) 30418c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_INI_DATA_OVERFLOW vxge_mBIT(43) 30428c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_INI_HDR_OVERFLOW vxge_mBIT(47) 30438c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_INI_MRD_SYS_DROP vxge_mBIT(51) 30448c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_INI_MWR_SYS_DROP vxge_mBIT(55) 30458c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_INI_MRD_CLIENT_DROP vxge_mBIT(59) 30468c2ecf20Sopenharmony_ci#define VXGE_HW_INI_ERRORS_REG_INI_MWR_CLIENT_DROP vxge_mBIT(63) 30478c2ecf20Sopenharmony_ci/*0x07030*/ u64 ini_errors_mask; 30488c2ecf20Sopenharmony_ci/*0x07038*/ u64 ini_errors_alarm; 30498c2ecf20Sopenharmony_ci/*0x07040*/ u64 dma_errors_reg; 30508c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_RDARB_FSM_ERR vxge_mBIT(3) 30518c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_WRARB_FSM_ERR vxge_mBIT(7) 30528c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_WRDMA_WR_HDR_OVERFLOW vxge_mBIT(8) 30538c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_WRDMA_WR_HDR_UNDERFLOW vxge_mBIT(9) 30548c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_WRDMA_WR_DATA_OVERFLOW vxge_mBIT(10) 30558c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_WRDMA_WR_DATA_UNDERFLOW vxge_mBIT(11) 30568c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_MSG_WR_HDR_OVERFLOW vxge_mBIT(12) 30578c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_MSG_WR_HDR_UNDERFLOW vxge_mBIT(13) 30588c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_MSG_WR_DATA_OVERFLOW vxge_mBIT(14) 30598c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_MSG_WR_DATA_UNDERFLOW vxge_mBIT(15) 30608c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_STATS_WR_HDR_OVERFLOW vxge_mBIT(16) 30618c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_STATS_WR_HDR_UNDERFLOW vxge_mBIT(17) 30628c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_STATS_WR_DATA_OVERFLOW vxge_mBIT(18) 30638c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_STATS_WR_DATA_UNDERFLOW vxge_mBIT(19) 30648c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_RTDMA_WR_HDR_OVERFLOW vxge_mBIT(20) 30658c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_RTDMA_WR_HDR_UNDERFLOW vxge_mBIT(21) 30668c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_RTDMA_WR_DATA_OVERFLOW vxge_mBIT(22) 30678c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_RTDMA_WR_DATA_UNDERFLOW vxge_mBIT(23) 30688c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_WRDMA_RD_HDR_OVERFLOW vxge_mBIT(24) 30698c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_WRDMA_RD_HDR_UNDERFLOW vxge_mBIT(25) 30708c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_RTDMA_RD_HDR_OVERFLOW vxge_mBIT(28) 30718c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DMA_RTDMA_RD_HDR_UNDERFLOW vxge_mBIT(29) 30728c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DBLGEN_FSM_ERR vxge_mBIT(32) 30738c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DBLGEN_CREDIT_FSM_ERR vxge_mBIT(33) 30748c2ecf20Sopenharmony_ci#define VXGE_HW_DMA_ERRORS_REG_DBLGEN_DMA_WRR_SM_ERR vxge_mBIT(34) 30758c2ecf20Sopenharmony_ci/*0x07048*/ u64 dma_errors_mask; 30768c2ecf20Sopenharmony_ci/*0x07050*/ u64 dma_errors_alarm; 30778c2ecf20Sopenharmony_ci/*0x07058*/ u64 tgt_errors_reg; 30788c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_VENDOR_MSG vxge_mBIT(0) 30798c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_MSG_UNLOCK vxge_mBIT(1) 30808c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_ILLEGAL_TLP_BE vxge_mBIT(2) 30818c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_BOOT_WRITE vxge_mBIT(3) 30828c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_PIF_WR_CROSS_QWRANGE vxge_mBIT(4) 30838c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_PIF_READ_CROSS_QWRANGE vxge_mBIT(5) 30848c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_KDFC_READ vxge_mBIT(6) 30858c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_USDC_READ vxge_mBIT(7) 30868c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_USDC_WR_CROSS_QWRANGE vxge_mBIT(8) 30878c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_MSIX_BEYOND_RANGE vxge_mBIT(9) 30888c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_WR_TO_KDFC_POISON vxge_mBIT(10) 30898c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_WR_TO_USDC_POISON vxge_mBIT(11) 30908c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_WR_TO_PIF_POISON vxge_mBIT(12) 30918c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_WR_TO_MSIX_POISON vxge_mBIT(13) 30928c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_WR_TO_MRIOV_POISON vxge_mBIT(14) 30938c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_NOT_MEM_TLP vxge_mBIT(15) 30948c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_UNKNOWN_MEM_TLP vxge_mBIT(16) 30958c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_REQ_FSM_ERR vxge_mBIT(17) 30968c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_CPL_FSM_ERR vxge_mBIT(18) 30978c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_KDFC_PROT_ERR vxge_mBIT(19) 30988c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_SWIF_PROT_ERR vxge_mBIT(20) 30998c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ERRORS_REG_TGT_MRIOV_MEM_MAP_CFG_ERR vxge_mBIT(21) 31008c2ecf20Sopenharmony_ci/*0x07060*/ u64 tgt_errors_mask; 31018c2ecf20Sopenharmony_ci/*0x07068*/ u64 tgt_errors_alarm; 31028c2ecf20Sopenharmony_ci/*0x07070*/ u64 config_errors_reg; 31038c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_ERRORS_REG_I2C_ILLEGAL_STOP_COND vxge_mBIT(3) 31048c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_ERRORS_REG_I2C_ILLEGAL_START_COND vxge_mBIT(7) 31058c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_ERRORS_REG_I2C_EXP_RD_CNT vxge_mBIT(11) 31068c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_ERRORS_REG_I2C_EXTRA_CYCLE vxge_mBIT(15) 31078c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_ERRORS_REG_I2C_MAIN_FSM_ERR vxge_mBIT(19) 31088c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_ERRORS_REG_I2C_REQ_COLLISION vxge_mBIT(23) 31098c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_ERRORS_REG_I2C_REG_FSM_ERR vxge_mBIT(27) 31108c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_ERRORS_REG_CFGM_I2C_TIMEOUT vxge_mBIT(31) 31118c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_ERRORS_REG_RIC_I2C_TIMEOUT vxge_mBIT(35) 31128c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_ERRORS_REG_CFGM_FSM_ERR vxge_mBIT(39) 31138c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_ERRORS_REG_RIC_FSM_ERR vxge_mBIT(43) 31148c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_ERRORS_REG_PIFM_ILLEGAL_ACCESS vxge_mBIT(47) 31158c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_ERRORS_REG_PIFM_TIMEOUT vxge_mBIT(51) 31168c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_ERRORS_REG_PIFM_FSM_ERR vxge_mBIT(55) 31178c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_ERRORS_REG_PIFM_TO_FSM_ERR vxge_mBIT(59) 31188c2ecf20Sopenharmony_ci#define VXGE_HW_CONFIG_ERRORS_REG_RIC_RIC_RD_TIMEOUT vxge_mBIT(63) 31198c2ecf20Sopenharmony_ci/*0x07078*/ u64 config_errors_mask; 31208c2ecf20Sopenharmony_ci/*0x07080*/ u64 config_errors_alarm; 31218c2ecf20Sopenharmony_ci u8 unused07090[0x07090-0x07088]; 31228c2ecf20Sopenharmony_ci 31238c2ecf20Sopenharmony_ci/*0x07090*/ u64 crdt_errors_reg; 31248c2ecf20Sopenharmony_ci#define VXGE_HW_CRDT_ERRORS_REG_WRCRDTARB_FSM_ERR vxge_mBIT(11) 31258c2ecf20Sopenharmony_ci#define VXGE_HW_CRDT_ERRORS_REG_WRCRDTARB_INTCTL_ILLEGAL_CRD_DEAL \ 31268c2ecf20Sopenharmony_ci vxge_mBIT(15) 31278c2ecf20Sopenharmony_ci#define VXGE_HW_CRDT_ERRORS_REG_WRCRDTARB_PDA_ILLEGAL_CRD_DEAL vxge_mBIT(19) 31288c2ecf20Sopenharmony_ci#define VXGE_HW_CRDT_ERRORS_REG_WRCRDTARB_PCI_MSG_ILLEGAL_CRD_DEAL \ 31298c2ecf20Sopenharmony_ci vxge_mBIT(23) 31308c2ecf20Sopenharmony_ci#define VXGE_HW_CRDT_ERRORS_REG_RDCRDTARB_FSM_ERR vxge_mBIT(35) 31318c2ecf20Sopenharmony_ci#define VXGE_HW_CRDT_ERRORS_REG_RDCRDTARB_RDA_ILLEGAL_CRD_DEAL vxge_mBIT(39) 31328c2ecf20Sopenharmony_ci#define VXGE_HW_CRDT_ERRORS_REG_RDCRDTARB_PDA_ILLEGAL_CRD_DEAL vxge_mBIT(43) 31338c2ecf20Sopenharmony_ci#define VXGE_HW_CRDT_ERRORS_REG_RDCRDTARB_DBLGEN_ILLEGAL_CRD_DEAL \ 31348c2ecf20Sopenharmony_ci vxge_mBIT(47) 31358c2ecf20Sopenharmony_ci/*0x07098*/ u64 crdt_errors_mask; 31368c2ecf20Sopenharmony_ci/*0x070a0*/ u64 crdt_errors_alarm; 31378c2ecf20Sopenharmony_ci u8 unused070b0[0x070b0-0x070a8]; 31388c2ecf20Sopenharmony_ci 31398c2ecf20Sopenharmony_ci/*0x070b0*/ u64 mrpcim_general_errors_reg; 31408c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_ERRORS_REG_STATSB_FSM_ERR vxge_mBIT(3) 31418c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_ERRORS_REG_XGEN_FSM_ERR vxge_mBIT(7) 31428c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_ERRORS_REG_XMEM_FSM_ERR vxge_mBIT(11) 31438c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_ERRORS_REG_KDFCCTL_FSM_ERR vxge_mBIT(15) 31448c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_ERRORS_REG_MRIOVCTL_FSM_ERR vxge_mBIT(19) 31458c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_ERRORS_REG_SPI_FLSH_ERR vxge_mBIT(23) 31468c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_ERRORS_REG_SPI_IIC_ACK_ERR vxge_mBIT(27) 31478c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_ERRORS_REG_SPI_IIC_CHKSUM_ERR vxge_mBIT(31) 31488c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_ERRORS_REG_INI_SERR_DET vxge_mBIT(35) 31498c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_ERRORS_REG_INTCTL_MSIX_FSM_ERR vxge_mBIT(39) 31508c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_ERRORS_REG_INTCTL_MSI_OVERFLOW vxge_mBIT(43) 31518c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_ERRORS_REG_PPIF_PCI_NOT_FLUSH_DURING_SW_RESET \ 31528c2ecf20Sopenharmony_ci vxge_mBIT(47) 31538c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_ERRORS_REG_PPIF_SW_RESET_FSM_ERR vxge_mBIT(51) 31548c2ecf20Sopenharmony_ci/*0x070b8*/ u64 mrpcim_general_errors_mask; 31558c2ecf20Sopenharmony_ci/*0x070c0*/ u64 mrpcim_general_errors_alarm; 31568c2ecf20Sopenharmony_ci u8 unused070d0[0x070d0-0x070c8]; 31578c2ecf20Sopenharmony_ci 31588c2ecf20Sopenharmony_ci/*0x070d0*/ u64 pll_errors_reg; 31598c2ecf20Sopenharmony_ci#define VXGE_HW_PLL_ERRORS_REG_CORE_CMG_PLL_OOL vxge_mBIT(3) 31608c2ecf20Sopenharmony_ci#define VXGE_HW_PLL_ERRORS_REG_CORE_FB_PLL_OOL vxge_mBIT(7) 31618c2ecf20Sopenharmony_ci#define VXGE_HW_PLL_ERRORS_REG_CORE_X_PLL_OOL vxge_mBIT(11) 31628c2ecf20Sopenharmony_ci/*0x070d8*/ u64 pll_errors_mask; 31638c2ecf20Sopenharmony_ci/*0x070e0*/ u64 pll_errors_alarm; 31648c2ecf20Sopenharmony_ci/*0x070e8*/ u64 srpcim_to_mrpcim_alarm_reg; 31658c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_TO_MRPCIM_ALARM_REG_PPIF_SRPCIM_TO_MRPCIM_ALARM(val) \ 31668c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 17) 31678c2ecf20Sopenharmony_ci/*0x070f0*/ u64 srpcim_to_mrpcim_alarm_mask; 31688c2ecf20Sopenharmony_ci/*0x070f8*/ u64 srpcim_to_mrpcim_alarm_alarm; 31698c2ecf20Sopenharmony_ci/*0x07100*/ u64 vpath_to_mrpcim_alarm_reg; 31708c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_TO_MRPCIM_ALARM_REG_PPIF_VPATH_TO_MRPCIM_ALARM(val) \ 31718c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 17) 31728c2ecf20Sopenharmony_ci/*0x07108*/ u64 vpath_to_mrpcim_alarm_mask; 31738c2ecf20Sopenharmony_ci/*0x07110*/ u64 vpath_to_mrpcim_alarm_alarm; 31748c2ecf20Sopenharmony_ci u8 unused07128[0x07128-0x07118]; 31758c2ecf20Sopenharmony_ci 31768c2ecf20Sopenharmony_ci/*0x07128*/ u64 crdt_errors_vplane_reg[17]; 31778c2ecf20Sopenharmony_ci#define VXGE_HW_CRDT_ERRORS_VPLANE_REG_WRCRDTARB_P_H_CONSUME_CRDT_ERR \ 31788c2ecf20Sopenharmony_ci vxge_mBIT(3) 31798c2ecf20Sopenharmony_ci#define VXGE_HW_CRDT_ERRORS_VPLANE_REG_WRCRDTARB_P_D_CONSUME_CRDT_ERR \ 31808c2ecf20Sopenharmony_ci vxge_mBIT(7) 31818c2ecf20Sopenharmony_ci#define VXGE_HW_CRDT_ERRORS_VPLANE_REG_WRCRDTARB_P_H_RETURN_CRDT_ERR \ 31828c2ecf20Sopenharmony_ci vxge_mBIT(11) 31838c2ecf20Sopenharmony_ci#define VXGE_HW_CRDT_ERRORS_VPLANE_REG_WRCRDTARB_P_D_RETURN_CRDT_ERR \ 31848c2ecf20Sopenharmony_ci vxge_mBIT(15) 31858c2ecf20Sopenharmony_ci#define VXGE_HW_CRDT_ERRORS_VPLANE_REG_RDCRDTARB_NP_H_CONSUME_CRDT_ERR \ 31868c2ecf20Sopenharmony_ci vxge_mBIT(19) 31878c2ecf20Sopenharmony_ci#define VXGE_HW_CRDT_ERRORS_VPLANE_REG_RDCRDTARB_NP_H_RETURN_CRDT_ERR \ 31888c2ecf20Sopenharmony_ci vxge_mBIT(23) 31898c2ecf20Sopenharmony_ci#define VXGE_HW_CRDT_ERRORS_VPLANE_REG_RDCRDTARB_TAG_CONSUME_TAG_ERR \ 31908c2ecf20Sopenharmony_ci vxge_mBIT(27) 31918c2ecf20Sopenharmony_ci#define VXGE_HW_CRDT_ERRORS_VPLANE_REG_RDCRDTARB_TAG_RETURN_TAG_ERR \ 31928c2ecf20Sopenharmony_ci vxge_mBIT(31) 31938c2ecf20Sopenharmony_ci/*0x07130*/ u64 crdt_errors_vplane_mask[17]; 31948c2ecf20Sopenharmony_ci/*0x07138*/ u64 crdt_errors_vplane_alarm[17]; 31958c2ecf20Sopenharmony_ci u8 unused072f0[0x072f0-0x072c0]; 31968c2ecf20Sopenharmony_ci 31978c2ecf20Sopenharmony_ci/*0x072f0*/ u64 mrpcim_rst_in_prog; 31988c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_RST_IN_PROG_MRPCIM_RST_IN_PROG vxge_mBIT(7) 31998c2ecf20Sopenharmony_ci/*0x072f8*/ u64 mrpcim_reg_modified; 32008c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_REG_MODIFIED_MRPCIM_REG_MODIFIED vxge_mBIT(7) 32018c2ecf20Sopenharmony_ci 32028c2ecf20Sopenharmony_ci u8 unused07378[0x07378-0x07300]; 32038c2ecf20Sopenharmony_ci 32048c2ecf20Sopenharmony_ci/*0x07378*/ u64 write_arb_pending; 32058c2ecf20Sopenharmony_ci#define VXGE_HW_WRITE_ARB_PENDING_WRARB_WRDMA vxge_mBIT(3) 32068c2ecf20Sopenharmony_ci#define VXGE_HW_WRITE_ARB_PENDING_WRARB_RTDMA vxge_mBIT(7) 32078c2ecf20Sopenharmony_ci#define VXGE_HW_WRITE_ARB_PENDING_WRARB_MSG vxge_mBIT(11) 32088c2ecf20Sopenharmony_ci#define VXGE_HW_WRITE_ARB_PENDING_WRARB_STATSB vxge_mBIT(15) 32098c2ecf20Sopenharmony_ci#define VXGE_HW_WRITE_ARB_PENDING_WRARB_INTCTL vxge_mBIT(19) 32108c2ecf20Sopenharmony_ci/*0x07380*/ u64 read_arb_pending; 32118c2ecf20Sopenharmony_ci#define VXGE_HW_READ_ARB_PENDING_RDARB_WRDMA vxge_mBIT(3) 32128c2ecf20Sopenharmony_ci#define VXGE_HW_READ_ARB_PENDING_RDARB_RTDMA vxge_mBIT(7) 32138c2ecf20Sopenharmony_ci#define VXGE_HW_READ_ARB_PENDING_RDARB_DBLGEN vxge_mBIT(11) 32148c2ecf20Sopenharmony_ci/*0x07388*/ u64 dmaif_dmadbl_pending; 32158c2ecf20Sopenharmony_ci#define VXGE_HW_DMAIF_DMADBL_PENDING_DMAIF_WRDMA_WR vxge_mBIT(0) 32168c2ecf20Sopenharmony_ci#define VXGE_HW_DMAIF_DMADBL_PENDING_DMAIF_WRDMA_RD vxge_mBIT(1) 32178c2ecf20Sopenharmony_ci#define VXGE_HW_DMAIF_DMADBL_PENDING_DMAIF_RTDMA_WR vxge_mBIT(2) 32188c2ecf20Sopenharmony_ci#define VXGE_HW_DMAIF_DMADBL_PENDING_DMAIF_RTDMA_RD vxge_mBIT(3) 32198c2ecf20Sopenharmony_ci#define VXGE_HW_DMAIF_DMADBL_PENDING_DMAIF_MSG_WR vxge_mBIT(4) 32208c2ecf20Sopenharmony_ci#define VXGE_HW_DMAIF_DMADBL_PENDING_DMAIF_STATS_WR vxge_mBIT(5) 32218c2ecf20Sopenharmony_ci#define VXGE_HW_DMAIF_DMADBL_PENDING_DBLGEN_IN_PROG(val) \ 32228c2ecf20Sopenharmony_ci vxge_vBIT(val, 13, 51) 32238c2ecf20Sopenharmony_ci/*0x07390*/ u64 wrcrdtarb_status0_vplane[17]; 32248c2ecf20Sopenharmony_ci#define VXGE_HW_WRCRDTARB_STATUS0_VPLANE_WRCRDTARB_ABS_AVAIL_P_H(val) \ 32258c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 8) 32268c2ecf20Sopenharmony_ci/*0x07418*/ u64 wrcrdtarb_status1_vplane[17]; 32278c2ecf20Sopenharmony_ci#define VXGE_HW_WRCRDTARB_STATUS1_VPLANE_WRCRDTARB_ABS_AVAIL_P_D(val) \ 32288c2ecf20Sopenharmony_ci vxge_vBIT(val, 4, 12) 32298c2ecf20Sopenharmony_ci u8 unused07500[0x07500-0x074a0]; 32308c2ecf20Sopenharmony_ci 32318c2ecf20Sopenharmony_ci/*0x07500*/ u64 mrpcim_general_cfg1; 32328c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG1_CLEAR_SERR vxge_mBIT(7) 32338c2ecf20Sopenharmony_ci/*0x07508*/ u64 mrpcim_general_cfg2; 32348c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG2_INS_TX_WR_TD vxge_mBIT(3) 32358c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG2_INS_TX_RD_TD vxge_mBIT(7) 32368c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG2_INS_TX_CPL_TD vxge_mBIT(11) 32378c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG2_INI_TIMEOUT_EN_MWR vxge_mBIT(15) 32388c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG2_INI_TIMEOUT_EN_MRD vxge_mBIT(19) 32398c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG2_IGNORE_VPATH_RST_FOR_MSIX vxge_mBIT(23) 32408c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG2_FLASH_READ_MSB vxge_mBIT(27) 32418c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG2_DIS_HOST_PIPELINE_WR vxge_mBIT(31) 32428c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG2_MRPCIM_STATS_ENABLE vxge_mBIT(43) 32438c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG2_MRPCIM_STATS_MAP_TO_VPATH(val) \ 32448c2ecf20Sopenharmony_ci vxge_vBIT(val, 47, 5) 32458c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG2_EN_BLOCK_MSIX_DUE_TO_SERR vxge_mBIT(55) 32468c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG2_FORCE_SENDING_INTA vxge_mBIT(59) 32478c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG2_DIS_SWIF_PROT_ON_RDS vxge_mBIT(63) 32488c2ecf20Sopenharmony_ci/*0x07510*/ u64 mrpcim_general_cfg3; 32498c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG3_PROTECTION_CA_OR_UNSUPN vxge_mBIT(0) 32508c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG3_ILLEGAL_RD_CA_OR_UNSUPN vxge_mBIT(3) 32518c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG3_RD_BYTE_SWAPEN vxge_mBIT(7) 32528c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG3_RD_BIT_FLIPEN vxge_mBIT(11) 32538c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG3_WR_BYTE_SWAPEN vxge_mBIT(15) 32548c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG3_WR_BIT_FLIPEN vxge_mBIT(19) 32558c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG3_MR_MAX_MVFS(val) vxge_vBIT(val, 20, 16) 32568c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG3_MR_MVF_TBL_SIZE(val) \ 32578c2ecf20Sopenharmony_ci vxge_vBIT(val, 36, 16) 32588c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG3_PF0_SW_RESET_EN vxge_mBIT(55) 32598c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG3_REG_MODIFIED_CFG(val) vxge_vBIT(val, 56, 2) 32608c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG3_CPL_ECC_ENABLE_N vxge_mBIT(59) 32618c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_GENERAL_CFG3_BYPASS_DAISY_CHAIN vxge_mBIT(63) 32628c2ecf20Sopenharmony_ci/*0x07518*/ u64 mrpcim_stats_start_host_addr; 32638c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_STATS_START_HOST_ADDR_MRPCIM_STATS_START_HOST_ADDR(val)\ 32648c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 57) 32658c2ecf20Sopenharmony_ci 32668c2ecf20Sopenharmony_ci u8 unused07950[0x07950-0x07520]; 32678c2ecf20Sopenharmony_ci 32688c2ecf20Sopenharmony_ci/*0x07950*/ u64 rdcrdtarb_cfg0; 32698c2ecf20Sopenharmony_ci#define VXGE_HW_RDCRDTARB_CFG0_RDA_MAX_OUTSTANDING_RDS(val) \ 32708c2ecf20Sopenharmony_ci vxge_vBIT(val, 18, 6) 32718c2ecf20Sopenharmony_ci#define VXGE_HW_RDCRDTARB_CFG0_PDA_MAX_OUTSTANDING_RDS(val) \ 32728c2ecf20Sopenharmony_ci vxge_vBIT(val, 26, 6) 32738c2ecf20Sopenharmony_ci#define VXGE_HW_RDCRDTARB_CFG0_DBLGEN_MAX_OUTSTANDING_RDS(val) \ 32748c2ecf20Sopenharmony_ci vxge_vBIT(val, 34, 6) 32758c2ecf20Sopenharmony_ci#define VXGE_HW_RDCRDTARB_CFG0_WAIT_CNT(val) vxge_vBIT(val, 48, 4) 32768c2ecf20Sopenharmony_ci#define VXGE_HW_RDCRDTARB_CFG0_MAX_OUTSTANDING_RDS(val) vxge_vBIT(val, 54, 6) 32778c2ecf20Sopenharmony_ci#define VXGE_HW_RDCRDTARB_CFG0_EN_XON vxge_mBIT(63) 32788c2ecf20Sopenharmony_ci u8 unused07be8[0x07be8-0x07958]; 32798c2ecf20Sopenharmony_ci 32808c2ecf20Sopenharmony_ci/*0x07be8*/ u64 bf_sw_reset; 32818c2ecf20Sopenharmony_ci#define VXGE_HW_BF_SW_RESET_BF_SW_RESET(val) vxge_vBIT(val, 0, 8) 32828c2ecf20Sopenharmony_ci/*0x07bf0*/ u64 sw_reset_status; 32838c2ecf20Sopenharmony_ci#define VXGE_HW_SW_RESET_STATUS_RESET_CMPLT vxge_mBIT(7) 32848c2ecf20Sopenharmony_ci#define VXGE_HW_SW_RESET_STATUS_INIT_CMPLT vxge_mBIT(15) 32858c2ecf20Sopenharmony_ci u8 unused07d30[0x07d30-0x07bf8]; 32868c2ecf20Sopenharmony_ci 32878c2ecf20Sopenharmony_ci/*0x07d30*/ u64 mrpcim_debug_stats0; 32888c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_DEBUG_STATS0_INI_WR_DROP(val) vxge_vBIT(val, 0, 32) 32898c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_DEBUG_STATS0_INI_RD_DROP(val) vxge_vBIT(val, 32, 32) 32908c2ecf20Sopenharmony_ci/*0x07d38*/ u64 mrpcim_debug_stats1_vplane[17]; 32918c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_DEBUG_STATS1_VPLANE_WRCRDTARB_PH_CRDT_DEPLETED(val) \ 32928c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 32) 32938c2ecf20Sopenharmony_ci/*0x07dc0*/ u64 mrpcim_debug_stats2_vplane[17]; 32948c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_DEBUG_STATS2_VPLANE_WRCRDTARB_PD_CRDT_DEPLETED(val) \ 32958c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 32) 32968c2ecf20Sopenharmony_ci/*0x07e48*/ u64 mrpcim_debug_stats3_vplane[17]; 32978c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_DEBUG_STATS3_VPLANE_RDCRDTARB_NPH_CRDT_DEPLETED(val) \ 32988c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 32) 32998c2ecf20Sopenharmony_ci/*0x07ed0*/ u64 mrpcim_debug_stats4; 33008c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_DEBUG_STATS4_INI_WR_VPIN_DROP(val) vxge_vBIT(val, 0, 32) 33018c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_DEBUG_STATS4_INI_RD_VPIN_DROP(val) \ 33028c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 32) 33038c2ecf20Sopenharmony_ci/*0x07ed8*/ u64 genstats_count01; 33048c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTATS_COUNT01_GENSTATS_COUNT1(val) vxge_vBIT(val, 0, 32) 33058c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTATS_COUNT01_GENSTATS_COUNT0(val) vxge_vBIT(val, 32, 32) 33068c2ecf20Sopenharmony_ci/*0x07ee0*/ u64 genstats_count23; 33078c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTATS_COUNT23_GENSTATS_COUNT3(val) vxge_vBIT(val, 0, 32) 33088c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTATS_COUNT23_GENSTATS_COUNT2(val) vxge_vBIT(val, 32, 32) 33098c2ecf20Sopenharmony_ci/*0x07ee8*/ u64 genstats_count4; 33108c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTATS_COUNT4_GENSTATS_COUNT4(val) vxge_vBIT(val, 32, 32) 33118c2ecf20Sopenharmony_ci/*0x07ef0*/ u64 genstats_count5; 33128c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTATS_COUNT5_GENSTATS_COUNT5(val) vxge_vBIT(val, 32, 32) 33138c2ecf20Sopenharmony_ci 33148c2ecf20Sopenharmony_ci u8 unused07f08[0x07f08-0x07ef8]; 33158c2ecf20Sopenharmony_ci 33168c2ecf20Sopenharmony_ci/*0x07f08*/ u64 genstats_cfg[6]; 33178c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTATS_CFG_DTYPE_SEL(val) vxge_vBIT(val, 3, 5) 33188c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTATS_CFG_CLIENT_NO_SEL(val) vxge_vBIT(val, 9, 3) 33198c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTATS_CFG_WR_RD_CPL_SEL(val) vxge_vBIT(val, 14, 2) 33208c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTATS_CFG_VPATH_SEL(val) vxge_vBIT(val, 31, 17) 33218c2ecf20Sopenharmony_ci/*0x07f38*/ u64 genstat_64bit_cfg; 33228c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTAT_64BIT_CFG_EN_FOR_GENSTATS0 vxge_mBIT(3) 33238c2ecf20Sopenharmony_ci#define VXGE_HW_GENSTAT_64BIT_CFG_EN_FOR_GENSTATS2 vxge_mBIT(7) 33248c2ecf20Sopenharmony_ci u8 unused08000[0x08000-0x07f40]; 33258c2ecf20Sopenharmony_ci/*0x08000*/ u64 gcmg3_int_status; 33268c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG3_INT_STATUS_GSTC_ERR0_GSTC0_INT vxge_mBIT(0) 33278c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG3_INT_STATUS_GSTC_ERR1_GSTC1_INT vxge_mBIT(1) 33288c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG3_INT_STATUS_GH2L_ERR0_GH2L0_INT vxge_mBIT(2) 33298c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG3_INT_STATUS_GHSQ_ERR_GH2L1_INT vxge_mBIT(3) 33308c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG3_INT_STATUS_GHSQ_ERR2_GH2L2_INT vxge_mBIT(4) 33318c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG3_INT_STATUS_GH2L_SMERR0_GH2L3_INT vxge_mBIT(5) 33328c2ecf20Sopenharmony_ci#define VXGE_HW_GCMG3_INT_STATUS_GHSQ_ERR3_GH2L4_INT vxge_mBIT(6) 33338c2ecf20Sopenharmony_ci/*0x08008*/ u64 gcmg3_int_mask; 33348c2ecf20Sopenharmony_ci u8 unused09000[0x09000-0x8010]; 33358c2ecf20Sopenharmony_ci 33368c2ecf20Sopenharmony_ci/*0x09000*/ u64 g3ifcmd_fb_int_status; 33378c2ecf20Sopenharmony_ci#define VXGE_HW_G3IFCMD_FB_INT_STATUS_ERR_G3IF_INT vxge_mBIT(0) 33388c2ecf20Sopenharmony_ci/*0x09008*/ u64 g3ifcmd_fb_int_mask; 33398c2ecf20Sopenharmony_ci/*0x09010*/ u64 g3ifcmd_fb_err_reg; 33408c2ecf20Sopenharmony_ci#define VXGE_HW_G3IFCMD_FB_ERR_REG_G3IF_CK_DLL_LOCK vxge_mBIT(6) 33418c2ecf20Sopenharmony_ci#define VXGE_HW_G3IFCMD_FB_ERR_REG_G3IF_SM_ERR vxge_mBIT(7) 33428c2ecf20Sopenharmony_ci#define VXGE_HW_G3IFCMD_FB_ERR_REG_G3IF_RWDQS_DLL_LOCK(val) \ 33438c2ecf20Sopenharmony_ci vxge_vBIT(val, 24, 8) 33448c2ecf20Sopenharmony_ci#define VXGE_HW_G3IFCMD_FB_ERR_REG_G3IF_IOCAL_FAULT vxge_mBIT(55) 33458c2ecf20Sopenharmony_ci/*0x09018*/ u64 g3ifcmd_fb_err_mask; 33468c2ecf20Sopenharmony_ci/*0x09020*/ u64 g3ifcmd_fb_err_alarm; 33478c2ecf20Sopenharmony_ci 33488c2ecf20Sopenharmony_ci u8 unused09400[0x09400-0x09028]; 33498c2ecf20Sopenharmony_ci 33508c2ecf20Sopenharmony_ci/*0x09400*/ u64 g3ifcmd_cmu_int_status; 33518c2ecf20Sopenharmony_ci#define VXGE_HW_G3IFCMD_CMU_INT_STATUS_ERR_G3IF_INT vxge_mBIT(0) 33528c2ecf20Sopenharmony_ci/*0x09408*/ u64 g3ifcmd_cmu_int_mask; 33538c2ecf20Sopenharmony_ci/*0x09410*/ u64 g3ifcmd_cmu_err_reg; 33548c2ecf20Sopenharmony_ci#define VXGE_HW_G3IFCMD_CMU_ERR_REG_G3IF_CK_DLL_LOCK vxge_mBIT(6) 33558c2ecf20Sopenharmony_ci#define VXGE_HW_G3IFCMD_CMU_ERR_REG_G3IF_SM_ERR vxge_mBIT(7) 33568c2ecf20Sopenharmony_ci#define VXGE_HW_G3IFCMD_CMU_ERR_REG_G3IF_RWDQS_DLL_LOCK(val) \ 33578c2ecf20Sopenharmony_ci vxge_vBIT(val, 24, 8) 33588c2ecf20Sopenharmony_ci#define VXGE_HW_G3IFCMD_CMU_ERR_REG_G3IF_IOCAL_FAULT vxge_mBIT(55) 33598c2ecf20Sopenharmony_ci/*0x09418*/ u64 g3ifcmd_cmu_err_mask; 33608c2ecf20Sopenharmony_ci/*0x09420*/ u64 g3ifcmd_cmu_err_alarm; 33618c2ecf20Sopenharmony_ci 33628c2ecf20Sopenharmony_ci u8 unused09800[0x09800-0x09428]; 33638c2ecf20Sopenharmony_ci 33648c2ecf20Sopenharmony_ci/*0x09800*/ u64 g3ifcmd_cml_int_status; 33658c2ecf20Sopenharmony_ci#define VXGE_HW_G3IFCMD_CML_INT_STATUS_ERR_G3IF_INT vxge_mBIT(0) 33668c2ecf20Sopenharmony_ci/*0x09808*/ u64 g3ifcmd_cml_int_mask; 33678c2ecf20Sopenharmony_ci/*0x09810*/ u64 g3ifcmd_cml_err_reg; 33688c2ecf20Sopenharmony_ci#define VXGE_HW_G3IFCMD_CML_ERR_REG_G3IF_CK_DLL_LOCK vxge_mBIT(6) 33698c2ecf20Sopenharmony_ci#define VXGE_HW_G3IFCMD_CML_ERR_REG_G3IF_SM_ERR vxge_mBIT(7) 33708c2ecf20Sopenharmony_ci#define VXGE_HW_G3IFCMD_CML_ERR_REG_G3IF_RWDQS_DLL_LOCK(val) \ 33718c2ecf20Sopenharmony_ci vxge_vBIT(val, 24, 8) 33728c2ecf20Sopenharmony_ci#define VXGE_HW_G3IFCMD_CML_ERR_REG_G3IF_IOCAL_FAULT vxge_mBIT(55) 33738c2ecf20Sopenharmony_ci/*0x09818*/ u64 g3ifcmd_cml_err_mask; 33748c2ecf20Sopenharmony_ci/*0x09820*/ u64 g3ifcmd_cml_err_alarm; 33758c2ecf20Sopenharmony_ci u8 unused09b00[0x09b00-0x09828]; 33768c2ecf20Sopenharmony_ci 33778c2ecf20Sopenharmony_ci/*0x09b00*/ u64 vpath_to_vplane_map[17]; 33788c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_TO_VPLANE_MAP_VPATH_TO_VPLANE_MAP(val) \ 33798c2ecf20Sopenharmony_ci vxge_vBIT(val, 3, 5) 33808c2ecf20Sopenharmony_ci u8 unused09c30[0x09c30-0x09b88]; 33818c2ecf20Sopenharmony_ci 33828c2ecf20Sopenharmony_ci/*0x09c30*/ u64 xgxs_cfg_port[2]; 33838c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_CFG_PORT_SIG_DETECT_FORCE_LOS(val) vxge_vBIT(val, 16, 4) 33848c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_CFG_PORT_SIG_DETECT_FORCE_VALID(val) vxge_vBIT(val, 20, 4) 33858c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_CFG_PORT_SEL_INFO_0 vxge_mBIT(27) 33868c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_CFG_PORT_SEL_INFO_1(val) vxge_vBIT(val, 29, 3) 33878c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_CFG_PORT_TX_LANE0_SKEW(val) vxge_vBIT(val, 32, 4) 33888c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_CFG_PORT_TX_LANE1_SKEW(val) vxge_vBIT(val, 36, 4) 33898c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_CFG_PORT_TX_LANE2_SKEW(val) vxge_vBIT(val, 40, 4) 33908c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_CFG_PORT_TX_LANE3_SKEW(val) vxge_vBIT(val, 44, 4) 33918c2ecf20Sopenharmony_ci/*0x09c40*/ u64 xgxs_rxber_cfg_port[2]; 33928c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_RXBER_CFG_PORT_INTERVAL_DUR(val) vxge_vBIT(val, 0, 4) 33938c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_RXBER_CFG_PORT_RXGXS_INTERVAL_CNT(val) \ 33948c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 48) 33958c2ecf20Sopenharmony_ci/*0x09c50*/ u64 xgxs_rxber_status_port[2]; 33968c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_RXBER_STATUS_PORT_RXGXS_RXGXS_LANE_A_ERR_CNT(val) \ 33978c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 16) 33988c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_RXBER_STATUS_PORT_RXGXS_RXGXS_LANE_B_ERR_CNT(val) \ 33998c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 16) 34008c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_RXBER_STATUS_PORT_RXGXS_RXGXS_LANE_C_ERR_CNT(val) \ 34018c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 16) 34028c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_RXBER_STATUS_PORT_RXGXS_RXGXS_LANE_D_ERR_CNT(val) \ 34038c2ecf20Sopenharmony_ci vxge_vBIT(val, 48, 16) 34048c2ecf20Sopenharmony_ci/*0x09c60*/ u64 xgxs_status_port[2]; 34058c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_STATUS_PORT_XMACJ_PCS_TX_ACTIVITY(val) vxge_vBIT(val, 0, 4) 34068c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_STATUS_PORT_XMACJ_PCS_RX_ACTIVITY(val) vxge_vBIT(val, 4, 4) 34078c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_STATUS_PORT_XMACJ_PCS_CTC_FIFO_ERR BIT(11) 34088c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_STATUS_PORT_XMACJ_PCS_BYTE_SYNC_LOST(val) \ 34098c2ecf20Sopenharmony_ci vxge_vBIT(val, 12, 4) 34108c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_STATUS_PORT_XMACJ_PCS_CTC_ERR(val) vxge_vBIT(val, 16, 4) 34118c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_STATUS_PORT_XMACJ_PCS_ALIGNMENT_ERR vxge_mBIT(23) 34128c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_STATUS_PORT_XMACJ_PCS_DEC_ERR(val) vxge_vBIT(val, 24, 8) 34138c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_STATUS_PORT_XMACJ_PCS_SKIP_INS_REQ(val) \ 34148c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 4) 34158c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_STATUS_PORT_XMACJ_PCS_SKIP_DEL_REQ(val) \ 34168c2ecf20Sopenharmony_ci vxge_vBIT(val, 36, 4) 34178c2ecf20Sopenharmony_ci/*0x09c70*/ u64 xgxs_pma_reset_port[2]; 34188c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_PMA_RESET_PORT_SERDES_RESET(val) vxge_vBIT(val, 0, 8) 34198c2ecf20Sopenharmony_ci u8 unused09c90[0x09c90-0x09c80]; 34208c2ecf20Sopenharmony_ci 34218c2ecf20Sopenharmony_ci/*0x09c90*/ u64 xgxs_static_cfg_port[2]; 34228c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_STATIC_CFG_PORT_FW_CTRL_SERDES vxge_mBIT(3) 34238c2ecf20Sopenharmony_ci u8 unused09d40[0x09d40-0x09ca0]; 34248c2ecf20Sopenharmony_ci 34258c2ecf20Sopenharmony_ci/*0x09d40*/ u64 xgxs_info_port[2]; 34268c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_INFO_PORT_XMACJ_INFO_0(val) vxge_vBIT(val, 0, 32) 34278c2ecf20Sopenharmony_ci#define VXGE_HW_XGXS_INFO_PORT_XMACJ_INFO_1(val) vxge_vBIT(val, 32, 32) 34288c2ecf20Sopenharmony_ci/*0x09d50*/ u64 ratemgmt_cfg_port[2]; 34298c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_CFG_PORT_MODE(val) vxge_vBIT(val, 2, 2) 34308c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_CFG_PORT_RATE vxge_mBIT(7) 34318c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_CFG_PORT_FIXED_USE_FSM vxge_mBIT(11) 34328c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_CFG_PORT_ANTP_USE_FSM vxge_mBIT(15) 34338c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_CFG_PORT_ANBE_USE_FSM vxge_mBIT(19) 34348c2ecf20Sopenharmony_ci/*0x09d60*/ u64 ratemgmt_status_port[2]; 34358c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_STATUS_PORT_RATEMGMT_COMPLETE vxge_mBIT(3) 34368c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_STATUS_PORT_RATEMGMT_RATE vxge_mBIT(7) 34378c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_STATUS_PORT_RATEMGMT_MAC_MATCHES_PHY vxge_mBIT(11) 34388c2ecf20Sopenharmony_ci u8 unused09d80[0x09d80-0x09d70]; 34398c2ecf20Sopenharmony_ci 34408c2ecf20Sopenharmony_ci/*0x09d80*/ u64 ratemgmt_fixed_cfg_port[2]; 34418c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_FIXED_CFG_PORT_RESTART vxge_mBIT(7) 34428c2ecf20Sopenharmony_ci/*0x09d90*/ u64 ratemgmt_antp_cfg_port[2]; 34438c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_ANTP_CFG_PORT_RESTART vxge_mBIT(7) 34448c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_ANTP_CFG_PORT_USE_PREAMBLE_EXT_PHY vxge_mBIT(11) 34458c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_ANTP_CFG_PORT_USE_ACT_SEL vxge_mBIT(15) 34468c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_ANTP_CFG_PORT_T_RETRY_PHY_QUERY(val) \ 34478c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 4) 34488c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_ANTP_CFG_PORT_T_WAIT_MDIO_RESPONSE(val) \ 34498c2ecf20Sopenharmony_ci vxge_vBIT(val, 20, 4) 34508c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_ANTP_CFG_PORT_T_LDOWN_REAUTO_RESPONSE(val) \ 34518c2ecf20Sopenharmony_ci vxge_vBIT(val, 24, 4) 34528c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_ANTP_CFG_PORT_ADVERTISE_10G vxge_mBIT(31) 34538c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_ANTP_CFG_PORT_ADVERTISE_1G vxge_mBIT(35) 34548c2ecf20Sopenharmony_ci/*0x09da0*/ u64 ratemgmt_anbe_cfg_port[2]; 34558c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_ANBE_CFG_PORT_RESTART vxge_mBIT(7) 34568c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_ANBE_CFG_PORT_PARALLEL_DETECT_10G_KX4_ENABLE \ 34578c2ecf20Sopenharmony_ci vxge_mBIT(11) 34588c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_ANBE_CFG_PORT_PARALLEL_DETECT_1G_KX_ENABLE \ 34598c2ecf20Sopenharmony_ci vxge_mBIT(15) 34608c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_ANBE_CFG_PORT_T_SYNC_10G_KX4(val) vxge_vBIT(val, 16, 4) 34618c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_ANBE_CFG_PORT_T_SYNC_1G_KX(val) vxge_vBIT(val, 20, 4) 34628c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_ANBE_CFG_PORT_T_DME_EXCHANGE(val) vxge_vBIT(val, 24, 4) 34638c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_ANBE_CFG_PORT_ADVERTISE_10G_KX4 vxge_mBIT(31) 34648c2ecf20Sopenharmony_ci#define VXGE_HW_RATEMGMT_ANBE_CFG_PORT_ADVERTISE_1G_KX vxge_mBIT(35) 34658c2ecf20Sopenharmony_ci/*0x09db0*/ u64 anbe_cfg_port[2]; 34668c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_CFG_PORT_RESET_CFG_REGS(val) vxge_vBIT(val, 0, 8) 34678c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_CFG_PORT_ALIGN_10G_KX4_OVERRIDE(val) vxge_vBIT(val, 10, 2) 34688c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_CFG_PORT_SYNC_1G_KX_OVERRIDE(val) vxge_vBIT(val, 14, 2) 34698c2ecf20Sopenharmony_ci/*0x09dc0*/ u64 anbe_mgr_ctrl_port[2]; 34708c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_MGR_CTRL_PORT_WE vxge_mBIT(3) 34718c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_MGR_CTRL_PORT_STROBE vxge_mBIT(7) 34728c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_MGR_CTRL_PORT_ADDR(val) vxge_vBIT(val, 15, 9) 34738c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_MGR_CTRL_PORT_DATA(val) vxge_vBIT(val, 32, 32) 34748c2ecf20Sopenharmony_ci u8 unused09de0[0x09de0-0x09dd0]; 34758c2ecf20Sopenharmony_ci 34768c2ecf20Sopenharmony_ci/*0x09de0*/ u64 anbe_fw_mstr_port[2]; 34778c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_FW_MSTR_PORT_CONNECT_BEAN_TO_SERDES vxge_mBIT(3) 34788c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_FW_MSTR_PORT_TX_ZEROES_TO_SERDES vxge_mBIT(7) 34798c2ecf20Sopenharmony_ci/*0x09df0*/ u64 anbe_hwfsm_gen_status_port[2]; 34808c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_GEN_STATUS_PORT_RATEMGMT_CHOSE_10G_KX4_USING_PD \ 34818c2ecf20Sopenharmony_ci vxge_mBIT(3) 34828c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_GEN_STATUS_PORT_RATEMGMT_CHOSE_10G_KX4_USING_DME \ 34838c2ecf20Sopenharmony_ci vxge_mBIT(7) 34848c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_GEN_STATUS_PORT_RATEMGMT_CHOSE_1G_KX_USING_PD \ 34858c2ecf20Sopenharmony_ci vxge_mBIT(11) 34868c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_GEN_STATUS_PORT_RATEMGMT_CHOSE_1G_KX_USING_DME \ 34878c2ecf20Sopenharmony_ci vxge_mBIT(15) 34888c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_GEN_STATUS_PORT_RATEMGMT_ANBEFSM_STATE(val) \ 34898c2ecf20Sopenharmony_ci vxge_vBIT(val, 18, 6) 34908c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_GEN_STATUS_PORT_RATEMGMT_BEAN_NEXT_PAGE_RECEIVED \ 34918c2ecf20Sopenharmony_ci vxge_mBIT(27) 34928c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_GEN_STATUS_PORT_RATEMGMT_BEAN_BASE_PAGE_RECEIVED \ 34938c2ecf20Sopenharmony_ci vxge_mBIT(35) 34948c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_GEN_STATUS_PORT_RATEMGMT_BEAN_AUTONEG_COMPLETE \ 34958c2ecf20Sopenharmony_ci vxge_mBIT(39) 34968c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_GEN_STATUS_PORT_RATEMGMT_UNEXPECTED_NP_BEFORE_BP \ 34978c2ecf20Sopenharmony_ci vxge_mBIT(43) 34988c2ecf20Sopenharmony_ci#define \ 34998c2ecf20Sopenharmony_ciVXGE_HW_ANBE_HWFSM_GEN_STATUS_PORT_RATEMGMT_UNEXPECTED_AN_COMPLETE_BEFORE_BP \ 35008c2ecf20Sopenharmony_ci vxge_mBIT(47) 35018c2ecf20Sopenharmony_ci#define \ 35028c2ecf20Sopenharmony_ciVXGE_HW_ANBE_HWFSM_GEN_STATUS_PORT_RATEMGMT_UNEXPECTED_AN_COMPLETE_BEFORE_NP \ 35038c2ecf20Sopenharmony_civxge_mBIT(51) 35048c2ecf20Sopenharmony_ci#define \ 35058c2ecf20Sopenharmony_ciVXGE_HW_ANBE_HWFSM_GEN_STATUS_PORT_RATEMGMT_UNEXPECTED_MODE_WHEN_AN_COMPLETE \ 35068c2ecf20Sopenharmony_ci vxge_mBIT(55) 35078c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_GEN_STATUS_PORT_RATEMGMT_COUNT_BP(val) \ 35088c2ecf20Sopenharmony_ci vxge_vBIT(val, 56, 4) 35098c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_GEN_STATUS_PORT_RATEMGMT_COUNT_NP(val) \ 35108c2ecf20Sopenharmony_ci vxge_vBIT(val, 60, 4) 35118c2ecf20Sopenharmony_ci/*0x09e00*/ u64 anbe_hwfsm_bp_status_port[2]; 35128c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_FEC_ENABLE \ 35138c2ecf20Sopenharmony_ci vxge_mBIT(32) 35148c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_FEC_ABILITY \ 35158c2ecf20Sopenharmony_ci vxge_mBIT(33) 35168c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_10G_KR_CAPABLE \ 35178c2ecf20Sopenharmony_ci vxge_mBIT(40) 35188c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_10G_KX4_CAPABLE \ 35198c2ecf20Sopenharmony_ci vxge_mBIT(41) 35208c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_1G_KX_CAPABLE \ 35218c2ecf20Sopenharmony_ci vxge_mBIT(42) 35228c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_TX_NONCE(val) \ 35238c2ecf20Sopenharmony_ci vxge_vBIT(val, 43, 5) 35248c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_NP vxge_mBIT(48) 35258c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_ACK vxge_mBIT(49) 35268c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_REMOTE_FAULT \ 35278c2ecf20Sopenharmony_ci vxge_mBIT(50) 35288c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_ASM_DIR vxge_mBIT(51) 35298c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_PAUSE vxge_mBIT(53) 35308c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_ECHOED_NONCE(val) \ 35318c2ecf20Sopenharmony_ci vxge_vBIT(val, 54, 5) 35328c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_SELECTOR_FIELD(val) \ 35338c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 35348c2ecf20Sopenharmony_ci/*0x09e10*/ u64 anbe_hwfsm_np_status_port[2]; 35358c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_NP_STATUS_PORT_RATEMGMT_NP_BITS_47_TO_32(val) \ 35368c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 16) 35378c2ecf20Sopenharmony_ci#define VXGE_HW_ANBE_HWFSM_NP_STATUS_PORT_RATEMGMT_NP_BITS_31_TO_0(val) \ 35388c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 32) 35398c2ecf20Sopenharmony_ci u8 unused09e30[0x09e30-0x09e20]; 35408c2ecf20Sopenharmony_ci 35418c2ecf20Sopenharmony_ci/*0x09e30*/ u64 antp_gen_cfg_port[2]; 35428c2ecf20Sopenharmony_ci/*0x09e40*/ u64 antp_hwfsm_gen_status_port[2]; 35438c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_GEN_STATUS_PORT_RATEMGMT_CHOSE_10G vxge_mBIT(3) 35448c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_GEN_STATUS_PORT_RATEMGMT_CHOSE_1G vxge_mBIT(7) 35458c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_GEN_STATUS_PORT_RATEMGMT_ANTPFSM_STATE(val) \ 35468c2ecf20Sopenharmony_ci vxge_vBIT(val, 10, 6) 35478c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_GEN_STATUS_PORT_RATEMGMT_AUTONEG_COMPLETE \ 35488c2ecf20Sopenharmony_ci vxge_mBIT(23) 35498c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_GEN_STATUS_PORT_RATEMGMT_UNEXPECTED_NO_LP_XNP \ 35508c2ecf20Sopenharmony_ci vxge_mBIT(27) 35518c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_GEN_STATUS_PORT_RATEMGMT_GOT_LP_XNP vxge_mBIT(31) 35528c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_GEN_STATUS_PORT_RATEMGMT_UNEXPECTED_MESSAGE_CODE \ 35538c2ecf20Sopenharmony_ci vxge_mBIT(35) 35548c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_GEN_STATUS_PORT_RATEMGMT_UNEXPECTED_NO_HCD \ 35558c2ecf20Sopenharmony_ci vxge_mBIT(43) 35568c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_GEN_STATUS_PORT_RATEMGMT_FOUND_HCD vxge_mBIT(47) 35578c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_GEN_STATUS_PORT_RATEMGMT_UNEXPECTED_INVALID_RATE \ 35588c2ecf20Sopenharmony_ci vxge_mBIT(51) 35598c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_GEN_STATUS_PORT_RATEMGMT_VALID_RATE vxge_mBIT(55) 35608c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_GEN_STATUS_PORT_RATEMGMT_PERSISTENT_LDOWN \ 35618c2ecf20Sopenharmony_ci vxge_mBIT(59) 35628c2ecf20Sopenharmony_ci/*0x09e50*/ u64 antp_hwfsm_bp_status_port[2]; 35638c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_NP vxge_mBIT(0) 35648c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_ACK vxge_mBIT(1) 35658c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_RF vxge_mBIT(2) 35668c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_XNP vxge_mBIT(3) 35678c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_ABILITY_FIELD(val) \ 35688c2ecf20Sopenharmony_ci vxge_vBIT(val, 4, 7) 35698c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_BP_STATUS_PORT_RATEMGMT_BP_SELECTOR_FIELD(val) \ 35708c2ecf20Sopenharmony_ci vxge_vBIT(val, 11, 5) 35718c2ecf20Sopenharmony_ci/*0x09e60*/ u64 antp_hwfsm_xnp_status_port[2]; 35728c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_XNP_STATUS_PORT_RATEMGMT_XNP_NP vxge_mBIT(0) 35738c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_XNP_STATUS_PORT_RATEMGMT_XNP_ACK vxge_mBIT(1) 35748c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_XNP_STATUS_PORT_RATEMGMT_XNP_MP vxge_mBIT(2) 35758c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_XNP_STATUS_PORT_RATEMGMT_XNP_ACK2 vxge_mBIT(3) 35768c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_XNP_STATUS_PORT_RATEMGMT_XNP_TOGGLE vxge_mBIT(4) 35778c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_XNP_STATUS_PORT_RATEMGMT_XNP_MESSAGE_CODE(val) \ 35788c2ecf20Sopenharmony_ci vxge_vBIT(val, 5, 11) 35798c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_XNP_STATUS_PORT_RATEMGMT_XNP_UNF_CODE_FIELD1(val) \ 35808c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 16) 35818c2ecf20Sopenharmony_ci#define VXGE_HW_ANTP_HWFSM_XNP_STATUS_PORT_RATEMGMT_XNP_UNF_CODE_FIELD2(val) \ 35828c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 16) 35838c2ecf20Sopenharmony_ci/*0x09e70*/ u64 mdio_mgr_access_port[2]; 35848c2ecf20Sopenharmony_ci#define VXGE_HW_MDIO_MGR_ACCESS_PORT_STROBE_ONE BIT(3) 35858c2ecf20Sopenharmony_ci#define VXGE_HW_MDIO_MGR_ACCESS_PORT_OP_TYPE(val) vxge_vBIT(val, 5, 3) 35868c2ecf20Sopenharmony_ci#define VXGE_HW_MDIO_MGR_ACCESS_PORT_DEVAD(val) vxge_vBIT(val, 11, 5) 35878c2ecf20Sopenharmony_ci#define VXGE_HW_MDIO_MGR_ACCESS_PORT_ADDR(val) vxge_vBIT(val, 16, 16) 35888c2ecf20Sopenharmony_ci#define VXGE_HW_MDIO_MGR_ACCESS_PORT_DATA(val) vxge_vBIT(val, 32, 16) 35898c2ecf20Sopenharmony_ci#define VXGE_HW_MDIO_MGR_ACCESS_PORT_ST_PATTERN(val) vxge_vBIT(val, 49, 2) 35908c2ecf20Sopenharmony_ci#define VXGE_HW_MDIO_MGR_ACCESS_PORT_PREAMBLE vxge_mBIT(51) 35918c2ecf20Sopenharmony_ci#define VXGE_HW_MDIO_MGR_ACCESS_PORT_PRTAD(val) vxge_vBIT(val, 55, 5) 35928c2ecf20Sopenharmony_ci#define VXGE_HW_MDIO_MGR_ACCESS_PORT_STROBE_TWO vxge_mBIT(63) 35938c2ecf20Sopenharmony_ci u8 unused0a200[0x0a200-0x09e80]; 35948c2ecf20Sopenharmony_ci/*0x0a200*/ u64 xmac_vsport_choices_vh[17]; 35958c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_VSPORT_CHOICES_VH_VSPORT_VECTOR(val) vxge_vBIT(val, 0, 17) 35968c2ecf20Sopenharmony_ci u8 unused0a400[0x0a400-0x0a288]; 35978c2ecf20Sopenharmony_ci 35988c2ecf20Sopenharmony_ci/*0x0a400*/ u64 rx_thresh_cfg_vp[17]; 35998c2ecf20Sopenharmony_ci#define VXGE_HW_RX_THRESH_CFG_VP_PAUSE_LOW_THR(val) vxge_vBIT(val, 0, 8) 36008c2ecf20Sopenharmony_ci#define VXGE_HW_RX_THRESH_CFG_VP_PAUSE_HIGH_THR(val) vxge_vBIT(val, 8, 8) 36018c2ecf20Sopenharmony_ci#define VXGE_HW_RX_THRESH_CFG_VP_RED_THR_0(val) vxge_vBIT(val, 16, 8) 36028c2ecf20Sopenharmony_ci#define VXGE_HW_RX_THRESH_CFG_VP_RED_THR_1(val) vxge_vBIT(val, 24, 8) 36038c2ecf20Sopenharmony_ci#define VXGE_HW_RX_THRESH_CFG_VP_RED_THR_2(val) vxge_vBIT(val, 32, 8) 36048c2ecf20Sopenharmony_ci#define VXGE_HW_RX_THRESH_CFG_VP_RED_THR_3(val) vxge_vBIT(val, 40, 8) 36058c2ecf20Sopenharmony_ci u8 unused0ac90[0x0ac90-0x0a488]; 36068c2ecf20Sopenharmony_ci} __packed; 36078c2ecf20Sopenharmony_ci 36088c2ecf20Sopenharmony_ci/*VXGE_HW_SRPCIM_REGS_H*/ 36098c2ecf20Sopenharmony_cistruct vxge_hw_srpcim_reg { 36108c2ecf20Sopenharmony_ci 36118c2ecf20Sopenharmony_ci/*0x00000*/ u64 tim_mr2sr_resource_assignment_vh; 36128c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_MR2SR_RESOURCE_ASSIGNMENT_VH_BMAP_ROOT(val) \ 36138c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 32) 36148c2ecf20Sopenharmony_ci u8 unused00100[0x00100-0x00008]; 36158c2ecf20Sopenharmony_ci 36168c2ecf20Sopenharmony_ci/*0x00100*/ u64 srpcim_pcipif_int_status; 36178c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_PCIPIF_INT_STATUS_MRPCIM_MSG_MRPCIM_MSG_INT BIT(3) 36188c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_PCIPIF_INT_STATUS_VPATH_MSG_VPATH_MSG_INT BIT(7) 36198c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_PCIPIF_INT_STATUS_SRPCIM_SPARE_R1_SRPCIM_SPARE_R1_INT \ 36208c2ecf20Sopenharmony_ci BIT(11) 36218c2ecf20Sopenharmony_ci/*0x00108*/ u64 srpcim_pcipif_int_mask; 36228c2ecf20Sopenharmony_ci/*0x00110*/ u64 mrpcim_msg_reg; 36238c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_MSG_REG_SWIF_MRPCIM_TO_SRPCIM_RMSG_INT BIT(3) 36248c2ecf20Sopenharmony_ci/*0x00118*/ u64 mrpcim_msg_mask; 36258c2ecf20Sopenharmony_ci/*0x00120*/ u64 mrpcim_msg_alarm; 36268c2ecf20Sopenharmony_ci/*0x00128*/ u64 vpath_msg_reg; 36278c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH0_TO_SRPCIM_RMSG_INT BIT(0) 36288c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH1_TO_SRPCIM_RMSG_INT BIT(1) 36298c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH2_TO_SRPCIM_RMSG_INT BIT(2) 36308c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH3_TO_SRPCIM_RMSG_INT BIT(3) 36318c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH4_TO_SRPCIM_RMSG_INT BIT(4) 36328c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH5_TO_SRPCIM_RMSG_INT BIT(5) 36338c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH6_TO_SRPCIM_RMSG_INT BIT(6) 36348c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH7_TO_SRPCIM_RMSG_INT BIT(7) 36358c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH8_TO_SRPCIM_RMSG_INT BIT(8) 36368c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH9_TO_SRPCIM_RMSG_INT BIT(9) 36378c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH10_TO_SRPCIM_RMSG_INT BIT(10) 36388c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH11_TO_SRPCIM_RMSG_INT BIT(11) 36398c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH12_TO_SRPCIM_RMSG_INT BIT(12) 36408c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH13_TO_SRPCIM_RMSG_INT BIT(13) 36418c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH14_TO_SRPCIM_RMSG_INT BIT(14) 36428c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH15_TO_SRPCIM_RMSG_INT BIT(15) 36438c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_MSG_REG_SWIF_VPATH16_TO_SRPCIM_RMSG_INT BIT(16) 36448c2ecf20Sopenharmony_ci/*0x00130*/ u64 vpath_msg_mask; 36458c2ecf20Sopenharmony_ci/*0x00138*/ u64 vpath_msg_alarm; 36468c2ecf20Sopenharmony_ci u8 unused00160[0x00160-0x00140]; 36478c2ecf20Sopenharmony_ci 36488c2ecf20Sopenharmony_ci/*0x00160*/ u64 srpcim_to_mrpcim_wmsg; 36498c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_TO_MRPCIM_WMSG_SRPCIM_TO_MRPCIM_WMSG(val) \ 36508c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 64) 36518c2ecf20Sopenharmony_ci/*0x00168*/ u64 srpcim_to_mrpcim_wmsg_trig; 36528c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_TO_MRPCIM_WMSG_TRIG_SRPCIM_TO_MRPCIM_WMSG_TRIG BIT(0) 36538c2ecf20Sopenharmony_ci/*0x00170*/ u64 mrpcim_to_srpcim_rmsg; 36548c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_TO_SRPCIM_RMSG_SWIF_MRPCIM_TO_SRPCIM_RMSG(val) \ 36558c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 64) 36568c2ecf20Sopenharmony_ci/*0x00178*/ u64 vpath_to_srpcim_rmsg_sel; 36578c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_TO_SRPCIM_RMSG_SEL_VPATH_TO_SRPCIM_RMSG_SEL(val) \ 36588c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 5) 36598c2ecf20Sopenharmony_ci/*0x00180*/ u64 vpath_to_srpcim_rmsg; 36608c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_TO_SRPCIM_RMSG_SWIF_VPATH_TO_SRPCIM_RMSG(val) \ 36618c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 64) 36628c2ecf20Sopenharmony_ci u8 unused00200[0x00200-0x00188]; 36638c2ecf20Sopenharmony_ci 36648c2ecf20Sopenharmony_ci/*0x00200*/ u64 srpcim_general_int_status; 36658c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GENERAL_INT_STATUS_PIC_INT BIT(0) 36668c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GENERAL_INT_STATUS_PCI_INT BIT(3) 36678c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GENERAL_INT_STATUS_XMAC_INT BIT(7) 36688c2ecf20Sopenharmony_ci u8 unused00210[0x00210-0x00208]; 36698c2ecf20Sopenharmony_ci 36708c2ecf20Sopenharmony_ci/*0x00210*/ u64 srpcim_general_int_mask; 36718c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GENERAL_INT_MASK_PIC_INT BIT(0) 36728c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GENERAL_INT_MASK_PCI_INT BIT(3) 36738c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GENERAL_INT_MASK_XMAC_INT BIT(7) 36748c2ecf20Sopenharmony_ci u8 unused00220[0x00220-0x00218]; 36758c2ecf20Sopenharmony_ci 36768c2ecf20Sopenharmony_ci/*0x00220*/ u64 srpcim_ppif_int_status; 36778c2ecf20Sopenharmony_ci 36788c2ecf20Sopenharmony_ci/*0x00228*/ u64 srpcim_ppif_int_mask; 36798c2ecf20Sopenharmony_ci/*0x00230*/ u64 srpcim_gen_errors_reg; 36808c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GEN_ERRORS_REG_PCICONFIG_PF_STATUS_ERR BIT(3) 36818c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GEN_ERRORS_REG_PCICONFIG_PF_UNCOR_ERR BIT(7) 36828c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GEN_ERRORS_REG_PCICONFIG_PF_COR_ERR BIT(11) 36838c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GEN_ERRORS_REG_INTCTRL_SCHED_INT BIT(15) 36848c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GEN_ERRORS_REG_INI_SERR_DET BIT(19) 36858c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GEN_ERRORS_REG_TGT_PF_ILLEGAL_ACCESS BIT(23) 36868c2ecf20Sopenharmony_ci/*0x00238*/ u64 srpcim_gen_errors_mask; 36878c2ecf20Sopenharmony_ci/*0x00240*/ u64 srpcim_gen_errors_alarm; 36888c2ecf20Sopenharmony_ci/*0x00248*/ u64 mrpcim_to_srpcim_alarm_reg; 36898c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_TO_SRPCIM_ALARM_REG_PPIF_MRPCIM_TO_SRPCIM_ALARM BIT(3) 36908c2ecf20Sopenharmony_ci/*0x00250*/ u64 mrpcim_to_srpcim_alarm_mask; 36918c2ecf20Sopenharmony_ci/*0x00258*/ u64 mrpcim_to_srpcim_alarm_alarm; 36928c2ecf20Sopenharmony_ci/*0x00260*/ u64 vpath_to_srpcim_alarm_reg; 36938c2ecf20Sopenharmony_ci 36948c2ecf20Sopenharmony_ci/*0x00268*/ u64 vpath_to_srpcim_alarm_mask; 36958c2ecf20Sopenharmony_ci/*0x00270*/ u64 vpath_to_srpcim_alarm_alarm; 36968c2ecf20Sopenharmony_ci u8 unused00280[0x00280-0x00278]; 36978c2ecf20Sopenharmony_ci 36988c2ecf20Sopenharmony_ci/*0x00280*/ u64 pf_sw_reset; 36998c2ecf20Sopenharmony_ci#define VXGE_HW_PF_SW_RESET_PF_SW_RESET(val) vxge_vBIT(val, 0, 8) 37008c2ecf20Sopenharmony_ci/*0x00288*/ u64 srpcim_general_cfg1; 37018c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GENERAL_CFG1_BOOT_BYTE_SWAPEN BIT(19) 37028c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GENERAL_CFG1_BOOT_BIT_FLIPEN BIT(23) 37038c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GENERAL_CFG1_MSIX_ADDR_SWAPEN BIT(27) 37048c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GENERAL_CFG1_MSIX_ADDR_FLIPEN BIT(31) 37058c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GENERAL_CFG1_MSIX_DATA_SWAPEN BIT(35) 37068c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_GENERAL_CFG1_MSIX_DATA_FLIPEN BIT(39) 37078c2ecf20Sopenharmony_ci/*0x00290*/ u64 srpcim_interrupt_cfg1; 37088c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_INTERRUPT_CFG1_ALARM_MAP_TO_MSG(val) vxge_vBIT(val, 1, 7) 37098c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_INTERRUPT_CFG1_TRAFFIC_CLASS(val) vxge_vBIT(val, 9, 3) 37108c2ecf20Sopenharmony_ci u8 unused002a8[0x002a8-0x00298]; 37118c2ecf20Sopenharmony_ci 37128c2ecf20Sopenharmony_ci/*0x002a8*/ u64 srpcim_clear_msix_mask; 37138c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_CLEAR_MSIX_MASK_SRPCIM_CLEAR_MSIX_MASK BIT(0) 37148c2ecf20Sopenharmony_ci/*0x002b0*/ u64 srpcim_set_msix_mask; 37158c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_SET_MSIX_MASK_SRPCIM_SET_MSIX_MASK BIT(0) 37168c2ecf20Sopenharmony_ci/*0x002b8*/ u64 srpcim_clr_msix_one_shot; 37178c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_CLR_MSIX_ONE_SHOT_SRPCIM_CLR_MSIX_ONE_SHOT BIT(0) 37188c2ecf20Sopenharmony_ci/*0x002c0*/ u64 srpcim_rst_in_prog; 37198c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_RST_IN_PROG_SRPCIM_RST_IN_PROG BIT(7) 37208c2ecf20Sopenharmony_ci/*0x002c8*/ u64 srpcim_reg_modified; 37218c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_REG_MODIFIED_SRPCIM_REG_MODIFIED BIT(7) 37228c2ecf20Sopenharmony_ci/*0x002d0*/ u64 tgt_pf_illegal_access; 37238c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_PF_ILLEGAL_ACCESS_SWIF_REGION(val) vxge_vBIT(val, 1, 7) 37248c2ecf20Sopenharmony_ci/*0x002d8*/ u64 srpcim_msix_status; 37258c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSIX_STATUS_INTCTL_SRPCIM_MSIX_MASK BIT(3) 37268c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSIX_STATUS_INTCTL_SRPCIM_MSIX_PENDING_VECTOR BIT(7) 37278c2ecf20Sopenharmony_ci u8 unused00880[0x00880-0x002e0]; 37288c2ecf20Sopenharmony_ci 37298c2ecf20Sopenharmony_ci/*0x00880*/ u64 xgmac_sr_int_status; 37308c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_SR_INT_STATUS_ASIC_NTWK_SR_ERR_ASIC_NTWK_SR_INT BIT(3) 37318c2ecf20Sopenharmony_ci/*0x00888*/ u64 xgmac_sr_int_mask; 37328c2ecf20Sopenharmony_ci/*0x00890*/ u64 asic_ntwk_sr_err_reg; 37338c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_SR_ERR_REG_XMACJ_NTWK_SUSTAINED_FAULT BIT(3) 37348c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_SR_ERR_REG_XMACJ_NTWK_SUSTAINED_OK BIT(7) 37358c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_SR_ERR_REG_XMACJ_NTWK_SUSTAINED_FAULT_OCCURRED \ 37368c2ecf20Sopenharmony_ci BIT(11) 37378c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_SR_ERR_REG_XMACJ_NTWK_SUSTAINED_OK_OCCURRED BIT(15) 37388c2ecf20Sopenharmony_ci/*0x00898*/ u64 asic_ntwk_sr_err_mask; 37398c2ecf20Sopenharmony_ci/*0x008a0*/ u64 asic_ntwk_sr_err_alarm; 37408c2ecf20Sopenharmony_ci u8 unused008c0[0x008c0-0x008a8]; 37418c2ecf20Sopenharmony_ci 37428c2ecf20Sopenharmony_ci/*0x008c0*/ u64 xmac_vsport_choices_sr_clone; 37438c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_VSPORT_CHOICES_SR_CLONE_VSPORT_VECTOR(val) \ 37448c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 17) 37458c2ecf20Sopenharmony_ci u8 unused00900[0x00900-0x008c8]; 37468c2ecf20Sopenharmony_ci 37478c2ecf20Sopenharmony_ci/*0x00900*/ u64 mr_rqa_top_prty_for_vh; 37488c2ecf20Sopenharmony_ci#define VXGE_HW_MR_RQA_TOP_PRTY_FOR_VH_RQA_TOP_PRTY_FOR_VH(val) \ 37498c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 37508c2ecf20Sopenharmony_ci/*0x00908*/ u64 umq_vh_data_list_empty; 37518c2ecf20Sopenharmony_ci#define VXGE_HW_UMQ_VH_DATA_LIST_EMPTY_ROCRC_UMQ_VH_DATA_LIST_EMPTY \ 37528c2ecf20Sopenharmony_ci BIT(0) 37538c2ecf20Sopenharmony_ci/*0x00910*/ u64 wde_cfg; 37548c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS0_FORCE_MWB_START BIT(0) 37558c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS0_FORCE_MWB_END BIT(1) 37568c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS0_FORCE_QB_START BIT(2) 37578c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS0_FORCE_QB_END BIT(3) 37588c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS0_FORCE_MPSB_START BIT(4) 37598c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS0_FORCE_MPSB_END BIT(5) 37608c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS0_MWB_OPT_EN BIT(6) 37618c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS0_QB_OPT_EN BIT(7) 37628c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS0_MPSB_OPT_EN BIT(8) 37638c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS1_FORCE_MWB_START BIT(9) 37648c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS1_FORCE_MWB_END BIT(10) 37658c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS1_FORCE_QB_START BIT(11) 37668c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS1_FORCE_QB_END BIT(12) 37678c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS1_FORCE_MPSB_START BIT(13) 37688c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS1_FORCE_MPSB_END BIT(14) 37698c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS1_MWB_OPT_EN BIT(15) 37708c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS1_QB_OPT_EN BIT(16) 37718c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_NS1_MPSB_OPT_EN BIT(17) 37728c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_DISABLE_QPAD_FOR_UNALIGNED_ADDR BIT(19) 37738c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_ALIGNMENT_PREFERENCE(val) vxge_vBIT(val, 30, 2) 37748c2ecf20Sopenharmony_ci#define VXGE_HW_WDE_CFG_MEM_WORD_SIZE(val) vxge_vBIT(val, 46, 2) 37758c2ecf20Sopenharmony_ci 37768c2ecf20Sopenharmony_ci} __packed; 37778c2ecf20Sopenharmony_ci 37788c2ecf20Sopenharmony_ci/*VXGE_HW_VPMGMT_REGS_H*/ 37798c2ecf20Sopenharmony_cistruct vxge_hw_vpmgmt_reg { 37808c2ecf20Sopenharmony_ci 37818c2ecf20Sopenharmony_ci u8 unused00040[0x00040-0x00000]; 37828c2ecf20Sopenharmony_ci 37838c2ecf20Sopenharmony_ci/*0x00040*/ u64 vpath_to_func_map_cfg1; 37848c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_TO_FUNC_MAP_CFG1_VPATH_TO_FUNC_MAP_CFG1(val) \ 37858c2ecf20Sopenharmony_ci vxge_vBIT(val, 3, 5) 37868c2ecf20Sopenharmony_ci/*0x00048*/ u64 vpath_is_first; 37878c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_IS_FIRST_VPATH_IS_FIRST vxge_mBIT(3) 37888c2ecf20Sopenharmony_ci/*0x00050*/ u64 srpcim_to_vpath_wmsg; 37898c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_TO_VPATH_WMSG_SRPCIM_TO_VPATH_WMSG(val) \ 37908c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 64) 37918c2ecf20Sopenharmony_ci/*0x00058*/ u64 srpcim_to_vpath_wmsg_trig; 37928c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_TO_VPATH_WMSG_TRIG_SRPCIM_TO_VPATH_WMSG_TRIG \ 37938c2ecf20Sopenharmony_ci vxge_mBIT(0) 37948c2ecf20Sopenharmony_ci u8 unused00100[0x00100-0x00060]; 37958c2ecf20Sopenharmony_ci 37968c2ecf20Sopenharmony_ci/*0x00100*/ u64 tim_vpath_assignment; 37978c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_VPATH_ASSIGNMENT_BMAP_ROOT(val) vxge_vBIT(val, 0, 32) 37988c2ecf20Sopenharmony_ci u8 unused00140[0x00140-0x00108]; 37998c2ecf20Sopenharmony_ci 38008c2ecf20Sopenharmony_ci/*0x00140*/ u64 rqa_top_prty_for_vp; 38018c2ecf20Sopenharmony_ci#define VXGE_HW_RQA_TOP_PRTY_FOR_VP_RQA_TOP_PRTY_FOR_VP(val) \ 38028c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 38038c2ecf20Sopenharmony_ci u8 unused001c0[0x001c0-0x00148]; 38048c2ecf20Sopenharmony_ci 38058c2ecf20Sopenharmony_ci/*0x001c0*/ u64 rxmac_rx_pa_cfg0_vpmgmt_clone; 38068c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_VPMGMT_CLONE_IGNORE_FRAME_ERR vxge_mBIT(3) 38078c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_VPMGMT_CLONE_SUPPORT_SNAP_AB_N vxge_mBIT(7) 38088c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_VPMGMT_CLONE_SEARCH_FOR_HAO vxge_mBIT(18) 38098c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_VPMGMT_CLONE_SUPPORT_MOBILE_IPV6_HDRS \ 38108c2ecf20Sopenharmony_ci vxge_mBIT(19) 38118c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_VPMGMT_CLONE_IPV6_STOP_SEARCHING \ 38128c2ecf20Sopenharmony_ci vxge_mBIT(23) 38138c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_VPMGMT_CLONE_NO_PS_IF_UNKNOWN vxge_mBIT(27) 38148c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_VPMGMT_CLONE_SEARCH_FOR_ETYPE vxge_mBIT(35) 38158c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_VPMGMT_CLONE_TOSS_ANY_FRM_IF_L3_CSUM_ERR \ 38168c2ecf20Sopenharmony_ci vxge_mBIT(39) 38178c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_VPMGMT_CLONE_TOSS_OFFLD_FRM_IF_L3_CSUM_ERR \ 38188c2ecf20Sopenharmony_ci vxge_mBIT(43) 38198c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_VPMGMT_CLONE_TOSS_ANY_FRM_IF_L4_CSUM_ERR \ 38208c2ecf20Sopenharmony_ci vxge_mBIT(47) 38218c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_VPMGMT_CLONE_TOSS_OFFLD_FRM_IF_L4_CSUM_ERR \ 38228c2ecf20Sopenharmony_ci vxge_mBIT(51) 38238c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_VPMGMT_CLONE_TOSS_ANY_FRM_IF_RPA_ERR \ 38248c2ecf20Sopenharmony_ci vxge_mBIT(55) 38258c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_VPMGMT_CLONE_TOSS_OFFLD_FRM_IF_RPA_ERR \ 38268c2ecf20Sopenharmony_ci vxge_mBIT(59) 38278c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_RX_PA_CFG0_VPMGMT_CLONE_JUMBO_SNAP_EN vxge_mBIT(63) 38288c2ecf20Sopenharmony_ci/*0x001c8*/ u64 rts_mgr_cfg0_vpmgmt_clone; 38298c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_VPMGMT_CLONE_RTS_DP_SP_PRIORITY vxge_mBIT(3) 38308c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_VPMGMT_CLONE_FLEX_L4PRTCL_VALUE(val) \ 38318c2ecf20Sopenharmony_ci vxge_vBIT(val, 24, 8) 38328c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_VPMGMT_CLONE_ICMP_TRASH vxge_mBIT(35) 38338c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_VPMGMT_CLONE_TCPSYN_TRASH vxge_mBIT(39) 38348c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_VPMGMT_CLONE_ZL4PYLD_TRASH vxge_mBIT(43) 38358c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_VPMGMT_CLONE_L4PRTCL_TCP_TRASH vxge_mBIT(47) 38368c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_VPMGMT_CLONE_L4PRTCL_UDP_TRASH vxge_mBIT(51) 38378c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_VPMGMT_CLONE_L4PRTCL_FLEX_TRASH vxge_mBIT(55) 38388c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CFG0_VPMGMT_CLONE_IPFRAG_TRASH vxge_mBIT(59) 38398c2ecf20Sopenharmony_ci/*0x001d0*/ u64 rts_mgr_criteria_priority_vpmgmt_clone; 38408c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_VPMGMT_CLONE_ETYPE(val) \ 38418c2ecf20Sopenharmony_ci vxge_vBIT(val, 5, 3) 38428c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_VPMGMT_CLONE_ICMP_TCPSYN(val) \ 38438c2ecf20Sopenharmony_ci vxge_vBIT(val, 9, 3) 38448c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_VPMGMT_CLONE_L4PN(val) \ 38458c2ecf20Sopenharmony_ci vxge_vBIT(val, 13, 3) 38468c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_VPMGMT_CLONE_RANGE_L4PN(val) \ 38478c2ecf20Sopenharmony_ci vxge_vBIT(val, 17, 3) 38488c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_VPMGMT_CLONE_RTH_IT(val) \ 38498c2ecf20Sopenharmony_ci vxge_vBIT(val, 21, 3) 38508c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_VPMGMT_CLONE_DS(val) \ 38518c2ecf20Sopenharmony_ci vxge_vBIT(val, 25, 3) 38528c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_VPMGMT_CLONE_QOS(val) \ 38538c2ecf20Sopenharmony_ci vxge_vBIT(val, 29, 3) 38548c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_VPMGMT_CLONE_ZL4PYLD(val) \ 38558c2ecf20Sopenharmony_ci vxge_vBIT(val, 33, 3) 38568c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_MGR_CRITERIA_PRIORITY_VPMGMT_CLONE_L4PRTCL(val) \ 38578c2ecf20Sopenharmony_ci vxge_vBIT(val, 37, 3) 38588c2ecf20Sopenharmony_ci/*0x001d8*/ u64 rxmac_cfg0_port_vpmgmt_clone[3]; 38598c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_VPMGMT_CLONE_RMAC_EN vxge_mBIT(3) 38608c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_VPMGMT_CLONE_STRIP_FCS vxge_mBIT(7) 38618c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_VPMGMT_CLONE_DISCARD_PFRM vxge_mBIT(11) 38628c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_VPMGMT_CLONE_IGNORE_FCS_ERR vxge_mBIT(15) 38638c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_VPMGMT_CLONE_IGNORE_LONG_ERR vxge_mBIT(19) 38648c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_VPMGMT_CLONE_IGNORE_USIZED_ERR vxge_mBIT(23) 38658c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_VPMGMT_CLONE_IGNORE_LEN_MISMATCH \ 38668c2ecf20Sopenharmony_ci vxge_mBIT(27) 38678c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_CFG0_PORT_VPMGMT_CLONE_MAX_PYLD_LEN(val) \ 38688c2ecf20Sopenharmony_ci vxge_vBIT(val, 50, 14) 38698c2ecf20Sopenharmony_ci/*0x001f0*/ u64 rxmac_pause_cfg_port_vpmgmt_clone[3]; 38708c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_VPMGMT_CLONE_GEN_EN vxge_mBIT(3) 38718c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_VPMGMT_CLONE_RCV_EN vxge_mBIT(7) 38728c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_VPMGMT_CLONE_ACCEL_SEND(val) \ 38738c2ecf20Sopenharmony_ci vxge_vBIT(val, 9, 3) 38748c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_VPMGMT_CLONE_DUAL_THR vxge_mBIT(15) 38758c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_VPMGMT_CLONE_HIGH_PTIME(val) \ 38768c2ecf20Sopenharmony_ci vxge_vBIT(val, 20, 16) 38778c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_VPMGMT_CLONE_IGNORE_PF_FCS_ERR \ 38788c2ecf20Sopenharmony_ci vxge_mBIT(39) 38798c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_VPMGMT_CLONE_IGNORE_PF_LEN_ERR \ 38808c2ecf20Sopenharmony_ci vxge_mBIT(43) 38818c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_VPMGMT_CLONE_LIMITER_EN vxge_mBIT(47) 38828c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_VPMGMT_CLONE_MAX_LIMIT(val) \ 38838c2ecf20Sopenharmony_ci vxge_vBIT(val, 48, 8) 38848c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_PAUSE_CFG_PORT_VPMGMT_CLONE_PERMIT_RATEMGMT_CTRL \ 38858c2ecf20Sopenharmony_ci vxge_mBIT(59) 38868c2ecf20Sopenharmony_ci u8 unused00240[0x00240-0x00208]; 38878c2ecf20Sopenharmony_ci 38888c2ecf20Sopenharmony_ci/*0x00240*/ u64 xmac_vsport_choices_vp; 38898c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_VSPORT_CHOICES_VP_VSPORT_VECTOR(val) vxge_vBIT(val, 0, 17) 38908c2ecf20Sopenharmony_ci u8 unused00260[0x00260-0x00248]; 38918c2ecf20Sopenharmony_ci 38928c2ecf20Sopenharmony_ci/*0x00260*/ u64 xgmac_gen_status_vpmgmt_clone; 38938c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_GEN_STATUS_VPMGMT_CLONE_XMACJ_NTWK_OK vxge_mBIT(3) 38948c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_GEN_STATUS_VPMGMT_CLONE_XMACJ_NTWK_DATA_RATE \ 38958c2ecf20Sopenharmony_ci vxge_mBIT(11) 38968c2ecf20Sopenharmony_ci/*0x00268*/ u64 xgmac_status_port_vpmgmt_clone[2]; 38978c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_STATUS_PORT_VPMGMT_CLONE_RMAC_REMOTE_FAULT \ 38988c2ecf20Sopenharmony_ci vxge_mBIT(3) 38998c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_STATUS_PORT_VPMGMT_CLONE_RMAC_LOCAL_FAULT vxge_mBIT(7) 39008c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_STATUS_PORT_VPMGMT_CLONE_XMACJ_MAC_PHY_LAYER_AVAIL \ 39018c2ecf20Sopenharmony_ci vxge_mBIT(11) 39028c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_STATUS_PORT_VPMGMT_CLONE_XMACJ_PORT_OK vxge_mBIT(15) 39038c2ecf20Sopenharmony_ci/*0x00278*/ u64 xmac_gen_cfg_vpmgmt_clone; 39048c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_CFG_VPMGMT_CLONE_RATEMGMT_MAC_RATE_SEL(val) \ 39058c2ecf20Sopenharmony_ci vxge_vBIT(val, 2, 2) 39068c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_CFG_VPMGMT_CLONE_TX_HEAD_DROP_WHEN_FAULT \ 39078c2ecf20Sopenharmony_ci vxge_mBIT(7) 39088c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_CFG_VPMGMT_CLONE_FAULT_BEHAVIOUR vxge_mBIT(27) 39098c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_CFG_VPMGMT_CLONE_PERIOD_NTWK_UP(val) \ 39108c2ecf20Sopenharmony_ci vxge_vBIT(val, 28, 4) 39118c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_GEN_CFG_VPMGMT_CLONE_PERIOD_NTWK_DOWN(val) \ 39128c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 4) 39138c2ecf20Sopenharmony_ci/*0x00280*/ u64 xmac_timestamp_vpmgmt_clone; 39148c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_TIMESTAMP_VPMGMT_CLONE_EN vxge_mBIT(3) 39158c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_TIMESTAMP_VPMGMT_CLONE_USE_LINK_ID(val) \ 39168c2ecf20Sopenharmony_ci vxge_vBIT(val, 6, 2) 39178c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_TIMESTAMP_VPMGMT_CLONE_INTERVAL(val) vxge_vBIT(val, 12, 4) 39188c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_TIMESTAMP_VPMGMT_CLONE_TIMER_RESTART vxge_mBIT(19) 39198c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_TIMESTAMP_VPMGMT_CLONE_XMACJ_ROLLOVER_CNT(val) \ 39208c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 16) 39218c2ecf20Sopenharmony_ci/*0x00288*/ u64 xmac_stats_gen_cfg_vpmgmt_clone; 39228c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_STATS_GEN_CFG_VPMGMT_CLONE_PRTAGGR_CUM_TIMER(val) \ 39238c2ecf20Sopenharmony_ci vxge_vBIT(val, 4, 4) 39248c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_STATS_GEN_CFG_VPMGMT_CLONE_VPATH_CUM_TIMER(val) \ 39258c2ecf20Sopenharmony_ci vxge_vBIT(val, 8, 4) 39268c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_STATS_GEN_CFG_VPMGMT_CLONE_VLAN_HANDLING vxge_mBIT(15) 39278c2ecf20Sopenharmony_ci/*0x00290*/ u64 xmac_cfg_port_vpmgmt_clone[3]; 39288c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_CFG_PORT_VPMGMT_CLONE_XGMII_LOOPBACK vxge_mBIT(3) 39298c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_CFG_PORT_VPMGMT_CLONE_XGMII_REVERSE_LOOPBACK \ 39308c2ecf20Sopenharmony_ci vxge_mBIT(7) 39318c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_CFG_PORT_VPMGMT_CLONE_XGMII_TX_BEHAV vxge_mBIT(11) 39328c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_CFG_PORT_VPMGMT_CLONE_XGMII_RX_BEHAV vxge_mBIT(15) 39338c2ecf20Sopenharmony_ci u8 unused002c0[0x002c0-0x002a8]; 39348c2ecf20Sopenharmony_ci 39358c2ecf20Sopenharmony_ci/*0x002c0*/ u64 txmac_gen_cfg0_vpmgmt_clone; 39368c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_GEN_CFG0_VPMGMT_CLONE_CHOSEN_TX_PORT vxge_mBIT(7) 39378c2ecf20Sopenharmony_ci/*0x002c8*/ u64 txmac_cfg0_port_vpmgmt_clone[3]; 39388c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_CFG0_PORT_VPMGMT_CLONE_TMAC_EN vxge_mBIT(3) 39398c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_CFG0_PORT_VPMGMT_CLONE_APPEND_PAD vxge_mBIT(7) 39408c2ecf20Sopenharmony_ci#define VXGE_HW_TXMAC_CFG0_PORT_VPMGMT_CLONE_PAD_BYTE(val) vxge_vBIT(val, 8, 8) 39418c2ecf20Sopenharmony_ci u8 unused00300[0x00300-0x002e0]; 39428c2ecf20Sopenharmony_ci 39438c2ecf20Sopenharmony_ci/*0x00300*/ u64 wol_mp_crc; 39448c2ecf20Sopenharmony_ci#define VXGE_HW_WOL_MP_CRC_CRC(val) vxge_vBIT(val, 0, 32) 39458c2ecf20Sopenharmony_ci#define VXGE_HW_WOL_MP_CRC_RC_EN vxge_mBIT(63) 39468c2ecf20Sopenharmony_ci/*0x00308*/ u64 wol_mp_mask_a; 39478c2ecf20Sopenharmony_ci#define VXGE_HW_WOL_MP_MASK_A_MASK(val) vxge_vBIT(val, 0, 64) 39488c2ecf20Sopenharmony_ci/*0x00310*/ u64 wol_mp_mask_b; 39498c2ecf20Sopenharmony_ci#define VXGE_HW_WOL_MP_MASK_B_MASK(val) vxge_vBIT(val, 0, 64) 39508c2ecf20Sopenharmony_ci u8 unused00360[0x00360-0x00318]; 39518c2ecf20Sopenharmony_ci 39528c2ecf20Sopenharmony_ci/*0x00360*/ u64 fau_pa_cfg_vpmgmt_clone; 39538c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_PA_CFG_VPMGMT_CLONE_REPL_L4_COMP_CSUM vxge_mBIT(3) 39548c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_PA_CFG_VPMGMT_CLONE_REPL_L3_INCL_CF vxge_mBIT(7) 39558c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_PA_CFG_VPMGMT_CLONE_REPL_L3_COMP_CSUM vxge_mBIT(11) 39568c2ecf20Sopenharmony_ci/*0x00368*/ u64 rx_datapath_util_vp_clone; 39578c2ecf20Sopenharmony_ci#define VXGE_HW_RX_DATAPATH_UTIL_VP_CLONE_FAU_RX_UTILIZATION(val) \ 39588c2ecf20Sopenharmony_ci vxge_vBIT(val, 7, 9) 39598c2ecf20Sopenharmony_ci#define VXGE_HW_RX_DATAPATH_UTIL_VP_CLONE_RX_UTIL_CFG(val) \ 39608c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 4) 39618c2ecf20Sopenharmony_ci#define VXGE_HW_RX_DATAPATH_UTIL_VP_CLONE_FAU_RX_FRAC_UTIL(val) \ 39628c2ecf20Sopenharmony_ci vxge_vBIT(val, 20, 4) 39638c2ecf20Sopenharmony_ci#define VXGE_HW_RX_DATAPATH_UTIL_VP_CLONE_RX_PKT_WEIGHT(val) \ 39648c2ecf20Sopenharmony_ci vxge_vBIT(val, 24, 4) 39658c2ecf20Sopenharmony_ci u8 unused00380[0x00380-0x00370]; 39668c2ecf20Sopenharmony_ci 39678c2ecf20Sopenharmony_ci/*0x00380*/ u64 tx_datapath_util_vp_clone; 39688c2ecf20Sopenharmony_ci#define VXGE_HW_TX_DATAPATH_UTIL_VP_CLONE_TPA_TX_UTILIZATION(val) \ 39698c2ecf20Sopenharmony_ci vxge_vBIT(val, 7, 9) 39708c2ecf20Sopenharmony_ci#define VXGE_HW_TX_DATAPATH_UTIL_VP_CLONE_TX_UTIL_CFG(val) \ 39718c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 4) 39728c2ecf20Sopenharmony_ci#define VXGE_HW_TX_DATAPATH_UTIL_VP_CLONE_TPA_TX_FRAC_UTIL(val) \ 39738c2ecf20Sopenharmony_ci vxge_vBIT(val, 20, 4) 39748c2ecf20Sopenharmony_ci#define VXGE_HW_TX_DATAPATH_UTIL_VP_CLONE_TX_PKT_WEIGHT(val) \ 39758c2ecf20Sopenharmony_ci vxge_vBIT(val, 24, 4) 39768c2ecf20Sopenharmony_ci 39778c2ecf20Sopenharmony_ci} __packed; 39788c2ecf20Sopenharmony_ci 39798c2ecf20Sopenharmony_cistruct vxge_hw_vpath_reg { 39808c2ecf20Sopenharmony_ci 39818c2ecf20Sopenharmony_ci u8 unused00300[0x00300]; 39828c2ecf20Sopenharmony_ci 39838c2ecf20Sopenharmony_ci/*0x00300*/ u64 usdc_vpath; 39848c2ecf20Sopenharmony_ci#define VXGE_HW_USDC_VPATH_SGRP_ASSIGN(val) vxge_vBIT(val, 0, 32) 39858c2ecf20Sopenharmony_ci u8 unused00a00[0x00a00-0x00308]; 39868c2ecf20Sopenharmony_ci 39878c2ecf20Sopenharmony_ci/*0x00a00*/ u64 wrdma_alarm_status; 39888c2ecf20Sopenharmony_ci#define VXGE_HW_WRDMA_ALARM_STATUS_PRC_ALARM_PRC_INT vxge_mBIT(1) 39898c2ecf20Sopenharmony_ci/*0x00a08*/ u64 wrdma_alarm_mask; 39908c2ecf20Sopenharmony_ci u8 unused00a30[0x00a30-0x00a10]; 39918c2ecf20Sopenharmony_ci 39928c2ecf20Sopenharmony_ci/*0x00a30*/ u64 prc_alarm_reg; 39938c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_ALARM_REG_PRC_RING_BUMP vxge_mBIT(0) 39948c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_ALARM_REG_PRC_RXDCM_SC_ERR vxge_mBIT(1) 39958c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_ALARM_REG_PRC_RXDCM_SC_ABORT vxge_mBIT(2) 39968c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_ALARM_REG_PRC_QUANTA_SIZE_ERR vxge_mBIT(3) 39978c2ecf20Sopenharmony_ci/*0x00a38*/ u64 prc_alarm_mask; 39988c2ecf20Sopenharmony_ci/*0x00a40*/ u64 prc_alarm_alarm; 39998c2ecf20Sopenharmony_ci/*0x00a48*/ u64 prc_cfg1; 40008c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG1_RX_TIMER_VAL(val) vxge_vBIT(val, 3, 29) 40018c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG1_TIM_RING_BUMP_INT_ENABLE vxge_mBIT(34) 40028c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG1_RTI_TINT_DISABLE vxge_mBIT(35) 40038c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG1_GREEDY_RETURN vxge_mBIT(36) 40048c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG1_QUICK_SHOT vxge_mBIT(37) 40058c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG1_RX_TIMER_CI vxge_mBIT(39) 40068c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG1_RESET_TIMER_ON_RXD_RET(val) vxge_vBIT(val, 40, 2) 40078c2ecf20Sopenharmony_ci u8 unused00a60[0x00a60-0x00a50]; 40088c2ecf20Sopenharmony_ci 40098c2ecf20Sopenharmony_ci/*0x00a60*/ u64 prc_cfg4; 40108c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG4_IN_SVC vxge_mBIT(7) 40118c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG4_RING_MODE(val) vxge_vBIT(val, 14, 2) 40128c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG4_RXD_NO_SNOOP vxge_mBIT(22) 40138c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG4_FRM_NO_SNOOP vxge_mBIT(23) 40148c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG4_RTH_DISABLE vxge_mBIT(31) 40158c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG4_IGNORE_OWNERSHIP vxge_mBIT(32) 40168c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG4_SIGNAL_BENIGN_OVFLW vxge_mBIT(36) 40178c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG4_BIMODAL_INTERRUPT vxge_mBIT(37) 40188c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG4_BACKOFF_INTERVAL(val) vxge_vBIT(val, 40, 24) 40198c2ecf20Sopenharmony_ci/*0x00a68*/ u64 prc_cfg5; 40208c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG5_RXD0_ADD(val) vxge_vBIT(val, 0, 61) 40218c2ecf20Sopenharmony_ci/*0x00a70*/ u64 prc_cfg6; 40228c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG6_FRM_PAD_EN vxge_mBIT(0) 40238c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG6_QSIZE_ALIGNED_RXD vxge_mBIT(2) 40248c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG6_DOORBELL_MODE_EN vxge_mBIT(5) 40258c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG6_L3_CPC_TRSFR_CODE_EN vxge_mBIT(8) 40268c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG6_L4_CPC_TRSFR_CODE_EN vxge_mBIT(9) 40278c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG6_RXD_CRXDT(val) vxge_vBIT(val, 23, 9) 40288c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG6_RXD_SPAT(val) vxge_vBIT(val, 36, 9) 40298c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG6_GET_RXD_SPAT(val) vxge_bVALn(val, 36, 9) 40308c2ecf20Sopenharmony_ci/*0x00a78*/ u64 prc_cfg7; 40318c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG7_SCATTER_MODE(val) vxge_vBIT(val, 6, 2) 40328c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG7_SMART_SCAT_EN vxge_mBIT(11) 40338c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG7_RXD_NS_CHG_EN vxge_mBIT(12) 40348c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG7_NO_HDR_SEPARATION vxge_mBIT(14) 40358c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG7_RXD_BUFF_SIZE_MASK(val) vxge_vBIT(val, 20, 4) 40368c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_CFG7_BUFF_SIZE0_MASK(val) vxge_vBIT(val, 27, 5) 40378c2ecf20Sopenharmony_ci/*0x00a80*/ u64 tim_dest_addr; 40388c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_DEST_ADDR_TIM_DEST_ADDR(val) vxge_vBIT(val, 0, 64) 40398c2ecf20Sopenharmony_ci/*0x00a88*/ u64 prc_rxd_doorbell; 40408c2ecf20Sopenharmony_ci#define VXGE_HW_PRC_RXD_DOORBELL_NEW_QW_CNT(val) vxge_vBIT(val, 48, 16) 40418c2ecf20Sopenharmony_ci/*0x00a90*/ u64 rqa_prty_for_vp; 40428c2ecf20Sopenharmony_ci#define VXGE_HW_RQA_PRTY_FOR_VP_RQA_PRTY_FOR_VP(val) vxge_vBIT(val, 59, 5) 40438c2ecf20Sopenharmony_ci/*0x00a98*/ u64 rxdmem_size; 40448c2ecf20Sopenharmony_ci#define VXGE_HW_RXDMEM_SIZE_PRC_RXDMEM_SIZE(val) vxge_vBIT(val, 51, 13) 40458c2ecf20Sopenharmony_ci/*0x00aa0*/ u64 frm_in_progress_cnt; 40468c2ecf20Sopenharmony_ci#define VXGE_HW_FRM_IN_PROGRESS_CNT_PRC_FRM_IN_PROGRESS_CNT(val) \ 40478c2ecf20Sopenharmony_ci vxge_vBIT(val, 59, 5) 40488c2ecf20Sopenharmony_ci/*0x00aa8*/ u64 rx_multi_cast_stats; 40498c2ecf20Sopenharmony_ci#define VXGE_HW_RX_MULTI_CAST_STATS_FRAME_DISCARD(val) vxge_vBIT(val, 48, 16) 40508c2ecf20Sopenharmony_ci/*0x00ab0*/ u64 rx_frm_transferred; 40518c2ecf20Sopenharmony_ci#define VXGE_HW_RX_FRM_TRANSFERRED_RX_FRM_TRANSFERRED(val) \ 40528c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 32) 40538c2ecf20Sopenharmony_ci/*0x00ab8*/ u64 rxd_returned; 40548c2ecf20Sopenharmony_ci#define VXGE_HW_RXD_RETURNED_RXD_RETURNED(val) vxge_vBIT(val, 48, 16) 40558c2ecf20Sopenharmony_ci u8 unused00c00[0x00c00-0x00ac0]; 40568c2ecf20Sopenharmony_ci 40578c2ecf20Sopenharmony_ci/*0x00c00*/ u64 kdfc_fifo_trpl_partition; 40588c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_FIFO_TRPL_PARTITION_LENGTH_0(val) vxge_vBIT(val, 17, 15) 40598c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_FIFO_TRPL_PARTITION_LENGTH_1(val) vxge_vBIT(val, 33, 15) 40608c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_FIFO_TRPL_PARTITION_LENGTH_2(val) vxge_vBIT(val, 49, 15) 40618c2ecf20Sopenharmony_ci/*0x00c08*/ u64 kdfc_fifo_trpl_ctrl; 40628c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_FIFO_TRPL_CTRL_TRIPLET_ENABLE vxge_mBIT(7) 40638c2ecf20Sopenharmony_ci/*0x00c10*/ u64 kdfc_trpl_fifo_0_ctrl; 40648c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_0_CTRL_MODE(val) vxge_vBIT(val, 14, 2) 40658c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_0_CTRL_FLIP_EN vxge_mBIT(22) 40668c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_0_CTRL_SWAP_EN vxge_mBIT(23) 40678c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_0_CTRL_INT_CTRL(val) vxge_vBIT(val, 26, 2) 40688c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_0_CTRL_CTRL_STRUC vxge_mBIT(28) 40698c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_0_CTRL_ADD_PAD vxge_mBIT(29) 40708c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_0_CTRL_NO_SNOOP vxge_mBIT(30) 40718c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_0_CTRL_RLX_ORD vxge_mBIT(31) 40728c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_0_CTRL_SELECT(val) vxge_vBIT(val, 32, 8) 40738c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_0_CTRL_INT_NO(val) vxge_vBIT(val, 41, 7) 40748c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_0_CTRL_BIT_MAP(val) vxge_vBIT(val, 48, 16) 40758c2ecf20Sopenharmony_ci/*0x00c18*/ u64 kdfc_trpl_fifo_1_ctrl; 40768c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_1_CTRL_MODE(val) vxge_vBIT(val, 14, 2) 40778c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_1_CTRL_FLIP_EN vxge_mBIT(22) 40788c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_1_CTRL_SWAP_EN vxge_mBIT(23) 40798c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_1_CTRL_INT_CTRL(val) vxge_vBIT(val, 26, 2) 40808c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_1_CTRL_CTRL_STRUC vxge_mBIT(28) 40818c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_1_CTRL_ADD_PAD vxge_mBIT(29) 40828c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_1_CTRL_NO_SNOOP vxge_mBIT(30) 40838c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_1_CTRL_RLX_ORD vxge_mBIT(31) 40848c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_1_CTRL_SELECT(val) vxge_vBIT(val, 32, 8) 40858c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_1_CTRL_INT_NO(val) vxge_vBIT(val, 41, 7) 40868c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_1_CTRL_BIT_MAP(val) vxge_vBIT(val, 48, 16) 40878c2ecf20Sopenharmony_ci/*0x00c20*/ u64 kdfc_trpl_fifo_2_ctrl; 40888c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_2_CTRL_FLIP_EN vxge_mBIT(22) 40898c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_2_CTRL_SWAP_EN vxge_mBIT(23) 40908c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_2_CTRL_INT_CTRL(val) vxge_vBIT(val, 26, 2) 40918c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_2_CTRL_CTRL_STRUC vxge_mBIT(28) 40928c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_2_CTRL_ADD_PAD vxge_mBIT(29) 40938c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_2_CTRL_NO_SNOOP vxge_mBIT(30) 40948c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_2_CTRL_RLX_ORD vxge_mBIT(31) 40958c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_2_CTRL_SELECT(val) vxge_vBIT(val, 32, 8) 40968c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_2_CTRL_INT_NO(val) vxge_vBIT(val, 41, 7) 40978c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_2_CTRL_BIT_MAP(val) vxge_vBIT(val, 48, 16) 40988c2ecf20Sopenharmony_ci/*0x00c28*/ u64 kdfc_trpl_fifo_0_wb_address; 40998c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_0_WB_ADDRESS_ADD(val) vxge_vBIT(val, 0, 64) 41008c2ecf20Sopenharmony_ci/*0x00c30*/ u64 kdfc_trpl_fifo_1_wb_address; 41018c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_1_WB_ADDRESS_ADD(val) vxge_vBIT(val, 0, 64) 41028c2ecf20Sopenharmony_ci/*0x00c38*/ u64 kdfc_trpl_fifo_2_wb_address; 41038c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_2_WB_ADDRESS_ADD(val) vxge_vBIT(val, 0, 64) 41048c2ecf20Sopenharmony_ci/*0x00c40*/ u64 kdfc_trpl_fifo_offset; 41058c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_OFFSET_KDFC_RCTR0(val) vxge_vBIT(val, 1, 15) 41068c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_OFFSET_KDFC_RCTR1(val) vxge_vBIT(val, 17, 15) 41078c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_TRPL_FIFO_OFFSET_KDFC_RCTR2(val) vxge_vBIT(val, 33, 15) 41088c2ecf20Sopenharmony_ci/*0x00c48*/ u64 kdfc_drbl_triplet_total; 41098c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_DRBL_TRIPLET_TOTAL_KDFC_MAX_SIZE(val) \ 41108c2ecf20Sopenharmony_ci vxge_vBIT(val, 17, 15) 41118c2ecf20Sopenharmony_ci u8 unused00c60[0x00c60-0x00c50]; 41128c2ecf20Sopenharmony_ci 41138c2ecf20Sopenharmony_ci/*0x00c60*/ u64 usdc_drbl_ctrl; 41148c2ecf20Sopenharmony_ci#define VXGE_HW_USDC_DRBL_CTRL_FLIP_EN vxge_mBIT(22) 41158c2ecf20Sopenharmony_ci#define VXGE_HW_USDC_DRBL_CTRL_SWAP_EN vxge_mBIT(23) 41168c2ecf20Sopenharmony_ci/*0x00c68*/ u64 usdc_vp_ready; 41178c2ecf20Sopenharmony_ci#define VXGE_HW_USDC_VP_READY_USDC_HTN_READY vxge_mBIT(7) 41188c2ecf20Sopenharmony_ci#define VXGE_HW_USDC_VP_READY_USDC_SRQ_READY vxge_mBIT(15) 41198c2ecf20Sopenharmony_ci#define VXGE_HW_USDC_VP_READY_USDC_CQRQ_READY vxge_mBIT(23) 41208c2ecf20Sopenharmony_ci/*0x00c70*/ u64 kdfc_status; 41218c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_STATUS_KDFC_WRR_0_READY vxge_mBIT(0) 41228c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_STATUS_KDFC_WRR_1_READY vxge_mBIT(1) 41238c2ecf20Sopenharmony_ci#define VXGE_HW_KDFC_STATUS_KDFC_WRR_2_READY vxge_mBIT(2) 41248c2ecf20Sopenharmony_ci u8 unused00c80[0x00c80-0x00c78]; 41258c2ecf20Sopenharmony_ci 41268c2ecf20Sopenharmony_ci/*0x00c80*/ u64 xmac_rpa_vcfg; 41278c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_RPA_VCFG_IPV4_TCP_INCL_PH vxge_mBIT(3) 41288c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_RPA_VCFG_IPV6_TCP_INCL_PH vxge_mBIT(7) 41298c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_RPA_VCFG_IPV4_UDP_INCL_PH vxge_mBIT(11) 41308c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_RPA_VCFG_IPV6_UDP_INCL_PH vxge_mBIT(15) 41318c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_RPA_VCFG_L4_INCL_CF vxge_mBIT(19) 41328c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_RPA_VCFG_STRIP_VLAN_TAG vxge_mBIT(23) 41338c2ecf20Sopenharmony_ci/*0x00c88*/ u64 rxmac_vcfg0; 41348c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_VCFG0_RTS_MAX_FRM_LEN(val) vxge_vBIT(val, 2, 14) 41358c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_VCFG0_RTS_USE_MIN_LEN vxge_mBIT(19) 41368c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_VCFG0_RTS_MIN_FRM_LEN(val) vxge_vBIT(val, 26, 14) 41378c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_VCFG0_UCAST_ALL_ADDR_EN vxge_mBIT(43) 41388c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_VCFG0_MCAST_ALL_ADDR_EN vxge_mBIT(47) 41398c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_VCFG0_BCAST_EN vxge_mBIT(51) 41408c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_VCFG0_ALL_VID_EN vxge_mBIT(55) 41418c2ecf20Sopenharmony_ci/*0x00c90*/ u64 rxmac_vcfg1; 41428c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_VCFG1_RTS_RTH_MULTI_IT_BD_MODE(val) vxge_vBIT(val, 42, 2) 41438c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_VCFG1_RTS_RTH_MULTI_IT_EN_MODE vxge_mBIT(47) 41448c2ecf20Sopenharmony_ci#define VXGE_HW_RXMAC_VCFG1_CONTRIB_L2_FLOW vxge_mBIT(51) 41458c2ecf20Sopenharmony_ci/*0x00c98*/ u64 rts_access_steer_ctrl; 41468c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION(val) vxge_vBIT(val, 1, 7) 41478c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL(val) vxge_vBIT(val, 8, 4) 41488c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_STROBE vxge_mBIT(15) 41498c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_BEHAV_TBL_SEL vxge_mBIT(23) 41508c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_TABLE_SEL vxge_mBIT(27) 41518c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_RMACJ_STATUS vxge_mBIT(0) 41528c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_CTRL_OFFSET(val) vxge_vBIT(val, 40, 8) 41538c2ecf20Sopenharmony_ci/*0x00ca0*/ u64 rts_access_steer_data0; 41548c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA0_DATA(val) vxge_vBIT(val, 0, 64) 41558c2ecf20Sopenharmony_ci/*0x00ca8*/ u64 rts_access_steer_data1; 41568c2ecf20Sopenharmony_ci#define VXGE_HW_RTS_ACCESS_STEER_DATA1_DATA(val) vxge_vBIT(val, 0, 64) 41578c2ecf20Sopenharmony_ci u8 unused00d00[0x00d00-0x00cb0]; 41588c2ecf20Sopenharmony_ci 41598c2ecf20Sopenharmony_ci/*0x00d00*/ u64 xmac_vsport_choice; 41608c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_VSPORT_CHOICE_VSPORT_NUMBER(val) vxge_vBIT(val, 3, 5) 41618c2ecf20Sopenharmony_ci/*0x00d08*/ u64 xmac_stats_cfg; 41628c2ecf20Sopenharmony_ci/*0x00d10*/ u64 xmac_stats_access_cmd; 41638c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_STATS_ACCESS_CMD_OP(val) vxge_vBIT(val, 6, 2) 41648c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_STATS_ACCESS_CMD_STROBE vxge_mBIT(15) 41658c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_STATS_ACCESS_CMD_OFFSET_SEL(val) vxge_vBIT(val, 32, 8) 41668c2ecf20Sopenharmony_ci/*0x00d18*/ u64 xmac_stats_access_data; 41678c2ecf20Sopenharmony_ci#define VXGE_HW_XMAC_STATS_ACCESS_DATA_XSMGR_DATA(val) vxge_vBIT(val, 0, 64) 41688c2ecf20Sopenharmony_ci/*0x00d20*/ u64 asic_ntwk_vp_ctrl; 41698c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_VP_CTRL_REQ_TEST_NTWK vxge_mBIT(3) 41708c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_VP_CTRL_XMACJ_SHOW_PORT_INFO vxge_mBIT(55) 41718c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_VP_CTRL_XMACJ_PORT_NUM vxge_mBIT(63) 41728c2ecf20Sopenharmony_ci u8 unused00d30[0x00d30-0x00d28]; 41738c2ecf20Sopenharmony_ci 41748c2ecf20Sopenharmony_ci/*0x00d30*/ u64 xgmac_vp_int_status; 41758c2ecf20Sopenharmony_ci#define VXGE_HW_XGMAC_VP_INT_STATUS_ASIC_NTWK_VP_ERR_ASIC_NTWK_VP_INT \ 41768c2ecf20Sopenharmony_ci vxge_mBIT(3) 41778c2ecf20Sopenharmony_ci/*0x00d38*/ u64 xgmac_vp_int_mask; 41788c2ecf20Sopenharmony_ci/*0x00d40*/ u64 asic_ntwk_vp_err_reg; 41798c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NW_VP_ERR_REG_XMACJ_STN_FLT vxge_mBIT(3) 41808c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NW_VP_ERR_REG_XMACJ_STN_OK vxge_mBIT(7) 41818c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NW_VP_ERR_REG_XMACJ_STN_FLT_OCCURR \ 41828c2ecf20Sopenharmony_ci vxge_mBIT(11) 41838c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NW_VP_ERR_REG_XMACJ_STN_OK_OCCURR \ 41848c2ecf20Sopenharmony_ci vxge_mBIT(15) 41858c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_VP_ERR_REG_XMACJ_NTWK_REAFFIRMED_FAULT \ 41868c2ecf20Sopenharmony_ci vxge_mBIT(19) 41878c2ecf20Sopenharmony_ci#define VXGE_HW_ASIC_NTWK_VP_ERR_REG_XMACJ_NTWK_REAFFIRMED_OK vxge_mBIT(23) 41888c2ecf20Sopenharmony_ci/*0x00d48*/ u64 asic_ntwk_vp_err_mask; 41898c2ecf20Sopenharmony_ci/*0x00d50*/ u64 asic_ntwk_vp_err_alarm; 41908c2ecf20Sopenharmony_ci u8 unused00d80[0x00d80-0x00d58]; 41918c2ecf20Sopenharmony_ci 41928c2ecf20Sopenharmony_ci/*0x00d80*/ u64 rtdma_bw_ctrl; 41938c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_BW_CTRL_BW_CTRL_EN vxge_mBIT(39) 41948c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_BW_CTRL_DESIRED_BW(val) vxge_vBIT(val, 46, 18) 41958c2ecf20Sopenharmony_ci/*0x00d88*/ u64 rtdma_rd_optimization_ctrl; 41968c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_RD_OPTIMIZATION_CTRL_GEN_INT_AFTER_ABORT vxge_mBIT(3) 41978c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_RD_OPTIMIZATION_CTRL_PAD_MODE(val) vxge_vBIT(val, 6, 2) 41988c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_RD_OPTIMIZATION_CTRL_PAD_PATTERN(val) vxge_vBIT(val, 8, 8) 41998c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_RD_OPTIMIZATION_CTRL_FB_WAIT_FOR_SPACE vxge_mBIT(19) 42008c2ecf20Sopenharmony_ci#define VXGE_HW_PCI_EXP_DEVCTL_READRQ 0x7000 /* Max_Read_Request_Size */ 42018c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_RD_OPTIMIZATION_CTRL_FB_FILL_THRESH(val) \ 42028c2ecf20Sopenharmony_ci vxge_vBIT(val, 21, 3) 42038c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_RD_OPTIMIZATION_CTRL_TXD_PYLD_WMARK_EN vxge_mBIT(28) 42048c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_RD_OPTIMIZATION_CTRL_TXD_PYLD_WMARK(val) \ 42058c2ecf20Sopenharmony_ci vxge_vBIT(val, 29, 3) 42068c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_RD_OPTIMIZATION_CTRL_FB_ADDR_BDRY_EN vxge_mBIT(35) 42078c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_RD_OPTIMIZATION_CTRL_FB_ADDR_BDRY(val) \ 42088c2ecf20Sopenharmony_ci vxge_vBIT(val, 37, 3) 42098c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_RD_OPTIMIZATION_CTRL_TXD_WAIT_FOR_SPACE vxge_mBIT(43) 42108c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_RD_OPTIMIZATION_CTRL_TXD_FILL_THRESH(val) \ 42118c2ecf20Sopenharmony_ci vxge_vBIT(val, 51, 5) 42128c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_RD_OPTIMIZATION_CTRL_TXD_ADDR_BDRY_EN vxge_mBIT(59) 42138c2ecf20Sopenharmony_ci#define VXGE_HW_RTDMA_RD_OPTIMIZATION_CTRL_TXD_ADDR_BDRY(val) \ 42148c2ecf20Sopenharmony_ci vxge_vBIT(val, 61, 3) 42158c2ecf20Sopenharmony_ci/*0x00d90*/ u64 pda_pcc_job_monitor; 42168c2ecf20Sopenharmony_ci#define VXGE_HW_PDA_PCC_JOB_MONITOR_PDA_PCC_JOB_STATUS vxge_mBIT(7) 42178c2ecf20Sopenharmony_ci/*0x00d98*/ u64 tx_protocol_assist_cfg; 42188c2ecf20Sopenharmony_ci#define VXGE_HW_TX_PROTOCOL_ASSIST_CFG_LSOV2_EN vxge_mBIT(6) 42198c2ecf20Sopenharmony_ci#define VXGE_HW_TX_PROTOCOL_ASSIST_CFG_IPV6_KEEP_SEARCHING vxge_mBIT(7) 42208c2ecf20Sopenharmony_ci u8 unused01000[0x01000-0x00da0]; 42218c2ecf20Sopenharmony_ci 42228c2ecf20Sopenharmony_ci/*0x01000*/ u64 tim_cfg1_int_num[4]; 42238c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG1_INT_NUM_BTIMER_VAL(val) vxge_vBIT(val, 6, 26) 42248c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG1_INT_NUM_BITMP_EN vxge_mBIT(35) 42258c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG1_INT_NUM_TXFRM_CNT_EN vxge_mBIT(36) 42268c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG1_INT_NUM_TXD_CNT_EN vxge_mBIT(37) 42278c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG1_INT_NUM_TIMER_AC vxge_mBIT(38) 42288c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG1_INT_NUM_TIMER_CI vxge_mBIT(39) 42298c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG1_INT_NUM_URNG_A(val) vxge_vBIT(val, 41, 7) 42308c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG1_INT_NUM_URNG_B(val) vxge_vBIT(val, 49, 7) 42318c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG1_INT_NUM_URNG_C(val) vxge_vBIT(val, 57, 7) 42328c2ecf20Sopenharmony_ci/*0x01020*/ u64 tim_cfg2_int_num[4]; 42338c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG2_INT_NUM_UEC_A(val) vxge_vBIT(val, 0, 16) 42348c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG2_INT_NUM_UEC_B(val) vxge_vBIT(val, 16, 16) 42358c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG2_INT_NUM_UEC_C(val) vxge_vBIT(val, 32, 16) 42368c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG2_INT_NUM_UEC_D(val) vxge_vBIT(val, 48, 16) 42378c2ecf20Sopenharmony_ci/*0x01040*/ u64 tim_cfg3_int_num[4]; 42388c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG3_INT_NUM_TIMER_RI vxge_mBIT(0) 42398c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG3_INT_NUM_RTIMER_EVENT_SF(val) vxge_vBIT(val, 1, 4) 42408c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG3_INT_NUM_RTIMER_VAL(val) vxge_vBIT(val, 6, 26) 42418c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG3_INT_NUM_UTIL_SEL(val) vxge_vBIT(val, 32, 6) 42428c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_CFG3_INT_NUM_LTIMER_VAL(val) vxge_vBIT(val, 38, 26) 42438c2ecf20Sopenharmony_ci/*0x01060*/ u64 tim_wrkld_clc; 42448c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_WRKLD_CLC_WRKLD_EVAL_PRD(val) vxge_vBIT(val, 0, 32) 42458c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_WRKLD_CLC_WRKLD_EVAL_DIV(val) vxge_vBIT(val, 35, 5) 42468c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_WRKLD_CLC_CNT_FRM_BYTE vxge_mBIT(40) 42478c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_WRKLD_CLC_CNT_RX_TX(val) vxge_vBIT(val, 41, 2) 42488c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_WRKLD_CLC_CNT_LNK_EN vxge_mBIT(43) 42498c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_WRKLD_CLC_HOST_UTIL(val) vxge_vBIT(val, 57, 7) 42508c2ecf20Sopenharmony_ci/*0x01068*/ u64 tim_bitmap; 42518c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_BITMAP_MASK(val) vxge_vBIT(val, 0, 32) 42528c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_BITMAP_LLROOT_RXD_EN vxge_mBIT(32) 42538c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_BITMAP_LLROOT_TXD_EN vxge_mBIT(33) 42548c2ecf20Sopenharmony_ci/*0x01070*/ u64 tim_ring_assn; 42558c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_RING_ASSN_INT_NUM(val) vxge_vBIT(val, 6, 2) 42568c2ecf20Sopenharmony_ci/*0x01078*/ u64 tim_remap; 42578c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_REMAP_TX_EN vxge_mBIT(5) 42588c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_REMAP_RX_EN vxge_mBIT(6) 42598c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_REMAP_OFFLOAD_EN vxge_mBIT(7) 42608c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_REMAP_TO_VPATH_NUM(val) vxge_vBIT(val, 11, 5) 42618c2ecf20Sopenharmony_ci/*0x01080*/ u64 tim_vpath_map; 42628c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_VPATH_MAP_BMAP_ROOT(val) vxge_vBIT(val, 0, 32) 42638c2ecf20Sopenharmony_ci/*0x01088*/ u64 tim_pci_cfg; 42648c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_PCI_CFG_ADD_PAD vxge_mBIT(7) 42658c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_PCI_CFG_NO_SNOOP vxge_mBIT(15) 42668c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_PCI_CFG_RELAXED vxge_mBIT(23) 42678c2ecf20Sopenharmony_ci#define VXGE_HW_TIM_PCI_CFG_CTL_STR vxge_mBIT(31) 42688c2ecf20Sopenharmony_ci u8 unused01100[0x01100-0x01090]; 42698c2ecf20Sopenharmony_ci 42708c2ecf20Sopenharmony_ci/*0x01100*/ u64 sgrp_assign; 42718c2ecf20Sopenharmony_ci#define VXGE_HW_SGRP_ASSIGN_SGRP_ASSIGN(val) vxge_vBIT(val, 0, 64) 42728c2ecf20Sopenharmony_ci/*0x01108*/ u64 sgrp_aoa_and_result; 42738c2ecf20Sopenharmony_ci#define VXGE_HW_SGRP_AOA_AND_RESULT_PET_SGRP_AOA_AND_RESULT(val) \ 42748c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 64) 42758c2ecf20Sopenharmony_ci/*0x01110*/ u64 rpe_pci_cfg; 42768c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_PAD_LRO_DATA_ENABLE vxge_mBIT(7) 42778c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_PAD_LRO_HDR_ENABLE vxge_mBIT(8) 42788c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_PAD_LRO_CQE_ENABLE vxge_mBIT(9) 42798c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_PAD_NONLL_CQE_ENABLE vxge_mBIT(10) 42808c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_PAD_BASE_LL_CQE_ENABLE vxge_mBIT(11) 42818c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_PAD_LL_CQE_IDATA_ENABLE vxge_mBIT(12) 42828c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_PAD_CQRQ_IR_ENABLE vxge_mBIT(13) 42838c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_PAD_CQSQ_IR_ENABLE vxge_mBIT(14) 42848c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_PAD_CQRR_IR_ENABLE vxge_mBIT(15) 42858c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_NOSNOOP_DATA vxge_mBIT(18) 42868c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_NOSNOOP_NONLL_CQE vxge_mBIT(19) 42878c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_NOSNOOP_LL_CQE vxge_mBIT(20) 42888c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_NOSNOOP_CQRQ_IR vxge_mBIT(21) 42898c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_NOSNOOP_CQSQ_IR vxge_mBIT(22) 42908c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_NOSNOOP_CQRR_IR vxge_mBIT(23) 42918c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_RELAXED_DATA vxge_mBIT(26) 42928c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_RELAXED_NONLL_CQE vxge_mBIT(27) 42938c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_RELAXED_LL_CQE vxge_mBIT(28) 42948c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_RELAXED_CQRQ_IR vxge_mBIT(29) 42958c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_RELAXED_CQSQ_IR vxge_mBIT(30) 42968c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_PCI_CFG_RELAXED_CQRR_IR vxge_mBIT(31) 42978c2ecf20Sopenharmony_ci/*0x01118*/ u64 rpe_lro_cfg; 42988c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_LRO_CFG_SUPPRESS_LRO_ETH_TRLR vxge_mBIT(7) 42998c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_LRO_CFG_ALLOW_LRO_SNAP_SNAPJUMBO_MRG vxge_mBIT(11) 43008c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_LRO_CFG_ALLOW_LRO_LLC_LLCJUMBO_MRG vxge_mBIT(15) 43018c2ecf20Sopenharmony_ci#define VXGE_HW_RPE_LRO_CFG_INCL_ACK_CNT_IN_CQE vxge_mBIT(23) 43028c2ecf20Sopenharmony_ci/*0x01120*/ u64 pe_mr2vp_ack_blk_limit; 43038c2ecf20Sopenharmony_ci#define VXGE_HW_PE_MR2VP_ACK_BLK_LIMIT_BLK_LIMIT(val) vxge_vBIT(val, 32, 32) 43048c2ecf20Sopenharmony_ci/*0x01128*/ u64 pe_mr2vp_rirr_lirr_blk_limit; 43058c2ecf20Sopenharmony_ci#define VXGE_HW_PE_MR2VP_RIRR_LIRR_BLK_LIMIT_RIRR_BLK_LIMIT(val) \ 43068c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 32) 43078c2ecf20Sopenharmony_ci#define VXGE_HW_PE_MR2VP_RIRR_LIRR_BLK_LIMIT_LIRR_BLK_LIMIT(val) \ 43088c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 32) 43098c2ecf20Sopenharmony_ci/*0x01130*/ u64 txpe_pci_nce_cfg; 43108c2ecf20Sopenharmony_ci#define VXGE_HW_TXPE_PCI_NCE_CFG_NCE_THRESH(val) vxge_vBIT(val, 0, 32) 43118c2ecf20Sopenharmony_ci#define VXGE_HW_TXPE_PCI_NCE_CFG_PAD_TOWI_ENABLE vxge_mBIT(55) 43128c2ecf20Sopenharmony_ci#define VXGE_HW_TXPE_PCI_NCE_CFG_NOSNOOP_TOWI vxge_mBIT(63) 43138c2ecf20Sopenharmony_ci u8 unused01180[0x01180-0x01138]; 43148c2ecf20Sopenharmony_ci 43158c2ecf20Sopenharmony_ci/*0x01180*/ u64 msg_qpad_en_cfg; 43168c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_QPAD_EN_CFG_UMQ_BWR_READ vxge_mBIT(3) 43178c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_QPAD_EN_CFG_DMQ_BWR_READ vxge_mBIT(7) 43188c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_QPAD_EN_CFG_MXP_GENDMA_READ vxge_mBIT(11) 43198c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_QPAD_EN_CFG_UXP_GENDMA_READ vxge_mBIT(15) 43208c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_QPAD_EN_CFG_UMQ_MSG_WRITE vxge_mBIT(19) 43218c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_QPAD_EN_CFG_UMQDMQ_IR_WRITE vxge_mBIT(23) 43228c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_QPAD_EN_CFG_MXP_GENDMA_WRITE vxge_mBIT(27) 43238c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_QPAD_EN_CFG_UXP_GENDMA_WRITE vxge_mBIT(31) 43248c2ecf20Sopenharmony_ci/*0x01188*/ u64 msg_pci_cfg; 43258c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_PCI_CFG_GENDMA_NO_SNOOP vxge_mBIT(3) 43268c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_PCI_CFG_UMQDMQ_IR_NO_SNOOP vxge_mBIT(7) 43278c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_PCI_CFG_UMQ_NO_SNOOP vxge_mBIT(11) 43288c2ecf20Sopenharmony_ci#define VXGE_HW_MSG_PCI_CFG_DMQ_NO_SNOOP vxge_mBIT(15) 43298c2ecf20Sopenharmony_ci/*0x01190*/ u64 umqdmq_ir_init; 43308c2ecf20Sopenharmony_ci#define VXGE_HW_UMQDMQ_IR_INIT_HOST_WRITE_ADD(val) vxge_vBIT(val, 0, 64) 43318c2ecf20Sopenharmony_ci/*0x01198*/ u64 dmq_ir_int; 43328c2ecf20Sopenharmony_ci#define VXGE_HW_DMQ_IR_INT_IMMED_ENABLE vxge_mBIT(6) 43338c2ecf20Sopenharmony_ci#define VXGE_HW_DMQ_IR_INT_EVENT_ENABLE vxge_mBIT(7) 43348c2ecf20Sopenharmony_ci#define VXGE_HW_DMQ_IR_INT_NUMBER(val) vxge_vBIT(val, 9, 7) 43358c2ecf20Sopenharmony_ci#define VXGE_HW_DMQ_IR_INT_BITMAP(val) vxge_vBIT(val, 16, 16) 43368c2ecf20Sopenharmony_ci/*0x011a0*/ u64 dmq_bwr_init_add; 43378c2ecf20Sopenharmony_ci#define VXGE_HW_DMQ_BWR_INIT_ADD_HOST(val) vxge_vBIT(val, 0, 64) 43388c2ecf20Sopenharmony_ci/*0x011a8*/ u64 dmq_bwr_init_byte; 43398c2ecf20Sopenharmony_ci#define VXGE_HW_DMQ_BWR_INIT_BYTE_COUNT(val) vxge_vBIT(val, 0, 32) 43408c2ecf20Sopenharmony_ci/*0x011b0*/ u64 dmq_ir; 43418c2ecf20Sopenharmony_ci#define VXGE_HW_DMQ_IR_POLICY(val) vxge_vBIT(val, 0, 8) 43428c2ecf20Sopenharmony_ci/*0x011b8*/ u64 umq_int; 43438c2ecf20Sopenharmony_ci#define VXGE_HW_UMQ_INT_IMMED_ENABLE vxge_mBIT(6) 43448c2ecf20Sopenharmony_ci#define VXGE_HW_UMQ_INT_EVENT_ENABLE vxge_mBIT(7) 43458c2ecf20Sopenharmony_ci#define VXGE_HW_UMQ_INT_NUMBER(val) vxge_vBIT(val, 9, 7) 43468c2ecf20Sopenharmony_ci#define VXGE_HW_UMQ_INT_BITMAP(val) vxge_vBIT(val, 16, 16) 43478c2ecf20Sopenharmony_ci/*0x011c0*/ u64 umq_mr2vp_bwr_pfch_init; 43488c2ecf20Sopenharmony_ci#define VXGE_HW_UMQ_MR2VP_BWR_PFCH_INIT_NUMBER(val) vxge_vBIT(val, 0, 8) 43498c2ecf20Sopenharmony_ci/*0x011c8*/ u64 umq_bwr_pfch_ctrl; 43508c2ecf20Sopenharmony_ci#define VXGE_HW_UMQ_BWR_PFCH_CTRL_POLL_EN vxge_mBIT(3) 43518c2ecf20Sopenharmony_ci/*0x011d0*/ u64 umq_mr2vp_bwr_eol; 43528c2ecf20Sopenharmony_ci#define VXGE_HW_UMQ_MR2VP_BWR_EOL_POLL_LATENCY(val) vxge_vBIT(val, 32, 32) 43538c2ecf20Sopenharmony_ci/*0x011d8*/ u64 umq_bwr_init_add; 43548c2ecf20Sopenharmony_ci#define VXGE_HW_UMQ_BWR_INIT_ADD_HOST(val) vxge_vBIT(val, 0, 64) 43558c2ecf20Sopenharmony_ci/*0x011e0*/ u64 umq_bwr_init_byte; 43568c2ecf20Sopenharmony_ci#define VXGE_HW_UMQ_BWR_INIT_BYTE_COUNT(val) vxge_vBIT(val, 0, 32) 43578c2ecf20Sopenharmony_ci/*0x011e8*/ u64 gendma_int; 43588c2ecf20Sopenharmony_ci/*0x011f0*/ u64 umqdmq_ir_init_notify; 43598c2ecf20Sopenharmony_ci#define VXGE_HW_UMQDMQ_IR_INIT_NOTIFY_PULSE vxge_mBIT(3) 43608c2ecf20Sopenharmony_ci/*0x011f8*/ u64 dmq_init_notify; 43618c2ecf20Sopenharmony_ci#define VXGE_HW_DMQ_INIT_NOTIFY_PULSE vxge_mBIT(3) 43628c2ecf20Sopenharmony_ci/*0x01200*/ u64 umq_init_notify; 43638c2ecf20Sopenharmony_ci#define VXGE_HW_UMQ_INIT_NOTIFY_PULSE vxge_mBIT(3) 43648c2ecf20Sopenharmony_ci u8 unused01380[0x01380-0x01208]; 43658c2ecf20Sopenharmony_ci 43668c2ecf20Sopenharmony_ci/*0x01380*/ u64 tpa_cfg; 43678c2ecf20Sopenharmony_ci#define VXGE_HW_TPA_CFG_IGNORE_FRAME_ERR vxge_mBIT(3) 43688c2ecf20Sopenharmony_ci#define VXGE_HW_TPA_CFG_IPV6_STOP_SEARCHING vxge_mBIT(7) 43698c2ecf20Sopenharmony_ci#define VXGE_HW_TPA_CFG_L4_PSHDR_PRESENT vxge_mBIT(11) 43708c2ecf20Sopenharmony_ci#define VXGE_HW_TPA_CFG_SUPPORT_MOBILE_IPV6_HDRS vxge_mBIT(15) 43718c2ecf20Sopenharmony_ci u8 unused01400[0x01400-0x01388]; 43728c2ecf20Sopenharmony_ci 43738c2ecf20Sopenharmony_ci/*0x01400*/ u64 tx_vp_reset_discarded_frms; 43748c2ecf20Sopenharmony_ci#define VXGE_HW_TX_VP_RESET_DISCARDED_FRMS_TX_VP_RESET_DISCARDED_FRMS(val) \ 43758c2ecf20Sopenharmony_ci vxge_vBIT(val, 48, 16) 43768c2ecf20Sopenharmony_ci u8 unused01480[0x01480-0x01408]; 43778c2ecf20Sopenharmony_ci 43788c2ecf20Sopenharmony_ci/*0x01480*/ u64 fau_rpa_vcfg; 43798c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_RPA_VCFG_L4_COMP_CSUM vxge_mBIT(7) 43808c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_RPA_VCFG_L3_INCL_CF vxge_mBIT(11) 43818c2ecf20Sopenharmony_ci#define VXGE_HW_FAU_RPA_VCFG_L3_COMP_CSUM vxge_mBIT(15) 43828c2ecf20Sopenharmony_ci u8 unused014d0[0x014d0-0x01488]; 43838c2ecf20Sopenharmony_ci 43848c2ecf20Sopenharmony_ci/*0x014d0*/ u64 dbg_stats_rx_mpa; 43858c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STATS_RX_MPA_CRC_FAIL_FRMS(val) vxge_vBIT(val, 0, 16) 43868c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STATS_RX_MPA_MRK_FAIL_FRMS(val) vxge_vBIT(val, 16, 16) 43878c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STATS_RX_MPA_LEN_FAIL_FRMS(val) vxge_vBIT(val, 32, 16) 43888c2ecf20Sopenharmony_ci/*0x014d8*/ u64 dbg_stats_rx_fau; 43898c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STATS_RX_FAU_RX_WOL_FRMS(val) vxge_vBIT(val, 0, 16) 43908c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STATS_RX_FAU_RX_VP_RESET_DISCARDED_FRMS(val) \ 43918c2ecf20Sopenharmony_ci vxge_vBIT(val, 16, 16) 43928c2ecf20Sopenharmony_ci#define VXGE_HW_DBG_STATS_RX_FAU_RX_PERMITTED_FRMS(val) \ 43938c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 32) 43948c2ecf20Sopenharmony_ci u8 unused014f0[0x014f0-0x014e0]; 43958c2ecf20Sopenharmony_ci 43968c2ecf20Sopenharmony_ci/*0x014f0*/ u64 fbmc_vp_rdy; 43978c2ecf20Sopenharmony_ci#define VXGE_HW_FBMC_VP_RDY_QUEUE_SPAV_FM vxge_mBIT(0) 43988c2ecf20Sopenharmony_ci u8 unused01e00[0x01e00-0x014f8]; 43998c2ecf20Sopenharmony_ci 44008c2ecf20Sopenharmony_ci/*0x01e00*/ u64 vpath_pcipif_int_status; 44018c2ecf20Sopenharmony_ci#define \ 44028c2ecf20Sopenharmony_ciVXGE_HW_VPATH_PCIPIF_INT_STATUS_SRPCIM_MSG_TO_VPATH_SRPCIM_MSG_TO_VPATH_INT \ 44038c2ecf20Sopenharmony_ci vxge_mBIT(3) 44048c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_PCIPIF_INT_STATUS_VPATH_SPARE_R1_VPATH_SPARE_R1_INT \ 44058c2ecf20Sopenharmony_ci vxge_mBIT(7) 44068c2ecf20Sopenharmony_ci/*0x01e08*/ u64 vpath_pcipif_int_mask; 44078c2ecf20Sopenharmony_ci u8 unused01e20[0x01e20-0x01e10]; 44088c2ecf20Sopenharmony_ci 44098c2ecf20Sopenharmony_ci/*0x01e20*/ u64 srpcim_msg_to_vpath_reg; 44108c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_MSG_TO_VPATH_REG_SWIF_SRPCIM_TO_VPATH_RMSG_INT \ 44118c2ecf20Sopenharmony_ci vxge_mBIT(3) 44128c2ecf20Sopenharmony_ci/*0x01e28*/ u64 srpcim_msg_to_vpath_mask; 44138c2ecf20Sopenharmony_ci/*0x01e30*/ u64 srpcim_msg_to_vpath_alarm; 44148c2ecf20Sopenharmony_ci u8 unused01ea0[0x01ea0-0x01e38]; 44158c2ecf20Sopenharmony_ci 44168c2ecf20Sopenharmony_ci/*0x01ea0*/ u64 vpath_to_srpcim_wmsg; 44178c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_TO_SRPCIM_WMSG_VPATH_TO_SRPCIM_WMSG(val) \ 44188c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 64) 44198c2ecf20Sopenharmony_ci/*0x01ea8*/ u64 vpath_to_srpcim_wmsg_trig; 44208c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_TO_SRPCIM_WMSG_TRIG_VPATH_TO_SRPCIM_WMSG_TRIG \ 44218c2ecf20Sopenharmony_ci vxge_mBIT(0) 44228c2ecf20Sopenharmony_ci u8 unused02000[0x02000-0x01eb0]; 44238c2ecf20Sopenharmony_ci 44248c2ecf20Sopenharmony_ci/*0x02000*/ u64 vpath_general_int_status; 44258c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_INT_STATUS_PIC_INT vxge_mBIT(3) 44268c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_INT_STATUS_PCI_INT vxge_mBIT(7) 44278c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_INT_STATUS_WRDMA_INT vxge_mBIT(15) 44288c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_INT_STATUS_XMAC_INT vxge_mBIT(19) 44298c2ecf20Sopenharmony_ci/*0x02008*/ u64 vpath_general_int_mask; 44308c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_INT_MASK_PIC_INT vxge_mBIT(3) 44318c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_INT_MASK_PCI_INT vxge_mBIT(7) 44328c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_INT_MASK_WRDMA_INT vxge_mBIT(15) 44338c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_INT_MASK_XMAC_INT vxge_mBIT(19) 44348c2ecf20Sopenharmony_ci/*0x02010*/ u64 vpath_ppif_int_status; 44358c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_PPIF_INT_STATUS_KDFCCTL_ERRORS_KDFCCTL_INT \ 44368c2ecf20Sopenharmony_ci vxge_mBIT(3) 44378c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_PPIF_INT_STATUS_GENERAL_ERRORS_GENERAL_INT \ 44388c2ecf20Sopenharmony_ci vxge_mBIT(7) 44398c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_PPIF_INT_STATUS_PCI_CONFIG_ERRORS_PCI_CONFIG_INT \ 44408c2ecf20Sopenharmony_ci vxge_mBIT(11) 44418c2ecf20Sopenharmony_ci#define \ 44428c2ecf20Sopenharmony_ciVXGE_HW_VPATH_PPIF_INT_STATUS_MRPCIM_TO_VPATH_ALARM_MRPCIM_TO_VPATH_ALARM_INT \ 44438c2ecf20Sopenharmony_ci vxge_mBIT(15) 44448c2ecf20Sopenharmony_ci#define \ 44458c2ecf20Sopenharmony_ciVXGE_HW_VPATH_PPIF_INT_STATUS_SRPCIM_TO_VPATH_ALARM_SRPCIM_TO_VPATH_ALARM_INT \ 44468c2ecf20Sopenharmony_ci vxge_mBIT(19) 44478c2ecf20Sopenharmony_ci/*0x02018*/ u64 vpath_ppif_int_mask; 44488c2ecf20Sopenharmony_ci/*0x02020*/ u64 kdfcctl_errors_reg; 44498c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_ERRORS_REG_KDFCCTL_FIFO0_OVRWR vxge_mBIT(3) 44508c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_ERRORS_REG_KDFCCTL_FIFO1_OVRWR vxge_mBIT(7) 44518c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_ERRORS_REG_KDFCCTL_FIFO2_OVRWR vxge_mBIT(11) 44528c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_ERRORS_REG_KDFCCTL_FIFO0_POISON vxge_mBIT(15) 44538c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_ERRORS_REG_KDFCCTL_FIFO1_POISON vxge_mBIT(19) 44548c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_ERRORS_REG_KDFCCTL_FIFO2_POISON vxge_mBIT(23) 44558c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_ERRORS_REG_KDFCCTL_FIFO0_DMA_ERR vxge_mBIT(31) 44568c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_ERRORS_REG_KDFCCTL_FIFO1_DMA_ERR vxge_mBIT(35) 44578c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_ERRORS_REG_KDFCCTL_FIFO2_DMA_ERR vxge_mBIT(39) 44588c2ecf20Sopenharmony_ci/*0x02028*/ u64 kdfcctl_errors_mask; 44598c2ecf20Sopenharmony_ci/*0x02030*/ u64 kdfcctl_errors_alarm; 44608c2ecf20Sopenharmony_ci u8 unused02040[0x02040-0x02038]; 44618c2ecf20Sopenharmony_ci 44628c2ecf20Sopenharmony_ci/*0x02040*/ u64 general_errors_reg; 44638c2ecf20Sopenharmony_ci#define VXGE_HW_GENERAL_ERRORS_REG_DBLGEN_FIFO0_OVRFLOW vxge_mBIT(3) 44648c2ecf20Sopenharmony_ci#define VXGE_HW_GENERAL_ERRORS_REG_DBLGEN_FIFO1_OVRFLOW vxge_mBIT(7) 44658c2ecf20Sopenharmony_ci#define VXGE_HW_GENERAL_ERRORS_REG_DBLGEN_FIFO2_OVRFLOW vxge_mBIT(11) 44668c2ecf20Sopenharmony_ci#define VXGE_HW_GENERAL_ERRORS_REG_STATSB_PIF_CHAIN_ERR vxge_mBIT(15) 44678c2ecf20Sopenharmony_ci#define VXGE_HW_GENERAL_ERRORS_REG_STATSB_DROP_TIMEOUT_REQ vxge_mBIT(19) 44688c2ecf20Sopenharmony_ci#define VXGE_HW_GENERAL_ERRORS_REG_TGT_ILLEGAL_ACCESS vxge_mBIT(27) 44698c2ecf20Sopenharmony_ci#define VXGE_HW_GENERAL_ERRORS_REG_INI_SERR_DET vxge_mBIT(31) 44708c2ecf20Sopenharmony_ci/*0x02048*/ u64 general_errors_mask; 44718c2ecf20Sopenharmony_ci/*0x02050*/ u64 general_errors_alarm; 44728c2ecf20Sopenharmony_ci/*0x02058*/ u64 pci_config_errors_reg; 44738c2ecf20Sopenharmony_ci#define VXGE_HW_PCI_CONFIG_ERRORS_REG_PCICONFIG_STATUS_ERR vxge_mBIT(3) 44748c2ecf20Sopenharmony_ci#define VXGE_HW_PCI_CONFIG_ERRORS_REG_PCICONFIG_UNCOR_ERR vxge_mBIT(7) 44758c2ecf20Sopenharmony_ci#define VXGE_HW_PCI_CONFIG_ERRORS_REG_PCICONFIG_COR_ERR vxge_mBIT(11) 44768c2ecf20Sopenharmony_ci/*0x02060*/ u64 pci_config_errors_mask; 44778c2ecf20Sopenharmony_ci/*0x02068*/ u64 pci_config_errors_alarm; 44788c2ecf20Sopenharmony_ci/*0x02070*/ u64 mrpcim_to_vpath_alarm_reg; 44798c2ecf20Sopenharmony_ci#define VXGE_HW_MRPCIM_TO_VPATH_ALARM_REG_PPIF_MRPCIM_TO_VPATH_ALARM \ 44808c2ecf20Sopenharmony_ci vxge_mBIT(3) 44818c2ecf20Sopenharmony_ci/*0x02078*/ u64 mrpcim_to_vpath_alarm_mask; 44828c2ecf20Sopenharmony_ci/*0x02080*/ u64 mrpcim_to_vpath_alarm_alarm; 44838c2ecf20Sopenharmony_ci/*0x02088*/ u64 srpcim_to_vpath_alarm_reg; 44848c2ecf20Sopenharmony_ci#define VXGE_HW_SRPCIM_TO_VPATH_ALARM_REG_PPIF_SRPCIM_TO_VPATH_ALARM(val) \ 44858c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 17) 44868c2ecf20Sopenharmony_ci/*0x02090*/ u64 srpcim_to_vpath_alarm_mask; 44878c2ecf20Sopenharmony_ci/*0x02098*/ u64 srpcim_to_vpath_alarm_alarm; 44888c2ecf20Sopenharmony_ci u8 unused02108[0x02108-0x020a0]; 44898c2ecf20Sopenharmony_ci 44908c2ecf20Sopenharmony_ci/*0x02108*/ u64 kdfcctl_status; 44918c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_STATUS_KDFCCTL_FIFO0_PRES(val) vxge_vBIT(val, 0, 8) 44928c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_STATUS_KDFCCTL_FIFO1_PRES(val) vxge_vBIT(val, 8, 8) 44938c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_STATUS_KDFCCTL_FIFO2_PRES(val) vxge_vBIT(val, 16, 8) 44948c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_STATUS_KDFCCTL_FIFO0_OVRWR(val) vxge_vBIT(val, 24, 8) 44958c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_STATUS_KDFCCTL_FIFO1_OVRWR(val) vxge_vBIT(val, 32, 8) 44968c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_STATUS_KDFCCTL_FIFO2_OVRWR(val) vxge_vBIT(val, 40, 8) 44978c2ecf20Sopenharmony_ci/*0x02110*/ u64 rsthdlr_status; 44988c2ecf20Sopenharmony_ci#define VXGE_HW_RSTHDLR_STATUS_RSTHDLR_CURRENT_RESET vxge_mBIT(3) 44998c2ecf20Sopenharmony_ci#define VXGE_HW_RSTHDLR_STATUS_RSTHDLR_CURRENT_VPIN(val) vxge_vBIT(val, 6, 2) 45008c2ecf20Sopenharmony_ci/*0x02118*/ u64 fifo0_status; 45018c2ecf20Sopenharmony_ci#define VXGE_HW_FIFO0_STATUS_DBLGEN_FIFO0_RDIDX(val) vxge_vBIT(val, 0, 12) 45028c2ecf20Sopenharmony_ci/*0x02120*/ u64 fifo1_status; 45038c2ecf20Sopenharmony_ci#define VXGE_HW_FIFO1_STATUS_DBLGEN_FIFO1_RDIDX(val) vxge_vBIT(val, 0, 12) 45048c2ecf20Sopenharmony_ci/*0x02128*/ u64 fifo2_status; 45058c2ecf20Sopenharmony_ci#define VXGE_HW_FIFO2_STATUS_DBLGEN_FIFO2_RDIDX(val) vxge_vBIT(val, 0, 12) 45068c2ecf20Sopenharmony_ci u8 unused02158[0x02158-0x02130]; 45078c2ecf20Sopenharmony_ci 45088c2ecf20Sopenharmony_ci/*0x02158*/ u64 tgt_illegal_access; 45098c2ecf20Sopenharmony_ci#define VXGE_HW_TGT_ILLEGAL_ACCESS_SWIF_REGION(val) vxge_vBIT(val, 1, 7) 45108c2ecf20Sopenharmony_ci u8 unused02200[0x02200-0x02160]; 45118c2ecf20Sopenharmony_ci 45128c2ecf20Sopenharmony_ci/*0x02200*/ u64 vpath_general_cfg1; 45138c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_CFG1_TC_VALUE(val) vxge_vBIT(val, 1, 3) 45148c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_CFG1_DATA_BYTE_SWAPEN vxge_mBIT(7) 45158c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_CFG1_DATA_FLIPEN vxge_mBIT(11) 45168c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_CFG1_CTL_BYTE_SWAPEN vxge_mBIT(15) 45178c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_CFG1_CTL_FLIPEN vxge_mBIT(23) 45188c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_CFG1_MSIX_ADDR_SWAPEN vxge_mBIT(51) 45198c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_CFG1_MSIX_ADDR_FLIPEN vxge_mBIT(55) 45208c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_CFG1_MSIX_DATA_SWAPEN vxge_mBIT(59) 45218c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_CFG1_MSIX_DATA_FLIPEN vxge_mBIT(63) 45228c2ecf20Sopenharmony_ci/*0x02208*/ u64 vpath_general_cfg2; 45238c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_CFG2_SIZE_QUANTUM(val) vxge_vBIT(val, 1, 3) 45248c2ecf20Sopenharmony_ci/*0x02210*/ u64 vpath_general_cfg3; 45258c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENERAL_CFG3_IGNORE_VPATH_RST_FOR_INTA vxge_mBIT(3) 45268c2ecf20Sopenharmony_ci u8 unused02220[0x02220-0x02218]; 45278c2ecf20Sopenharmony_ci 45288c2ecf20Sopenharmony_ci/*0x02220*/ u64 kdfcctl_cfg0; 45298c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_SWAPEN_FIFO0 vxge_mBIT(1) 45308c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_SWAPEN_FIFO1 vxge_mBIT(2) 45318c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_SWAPEN_FIFO2 vxge_mBIT(3) 45328c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BIT_FLIPEN_FIFO0 vxge_mBIT(5) 45338c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BIT_FLIPEN_FIFO1 vxge_mBIT(6) 45348c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BIT_FLIPEN_FIFO2 vxge_mBIT(7) 45358c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE0_FIFO0 vxge_mBIT(9) 45368c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE0_FIFO1 vxge_mBIT(10) 45378c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE0_FIFO2 vxge_mBIT(11) 45388c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE1_FIFO0 vxge_mBIT(13) 45398c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE1_FIFO1 vxge_mBIT(14) 45408c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE1_FIFO2 vxge_mBIT(15) 45418c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE2_FIFO0 vxge_mBIT(17) 45428c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE2_FIFO1 vxge_mBIT(18) 45438c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE2_FIFO2 vxge_mBIT(19) 45448c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE3_FIFO0 vxge_mBIT(21) 45458c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE3_FIFO1 vxge_mBIT(22) 45468c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE3_FIFO2 vxge_mBIT(23) 45478c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE4_FIFO0 vxge_mBIT(25) 45488c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE4_FIFO1 vxge_mBIT(26) 45498c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE4_FIFO2 vxge_mBIT(27) 45508c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE5_FIFO0 vxge_mBIT(29) 45518c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE5_FIFO1 vxge_mBIT(30) 45528c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE5_FIFO2 vxge_mBIT(31) 45538c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE6_FIFO0 vxge_mBIT(33) 45548c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE6_FIFO1 vxge_mBIT(34) 45558c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE6_FIFO2 vxge_mBIT(35) 45568c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE7_FIFO0 vxge_mBIT(37) 45578c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE7_FIFO1 vxge_mBIT(38) 45588c2ecf20Sopenharmony_ci#define VXGE_HW_KDFCCTL_CFG0_BYTE_MASK_BYTE7_FIFO2 vxge_mBIT(39) 45598c2ecf20Sopenharmony_ci 45608c2ecf20Sopenharmony_ci u8 unused02268[0x02268-0x02228]; 45618c2ecf20Sopenharmony_ci 45628c2ecf20Sopenharmony_ci/*0x02268*/ u64 stats_cfg; 45638c2ecf20Sopenharmony_ci#define VXGE_HW_STATS_CFG_START_HOST_ADDR(val) vxge_vBIT(val, 0, 57) 45648c2ecf20Sopenharmony_ci/*0x02270*/ u64 interrupt_cfg0; 45658c2ecf20Sopenharmony_ci#define VXGE_HW_INTERRUPT_CFG0_MSIX_FOR_RXTI(val) vxge_vBIT(val, 1, 7) 45668c2ecf20Sopenharmony_ci#define VXGE_HW_INTERRUPT_CFG0_GROUP0_MSIX_FOR_TXTI(val) vxge_vBIT(val, 9, 7) 45678c2ecf20Sopenharmony_ci#define VXGE_HW_INTERRUPT_CFG0_GROUP1_MSIX_FOR_TXTI(val) vxge_vBIT(val, 17, 7) 45688c2ecf20Sopenharmony_ci#define VXGE_HW_INTERRUPT_CFG0_GROUP2_MSIX_FOR_TXTI(val) vxge_vBIT(val, 25, 7) 45698c2ecf20Sopenharmony_ci#define VXGE_HW_INTERRUPT_CFG0_GROUP3_MSIX_FOR_TXTI(val) vxge_vBIT(val, 33, 7) 45708c2ecf20Sopenharmony_ci u8 unused02280[0x02280-0x02278]; 45718c2ecf20Sopenharmony_ci 45728c2ecf20Sopenharmony_ci/*0x02280*/ u64 interrupt_cfg2; 45738c2ecf20Sopenharmony_ci#define VXGE_HW_INTERRUPT_CFG2_ALARM_MAP_TO_MSG(val) vxge_vBIT(val, 1, 7) 45748c2ecf20Sopenharmony_ci/*0x02288*/ u64 one_shot_vect0_en; 45758c2ecf20Sopenharmony_ci#define VXGE_HW_ONE_SHOT_VECT0_EN_ONE_SHOT_VECT0_EN vxge_mBIT(3) 45768c2ecf20Sopenharmony_ci/*0x02290*/ u64 one_shot_vect1_en; 45778c2ecf20Sopenharmony_ci#define VXGE_HW_ONE_SHOT_VECT1_EN_ONE_SHOT_VECT1_EN vxge_mBIT(3) 45788c2ecf20Sopenharmony_ci/*0x02298*/ u64 one_shot_vect2_en; 45798c2ecf20Sopenharmony_ci#define VXGE_HW_ONE_SHOT_VECT2_EN_ONE_SHOT_VECT2_EN vxge_mBIT(3) 45808c2ecf20Sopenharmony_ci/*0x022a0*/ u64 one_shot_vect3_en; 45818c2ecf20Sopenharmony_ci#define VXGE_HW_ONE_SHOT_VECT3_EN_ONE_SHOT_VECT3_EN vxge_mBIT(3) 45828c2ecf20Sopenharmony_ci u8 unused022b0[0x022b0-0x022a8]; 45838c2ecf20Sopenharmony_ci 45848c2ecf20Sopenharmony_ci/*0x022b0*/ u64 pci_config_access_cfg1; 45858c2ecf20Sopenharmony_ci#define VXGE_HW_PCI_CONFIG_ACCESS_CFG1_ADDRESS(val) vxge_vBIT(val, 0, 12) 45868c2ecf20Sopenharmony_ci#define VXGE_HW_PCI_CONFIG_ACCESS_CFG1_SEL_FUNC0 vxge_mBIT(15) 45878c2ecf20Sopenharmony_ci/*0x022b8*/ u64 pci_config_access_cfg2; 45888c2ecf20Sopenharmony_ci#define VXGE_HW_PCI_CONFIG_ACCESS_CFG2_REQ vxge_mBIT(0) 45898c2ecf20Sopenharmony_ci/*0x022c0*/ u64 pci_config_access_status; 45908c2ecf20Sopenharmony_ci#define VXGE_HW_PCI_CONFIG_ACCESS_STATUS_ACCESS_ERR vxge_mBIT(0) 45918c2ecf20Sopenharmony_ci#define VXGE_HW_PCI_CONFIG_ACCESS_STATUS_DATA(val) vxge_vBIT(val, 32, 32) 45928c2ecf20Sopenharmony_ci u8 unused02300[0x02300-0x022c8]; 45938c2ecf20Sopenharmony_ci 45948c2ecf20Sopenharmony_ci/*0x02300*/ u64 vpath_debug_stats0; 45958c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_DEBUG_STATS0_INI_NUM_MWR_SENT(val) vxge_vBIT(val, 0, 32) 45968c2ecf20Sopenharmony_ci/*0x02308*/ u64 vpath_debug_stats1; 45978c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_DEBUG_STATS1_INI_NUM_MRD_SENT(val) vxge_vBIT(val, 0, 32) 45988c2ecf20Sopenharmony_ci/*0x02310*/ u64 vpath_debug_stats2; 45998c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_DEBUG_STATS2_INI_NUM_CPL_RCVD(val) vxge_vBIT(val, 0, 32) 46008c2ecf20Sopenharmony_ci/*0x02318*/ u64 vpath_debug_stats3; 46018c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_DEBUG_STATS3_INI_NUM_MWR_BYTE_SENT(val) \ 46028c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 64) 46038c2ecf20Sopenharmony_ci/*0x02320*/ u64 vpath_debug_stats4; 46048c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_DEBUG_STATS4_INI_NUM_CPL_BYTE_RCVD(val) \ 46058c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 64) 46068c2ecf20Sopenharmony_ci/*0x02328*/ u64 vpath_debug_stats5; 46078c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_DEBUG_STATS5_WRCRDTARB_XOFF(val) vxge_vBIT(val, 32, 32) 46088c2ecf20Sopenharmony_ci/*0x02330*/ u64 vpath_debug_stats6; 46098c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_DEBUG_STATS6_RDCRDTARB_XOFF(val) vxge_vBIT(val, 32, 32) 46108c2ecf20Sopenharmony_ci/*0x02338*/ u64 vpath_genstats_count01; 46118c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENSTATS_COUNT01_PPIF_VPATH_GENSTATS_COUNT1(val) \ 46128c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 32) 46138c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENSTATS_COUNT01_PPIF_VPATH_GENSTATS_COUNT0(val) \ 46148c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 32) 46158c2ecf20Sopenharmony_ci/*0x02340*/ u64 vpath_genstats_count23; 46168c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENSTATS_COUNT23_PPIF_VPATH_GENSTATS_COUNT3(val) \ 46178c2ecf20Sopenharmony_ci vxge_vBIT(val, 0, 32) 46188c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENSTATS_COUNT23_PPIF_VPATH_GENSTATS_COUNT2(val) \ 46198c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 32) 46208c2ecf20Sopenharmony_ci/*0x02348*/ u64 vpath_genstats_count4; 46218c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENSTATS_COUNT4_PPIF_VPATH_GENSTATS_COUNT4(val) \ 46228c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 32) 46238c2ecf20Sopenharmony_ci/*0x02350*/ u64 vpath_genstats_count5; 46248c2ecf20Sopenharmony_ci#define VXGE_HW_VPATH_GENSTATS_COUNT5_PPIF_VPATH_GENSTATS_COUNT5(val) \ 46258c2ecf20Sopenharmony_ci vxge_vBIT(val, 32, 32) 46268c2ecf20Sopenharmony_ci u8 unused02648[0x02648-0x02358]; 46278c2ecf20Sopenharmony_ci} __packed; 46288c2ecf20Sopenharmony_ci 46298c2ecf20Sopenharmony_ci#define VXGE_HW_EEPROM_SIZE (0x01 << 11) 46308c2ecf20Sopenharmony_ci 46318c2ecf20Sopenharmony_ci/* Capability lists */ 46328c2ecf20Sopenharmony_ci#define VXGE_HW_PCI_EXP_LNKCAP_LNK_SPEED 0xf /* Supported Link speeds */ 46338c2ecf20Sopenharmony_ci#define VXGE_HW_PCI_EXP_LNKCAP_LNK_WIDTH 0x3f0 /* Supported Link speeds. */ 46348c2ecf20Sopenharmony_ci#define VXGE_HW_PCI_EXP_LNKCAP_LW_RES 0x0 /* Reserved. */ 46358c2ecf20Sopenharmony_ci 46368c2ecf20Sopenharmony_ci#endif 4637