18e93258fSBjoern A. Zeeb /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 28e93258fSBjoern A. Zeeb /* Copyright(c) 2019-2020 Realtek Corporation 38e93258fSBjoern A. Zeeb */ 48e93258fSBjoern A. Zeeb 58e93258fSBjoern A. Zeeb #ifndef __RTW89_REG_H__ 68e93258fSBjoern A. Zeeb #define __RTW89_REG_H__ 78e93258fSBjoern A. Zeeb 88e93258fSBjoern A. Zeeb #define R_AX_SYS_WL_EFUSE_CTRL 0x000A 98e93258fSBjoern A. Zeeb #define B_AX_AUTOLOAD_SUS BIT(5) 108e93258fSBjoern A. Zeeb 118e93258fSBjoern A. Zeeb #define R_AX_SYS_ISO_CTRL 0x0000 128e93258fSBjoern A. Zeeb #define B_AX_PWC_EV2EF_MASK GENMASK(15, 14) 138e93258fSBjoern A. Zeeb #define B_AX_PWC_EV2EF_B15 BIT(15) 148e93258fSBjoern A. Zeeb #define B_AX_PWC_EV2EF_B14 BIT(14) 158e93258fSBjoern A. Zeeb #define B_AX_ISO_EB2CORE BIT(8) 168e93258fSBjoern A. Zeeb 178e93258fSBjoern A. Zeeb #define R_AX_SYS_FUNC_EN 0x0002 188e93258fSBjoern A. Zeeb #define B_AX_FEN_BB_GLB_RSTN BIT(1) 198e93258fSBjoern A. Zeeb #define B_AX_FEN_BBRSTB BIT(0) 208e93258fSBjoern A. Zeeb 218e93258fSBjoern A. Zeeb #define R_AX_SYS_PW_CTRL 0x0004 22e2340276SBjoern A. Zeeb #define B_AX_SOP_ASWRM BIT(31) 23e2340276SBjoern A. Zeeb #define B_AX_SOP_PWMM_DSWR BIT(29) 248e93258fSBjoern A. Zeeb #define B_AX_XTAL_OFF_A_DIE BIT(22) 258e93258fSBjoern A. Zeeb #define B_AX_DIS_WLBT_PDNSUSEN_SOPC BIT(18) 268e93258fSBjoern A. Zeeb #define B_AX_RDY_SYSPWR BIT(17) 278e93258fSBjoern A. Zeeb #define B_AX_EN_WLON BIT(16) 288e93258fSBjoern A. Zeeb #define B_AX_APDM_HPDN BIT(15) 298e93258fSBjoern A. Zeeb #define B_AX_PSUS_OFF_CAPC_EN BIT(14) 308e93258fSBjoern A. Zeeb #define B_AX_AFSM_PCIE_SUS_EN BIT(12) 318e93258fSBjoern A. Zeeb #define B_AX_AFSM_WLSUS_EN BIT(11) 328e93258fSBjoern A. Zeeb #define B_AX_APFM_SWLPS BIT(10) 338e93258fSBjoern A. Zeeb #define B_AX_APFM_OFFMAC BIT(9) 348e93258fSBjoern A. Zeeb #define B_AX_APFN_ONMAC BIT(8) 358e93258fSBjoern A. Zeeb 368e93258fSBjoern A. Zeeb #define R_AX_SYS_CLK_CTRL 0x0008 378e93258fSBjoern A. Zeeb #define B_AX_CPU_CLK_EN BIT(14) 388e93258fSBjoern A. Zeeb 39e2340276SBjoern A. Zeeb #define R_AX_SYS_SWR_CTRL1 0x0010 40e2340276SBjoern A. Zeeb #define B_AX_SYM_CTRL_SPS_PWMFREQ BIT(10) 41e2340276SBjoern A. Zeeb 428e93258fSBjoern A. Zeeb #define R_AX_SYS_ADIE_PAD_PWR_CTRL 0x0018 438e93258fSBjoern A. Zeeb #define B_AX_SYM_PADPDN_WL_PTA_1P3 BIT(6) 448e93258fSBjoern A. Zeeb #define B_AX_SYM_PADPDN_WL_RFC_1P3 BIT(5) 458e93258fSBjoern A. Zeeb 468e93258fSBjoern A. Zeeb #define R_AX_RSV_CTRL 0x001C 478e93258fSBjoern A. Zeeb #define B_AX_R_DIS_PRST BIT(6) 488e93258fSBjoern A. Zeeb #define B_AX_WLOCK_1C_BIT6 BIT(5) 498e93258fSBjoern A. Zeeb 50e2340276SBjoern A. Zeeb #define R_AX_AFE_LDO_CTRL 0x0020 51e2340276SBjoern A. Zeeb #define B_AX_AON_OFF_PC_EN BIT(23) 52e2340276SBjoern A. Zeeb 538e93258fSBjoern A. Zeeb #define R_AX_EFUSE_CTRL_1 0x0038 548e93258fSBjoern A. Zeeb #define B_AX_EF_PGPD_MASK GENMASK(30, 28) 558e93258fSBjoern A. Zeeb #define B_AX_EF_RDT BIT(27) 568e93258fSBjoern A. Zeeb #define B_AX_EF_VDDQST_MASK GENMASK(26, 24) 578e93258fSBjoern A. Zeeb #define B_AX_EF_PGTS_MASK GENMASK(23, 20) 588e93258fSBjoern A. Zeeb #define B_AX_EF_PD_DIS BIT(11) 598e93258fSBjoern A. Zeeb #define B_AX_EF_POR BIT(10) 608e93258fSBjoern A. Zeeb #define B_AX_EF_CELL_SEL_MASK GENMASK(9, 8) 618e93258fSBjoern A. Zeeb 628e93258fSBjoern A. Zeeb #define R_AX_EFUSE_CTRL 0x0030 638e93258fSBjoern A. Zeeb #define B_AX_EF_MODE_SEL_MASK GENMASK(31, 30) 648e93258fSBjoern A. Zeeb #define B_AX_EF_RDY BIT(29) 658e93258fSBjoern A. Zeeb #define B_AX_EF_COMP_RESULT BIT(28) 668e93258fSBjoern A. Zeeb #define B_AX_EF_ADDR_MASK GENMASK(26, 16) 678e93258fSBjoern A. Zeeb #define B_AX_EF_DATA_MASK GENMASK(15, 0) 688e93258fSBjoern A. Zeeb 698e93258fSBjoern A. Zeeb #define R_AX_EFUSE_CTRL_1_V1 0x0038 708e93258fSBjoern A. Zeeb #define B_AX_EF_ENT BIT(31) 718e93258fSBjoern A. Zeeb #define B_AX_EF_BURST BIT(19) 728e93258fSBjoern A. Zeeb #define B_AX_EF_TEST_SEL_MASK GENMASK(18, 16) 738e93258fSBjoern A. Zeeb #define B_AX_EF_TROW_EN BIT(15) 748e93258fSBjoern A. Zeeb #define B_AX_EF_ERR_FLAG BIT(14) 758e93258fSBjoern A. Zeeb #define B_AX_EF_DSB_EN BIT(11) 768e93258fSBjoern A. Zeeb #define B_AX_PCIE_CALIB_EN_V1 BIT(12) 778e93258fSBjoern A. Zeeb #define B_AX_WDT_WAKE_PCIE_EN BIT(10) 788e93258fSBjoern A. Zeeb #define B_AX_WDT_WAKE_USB_EN BIT(9) 798e93258fSBjoern A. Zeeb 808e93258fSBjoern A. Zeeb #define R_AX_GPIO_MUXCFG 0x0040 818e93258fSBjoern A. Zeeb #define B_AX_BOOT_MODE BIT(19) 828e93258fSBjoern A. Zeeb #define B_AX_WL_EECS_EXT_32K_SEL BIT(18) 838e93258fSBjoern A. Zeeb #define B_AX_WL_SEC_BONDING_OPT_STS BIT(17) 848e93258fSBjoern A. Zeeb #define B_AX_SECSIC_SEL BIT(16) 858e93258fSBjoern A. Zeeb #define B_AX_ENHTP BIT(14) 868e93258fSBjoern A. Zeeb #define B_AX_BT_AOD_GPIO3 BIT(13) 878e93258fSBjoern A. Zeeb #define B_AX_ENSIC BIT(12) 888e93258fSBjoern A. Zeeb #define B_AX_SIC_SWRST BIT(11) 898e93258fSBjoern A. Zeeb #define B_AX_PO_WIFI_PTA_PINS BIT(10) 908e93258fSBjoern A. Zeeb #define B_AX_PO_BT_PTA_PINS BIT(9) 918e93258fSBjoern A. Zeeb #define B_AX_ENUARTTX BIT(8) 928e93258fSBjoern A. Zeeb #define B_AX_BTMODE_MASK GENMASK(7, 6) 938e93258fSBjoern A. Zeeb #define MAC_AX_BT_MODE_0_3 0 948e93258fSBjoern A. Zeeb #define MAC_AX_BT_MODE_2 2 958e93258fSBjoern A. Zeeb #define MAC_AX_RTK_MODE 0 968e93258fSBjoern A. Zeeb #define MAC_AX_CSR_MODE 1 978e93258fSBjoern A. Zeeb #define B_AX_ENBT BIT(5) 988e93258fSBjoern A. Zeeb #define B_AX_EROM_EN BIT(4) 998e93258fSBjoern A. Zeeb #define B_AX_ENUARTRX BIT(2) 1008e93258fSBjoern A. Zeeb #define B_AX_GPIOSEL_MASK GENMASK(1, 0) 1018e93258fSBjoern A. Zeeb 1028e93258fSBjoern A. Zeeb #define R_AX_DBG_CTRL 0x0058 1038e93258fSBjoern A. Zeeb #define B_AX_DBG_SEL1_4BIT GENMASK(31, 30) 1048e93258fSBjoern A. Zeeb #define B_AX_DBG_SEL1_16BIT BIT(27) 1058e93258fSBjoern A. Zeeb #define B_AX_DBG_SEL1 GENMASK(23, 16) 1068e93258fSBjoern A. Zeeb #define B_AX_DBG_SEL0_4BIT GENMASK(15, 14) 1078e93258fSBjoern A. Zeeb #define B_AX_DBG_SEL0_16BIT BIT(11) 1088e93258fSBjoern A. Zeeb #define B_AX_DBG_SEL0 GENMASK(7, 0) 1098e93258fSBjoern A. Zeeb 1108e93258fSBjoern A. Zeeb #define R_AX_SYS_SDIO_CTRL 0x0070 1118e93258fSBjoern A. Zeeb #define B_AX_PCIE_DIS_L2_CTRL_LDO_HCI BIT(15) 1128e93258fSBjoern A. Zeeb #define B_AX_PCIE_DIS_WLSUS_AFT_PDN BIT(14) 1138e93258fSBjoern A. Zeeb #define B_AX_PCIE_FORCE_PWR_NGAT BIT(13) 1148e93258fSBjoern A. Zeeb #define B_AX_PCIE_CALIB_EN_V1 BIT(12) 1158e93258fSBjoern A. Zeeb #define B_AX_PCIE_AUXCLK_GATE BIT(11) 1168e93258fSBjoern A. Zeeb #define B_AX_LTE_MUX_CTRL_PATH BIT(26) 1178e93258fSBjoern A. Zeeb 1188e93258fSBjoern A. Zeeb #define R_AX_HCI_OPT_CTRL 0x0074 119*6d67aabdSBjoern A. Zeeb #define BIT_WAKE_CTRL_V1 BIT(23) 1208e93258fSBjoern A. Zeeb #define BIT_WAKE_CTRL BIT(5) 1218e93258fSBjoern A. Zeeb 1228e93258fSBjoern A. Zeeb #define R_AX_HCI_BG_CTRL 0x0078 1238e93258fSBjoern A. Zeeb #define B_AX_IBX_EN_VALUE BIT(15) 1248e93258fSBjoern A. Zeeb #define B_AX_IB_EN_VALUE BIT(14) 1258e93258fSBjoern A. Zeeb #define B_AX_FORCED_IB_EN BIT(4) 1268e93258fSBjoern A. Zeeb #define B_AX_EN_REGBG BIT(3) 1278e93258fSBjoern A. Zeeb #define B_AX_R_AX_BG_LPF BIT(2) 1288e93258fSBjoern A. Zeeb #define B_AX_R_AX_BG GENMASK(1, 0) 1298e93258fSBjoern A. Zeeb 130e2340276SBjoern A. Zeeb #define R_AX_HCI_LDO_CTRL 0x007A 131e2340276SBjoern A. Zeeb #define B_AX_R_AX_VADJ_MASK GENMASK(3, 0) 132e2340276SBjoern A. Zeeb 1338e93258fSBjoern A. Zeeb #define R_AX_PLATFORM_ENABLE 0x0088 1348e93258fSBjoern A. Zeeb #define B_AX_AXIDMA_EN BIT(3) 135e2340276SBjoern A. Zeeb #define B_AX_APB_WRAP_EN BIT(2) 1368e93258fSBjoern A. Zeeb #define B_AX_WCPU_EN BIT(1) 1378e93258fSBjoern A. Zeeb #define B_AX_PLATFORM_EN BIT(0) 1388e93258fSBjoern A. Zeeb 1398e93258fSBjoern A. Zeeb #define R_AX_WLLPS_CTRL 0x0090 140e2340276SBjoern A. Zeeb #define B_AX_LPSOP_ASWRM BIT(17) 141e2340276SBjoern A. Zeeb #define B_AX_LPSOP_DSWRM BIT(9) 1428e93258fSBjoern A. Zeeb #define B_AX_DIS_WLBT_LPSEN_LOPC BIT(1) 143e2340276SBjoern A. Zeeb #define SW_LPS_OPTION 0x0001A0B2 1448e93258fSBjoern A. Zeeb 1458e93258fSBjoern A. Zeeb #define R_AX_SCOREBOARD 0x00AC 1468e93258fSBjoern A. Zeeb #define B_AX_TOGGLE BIT(31) 1478e93258fSBjoern A. Zeeb #define B_MAC_AX_SB_FW_MASK GENMASK(30, 24) 1488e93258fSBjoern A. Zeeb #define B_MAC_AX_SB_DRV_MASK GENMASK(23, 0) 1498e93258fSBjoern A. Zeeb #define B_MAC_AX_BTGS1_NOTIFY BIT(0) 1508e93258fSBjoern A. Zeeb #define MAC_AX_NOTIFY_TP_MAJOR 0x81 1518e93258fSBjoern A. Zeeb #define MAC_AX_NOTIFY_PWR_MAJOR 0x80 1528e93258fSBjoern A. Zeeb 1538e93258fSBjoern A. Zeeb #define R_AX_DBG_PORT_SEL 0x00C0 1548e93258fSBjoern A. Zeeb #define B_AX_DEBUG_ST_MASK GENMASK(31, 0) 1558e93258fSBjoern A. Zeeb 1568e93258fSBjoern A. Zeeb #define R_AX_PMC_DBG_CTRL2 0x00CC 1578e93258fSBjoern A. Zeeb #define B_AX_SYSON_DIS_PMCR_AX_WRMSK BIT(2) 1588e93258fSBjoern A. Zeeb 1598e93258fSBjoern A. Zeeb #define R_AX_PCIE_MIO_INTF 0x00E4 1608e93258fSBjoern A. Zeeb #define B_AX_PCIE_MIO_ADDR_PAGE_V1_MASK GENMASK(20, 16) 1618e93258fSBjoern A. Zeeb #define B_AX_PCIE_MIO_BYIOREG BIT(13) 1628e93258fSBjoern A. Zeeb #define B_AX_PCIE_MIO_RE BIT(12) 1638e93258fSBjoern A. Zeeb #define B_AX_PCIE_MIO_WE_MASK GENMASK(11, 8) 1648e93258fSBjoern A. Zeeb #define MIO_WRITE_BYTE_ALL 0xF 1658e93258fSBjoern A. Zeeb #define B_AX_PCIE_MIO_ADDR_MASK GENMASK(7, 0) 1668e93258fSBjoern A. Zeeb #define MIO_ADDR_PAGE_MASK GENMASK(12, 8) 1678e93258fSBjoern A. Zeeb 1688e93258fSBjoern A. Zeeb #define R_AX_PCIE_MIO_INTD 0x00E8 1698e93258fSBjoern A. Zeeb #define B_AX_PCIE_MIO_DATA_MASK GENMASK(31, 0) 1708e93258fSBjoern A. Zeeb 1718e93258fSBjoern A. Zeeb #define R_AX_SYS_CFG1 0x00F0 1728e93258fSBjoern A. Zeeb #define B_AX_CHIP_VER_MASK GENMASK(15, 12) 1738e93258fSBjoern A. Zeeb 1748e93258fSBjoern A. Zeeb #define R_AX_SYS_STATUS1 0x00F4 1758e93258fSBjoern A. Zeeb #define B_AX_SEL_0XC0_MASK GENMASK(17, 16) 1768e93258fSBjoern A. Zeeb #define B_AX_PAD_HCI_SEL_V2_MASK GENMASK(5, 3) 1778e93258fSBjoern A. Zeeb #define MAC_AX_HCI_SEL_SDIO_UART 0 1788e93258fSBjoern A. Zeeb #define MAC_AX_HCI_SEL_MULTI_USB 1 1798e93258fSBjoern A. Zeeb #define MAC_AX_HCI_SEL_PCIE_UART 2 1808e93258fSBjoern A. Zeeb #define MAC_AX_HCI_SEL_PCIE_USB 3 1818e93258fSBjoern A. Zeeb #define MAC_AX_HCI_SEL_MULTI_SDIO 4 1828e93258fSBjoern A. Zeeb 1838e93258fSBjoern A. Zeeb #define R_AX_HALT_H2C_CTRL 0x0160 1848e93258fSBjoern A. Zeeb #define R_AX_HALT_H2C 0x0168 1858e93258fSBjoern A. Zeeb #define B_AX_HALT_H2C_TRIGGER BIT(0) 1868e93258fSBjoern A. Zeeb #define R_AX_HALT_C2H_CTRL 0x0164 1878e93258fSBjoern A. Zeeb #define R_AX_HALT_C2H 0x016C 1888e93258fSBjoern A. Zeeb 1898e93258fSBjoern A. Zeeb #define R_AX_WCPU_FW_CTRL 0x01E0 1908e93258fSBjoern A. Zeeb #define B_AX_WCPU_FWDL_STS_MASK GENMASK(7, 5) 1918e93258fSBjoern A. Zeeb #define B_AX_FWDL_PATH_RDY BIT(2) 1928e93258fSBjoern A. Zeeb #define B_AX_H2C_PATH_RDY BIT(1) 1938e93258fSBjoern A. Zeeb #define B_AX_WCPU_FWDL_EN BIT(0) 1948e93258fSBjoern A. Zeeb 1958e93258fSBjoern A. Zeeb #define R_AX_RPWM 0x01E4 1968e93258fSBjoern A. Zeeb #define R_AX_PCIE_HRPWM 0x10C0 1978e93258fSBjoern A. Zeeb #define PS_RPWM_TOGGLE BIT(15) 1988e93258fSBjoern A. Zeeb #define PS_RPWM_ACK BIT(14) 1998e93258fSBjoern A. Zeeb #define PS_RPWM_SEQ_NUM GENMASK(13, 12) 2008e93258fSBjoern A. Zeeb #define PS_RPWM_NOTIFY_WAKE BIT(8) 2018e93258fSBjoern A. Zeeb #define PS_RPWM_STATE 0x7 2028e93258fSBjoern A. Zeeb #define RPWM_SEQ_NUM_MAX 3 2038e93258fSBjoern A. Zeeb #define PS_CPWM_SEQ_NUM GENMASK(13, 12) 2048e93258fSBjoern A. Zeeb #define PS_CPWM_RSP_SEQ_NUM GENMASK(9, 8) 2058e93258fSBjoern A. Zeeb #define PS_CPWM_STATE GENMASK(2, 0) 2068e93258fSBjoern A. Zeeb #define CPWM_SEQ_NUM_MAX 3 2078e93258fSBjoern A. Zeeb 2088e93258fSBjoern A. Zeeb #define R_AX_BOOT_REASON 0x01E6 2098e93258fSBjoern A. Zeeb #define B_AX_BOOT_REASON_MASK GENMASK(2, 0) 2108e93258fSBjoern A. Zeeb 2118e93258fSBjoern A. Zeeb #define R_AX_LDM 0x01E8 2128e93258fSBjoern A. Zeeb #define B_AX_EN_32K BIT(31) 2138e93258fSBjoern A. Zeeb 2148e93258fSBjoern A. Zeeb #define R_AX_UDM0 0x01F0 2158e93258fSBjoern A. Zeeb #define R_AX_UDM1 0x01F4 216e2340276SBjoern A. Zeeb #define B_AX_UDM1_MASK GENMASK(31, 16) 217e2340276SBjoern A. Zeeb #define B_AX_UDM1_HALMAC_C2H_ENQ_CNT_MASK GENMASK(15, 12) 218e2340276SBjoern A. Zeeb #define B_AX_UDM1_HALMAC_H2C_DEQ_CNT_MASK GENMASK(11, 8) 219e2340276SBjoern A. Zeeb #define B_AX_UDM1_WCPU_C2H_ENQ_CNT_MASK GENMASK(7, 4) 220e2340276SBjoern A. Zeeb #define B_AX_UDM1_WCPU_H2C_DEQ_CNT_MASK GENMASK(3, 0) 2218e93258fSBjoern A. Zeeb #define R_AX_UDM2 0x01F8 2228e93258fSBjoern A. Zeeb #define R_AX_UDM3 0x01FC 2238e93258fSBjoern A. Zeeb 224e2340276SBjoern A. Zeeb #define R_AX_SPS_DIG_ON_CTRL0 0x0200 225e2340276SBjoern A. Zeeb #define B_AX_VREFPFM_L_MASK GENMASK(25, 22) 226e2340276SBjoern A. Zeeb #define B_AX_REG_ZCDC_H_MASK GENMASK(18, 17) 227e2340276SBjoern A. Zeeb #define B_AX_OCP_L1_MASK GENMASK(15, 13) 228e2340276SBjoern A. Zeeb #define B_AX_VOL_L1_MASK GENMASK(3, 0) 229e2340276SBjoern A. Zeeb 230e2340276SBjoern A. Zeeb #define R_AX_SPSLDO_ON_CTRL1 0x0204 231e2340276SBjoern A. Zeeb #define B_AX_FPWMDELAY BIT(3) 232e2340276SBjoern A. Zeeb 2338e93258fSBjoern A. Zeeb #define R_AX_LDO_AON_CTRL0 0x0218 2348e93258fSBjoern A. Zeeb #define B_AX_PD_REGU_L BIT(16) 2358e93258fSBjoern A. Zeeb 236e2340276SBjoern A. Zeeb #define R_AX_SPSANA_ON_CTRL1 0x0224 237e2340276SBjoern A. Zeeb 238*6d67aabdSBjoern A. Zeeb #define R_AX_SPS_ANA_ON_CTRL2 0x0228 239*6d67aabdSBjoern A. Zeeb #define RTL8852B_RFE_05_SPS_ANA 0x4A82 240*6d67aabdSBjoern A. Zeeb 2418e93258fSBjoern A. Zeeb #define R_AX_WLAN_XTAL_SI_CTRL 0x0270 2428e93258fSBjoern A. Zeeb #define B_AX_WL_XTAL_SI_CMD_POLL BIT(31) 2438e93258fSBjoern A. Zeeb #define B_AX_BT_XTAL_SI_ERR_FLAG BIT(30) 2448e93258fSBjoern A. Zeeb #define B_AX_WL_XTAL_GNT BIT(29) 2458e93258fSBjoern A. Zeeb #define B_AX_BT_XTAL_GNT BIT(28) 2468e93258fSBjoern A. Zeeb #define B_AX_WL_XTAL_SI_MODE_MASK GENMASK(25, 24) 2478e93258fSBjoern A. Zeeb #define XTAL_SI_NORMAL_WRITE 0x00 2488e93258fSBjoern A. Zeeb #define XTAL_SI_NORMAL_READ 0x01 2498e93258fSBjoern A. Zeeb #define B_AX_WL_XTAL_SI_BITMASK_MASK GENMASK(23, 16) 2508e93258fSBjoern A. Zeeb #define B_AX_WL_XTAL_SI_DATA_MASK GENMASK(15, 8) 2518e93258fSBjoern A. Zeeb #define B_AX_WL_XTAL_SI_ADDR_MASK GENMASK(7, 0) 2528e93258fSBjoern A. Zeeb 253e2340276SBjoern A. Zeeb #define R_AX_WLAN_XTAL_SI_CONFIG 0x0274 254e2340276SBjoern A. Zeeb #define B_AX_XTAL_SI_ADDR_NOT_CHK BIT(0) 255e2340276SBjoern A. Zeeb 2568e93258fSBjoern A. Zeeb #define R_AX_XTAL_ON_CTRL0 0x0280 2578e93258fSBjoern A. Zeeb #define B_AX_XTAL_SC_LPS BIT(31) 2588e93258fSBjoern A. Zeeb #define B_AX_XTAL_SC_XO_MASK GENMASK(23, 17) 2598e93258fSBjoern A. Zeeb #define B_AX_XTAL_SC_XI_MASK GENMASK(16, 10) 2608e93258fSBjoern A. Zeeb #define B_AX_XTAL_SC_MASK GENMASK(6, 0) 2618e93258fSBjoern A. Zeeb 262e2340276SBjoern A. Zeeb #define R_AX_XTAL_ON_CTRL3 0x028C 263e2340276SBjoern A. Zeeb #define B_AX_XTAL_SC_INIT_A_BLOCK_MASK GENMASK(30, 24) 264e2340276SBjoern A. Zeeb #define B_AX_XTAL_SC_LPS_A_BLOCK_MASK GENMASK(22, 16) 265e2340276SBjoern A. Zeeb #define B_AX_XTAL_SC_XO_A_BLOCK_MASK GENMASK(14, 8) 266e2340276SBjoern A. Zeeb #define B_AX_XTAL_SC_XI_A_BLOCK_MASK GENMASK(6, 0) 267e2340276SBjoern A. Zeeb 2688e93258fSBjoern A. Zeeb #define R_AX_GPIO0_7_FUNC_SEL 0x02D0 2698e93258fSBjoern A. Zeeb 270e2340276SBjoern A. Zeeb #define R_AX_EECS_EESK_FUNC_SEL 0x02D8 271e2340276SBjoern A. Zeeb #define B_AX_PINMUX_EESK_FUNC_SEL_MASK GENMASK(7, 4) 272e2340276SBjoern A. Zeeb 273e2340276SBjoern A. Zeeb #define R_AX_GPIO16_23_FUNC_SEL 0x02D8 274e2340276SBjoern A. Zeeb #define B_AX_PINMUX_GPIO17_FUNC_SEL_MASK GENMASK(7, 4) 275e2340276SBjoern A. Zeeb #define B_AX_PINMUX_GPIO16_FUNC_SEL_MASK GENMASK(3, 0) 276e2340276SBjoern A. Zeeb 277e2340276SBjoern A. Zeeb #define R_AX_LED1_FUNC_SEL 0x02DC 278e2340276SBjoern A. Zeeb #define B_AX_PINMUX_EESK_FUNC_SEL_V1_MASK GENMASK(27, 24) 279e2340276SBjoern A. Zeeb #define PINMUX_EESK_FUNC_SEL_BT_LOG 0x1 280e2340276SBjoern A. Zeeb 2818e93258fSBjoern A. Zeeb #define R_AX_GPIO0_15_EECS_EESK_LED1_PULL_LOW_EN 0x02E4 2828e93258fSBjoern A. Zeeb #define B_AX_LED1_PULL_LOW_EN BIT(18) 2838e93258fSBjoern A. Zeeb #define B_AX_EESK_PULL_LOW_EN BIT(17) 2848e93258fSBjoern A. Zeeb #define B_AX_EECS_PULL_LOW_EN BIT(16) 2858e93258fSBjoern A. Zeeb 286e2340276SBjoern A. Zeeb #define R_AX_GPIO0_16_EECS_EESK_LED1_PULL_LOW_EN 0x02E4 287e2340276SBjoern A. Zeeb #define B_AX_GPIO16_PULL_LOW_EN_V1 BIT(19) 288e2340276SBjoern A. Zeeb #define B_AX_GPIO10_PULL_LOW_EN BIT(10) 289e2340276SBjoern A. Zeeb 2908e93258fSBjoern A. Zeeb #define R_AX_WLRF_CTRL 0x02F0 2918e93258fSBjoern A. Zeeb #define B_AX_AFC_AFEDIG BIT(17) 2928e93258fSBjoern A. Zeeb #define B_AX_WLRF1_CTRL_7 BIT(15) 2938e93258fSBjoern A. Zeeb #define B_AX_WLRF1_CTRL_1 BIT(9) 2948e93258fSBjoern A. Zeeb #define B_AX_WLRF_CTRL_7 BIT(7) 2958e93258fSBjoern A. Zeeb #define B_AX_WLRF_CTRL_1 BIT(1) 2968e93258fSBjoern A. Zeeb 2978e93258fSBjoern A. Zeeb #define R_AX_IC_PWR_STATE 0x03F0 2988e93258fSBjoern A. Zeeb #define B_AX_WHOLE_SYS_PWR_STE_MASK GENMASK(25, 16) 2998e93258fSBjoern A. Zeeb #define B_AX_WLMAC_PWR_STE_MASK GENMASK(9, 8) 3008e93258fSBjoern A. Zeeb #define B_AX_UART_HCISYS_PWR_STE_MASK GENMASK(7, 6) 3018e93258fSBjoern A. Zeeb #define B_AX_SDIO_HCISYS_PWR_STE_MASK GENMASK(5, 4) 3028e93258fSBjoern A. Zeeb #define B_AX_USB_HCISYS_PWR_STE_MASK GENMASK(3, 2) 3038e93258fSBjoern A. Zeeb #define B_AX_PCIE_HCISYS_PWR_STE_MASK GENMASK(1, 0) 3048e93258fSBjoern A. Zeeb 305e2340276SBjoern A. Zeeb #define R_AX_SPS_DIG_OFF_CTRL0 0x0400 306e2340276SBjoern A. Zeeb #define B_AX_C3_L1_MASK GENMASK(5, 4) 307e2340276SBjoern A. Zeeb #define B_AX_C1_L1_MASK GENMASK(1, 0) 308e2340276SBjoern A. Zeeb 3098e93258fSBjoern A. Zeeb #define R_AX_AFE_OFF_CTRL1 0x0444 3108e93258fSBjoern A. Zeeb #define B_AX_S1_LDO_VSEL_F_MASK GENMASK(25, 24) 3118e93258fSBjoern A. Zeeb #define B_AX_S1_LDO2PWRCUT_F BIT(23) 3128e93258fSBjoern A. Zeeb #define B_AX_S0_LDO_VSEL_F_MASK GENMASK(22, 21) 3138e93258fSBjoern A. Zeeb 314*6d67aabdSBjoern A. Zeeb #define R_AX_DBG_WOW 0x0504 315*6d67aabdSBjoern A. Zeeb #define B_AX_DBG_WOW_CPU_IO_RX_EN BIT(8) 316*6d67aabdSBjoern A. Zeeb 317e2340276SBjoern A. Zeeb #define R_AX_SEC_CTRL 0x0C00 318e2340276SBjoern A. Zeeb #define B_AX_SEC_IDMEM_SIZE_CONFIG_MASK GENMASK(17, 16) 319e2340276SBjoern A. Zeeb 3208e93258fSBjoern A. Zeeb #define R_AX_FILTER_MODEL_ADDR 0x0C04 3218e93258fSBjoern A. Zeeb 3228e93258fSBjoern A. Zeeb #define R_AX_HAXI_INIT_CFG1 0x1000 3238e93258fSBjoern A. Zeeb #define B_AX_WD_ITVL_IDLE_V1_MASK GENMASK(31, 28) 3248e93258fSBjoern A. Zeeb #define B_AX_WD_ITVL_ACT_V1_MASK GENMASK(27, 24) 3258e93258fSBjoern A. Zeeb #define B_AX_DMA_MODE_MASK GENMASK(19, 18) 3268e93258fSBjoern A. Zeeb #define DMA_MOD_PCIE_1B 0x0 3278e93258fSBjoern A. Zeeb #define DMA_MOD_PCIE_4B 0x1 3288e93258fSBjoern A. Zeeb #define DMA_MOD_USB 0x2 3298e93258fSBjoern A. Zeeb #define DMA_MOD_SDIO 0x3 3308e93258fSBjoern A. Zeeb #define B_AX_STOP_AXI_MST BIT(17) 3318e93258fSBjoern A. Zeeb #define B_AX_HAXI_RST_KEEP_REG BIT(16) 3328e93258fSBjoern A. Zeeb #define B_AX_RXHCI_EN_V1 BIT(15) 3338e93258fSBjoern A. Zeeb #define B_AX_RXBD_MODE_V1 BIT(14) 3348e93258fSBjoern A. Zeeb #define B_AX_HAXI_MAX_RXDMA_MASK GENMASK(9, 8) 3358e93258fSBjoern A. Zeeb #define B_AX_TXHCI_EN_V1 BIT(7) 3368e93258fSBjoern A. Zeeb #define B_AX_FLUSH_AXI_MST BIT(4) 3378e93258fSBjoern A. Zeeb #define B_AX_RST_BDRAM BIT(3) 3388e93258fSBjoern A. Zeeb #define B_AX_HAXI_MAX_TXDMA_MASK GENMASK(1, 0) 3398e93258fSBjoern A. Zeeb 3408e93258fSBjoern A. Zeeb #define R_AX_HAXI_DMA_STOP1 0x1010 3418e93258fSBjoern A. Zeeb #define B_AX_STOP_WPDMA BIT(19) 3428e93258fSBjoern A. Zeeb #define B_AX_STOP_CH12 BIT(18) 3438e93258fSBjoern A. Zeeb #define B_AX_STOP_CH9 BIT(17) 3448e93258fSBjoern A. Zeeb #define B_AX_STOP_CH8 BIT(16) 3458e93258fSBjoern A. Zeeb #define B_AX_STOP_ACH7 BIT(15) 3468e93258fSBjoern A. Zeeb #define B_AX_STOP_ACH6 BIT(14) 3478e93258fSBjoern A. Zeeb #define B_AX_STOP_ACH5 BIT(13) 3488e93258fSBjoern A. Zeeb #define B_AX_STOP_ACH4 BIT(12) 3498e93258fSBjoern A. Zeeb #define B_AX_STOP_ACH3 BIT(11) 3508e93258fSBjoern A. Zeeb #define B_AX_STOP_ACH2 BIT(10) 3518e93258fSBjoern A. Zeeb #define B_AX_STOP_ACH1 BIT(9) 3528e93258fSBjoern A. Zeeb #define B_AX_STOP_ACH0 BIT(8) 3538e93258fSBjoern A. Zeeb 3548e93258fSBjoern A. Zeeb #define R_AX_HAXI_DMA_BUSY1 0x101C 3558e93258fSBjoern A. Zeeb #define B_AX_HAXIIO_BUSY BIT(20) 3568e93258fSBjoern A. Zeeb #define B_AX_WPDMA_BUSY BIT(19) 3578e93258fSBjoern A. Zeeb #define B_AX_CH12_BUSY BIT(18) 3588e93258fSBjoern A. Zeeb #define B_AX_CH9_BUSY BIT(17) 3598e93258fSBjoern A. Zeeb #define B_AX_CH8_BUSY BIT(16) 3608e93258fSBjoern A. Zeeb #define B_AX_ACH7_BUSY BIT(15) 3618e93258fSBjoern A. Zeeb #define B_AX_ACH6_BUSY BIT(14) 3628e93258fSBjoern A. Zeeb #define B_AX_ACH5_BUSY BIT(13) 3638e93258fSBjoern A. Zeeb #define B_AX_ACH4_BUSY BIT(12) 3648e93258fSBjoern A. Zeeb #define B_AX_ACH3_BUSY BIT(11) 3658e93258fSBjoern A. Zeeb #define B_AX_ACH2_BUSY BIT(10) 3668e93258fSBjoern A. Zeeb #define B_AX_ACH1_BUSY BIT(9) 3678e93258fSBjoern A. Zeeb #define B_AX_ACH0_BUSY BIT(8) 3688e93258fSBjoern A. Zeeb 3698e93258fSBjoern A. Zeeb #define R_AX_PCIE_DBG_CTRL 0x11C0 3708e93258fSBjoern A. Zeeb #define B_AX_DBG_DUMMY_MASK GENMASK(23, 16) 371e2340276SBjoern A. Zeeb #define B_AX_PCIE_DBG_SEL_MASK GENMASK(15, 13) 3728e93258fSBjoern A. Zeeb #define B_AX_MRD_TIMEOUT_EN BIT(10) 3738e93258fSBjoern A. Zeeb #define B_AX_ASFF_FULL_NO_STK BIT(1) 3748e93258fSBjoern A. Zeeb #define B_AX_EN_STUCK_DBG BIT(0) 3758e93258fSBjoern A. Zeeb 3768e93258fSBjoern A. Zeeb #define R_AX_HAXI_DMA_STOP2 0x11C0 3778e93258fSBjoern A. Zeeb #define B_AX_STOP_CH11 BIT(1) 3788e93258fSBjoern A. Zeeb #define B_AX_STOP_CH10 BIT(0) 3798e93258fSBjoern A. Zeeb 3808e93258fSBjoern A. Zeeb #define R_AX_HAXI_DMA_BUSY2 0x11C8 3818e93258fSBjoern A. Zeeb #define B_AX_CH11_BUSY BIT(1) 3828e93258fSBjoern A. Zeeb #define B_AX_CH10_BUSY BIT(0) 3838e93258fSBjoern A. Zeeb 3848e93258fSBjoern A. Zeeb #define R_AX_HAXI_DMA_BUSY3 0x1208 3858e93258fSBjoern A. Zeeb #define B_AX_RPQ_BUSY BIT(1) 3868e93258fSBjoern A. Zeeb #define B_AX_RXQ_BUSY BIT(0) 3878e93258fSBjoern A. Zeeb 3888e93258fSBjoern A. Zeeb #define R_AX_LTR_DEC_CTRL 0x1600 3898e93258fSBjoern A. Zeeb #define B_AX_LTR_IDX_DRV_VLD BIT(16) 3908e93258fSBjoern A. Zeeb #define B_AX_LTR_CURR_IDX_DRV_MASK GENMASK(15, 14) 3918e93258fSBjoern A. Zeeb #define B_AX_LTR_IDX_FW_VLD BIT(13) 3928e93258fSBjoern A. Zeeb #define B_AX_LTR_CURR_IDX_FW_MASK GENMASK(12, 11) 3938e93258fSBjoern A. Zeeb #define B_AX_LTR_IDX_HW_VLD BIT(10) 3948e93258fSBjoern A. Zeeb #define B_AX_LTR_CURR_IDX_HW_MASK GENMASK(9, 8) 3958e93258fSBjoern A. Zeeb #define B_AX_LTR_REQ_DRV BIT(7) 3968e93258fSBjoern A. Zeeb #define B_AX_LTR_IDX_DRV_MASK GENMASK(6, 5) 3978e93258fSBjoern A. Zeeb #define PCIE_LTR_IDX_IDLE 3 3988e93258fSBjoern A. Zeeb #define B_AX_LTR_DRV_DEC_EN BIT(4) 3998e93258fSBjoern A. Zeeb #define B_AX_LTR_FW_DEC_EN BIT(3) 4008e93258fSBjoern A. Zeeb #define B_AX_LTR_HW_DEC_EN BIT(2) 4018e93258fSBjoern A. Zeeb #define B_AX_LTR_SPACE_IDX_V1_MASK GENMASK(1, 0) 4028e93258fSBjoern A. Zeeb #define LTR_EN_BITS (B_AX_LTR_HW_DEC_EN | B_AX_LTR_FW_DEC_EN | B_AX_LTR_DRV_DEC_EN) 4038e93258fSBjoern A. Zeeb 4048e93258fSBjoern A. Zeeb #define R_AX_LTR_LATENCY_IDX0 0x1604 4058e93258fSBjoern A. Zeeb #define R_AX_LTR_LATENCY_IDX1 0x1608 4068e93258fSBjoern A. Zeeb #define R_AX_LTR_LATENCY_IDX2 0x160C 4078e93258fSBjoern A. Zeeb #define R_AX_LTR_LATENCY_IDX3 0x1610 4088e93258fSBjoern A. Zeeb 4098e93258fSBjoern A. Zeeb #define R_AX_HCI_FC_CTRL_V1 0x1700 4108e93258fSBjoern A. Zeeb #define R_AX_CH_PAGE_CTRL_V1 0x1704 4118e93258fSBjoern A. Zeeb 4128e93258fSBjoern A. Zeeb #define R_AX_ACH0_PAGE_CTRL_V1 0x1710 4138e93258fSBjoern A. Zeeb #define R_AX_ACH1_PAGE_CTRL_V1 0x1714 4148e93258fSBjoern A. Zeeb #define R_AX_ACH2_PAGE_CTRL_V1 0x1718 4158e93258fSBjoern A. Zeeb #define R_AX_ACH3_PAGE_CTRL_V1 0x171C 4168e93258fSBjoern A. Zeeb #define R_AX_ACH4_PAGE_CTRL_V1 0x1720 4178e93258fSBjoern A. Zeeb #define R_AX_ACH5_PAGE_CTRL_V1 0x1724 4188e93258fSBjoern A. Zeeb #define R_AX_ACH6_PAGE_CTRL_V1 0x1728 4198e93258fSBjoern A. Zeeb #define R_AX_ACH7_PAGE_CTRL_V1 0x172C 4208e93258fSBjoern A. Zeeb #define R_AX_CH8_PAGE_CTRL_V1 0x1730 4218e93258fSBjoern A. Zeeb #define R_AX_CH9_PAGE_CTRL_V1 0x1734 4228e93258fSBjoern A. Zeeb #define R_AX_CH10_PAGE_CTRL_V1 0x1738 4238e93258fSBjoern A. Zeeb #define R_AX_CH11_PAGE_CTRL_V1 0x173C 4248e93258fSBjoern A. Zeeb 4258e93258fSBjoern A. Zeeb #define R_AX_ACH0_PAGE_INFO_V1 0x1750 4268e93258fSBjoern A. Zeeb #define R_AX_ACH1_PAGE_INFO_V1 0x1754 4278e93258fSBjoern A. Zeeb #define R_AX_ACH2_PAGE_INFO_V1 0x1758 4288e93258fSBjoern A. Zeeb #define R_AX_ACH3_PAGE_INFO_V1 0x175C 4298e93258fSBjoern A. Zeeb #define R_AX_ACH4_PAGE_INFO_V1 0x1760 4308e93258fSBjoern A. Zeeb #define R_AX_ACH5_PAGE_INFO_V1 0x1764 4318e93258fSBjoern A. Zeeb #define R_AX_ACH6_PAGE_INFO_V1 0x1768 4328e93258fSBjoern A. Zeeb #define R_AX_ACH7_PAGE_INFO_V1 0x176C 4338e93258fSBjoern A. Zeeb #define R_AX_CH8_PAGE_INFO_V1 0x1770 4348e93258fSBjoern A. Zeeb #define R_AX_CH9_PAGE_INFO_V1 0x1774 4358e93258fSBjoern A. Zeeb #define R_AX_CH10_PAGE_INFO_V1 0x1778 4368e93258fSBjoern A. Zeeb #define R_AX_CH11_PAGE_INFO_V1 0x177C 4378e93258fSBjoern A. Zeeb #define R_AX_CH12_PAGE_INFO_V1 0x1780 4388e93258fSBjoern A. Zeeb 4398e93258fSBjoern A. Zeeb #define R_AX_PUB_PAGE_INFO3_V1 0x178C 4408e93258fSBjoern A. Zeeb #define R_AX_PUB_PAGE_CTRL1_V1 0x1790 4418e93258fSBjoern A. Zeeb #define R_AX_PUB_PAGE_CTRL2_V1 0x1794 4428e93258fSBjoern A. Zeeb #define R_AX_PUB_PAGE_INFO1_V1 0x1798 4438e93258fSBjoern A. Zeeb #define R_AX_PUB_PAGE_INFO2_V1 0x179C 4448e93258fSBjoern A. Zeeb #define R_AX_WP_PAGE_CTRL1_V1 0x17A0 4458e93258fSBjoern A. Zeeb #define R_AX_WP_PAGE_CTRL2_V1 0x17A4 4468e93258fSBjoern A. Zeeb #define R_AX_WP_PAGE_INFO1_V1 0x17A8 4478e93258fSBjoern A. Zeeb 4488e93258fSBjoern A. Zeeb #define R_AX_H2CREG_DATA0_V1 0x7140 4498e93258fSBjoern A. Zeeb #define R_AX_H2CREG_DATA1_V1 0x7144 4508e93258fSBjoern A. Zeeb #define R_AX_H2CREG_DATA2_V1 0x7148 4518e93258fSBjoern A. Zeeb #define R_AX_H2CREG_DATA3_V1 0x714C 4528e93258fSBjoern A. Zeeb #define R_AX_C2HREG_DATA0_V1 0x7150 4538e93258fSBjoern A. Zeeb #define R_AX_C2HREG_DATA1_V1 0x7154 4548e93258fSBjoern A. Zeeb #define R_AX_C2HREG_DATA2_V1 0x7158 4558e93258fSBjoern A. Zeeb #define R_AX_C2HREG_DATA3_V1 0x715C 4568e93258fSBjoern A. Zeeb #define R_AX_H2CREG_CTRL_V1 0x7160 4578e93258fSBjoern A. Zeeb #define R_AX_C2HREG_CTRL_V1 0x7164 4588e93258fSBjoern A. Zeeb 4598e93258fSBjoern A. Zeeb #define R_AX_HCI_FUNC_EN_V1 0x7880 4608e93258fSBjoern A. Zeeb 4618e93258fSBjoern A. Zeeb #define R_AX_PHYREG_SET 0x8040 4628e93258fSBjoern A. Zeeb #define PHYREG_SET_ALL_CYCLE 0x8 463e2340276SBjoern A. Zeeb #define PHYREG_SET_XYN_CYCLE 0xE 4648e93258fSBjoern A. Zeeb 4658e93258fSBjoern A. Zeeb #define R_AX_HD0IMR 0x8110 4668e93258fSBjoern A. Zeeb #define B_AX_WDT_PTFM_INT_EN BIT(5) 4678e93258fSBjoern A. Zeeb #define B_AX_CPWM_INT_EN BIT(2) 4688e93258fSBjoern A. Zeeb #define B_AX_GT3_INT_EN BIT(1) 4698e93258fSBjoern A. Zeeb #define B_AX_C2H_INT_EN BIT(0) 4708e93258fSBjoern A. Zeeb #define R_AX_HD0ISR 0x8114 4718e93258fSBjoern A. Zeeb #define B_AX_C2H_INT BIT(0) 4728e93258fSBjoern A. Zeeb 4738e93258fSBjoern A. Zeeb #define R_AX_H2CREG_DATA0 0x8140 4748e93258fSBjoern A. Zeeb #define R_AX_H2CREG_DATA1 0x8144 4758e93258fSBjoern A. Zeeb #define R_AX_H2CREG_DATA2 0x8148 4768e93258fSBjoern A. Zeeb #define R_AX_H2CREG_DATA3 0x814C 4778e93258fSBjoern A. Zeeb #define R_AX_C2HREG_DATA0 0x8150 4788e93258fSBjoern A. Zeeb #define R_AX_C2HREG_DATA1 0x8154 4798e93258fSBjoern A. Zeeb #define R_AX_C2HREG_DATA2 0x8158 4808e93258fSBjoern A. Zeeb #define R_AX_C2HREG_DATA3 0x815C 4818e93258fSBjoern A. Zeeb #define R_AX_H2CREG_CTRL 0x8160 4828e93258fSBjoern A. Zeeb #define B_AX_H2CREG_TRIGGER BIT(0) 4838e93258fSBjoern A. Zeeb #define R_AX_C2HREG_CTRL 0x8164 4848e93258fSBjoern A. Zeeb #define B_AX_C2HREG_TRIGGER BIT(0) 4858e93258fSBjoern A. Zeeb #define R_AX_CPWM 0x8170 4868e93258fSBjoern A. Zeeb 4878e93258fSBjoern A. Zeeb #define R_AX_HCI_FUNC_EN 0x8380 4888e93258fSBjoern A. Zeeb #define B_AX_HCI_RXDMA_EN BIT(1) 4898e93258fSBjoern A. Zeeb #define B_AX_HCI_TXDMA_EN BIT(0) 4908e93258fSBjoern A. Zeeb 4918e93258fSBjoern A. Zeeb #define R_AX_BOOT_DBG 0x83F0 4928e93258fSBjoern A. Zeeb 4938e93258fSBjoern A. Zeeb #define R_AX_DMAC_FUNC_EN 0x8400 4948e93258fSBjoern A. Zeeb #define B_AX_DMAC_CRPRT BIT(31) 4958e93258fSBjoern A. Zeeb #define B_AX_MAC_FUNC_EN BIT(30) 4968e93258fSBjoern A. Zeeb #define B_AX_DMAC_FUNC_EN BIT(29) 4978e93258fSBjoern A. Zeeb #define B_AX_MPDU_PROC_EN BIT(28) 4988e93258fSBjoern A. Zeeb #define B_AX_WD_RLS_EN BIT(27) 4998e93258fSBjoern A. Zeeb #define B_AX_DLE_WDE_EN BIT(26) 5008e93258fSBjoern A. Zeeb #define B_AX_TXPKT_CTRL_EN BIT(25) 5018e93258fSBjoern A. Zeeb #define B_AX_STA_SCH_EN BIT(24) 5028e93258fSBjoern A. Zeeb #define B_AX_DLE_PLE_EN BIT(23) 5038e93258fSBjoern A. Zeeb #define B_AX_PKT_BUF_EN BIT(22) 5048e93258fSBjoern A. Zeeb #define B_AX_DMAC_TBL_EN BIT(21) 5058e93258fSBjoern A. Zeeb #define B_AX_PKT_IN_EN BIT(20) 5068e93258fSBjoern A. Zeeb #define B_AX_DLE_CPUIO_EN BIT(19) 5078e93258fSBjoern A. Zeeb #define B_AX_DISPATCHER_EN BIT(18) 5088e93258fSBjoern A. Zeeb #define B_AX_BBRPT_EN BIT(17) 5098e93258fSBjoern A. Zeeb #define B_AX_MAC_SEC_EN BIT(16) 510e2340276SBjoern A. Zeeb #define B_AX_DMACREG_GCKEN BIT(15) 5118e93258fSBjoern A. Zeeb #define B_AX_MAC_UN_EN BIT(15) 5128e93258fSBjoern A. Zeeb #define B_AX_H_AXIDMA_EN BIT(14) 5138e93258fSBjoern A. Zeeb 5148e93258fSBjoern A. Zeeb #define R_AX_DMAC_CLK_EN 0x8404 5158e93258fSBjoern A. Zeeb #define B_AX_WD_RLS_CLK_EN BIT(27) 5168e93258fSBjoern A. Zeeb #define B_AX_DLE_WDE_CLK_EN BIT(26) 5178e93258fSBjoern A. Zeeb #define B_AX_TXPKT_CTRL_CLK_EN BIT(25) 5188e93258fSBjoern A. Zeeb #define B_AX_STA_SCH_CLK_EN BIT(24) 5198e93258fSBjoern A. Zeeb #define B_AX_DLE_PLE_CLK_EN BIT(23) 5208e93258fSBjoern A. Zeeb #define B_AX_PKT_IN_CLK_EN BIT(20) 5218e93258fSBjoern A. Zeeb #define B_AX_DLE_CPUIO_CLK_EN BIT(19) 5228e93258fSBjoern A. Zeeb #define B_AX_DISPATCHER_CLK_EN BIT(18) 5238e93258fSBjoern A. Zeeb #define B_AX_BBRPT_CLK_EN BIT(17) 5248e93258fSBjoern A. Zeeb #define B_AX_MAC_SEC_CLK_EN BIT(16) 525e2340276SBjoern A. Zeeb #define B_AX_AXIDMA_CLK_EN BIT(9) 5268e93258fSBjoern A. Zeeb 5278e93258fSBjoern A. Zeeb #define PCI_LTR_IDLE_TIMER_1US 0 5288e93258fSBjoern A. Zeeb #define PCI_LTR_IDLE_TIMER_10US 1 5298e93258fSBjoern A. Zeeb #define PCI_LTR_IDLE_TIMER_100US 2 5308e93258fSBjoern A. Zeeb #define PCI_LTR_IDLE_TIMER_200US 3 5318e93258fSBjoern A. Zeeb #define PCI_LTR_IDLE_TIMER_400US 4 5328e93258fSBjoern A. Zeeb #define PCI_LTR_IDLE_TIMER_800US 5 5338e93258fSBjoern A. Zeeb #define PCI_LTR_IDLE_TIMER_1_6MS 6 5348e93258fSBjoern A. Zeeb #define PCI_LTR_IDLE_TIMER_3_2MS 7 5358e93258fSBjoern A. Zeeb #define PCI_LTR_IDLE_TIMER_R_ERR 0xFD 5368e93258fSBjoern A. Zeeb #define PCI_LTR_IDLE_TIMER_DEF 0xFE 5378e93258fSBjoern A. Zeeb #define PCI_LTR_IDLE_TIMER_IGNORE 0xFF 5388e93258fSBjoern A. Zeeb 5398e93258fSBjoern A. Zeeb #define PCI_LTR_SPC_10US 0 5408e93258fSBjoern A. Zeeb #define PCI_LTR_SPC_100US 1 5418e93258fSBjoern A. Zeeb #define PCI_LTR_SPC_500US 2 5428e93258fSBjoern A. Zeeb #define PCI_LTR_SPC_1MS 3 5438e93258fSBjoern A. Zeeb #define PCI_LTR_SPC_R_ERR 0xFD 5448e93258fSBjoern A. Zeeb #define PCI_LTR_SPC_DEF 0xFE 5458e93258fSBjoern A. Zeeb #define PCI_LTR_SPC_IGNORE 0xFF 5468e93258fSBjoern A. Zeeb 5478e93258fSBjoern A. Zeeb #define R_AX_LTR_CTRL_0 0x8410 5488e93258fSBjoern A. Zeeb #define B_AX_LTR_SPACE_IDX_MASK GENMASK(13, 12) 5498e93258fSBjoern A. Zeeb #define B_AX_LTR_IDLE_TIMER_IDX_MASK GENMASK(10, 8) 550e2340276SBjoern A. Zeeb #define B_AX_LTR_WD_NOEMP_CHK BIT(6) 5518e93258fSBjoern A. Zeeb #define B_AX_APP_LTR_ACT BIT(5) 5528e93258fSBjoern A. Zeeb #define B_AX_APP_LTR_IDLE BIT(4) 5538e93258fSBjoern A. Zeeb #define B_AX_LTR_EN BIT(1) 5548e93258fSBjoern A. Zeeb #define B_AX_LTR_WD_NOEMP_CHK_V1 BIT(1) 5558e93258fSBjoern A. Zeeb #define B_AX_LTR_HW_EN BIT(0) 5568e93258fSBjoern A. Zeeb 5578e93258fSBjoern A. Zeeb #define R_AX_LTR_CTRL_1 0x8414 5588e93258fSBjoern A. Zeeb #define B_AX_LTR_RX1_TH_MASK GENMASK(27, 16) 5598e93258fSBjoern A. Zeeb #define B_AX_LTR_RX0_TH_MASK GENMASK(11, 0) 5608e93258fSBjoern A. Zeeb 5618e93258fSBjoern A. Zeeb #define R_AX_LTR_IDLE_LATENCY 0x8418 5628e93258fSBjoern A. Zeeb 5638e93258fSBjoern A. Zeeb #define R_AX_LTR_ACTIVE_LATENCY 0x841C 5648e93258fSBjoern A. Zeeb 5658e93258fSBjoern A. Zeeb #define R_AX_SER_DBG_INFO 0x8424 5668e93258fSBjoern A. Zeeb #define B_AX_L0_TO_L1_EVENT_MASK GENMASK(31, 28) 5678e93258fSBjoern A. Zeeb 5688e93258fSBjoern A. Zeeb #define R_AX_DLE_EMPTY0 0x8430 5698e93258fSBjoern A. Zeeb #define B_AX_PLE_EMPTY_QTA_DMAC_CPUIO BIT(26) 5708e93258fSBjoern A. Zeeb #define B_AX_PLE_EMPTY_QTA_DMAC_MPDU_TX BIT(25) 5718e93258fSBjoern A. Zeeb #define B_AX_PLE_EMPTY_QTA_DMAC_WLAN_CPU BIT(24) 5728e93258fSBjoern A. Zeeb #define B_AX_PLE_EMPTY_QTA_DMAC_H2C BIT(23) 5738e93258fSBjoern A. Zeeb #define B_AX_PLE_EMPTY_QTA_DMAC_B1_TXPL BIT(22) 5748e93258fSBjoern A. Zeeb #define B_AX_PLE_EMPTY_QTA_DMAC_B0_TXPL BIT(21) 5758e93258fSBjoern A. Zeeb #define B_AX_WDE_EMPTY_QTA_DMAC_CPUIO BIT(20) 5768e93258fSBjoern A. Zeeb #define B_AX_WDE_EMPTY_QTA_DMAC_PKTIN BIT(19) 5778e93258fSBjoern A. Zeeb #define B_AX_WDE_EMPTY_QTA_DMAC_DATA_CPU BIT(18) 5788e93258fSBjoern A. Zeeb #define B_AX_WDE_EMPTY_QTA_DMAC_WLAN_CPU BIT(17) 5798e93258fSBjoern A. Zeeb #define B_AX_WDE_EMPTY_QTA_DMAC_HIF BIT(16) 5808e93258fSBjoern A. Zeeb #define B_AX_WDE_EMPTY_QUE_DMAC_PKTIN BIT(10) 5818e93258fSBjoern A. Zeeb #define B_AX_PLE_EMPTY_QUE_DMAC_SEC_TX BIT(9) 5828e93258fSBjoern A. Zeeb #define B_AX_PLE_EMPTY_QUE_DMAC_MPDU_TX BIT(8) 5838e93258fSBjoern A. Zeeb #define B_AX_WDE_EMPTY_QUE_OTHERS BIT(7) 5848e93258fSBjoern A. Zeeb #define B_AX_WDE_EMPTY_QUE_CMAC0_WMM1 BIT(4) 5858e93258fSBjoern A. Zeeb #define B_AX_WDE_EMPTY_QUE_CMAC0_WMM0 BIT(3) 5868e93258fSBjoern A. Zeeb #define B_AX_WDE_EMPTY_QUE_CMAC1_MBH BIT(2) 5878e93258fSBjoern A. Zeeb #define B_AX_WDE_EMPTY_QUE_CMAC0_MBH BIT(1) 5888e93258fSBjoern A. Zeeb #define B_AX_WDE_EMPTY_QUE_CMAC0_ALL_AC BIT(0) 5898e93258fSBjoern A. Zeeb 590e2340276SBjoern A. Zeeb #define R_AX_DLE_EMPTY1 0x8434 591e2340276SBjoern A. Zeeb #define B_AX_PLE_EMPTY_QTA_DMAC_WDRLS BIT(20) 592e2340276SBjoern A. Zeeb #define B_AX_PLE_EMPTY_QTA_CMAC1_DMA_BBRPT BIT(19) 593e2340276SBjoern A. Zeeb #define B_AX_PLE_EMPTY_QTA_CMAC1_DMA_RX BIT(18) 594e2340276SBjoern A. Zeeb #define B_AX_PLE_EMPTY_QTA_CMAC0_DMA_RX BIT(17) 595e2340276SBjoern A. Zeeb #define B_AX_PLE_EMPTY_QTA_DMAC_C2H BIT(16) 596e2340276SBjoern A. Zeeb #define B_AX_PLE_EMPTY_QUE_DMAC_PLRLS BIT(5) 597e2340276SBjoern A. Zeeb #define B_AX_PLE_EMPTY_QUE_DMAC_CPUIO BIT(4) 598e2340276SBjoern A. Zeeb #define B_AX_PLE_EMPTY_QUE_DMAC_SEC_RX BIT(3) 599e2340276SBjoern A. Zeeb #define B_AX_PLE_EMPTY_QUE_DMAC_MPDU_RX BIT(2) 600e2340276SBjoern A. Zeeb #define B_AX_PLE_EMPTY_QUE_DMAC_HDP BIT(1) 601e2340276SBjoern A. Zeeb #define B_AX_WDE_EMPTY_QUE_DMAC_WDRLS BIT(0) 602e2340276SBjoern A. Zeeb 6038e93258fSBjoern A. Zeeb #define R_AX_DMAC_ERR_IMR 0x8520 6048e93258fSBjoern A. Zeeb #define B_AX_DLE_CPUIO_ERR_INT_EN BIT(10) 6058e93258fSBjoern A. Zeeb #define B_AX_APB_BRIDGE_ERR_INT_EN BIT(9) 6068e93258fSBjoern A. Zeeb #define B_AX_DISPATCH_ERR_INT_EN BIT(8) 6078e93258fSBjoern A. Zeeb #define B_AX_PKTIN_ERR_INT_EN BIT(7) 6088e93258fSBjoern A. Zeeb #define B_AX_PLE_DLE_ERR_INT_EN BIT(6) 6098e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTRL_ERR_INT_EN BIT(5) 6108e93258fSBjoern A. Zeeb #define B_AX_WDE_DLE_ERR_INT_EN BIT(4) 6118e93258fSBjoern A. Zeeb #define B_AX_STA_SCHEDULER_ERR_INT_EN BIT(3) 6128e93258fSBjoern A. Zeeb #define B_AX_MPDU_ERR_INT_EN BIT(2) 6138e93258fSBjoern A. Zeeb #define B_AX_WSEC_ERR_INT_EN BIT(1) 6148e93258fSBjoern A. Zeeb #define B_AX_WDRLS_ERR_INT_EN BIT(0) 6158e93258fSBjoern A. Zeeb #define DMAC_ERR_IMR_EN GENMASK(31, 0) 6168e93258fSBjoern A. Zeeb #define DMAC_ERR_IMR_DIS 0 6178e93258fSBjoern A. Zeeb 6188e93258fSBjoern A. Zeeb #define R_AX_DMAC_ERR_ISR 0x8524 619e2340276SBjoern A. Zeeb #define B_AX_HAXIDMA_ERR_FLAG BIT(14) 620e2340276SBjoern A. Zeeb #define B_AX_PAXIDMA_ERR_FLAG BIT(13) 621e2340276SBjoern A. Zeeb #define B_AX_HCI_BUF_ERR_FLAG BIT(12) 622e2340276SBjoern A. Zeeb #define B_AX_BBRPT_ERR_FLAG BIT(11) 6238e93258fSBjoern A. Zeeb #define B_AX_DLE_CPUIO_ERR_FLAG BIT(10) 6248e93258fSBjoern A. Zeeb #define B_AX_APB_BRIDGE_ERR_FLAG BIT(9) 6258e93258fSBjoern A. Zeeb #define B_AX_DISPATCH_ERR_FLAG BIT(8) 6268e93258fSBjoern A. Zeeb #define B_AX_PKTIN_ERR_FLAG BIT(7) 6278e93258fSBjoern A. Zeeb #define B_AX_PLE_DLE_ERR_FLAG BIT(6) 6288e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTRL_ERR_FLAG BIT(5) 6298e93258fSBjoern A. Zeeb #define B_AX_WDE_DLE_ERR_FLAG BIT(4) 6308e93258fSBjoern A. Zeeb #define B_AX_STA_SCHEDULER_ERR_FLAG BIT(3) 6318e93258fSBjoern A. Zeeb #define B_AX_MPDU_ERR_FLAG BIT(2) 6328e93258fSBjoern A. Zeeb #define B_AX_WSEC_ERR_FLAG BIT(1) 6338e93258fSBjoern A. Zeeb #define B_AX_WDRLS_ERR_FLAG BIT(0) 6348e93258fSBjoern A. Zeeb 6358e93258fSBjoern A. Zeeb #define R_AX_DISPATCHER_GLOBAL_SETTING_0 0x8800 6368e93258fSBjoern A. Zeeb #define B_AX_PL_PAGE_128B_SEL BIT(9) 6378e93258fSBjoern A. Zeeb #define B_AX_WD_PAGE_64B_SEL BIT(8) 6388e93258fSBjoern A. Zeeb #define R_AX_OTHER_DISPATCHER_ERR_ISR 0x8804 6398e93258fSBjoern A. Zeeb #define R_AX_HOST_DISPATCHER_ERR_ISR 0x8808 6408e93258fSBjoern A. Zeeb #define R_AX_CPU_DISPATCHER_ERR_ISR 0x880C 6418e93258fSBjoern A. Zeeb #define R_AX_TX_ADDRESS_INFO_MODE_SETTING 0x8810 6428e93258fSBjoern A. Zeeb #define B_AX_HOST_ADDR_INFO_8B_SEL BIT(0) 6438e93258fSBjoern A. Zeeb 6448e93258fSBjoern A. Zeeb #define R_AX_HOST_DISPATCHER_ERR_IMR 0x8850 6458e93258fSBjoern A. Zeeb #define B_AX_HDT_RX_WRITE_UNDERFLOW_INT_EN BIT(31) 6468e93258fSBjoern A. Zeeb #define B_AX_HDT_RX_WRITE_OVERFLOW_INT_EN BIT(30) 6478e93258fSBjoern A. Zeeb #define B_AX_HDT_CHKSUM_FSM_ERR_INT_EN BIT(29) 6488e93258fSBjoern A. Zeeb #define B_AX_HDT_SHIFT_DMA_CFG_ERR_INT_EN BIT(28) 6498e93258fSBjoern A. Zeeb #define B_AX_HDT_DMA_PROCESS_ERR_INT_EN BIT(27) 6508e93258fSBjoern A. Zeeb #define B_AX_HDT_TOTAL_LEN_ERR_INT_EN BIT(26) 6518e93258fSBjoern A. Zeeb #define B_AX_HDT_SHIFT_EN_ERR_INT_EN BIT(25) 6528e93258fSBjoern A. Zeeb #define B_AX_HDT_RXAGG_CFG_ERR_INT_EN BIT(24) 6538e93258fSBjoern A. Zeeb #define B_AX_HDT_OUTPUT_ERR_INT_EN BIT(21) 6548e93258fSBjoern A. Zeeb #define B_AX_HDT_RES_ERR_INT_EN BIT(20) 6558e93258fSBjoern A. Zeeb #define B_AX_HDT_BURST_NUM_ERR_INT_EN BIT(19) 6568e93258fSBjoern A. Zeeb #define B_AX_HDT_NULLPKT_ERR_INT_EN BIT(18) 6578e93258fSBjoern A. Zeeb #define B_AX_HDT_FLOW_CTRL_ERR_INT_EN BIT(17) 6588e93258fSBjoern A. Zeeb #define B_AX_HDT_PLD_CMD_UNDERFLOW_INT_EN BIT(16) 6598e93258fSBjoern A. Zeeb #define B_AX_HDT_PLD_CMD_OVERLOW_INT_EN BIT(15) 6608e93258fSBjoern A. Zeeb #define B_AX_HDT_TX_WRITE_UNDERFLOW_INT_EN BIT(14) 6618e93258fSBjoern A. Zeeb #define B_AX_HDT_TX_WRITE_OVERFLOW_INT_EN BIT(13) 6628e93258fSBjoern A. Zeeb #define B_AX_HDT_TCP_CHK_ERR_INT_EN BIT(12) 6638e93258fSBjoern A. Zeeb #define B_AX_HDT_TXPKTSIZE_ERR_INT_EN BIT(11) 6648e93258fSBjoern A. Zeeb #define B_AX_HDT_PRE_COST_ERR_INT_EN BIT(10) 6658e93258fSBjoern A. Zeeb #define B_AX_HDT_WD_CHK_ERR_INT_EN BIT(9) 6668e93258fSBjoern A. Zeeb #define B_AX_HDT_CHANNEL_DMA_ERR_INT_EN BIT(8) 6678e93258fSBjoern A. Zeeb #define B_AX_HDT_OFFSET_UNMATCH_INT_EN BIT(7) 6688e93258fSBjoern A. Zeeb #define B_AX_HDT_PAYLOAD_UNDERFLOW_INT_EN BIT(6) 6698e93258fSBjoern A. Zeeb #define B_AX_HDT_PAYLOAD_OVERFLOW_INT_EN BIT(5) 6708e93258fSBjoern A. Zeeb #define B_AX_HDT_PERMU_UNDERFLOW_INT_EN BIT(4) 6718e93258fSBjoern A. Zeeb #define B_AX_HDT_PERMU_OVERFLOW_INT_EN BIT(3) 6728e93258fSBjoern A. Zeeb #define B_AX_HDT_PKT_FAIL_DBG_INT_EN BIT(2) 6738e93258fSBjoern A. Zeeb #define B_AX_HDT_CHANNEL_ID_ERR_INT_EN BIT(1) 6748e93258fSBjoern A. Zeeb #define B_AX_HDT_CHANNEL_DIFF_ERR_INT_EN BIT(0) 6758e93258fSBjoern A. Zeeb #define B_AX_HOST_DISP_IMR_CLR (B_AX_HDT_CHANNEL_DIFF_ERR_INT_EN | \ 6768e93258fSBjoern A. Zeeb B_AX_HDT_CHANNEL_ID_ERR_INT_EN | \ 6778e93258fSBjoern A. Zeeb B_AX_HDT_PKT_FAIL_DBG_INT_EN | \ 6788e93258fSBjoern A. Zeeb B_AX_HDT_PERMU_OVERFLOW_INT_EN | \ 6798e93258fSBjoern A. Zeeb B_AX_HDT_PERMU_UNDERFLOW_INT_EN | \ 6808e93258fSBjoern A. Zeeb B_AX_HDT_PAYLOAD_OVERFLOW_INT_EN | \ 6818e93258fSBjoern A. Zeeb B_AX_HDT_PAYLOAD_UNDERFLOW_INT_EN | \ 6828e93258fSBjoern A. Zeeb B_AX_HDT_OFFSET_UNMATCH_INT_EN | \ 6838e93258fSBjoern A. Zeeb B_AX_HDT_CHANNEL_DMA_ERR_INT_EN | \ 6848e93258fSBjoern A. Zeeb B_AX_HDT_WD_CHK_ERR_INT_EN | \ 6858e93258fSBjoern A. Zeeb B_AX_HDT_PRE_COST_ERR_INT_EN | \ 6868e93258fSBjoern A. Zeeb B_AX_HDT_TXPKTSIZE_ERR_INT_EN | \ 6878e93258fSBjoern A. Zeeb B_AX_HDT_TCP_CHK_ERR_INT_EN | \ 6888e93258fSBjoern A. Zeeb B_AX_HDT_TX_WRITE_OVERFLOW_INT_EN | \ 6898e93258fSBjoern A. Zeeb B_AX_HDT_TX_WRITE_UNDERFLOW_INT_EN | \ 6908e93258fSBjoern A. Zeeb B_AX_HDT_PLD_CMD_OVERLOW_INT_EN | \ 6918e93258fSBjoern A. Zeeb B_AX_HDT_PLD_CMD_UNDERFLOW_INT_EN | \ 6928e93258fSBjoern A. Zeeb B_AX_HDT_FLOW_CTRL_ERR_INT_EN | \ 6938e93258fSBjoern A. Zeeb B_AX_HDT_NULLPKT_ERR_INT_EN | \ 6948e93258fSBjoern A. Zeeb B_AX_HDT_BURST_NUM_ERR_INT_EN | \ 6958e93258fSBjoern A. Zeeb B_AX_HDT_RXAGG_CFG_ERR_INT_EN | \ 6968e93258fSBjoern A. Zeeb B_AX_HDT_SHIFT_EN_ERR_INT_EN | \ 6978e93258fSBjoern A. Zeeb B_AX_HDT_TOTAL_LEN_ERR_INT_EN | \ 6988e93258fSBjoern A. Zeeb B_AX_HDT_DMA_PROCESS_ERR_INT_EN | \ 6998e93258fSBjoern A. Zeeb B_AX_HDT_SHIFT_DMA_CFG_ERR_INT_EN | \ 7008e93258fSBjoern A. Zeeb B_AX_HDT_CHKSUM_FSM_ERR_INT_EN | \ 7018e93258fSBjoern A. Zeeb B_AX_HDT_RX_WRITE_OVERFLOW_INT_EN | \ 7028e93258fSBjoern A. Zeeb B_AX_HDT_RX_WRITE_UNDERFLOW_INT_EN) 7038e93258fSBjoern A. Zeeb #define B_AX_HOST_DISP_IMR_SET (B_AX_HDT_CHANNEL_DIFF_ERR_INT_EN | \ 7048e93258fSBjoern A. Zeeb B_AX_HDT_PAYLOAD_OVERFLOW_INT_EN | \ 7058e93258fSBjoern A. Zeeb B_AX_HDT_PAYLOAD_UNDERFLOW_INT_EN | \ 7068e93258fSBjoern A. Zeeb B_AX_HDT_CHANNEL_DMA_ERR_INT_EN | \ 7078e93258fSBjoern A. Zeeb B_AX_HDT_TOTAL_LEN_ERR_INT_EN | \ 7088e93258fSBjoern A. Zeeb B_AX_HDT_DMA_PROCESS_ERR_INT_EN) 7098e93258fSBjoern A. Zeeb 7108e93258fSBjoern A. Zeeb #define B_AX_HR_WRFF_UNDERFLOW_ERR_INT_EN BIT(31) 7118e93258fSBjoern A. Zeeb #define B_AX_HR_WRFF_OVERFLOW_ERR_INT_EN BIT(30) 7128e93258fSBjoern A. Zeeb #define B_AX_HR_CHKSUM_FSM_ERR_INT_EN BIT(29) 7138e93258fSBjoern A. Zeeb #define B_AX_HR_SHIFT_DMA_CFG_ERR_INT_EN BIT(28) 7148e93258fSBjoern A. Zeeb #define B_AX_HR_DMA_PROCESS_ERR_INT_EN BIT(27) 7158e93258fSBjoern A. Zeeb #define B_AX_HR_TOTAL_LEN_UNDER_ERR_INT_EN BIT(26) 7168e93258fSBjoern A. Zeeb #define B_AX_HR_SHIFT_EN_ERR_INT_EN BIT(25) 7178e93258fSBjoern A. Zeeb #define B_AX_HR_AGG_CFG_ERR_INT_EN BIT(24) 7188e93258fSBjoern A. Zeeb #define B_AX_HR_DMA_RD_CNT_DEQ_ERR_INT_EN BIT(23) 7198e93258fSBjoern A. Zeeb #define B_AX_HR_PLD_LEN_ZERO_ERR_INT_EN BIT(22) 7208e93258fSBjoern A. Zeeb #define B_AX_HT_ILL_CH_ERR_INT_EN BIT(20) 7218e93258fSBjoern A. Zeeb #define B_AX_HT_ADDR_INFO_LEN_ERR_INT_EN BIT(18) 7228e93258fSBjoern A. Zeeb #define B_AX_HT_WD_LEN_OVER_ERR_INT_EN BIT(17) 7238e93258fSBjoern A. Zeeb #define B_AX_HT_PLD_CMD_UNDERFLOW_ERR_INT_EN BIT(16) 7248e93258fSBjoern A. Zeeb #define B_AX_HT_PLD_CMD_OVERFLOW_ERR_INT_EN BIT(15) 7258e93258fSBjoern A. Zeeb #define B_AX_HT_WRFF_UNDERFLOW_ERR_INT_EN BIT(14) 7268e93258fSBjoern A. Zeeb #define B_AX_HT_WRFF_OVERFLOW_ERR_INT_EN BIT(13) 7278e93258fSBjoern A. Zeeb #define B_AX_HT_CHKSUM_FSM_ERR_INT_EN BIT(12) 7288e93258fSBjoern A. Zeeb #define B_AX_HT_TXPKTSIZE_ERR_INT_EN BIT(11) 7298e93258fSBjoern A. Zeeb #define B_AX_HT_PRE_SUB_ERR_INT_EN BIT(10) 7308e93258fSBjoern A. Zeeb #define B_AX_HT_WD_CHKSUM_ERR_INT_EN BIT(9) 7318e93258fSBjoern A. Zeeb #define B_AX_HT_CHANNEL_DMA_ERR_INT_EN BIT(8) 7328e93258fSBjoern A. Zeeb #define B_AX_HT_OFFSET_UNMATCH_ERR_INT_EN BIT(7) 7338e93258fSBjoern A. Zeeb #define B_AX_HT_PAYLOAD_UNDER_ERR_INT_EN BIT(6) 7348e93258fSBjoern A. Zeeb #define B_AX_HT_PAYLOAD_OVER_ERR_INT_EN BIT(5) 7358e93258fSBjoern A. Zeeb #define B_AX_HT_PERMU_FF_UNDERFLOW_ERR_INT_EN BIT(4) 7368e93258fSBjoern A. Zeeb #define B_AX_HT_PERMU_FF_OVERFLOW_ERR_INT_EN BIT(3) 7378e93258fSBjoern A. Zeeb #define B_AX_HT_PKT_FAIL_ERR_INT_EN BIT(2) 7388e93258fSBjoern A. Zeeb #define B_AX_HT_CH_ID_ERR_INT_EN BIT(1) 7398e93258fSBjoern A. Zeeb #define B_AX_HT_EP_CH_DIFF_ERR_INT_EN BIT(0) 7408e93258fSBjoern A. Zeeb #define B_AX_HOST_DISP_IMR_CLR_V1 (B_AX_HT_EP_CH_DIFF_ERR_INT_EN | \ 7418e93258fSBjoern A. Zeeb B_AX_HT_CH_ID_ERR_INT_EN | \ 7428e93258fSBjoern A. Zeeb B_AX_HT_PKT_FAIL_ERR_INT_EN | \ 7438e93258fSBjoern A. Zeeb B_AX_HT_PERMU_FF_OVERFLOW_ERR_INT_EN | \ 7448e93258fSBjoern A. Zeeb B_AX_HT_PERMU_FF_UNDERFLOW_ERR_INT_EN | \ 7458e93258fSBjoern A. Zeeb B_AX_HT_PAYLOAD_OVER_ERR_INT_EN | \ 7468e93258fSBjoern A. Zeeb B_AX_HT_PAYLOAD_UNDER_ERR_INT_EN | \ 7478e93258fSBjoern A. Zeeb B_AX_HT_OFFSET_UNMATCH_ERR_INT_EN | \ 7488e93258fSBjoern A. Zeeb B_AX_HT_CHANNEL_DMA_ERR_INT_EN | \ 7498e93258fSBjoern A. Zeeb B_AX_HT_WD_CHKSUM_ERR_INT_EN | \ 7508e93258fSBjoern A. Zeeb B_AX_HT_PRE_SUB_ERR_INT_EN | \ 7518e93258fSBjoern A. Zeeb B_AX_HT_TXPKTSIZE_ERR_INT_EN | \ 7528e93258fSBjoern A. Zeeb B_AX_HT_CHKSUM_FSM_ERR_INT_EN | \ 7538e93258fSBjoern A. Zeeb B_AX_HT_WRFF_OVERFLOW_ERR_INT_EN | \ 7548e93258fSBjoern A. Zeeb B_AX_HT_WRFF_UNDERFLOW_ERR_INT_EN | \ 7558e93258fSBjoern A. Zeeb B_AX_HT_PLD_CMD_OVERFLOW_ERR_INT_EN | \ 7568e93258fSBjoern A. Zeeb B_AX_HT_PLD_CMD_UNDERFLOW_ERR_INT_EN | \ 7578e93258fSBjoern A. Zeeb B_AX_HT_WD_LEN_OVER_ERR_INT_EN | \ 7588e93258fSBjoern A. Zeeb B_AX_HT_ADDR_INFO_LEN_ERR_INT_EN | \ 7598e93258fSBjoern A. Zeeb B_AX_HT_ILL_CH_ERR_INT_EN | \ 7608e93258fSBjoern A. Zeeb B_AX_HR_PLD_LEN_ZERO_ERR_INT_EN | \ 7618e93258fSBjoern A. Zeeb B_AX_HR_DMA_RD_CNT_DEQ_ERR_INT_EN | \ 7628e93258fSBjoern A. Zeeb B_AX_HR_AGG_CFG_ERR_INT_EN | \ 7638e93258fSBjoern A. Zeeb B_AX_HR_SHIFT_EN_ERR_INT_EN | \ 7648e93258fSBjoern A. Zeeb B_AX_HR_TOTAL_LEN_UNDER_ERR_INT_EN | \ 7658e93258fSBjoern A. Zeeb B_AX_HR_DMA_PROCESS_ERR_INT_EN | \ 7668e93258fSBjoern A. Zeeb B_AX_HR_SHIFT_DMA_CFG_ERR_INT_EN | \ 7678e93258fSBjoern A. Zeeb B_AX_HR_CHKSUM_FSM_ERR_INT_EN | \ 7688e93258fSBjoern A. Zeeb B_AX_HR_WRFF_OVERFLOW_ERR_INT_EN | \ 7698e93258fSBjoern A. Zeeb B_AX_HR_WRFF_UNDERFLOW_ERR_INT_EN) 7708e93258fSBjoern A. Zeeb #define B_AX_HOST_DISP_IMR_SET_V1 (B_AX_HT_PAYLOAD_OVER_ERR_INT_EN | \ 7718e93258fSBjoern A. Zeeb B_AX_HT_PAYLOAD_UNDER_ERR_INT_EN | \ 7728e93258fSBjoern A. Zeeb B_AX_HT_ILL_CH_ERR_INT_EN | \ 7738e93258fSBjoern A. Zeeb B_AX_HR_TOTAL_LEN_UNDER_ERR_INT_EN | \ 7748e93258fSBjoern A. Zeeb B_AX_HR_DMA_PROCESS_ERR_INT_EN) 7758e93258fSBjoern A. Zeeb 7768e93258fSBjoern A. Zeeb #define R_AX_CPU_DISPATCHER_ERR_IMR 0x8854 7778e93258fSBjoern A. Zeeb #define B_AX_CPU_RX_WRITE_UNDERFLOW_INT_EN BIT(31) 7788e93258fSBjoern A. Zeeb #define B_AX_CPU_RX_WRITE_OVERFLOW_INT_EN BIT(30) 7798e93258fSBjoern A. Zeeb #define B_AX_CPU_CHKSUM_FSM_ERR_INT_EN BIT(29) 7808e93258fSBjoern A. Zeeb #define B_AX_CPU_SHIFT_DMA_CFG_ERR_INT_EN BIT(28) 7818e93258fSBjoern A. Zeeb #define B_AX_CPU_DMA_PROCESS_ERR_INT_EN BIT(27) 7828e93258fSBjoern A. Zeeb #define B_AX_CPU_TOTAL_LEN_ERR_INT_EN BIT(26) 7838e93258fSBjoern A. Zeeb #define B_AX_CPU_SHIFT_EN_ERR_INT_EN BIT(25) 7848e93258fSBjoern A. Zeeb #define B_AX_CPU_RXAGG_CFG_ERR_INT_EN BIT(24) 7858e93258fSBjoern A. Zeeb #define B_AX_CPU_OUTPUT_ERR_INT_EN BIT(20) 7868e93258fSBjoern A. Zeeb #define B_AX_CPU_RESP_ERR_INT_EN BIT(19) 7878e93258fSBjoern A. Zeeb #define B_AX_CPU_BURST_NUM_ERR_INT_EN BIT(18) 7888e93258fSBjoern A. Zeeb #define B_AX_CPU_NULLPKT_ERR_INT_EN BIT(17) 7898e93258fSBjoern A. Zeeb #define B_AX_CPU_FLOW_CTRL_ERR_INT_EN BIT(16) 7908e93258fSBjoern A. Zeeb #define B_AX_CPU_F2P_SEQ_ERR_INT_EN BIT(15) 7918e93258fSBjoern A. Zeeb #define B_AX_CPU_F2P_QSEL_ERR_INT_EN BIT(14) 7928e93258fSBjoern A. Zeeb #define B_AX_CPU_PLD_CMD_UNDERFLOW_INT_EN BIT(13) 7938e93258fSBjoern A. Zeeb #define B_AX_CPU_PLD_CMD_OVERLOW_INT_EN BIT(12) 7948e93258fSBjoern A. Zeeb #define B_AX_CPU_PRE_COST_ERR_INT_EN BIT(11) 7958e93258fSBjoern A. Zeeb #define B_AX_CPU_WD_CHK_ERR_INT_EN BIT(10) 7968e93258fSBjoern A. Zeeb #define B_AX_CPU_CHANNEL_DMA_ERR_INT_EN BIT(9) 7978e93258fSBjoern A. Zeeb #define B_AX_CPU_OFFSET_UNMATCH_INT_EN BIT(8) 7988e93258fSBjoern A. Zeeb #define B_AX_CPU_PAYLOAD_CHKSUM_ERR_INT_EN BIT(7) 7998e93258fSBjoern A. Zeeb #define B_AX_CPU_PAYLOAD_UNDERFLOW_INT_EN BIT(6) 8008e93258fSBjoern A. Zeeb #define B_AX_CPU_PAYLOAD_OVERFLOW_INT_EN BIT(5) 8018e93258fSBjoern A. Zeeb #define B_AX_CPU_PERMU_UNDERFLOW_INT_EN BIT(4) 8028e93258fSBjoern A. Zeeb #define B_AX_CPU_PERMU_OVERFLOW_INT_EN BIT(3) 8038e93258fSBjoern A. Zeeb #define B_AX_CPU_CHANNEL_ID_ERR_INT_EN BIT(2) 8048e93258fSBjoern A. Zeeb #define B_AX_CPU_PKT_FAIL_DBG_INT_EN BIT(1) 8058e93258fSBjoern A. Zeeb #define B_AX_CPU_CHANNEL_DIFF_ERR_INT_EN BIT(0) 8068e93258fSBjoern A. Zeeb #define B_AX_CPU_DISP_IMR_CLR (B_AX_CPU_CHANNEL_DIFF_ERR_INT_EN | \ 8078e93258fSBjoern A. Zeeb B_AX_CPU_PKT_FAIL_DBG_INT_EN | \ 8088e93258fSBjoern A. Zeeb B_AX_CPU_CHANNEL_ID_ERR_INT_EN | \ 8098e93258fSBjoern A. Zeeb B_AX_CPU_PERMU_OVERFLOW_INT_EN | \ 8108e93258fSBjoern A. Zeeb B_AX_CPU_PERMU_UNDERFLOW_INT_EN | \ 8118e93258fSBjoern A. Zeeb B_AX_CPU_PAYLOAD_OVERFLOW_INT_EN | \ 8128e93258fSBjoern A. Zeeb B_AX_CPU_PAYLOAD_UNDERFLOW_INT_EN | \ 8138e93258fSBjoern A. Zeeb B_AX_CPU_PAYLOAD_CHKSUM_ERR_INT_EN | \ 8148e93258fSBjoern A. Zeeb B_AX_CPU_OFFSET_UNMATCH_INT_EN | \ 8158e93258fSBjoern A. Zeeb B_AX_CPU_CHANNEL_DMA_ERR_INT_EN | \ 8168e93258fSBjoern A. Zeeb B_AX_CPU_WD_CHK_ERR_INT_EN | \ 8178e93258fSBjoern A. Zeeb B_AX_CPU_PRE_COST_ERR_INT_EN | \ 8188e93258fSBjoern A. Zeeb B_AX_CPU_PLD_CMD_OVERLOW_INT_EN | \ 8198e93258fSBjoern A. Zeeb B_AX_CPU_PLD_CMD_UNDERFLOW_INT_EN | \ 8208e93258fSBjoern A. Zeeb B_AX_CPU_F2P_QSEL_ERR_INT_EN | \ 8218e93258fSBjoern A. Zeeb B_AX_CPU_F2P_SEQ_ERR_INT_EN | \ 8228e93258fSBjoern A. Zeeb B_AX_CPU_FLOW_CTRL_ERR_INT_EN | \ 8238e93258fSBjoern A. Zeeb B_AX_CPU_NULLPKT_ERR_INT_EN | \ 8248e93258fSBjoern A. Zeeb B_AX_CPU_BURST_NUM_ERR_INT_EN | \ 8258e93258fSBjoern A. Zeeb B_AX_CPU_RXAGG_CFG_ERR_INT_EN | \ 8268e93258fSBjoern A. Zeeb B_AX_CPU_SHIFT_EN_ERR_INT_EN | \ 8278e93258fSBjoern A. Zeeb B_AX_CPU_TOTAL_LEN_ERR_INT_EN | \ 8288e93258fSBjoern A. Zeeb B_AX_CPU_DMA_PROCESS_ERR_INT_EN | \ 8298e93258fSBjoern A. Zeeb B_AX_CPU_SHIFT_DMA_CFG_ERR_INT_EN | \ 8308e93258fSBjoern A. Zeeb B_AX_CPU_CHKSUM_FSM_ERR_INT_EN | \ 8318e93258fSBjoern A. Zeeb B_AX_CPU_RX_WRITE_OVERFLOW_INT_EN | \ 8328e93258fSBjoern A. Zeeb B_AX_CPU_RX_WRITE_UNDERFLOW_INT_EN) 8338e93258fSBjoern A. Zeeb #define B_AX_CPU_DISP_IMR_SET (B_AX_CPU_PKT_FAIL_DBG_INT_EN | \ 8348e93258fSBjoern A. Zeeb B_AX_CPU_PAYLOAD_OVERFLOW_INT_EN | \ 8358e93258fSBjoern A. Zeeb B_AX_CPU_PAYLOAD_UNDERFLOW_INT_EN | \ 8368e93258fSBjoern A. Zeeb B_AX_CPU_TOTAL_LEN_ERR_INT_EN) 8378e93258fSBjoern A. Zeeb 8388e93258fSBjoern A. Zeeb #define B_AX_CR_PLD_LEN_ERR_INT_EN BIT(30) 8398e93258fSBjoern A. Zeeb #define B_AX_CR_WRFF_UNDERFLOW_ERR_INT_EN BIT(29) 8408e93258fSBjoern A. Zeeb #define B_AX_CR_WRFF_OVERFLOW_ERR_INT_EN BIT(28) 8418e93258fSBjoern A. Zeeb #define B_AX_CR_SHIFT_DMA_CFG_ERR_INT_EN BIT(27) 8428e93258fSBjoern A. Zeeb #define B_AX_CR_DMA_PROCESS_ERR_INT_EN BIT(26) 8438e93258fSBjoern A. Zeeb #define B_AX_CR_TOTAL_LEN_UNDER_ERR_INT_EN BIT(25) 8448e93258fSBjoern A. Zeeb #define B_AX_CR_SHIFT_EN_ERR_INT_EN BIT(24) 8458e93258fSBjoern A. Zeeb #define B_AX_REUSE_FIFO_B_UNDER_ERR_INT_EN BIT(22) 8468e93258fSBjoern A. Zeeb #define B_AX_REUSE_FIFO_B_OVER_ERR_INT_EN BIT(21) 8478e93258fSBjoern A. Zeeb #define B_AX_REUSE_FIFO_A_UNDER_ERR_INT_EN BIT(20) 8488e93258fSBjoern A. Zeeb #define B_AX_REUSE_FIFO_A_OVER_ERR_INT_EN BIT(19) 8498e93258fSBjoern A. Zeeb #define B_AX_CT_ADDR_INFO_LEN_MISS_ERR_INT_EN BIT(17) 8508e93258fSBjoern A. Zeeb #define B_AX_CT_WD_LEN_OVER_ERR_INT_EN BIT(16) 8518e93258fSBjoern A. Zeeb #define B_AX_CT_F2P_SEQ_ERR_INT_EN BIT(15) 8528e93258fSBjoern A. Zeeb #define B_AX_CT_F2P_QSEL_ERR_INT_EN BIT(14) 8538e93258fSBjoern A. Zeeb #define B_AX_CT_PLD_CMD_UNDERFLOW_ERR_INT_EN BIT(13) 8548e93258fSBjoern A. Zeeb #define B_AX_CT_PLD_CMD_OVERFLOW_ERR_INT_EN BIT(12) 8558e93258fSBjoern A. Zeeb #define B_AX_CT_PRE_SUB_ERR_INT_EN BIT(11) 8568e93258fSBjoern A. Zeeb #define B_AX_CT_WD_CHKSUM_ERR_INT_EN BIT(10) 8578e93258fSBjoern A. Zeeb #define B_AX_CT_CHANNEL_DMA_ERR_INT_EN BIT(9) 8588e93258fSBjoern A. Zeeb #define B_AX_CT_OFFSET_UNMATCH_ERR_INT_EN BIT(8) 8598e93258fSBjoern A. Zeeb #define B_AX_CT_PAYLOAD_CHKSUM_ERR_INT_EN BIT(7) 8608e93258fSBjoern A. Zeeb #define B_AX_CT_PAYLOAD_UNDER_ERR_INT_EN BIT(6) 8618e93258fSBjoern A. Zeeb #define B_AX_CT_PAYLOAD_OVER_ERR_INT_EN BIT(5) 8628e93258fSBjoern A. Zeeb #define B_AX_CT_PERMU_FF_UNDERFLOW_ERR_INT_EN BIT(4) 8638e93258fSBjoern A. Zeeb #define B_AX_CT_PERMU_FF_OVERFLOW_ERR_INT_EN BIT(3) 8648e93258fSBjoern A. Zeeb #define B_AX_CT_CH_ID_ERR_INT_EN BIT(2) 8658e93258fSBjoern A. Zeeb #define B_AX_CT_EP_CH_DIFF_ERR_INT_EN BIT(0) 8668e93258fSBjoern A. Zeeb #define B_AX_CPU_DISP_IMR_CLR_V1 (B_AX_CT_EP_CH_DIFF_ERR_INT_EN | \ 8678e93258fSBjoern A. Zeeb B_AX_CT_CH_ID_ERR_INT_EN | \ 8688e93258fSBjoern A. Zeeb B_AX_CT_PERMU_FF_OVERFLOW_ERR_INT_EN | \ 8698e93258fSBjoern A. Zeeb B_AX_CT_PERMU_FF_UNDERFLOW_ERR_INT_EN | \ 8708e93258fSBjoern A. Zeeb B_AX_CT_PAYLOAD_OVER_ERR_INT_EN | \ 8718e93258fSBjoern A. Zeeb B_AX_CT_PAYLOAD_UNDER_ERR_INT_EN | \ 8728e93258fSBjoern A. Zeeb B_AX_CT_PAYLOAD_CHKSUM_ERR_INT_EN | \ 8738e93258fSBjoern A. Zeeb B_AX_CT_OFFSET_UNMATCH_ERR_INT_EN | \ 8748e93258fSBjoern A. Zeeb B_AX_CT_CHANNEL_DMA_ERR_INT_EN | \ 8758e93258fSBjoern A. Zeeb B_AX_CT_WD_CHKSUM_ERR_INT_EN | \ 8768e93258fSBjoern A. Zeeb B_AX_CT_PRE_SUB_ERR_INT_EN | \ 8778e93258fSBjoern A. Zeeb B_AX_CT_PLD_CMD_OVERFLOW_ERR_INT_EN | \ 8788e93258fSBjoern A. Zeeb B_AX_CT_PLD_CMD_UNDERFLOW_ERR_INT_EN | \ 8798e93258fSBjoern A. Zeeb B_AX_CT_F2P_QSEL_ERR_INT_EN | \ 8808e93258fSBjoern A. Zeeb B_AX_CT_F2P_SEQ_ERR_INT_EN | \ 8818e93258fSBjoern A. Zeeb B_AX_CT_WD_LEN_OVER_ERR_INT_EN | \ 8828e93258fSBjoern A. Zeeb B_AX_CT_ADDR_INFO_LEN_MISS_ERR_INT_EN | \ 8838e93258fSBjoern A. Zeeb B_AX_REUSE_FIFO_A_OVER_ERR_INT_EN | \ 8848e93258fSBjoern A. Zeeb B_AX_REUSE_FIFO_A_UNDER_ERR_INT_EN | \ 8858e93258fSBjoern A. Zeeb B_AX_REUSE_FIFO_B_OVER_ERR_INT_EN | \ 8868e93258fSBjoern A. Zeeb B_AX_REUSE_FIFO_B_UNDER_ERR_INT_EN | \ 8878e93258fSBjoern A. Zeeb B_AX_CR_SHIFT_EN_ERR_INT_EN | \ 8888e93258fSBjoern A. Zeeb B_AX_CR_TOTAL_LEN_UNDER_ERR_INT_EN | \ 8898e93258fSBjoern A. Zeeb B_AX_CR_DMA_PROCESS_ERR_INT_EN | \ 8908e93258fSBjoern A. Zeeb B_AX_CR_SHIFT_DMA_CFG_ERR_INT_EN | \ 8918e93258fSBjoern A. Zeeb B_AX_CR_WRFF_OVERFLOW_ERR_INT_EN | \ 8928e93258fSBjoern A. Zeeb B_AX_CR_WRFF_UNDERFLOW_ERR_INT_EN | \ 8938e93258fSBjoern A. Zeeb B_AX_CR_PLD_LEN_ERR_INT_EN) 8948e93258fSBjoern A. Zeeb #define B_AX_CPU_DISP_IMR_SET_V1 (B_AX_CT_PAYLOAD_OVER_ERR_INT_EN | \ 8958e93258fSBjoern A. Zeeb B_AX_CT_PAYLOAD_UNDER_ERR_INT_EN | \ 8968e93258fSBjoern A. Zeeb B_AX_CR_TOTAL_LEN_UNDER_ERR_INT_EN | \ 8978e93258fSBjoern A. Zeeb B_AX_CR_DMA_PROCESS_ERR_INT_EN | \ 8988e93258fSBjoern A. Zeeb B_AX_CR_WRFF_OVERFLOW_ERR_INT_EN | \ 8998e93258fSBjoern A. Zeeb B_AX_CR_WRFF_UNDERFLOW_ERR_INT_EN) 9008e93258fSBjoern A. Zeeb 9018e93258fSBjoern A. Zeeb #define R_AX_OTHER_DISPATCHER_ERR_IMR 0x8858 9028e93258fSBjoern A. Zeeb #define B_AX_OTHER_STF_WROQT_UNDERFLOW_INT_EN BIT(29) 9038e93258fSBjoern A. Zeeb #define B_AX_OTHER_STF_WROQT_OVERFLOW_INT_EN BIT(28) 9048e93258fSBjoern A. Zeeb #define B_AX_OTHER_STF_WRFF_UNDERFLOW_INT_EN BIT(27) 9058e93258fSBjoern A. Zeeb #define B_AX_OTHER_STF_WRFF_OVERFLOW_INT_EN BIT(26) 9068e93258fSBjoern A. Zeeb #define B_AX_OTHER_STF_CMD_UNDERFLOW_INT_EN BIT(25) 9078e93258fSBjoern A. Zeeb #define B_AX_OTHER_STF_CMD_OVERFLOW_INT_EN BIT(24) 9088e93258fSBjoern A. Zeeb #define B_AX_HOST_ADDR_INFO_LEN_ZERO_ERR_INT_EN BIT(17) 9098e93258fSBjoern A. Zeeb #define B_AX_CPU_ADDR_INFO_LEN_ZERO_ERR_INT_EN BIT(16) 9108e93258fSBjoern A. Zeeb #define B_AX_PLE_OUTPUT_ERR_INT_EN BIT(12) 9118e93258fSBjoern A. Zeeb #define B_AX_PLE_RESP_ERR_INT_EN BIT(11) 9128e93258fSBjoern A. Zeeb #define B_AX_PLE_BURST_NUM_ERR_INT_EN BIT(10) 9138e93258fSBjoern A. Zeeb #define B_AX_PLE_NULL_PKT_ERR_INT_EN BIT(9) 9148e93258fSBjoern A. Zeeb #define B_AX_PLE_FLOW_CTRL_ERR_INT_EN BIT(8) 9158e93258fSBjoern A. Zeeb #define B_AX_WDE_OUTPUT_ERR_INT_EN BIT(4) 9168e93258fSBjoern A. Zeeb #define B_AX_WDE_RESP_ERR_INT_EN BIT(3) 9178e93258fSBjoern A. Zeeb #define B_AX_WDE_BURST_NUM_ERR_INT_EN BIT(2) 9188e93258fSBjoern A. Zeeb #define B_AX_WDE_NULL_PKT_ERR_INT_EN BIT(1) 9198e93258fSBjoern A. Zeeb #define B_AX_WDE_FLOW_CTRL_ERR_INT_EN BIT(0) 9208e93258fSBjoern A. Zeeb #define B_AX_OTHER_DISP_IMR_CLR (B_AX_OTHER_STF_WROQT_UNDERFLOW_INT_EN | \ 9218e93258fSBjoern A. Zeeb B_AX_OTHER_STF_WROQT_OVERFLOW_INT_EN | \ 9228e93258fSBjoern A. Zeeb B_AX_OTHER_STF_WRFF_UNDERFLOW_INT_EN | \ 9238e93258fSBjoern A. Zeeb B_AX_OTHER_STF_WRFF_OVERFLOW_INT_EN | \ 9248e93258fSBjoern A. Zeeb B_AX_OTHER_STF_CMD_UNDERFLOW_INT_EN | \ 9258e93258fSBjoern A. Zeeb B_AX_OTHER_STF_CMD_OVERFLOW_INT_EN | \ 9268e93258fSBjoern A. Zeeb B_AX_HOST_ADDR_INFO_LEN_ZERO_ERR_INT_EN | \ 9278e93258fSBjoern A. Zeeb B_AX_CPU_ADDR_INFO_LEN_ZERO_ERR_INT_EN | \ 9288e93258fSBjoern A. Zeeb B_AX_PLE_OUTPUT_ERR_INT_EN | \ 9298e93258fSBjoern A. Zeeb B_AX_PLE_RESP_ERR_INT_EN | \ 9308e93258fSBjoern A. Zeeb B_AX_PLE_BURST_NUM_ERR_INT_EN | \ 9318e93258fSBjoern A. Zeeb B_AX_PLE_NULL_PKT_ERR_INT_EN | \ 9328e93258fSBjoern A. Zeeb B_AX_PLE_FLOW_CTRL_ERR_INT_EN | \ 9338e93258fSBjoern A. Zeeb B_AX_WDE_OUTPUT_ERR_INT_EN | \ 9348e93258fSBjoern A. Zeeb B_AX_WDE_RESP_ERR_INT_EN | \ 9358e93258fSBjoern A. Zeeb B_AX_WDE_BURST_NUM_ERR_INT_EN | \ 9368e93258fSBjoern A. Zeeb B_AX_WDE_NULL_PKT_ERR_INT_EN | \ 9378e93258fSBjoern A. Zeeb B_AX_WDE_FLOW_CTRL_ERR_INT_EN) 9388e93258fSBjoern A. Zeeb 9398e93258fSBjoern A. Zeeb #define B_AX_REUSE_SIZE_ERR_INT_EN BIT(31) 9408e93258fSBjoern A. Zeeb #define B_AX_REUSE_EN_ERR_INT_EN BIT(30) 9418e93258fSBjoern A. Zeeb #define B_AX_STF_OQT_UNDERFLOW_ERR_INT_EN BIT(29) 9428e93258fSBjoern A. Zeeb #define B_AX_STF_OQT_OVERFLOW_ERR_INT_EN BIT(28) 9438e93258fSBjoern A. Zeeb #define B_AX_STF_WRFF_UNDERFLOW_ERR_INT_EN BIT(27) 9448e93258fSBjoern A. Zeeb #define B_AX_STF_WRFF_OVERFLOW_ERR_INT_EN BIT(26) 9458e93258fSBjoern A. Zeeb #define B_AX_STF_CMD_UNDERFLOW_ERR_INT_EN BIT(25) 9468e93258fSBjoern A. Zeeb #define B_AX_STF_CMD_OVERFLOW_ERR_INT_EN BIT(24) 9478e93258fSBjoern A. Zeeb #define B_AX_REUSE_SIZE_ZERO_ERR_INT_EN BIT(23) 9488e93258fSBjoern A. Zeeb #define B_AX_REUSE_PKT_CNT_ERR_INT_EN BIT(22) 9498e93258fSBjoern A. Zeeb #define B_AX_CDT_PTR_TIMEOUT_ERR_INT_EN BIT(21) 9508e93258fSBjoern A. Zeeb #define B_AX_CDT_HCI_TIMEOUT_ERR_INT_EN BIT(20) 9518e93258fSBjoern A. Zeeb #define B_AX_HDT_PTR_TIMEOUT_ERR_INT_EN BIT(19) 9528e93258fSBjoern A. Zeeb #define B_AX_HDT_HCI_TIMEOUT_ERR_INT_EN BIT(18) 9538e93258fSBjoern A. Zeeb #define B_AX_CDT_ADDR_INFO_LEN_ERR_INT_EN BIT(17) 9548e93258fSBjoern A. Zeeb #define B_AX_HDT_ADDR_INFO_LEN_ERR_INT_EN BIT(16) 9558e93258fSBjoern A. Zeeb #define B_AX_CDR_DMA_TIMEOUT_ERR_INT_EN BIT(15) 9568e93258fSBjoern A. Zeeb #define B_AX_CDR_RX_TIMEOUT_ERR_INT_EN BIT(14) 9578e93258fSBjoern A. Zeeb #define B_AX_PLE_RESPOSE_ERR_INT_EN BIT(11) 9588e93258fSBjoern A. Zeeb #define B_AX_HDR_DMA_TIMEOUT_ERR_INT_EN BIT(7) 9598e93258fSBjoern A. Zeeb #define B_AX_HDR_RX_TIMEOUT_ERR_INT_EN BIT(6) 9608e93258fSBjoern A. Zeeb #define B_AX_WDE_RESPONSE_ERR_INT_EN BIT(3) 9618e93258fSBjoern A. Zeeb #define B_AX_OTHER_DISP_IMR_CLR_V1 (B_AX_CT_EP_CH_DIFF_ERR_INT_EN | \ 9628e93258fSBjoern A. Zeeb B_AX_WDE_FLOW_CTRL_ERR_INT_EN | \ 9638e93258fSBjoern A. Zeeb B_AX_WDE_NULL_PKT_ERR_INT_EN | \ 9648e93258fSBjoern A. Zeeb B_AX_WDE_BURST_NUM_ERR_INT_EN | \ 9658e93258fSBjoern A. Zeeb B_AX_WDE_RESPONSE_ERR_INT_EN | \ 9668e93258fSBjoern A. Zeeb B_AX_WDE_OUTPUT_ERR_INT_EN | \ 9678e93258fSBjoern A. Zeeb B_AX_HDR_RX_TIMEOUT_ERR_INT_EN | \ 9688e93258fSBjoern A. Zeeb B_AX_HDR_DMA_TIMEOUT_ERR_INT_EN | \ 9698e93258fSBjoern A. Zeeb B_AX_PLE_FLOW_CTRL_ERR_INT_EN | \ 9708e93258fSBjoern A. Zeeb B_AX_PLE_NULL_PKT_ERR_INT_EN | \ 9718e93258fSBjoern A. Zeeb B_AX_PLE_BURST_NUM_ERR_INT_EN | \ 9728e93258fSBjoern A. Zeeb B_AX_PLE_RESPOSE_ERR_INT_EN | \ 9738e93258fSBjoern A. Zeeb B_AX_PLE_OUTPUT_ERR_INT_EN | \ 9748e93258fSBjoern A. Zeeb B_AX_CDR_RX_TIMEOUT_ERR_INT_EN | \ 9758e93258fSBjoern A. Zeeb B_AX_CDR_DMA_TIMEOUT_ERR_INT_EN | \ 9768e93258fSBjoern A. Zeeb B_AX_HDT_ADDR_INFO_LEN_ERR_INT_EN | \ 9778e93258fSBjoern A. Zeeb B_AX_CDT_ADDR_INFO_LEN_ERR_INT_EN | \ 9788e93258fSBjoern A. Zeeb B_AX_HDT_HCI_TIMEOUT_ERR_INT_EN | \ 9798e93258fSBjoern A. Zeeb B_AX_HDT_PTR_TIMEOUT_ERR_INT_EN | \ 9808e93258fSBjoern A. Zeeb B_AX_CDT_HCI_TIMEOUT_ERR_INT_EN | \ 9818e93258fSBjoern A. Zeeb B_AX_CDT_PTR_TIMEOUT_ERR_INT_EN | \ 9828e93258fSBjoern A. Zeeb B_AX_REUSE_PKT_CNT_ERR_INT_EN | \ 9838e93258fSBjoern A. Zeeb B_AX_REUSE_SIZE_ZERO_ERR_INT_EN | \ 9848e93258fSBjoern A. Zeeb B_AX_STF_CMD_OVERFLOW_ERR_INT_EN | \ 9858e93258fSBjoern A. Zeeb B_AX_STF_CMD_UNDERFLOW_ERR_INT_EN | \ 9868e93258fSBjoern A. Zeeb B_AX_STF_WRFF_OVERFLOW_ERR_INT_EN | \ 9878e93258fSBjoern A. Zeeb B_AX_STF_WRFF_UNDERFLOW_ERR_INT_EN | \ 9888e93258fSBjoern A. Zeeb B_AX_STF_OQT_OVERFLOW_ERR_INT_EN | \ 9898e93258fSBjoern A. Zeeb B_AX_STF_OQT_UNDERFLOW_ERR_INT_EN | \ 9908e93258fSBjoern A. Zeeb B_AX_REUSE_EN_ERR_INT_EN | \ 9918e93258fSBjoern A. Zeeb B_AX_REUSE_SIZE_ERR_INT_EN) 9928e93258fSBjoern A. Zeeb #define B_AX_OTHER_DISP_IMR_SET_V1 (B_AX_CDR_RX_TIMEOUT_ERR_INT_EN | \ 9938e93258fSBjoern A. Zeeb B_AX_CDR_DMA_TIMEOUT_ERR_INT_EN | \ 9948e93258fSBjoern A. Zeeb B_AX_HDT_HCI_TIMEOUT_ERR_INT_EN | \ 9958e93258fSBjoern A. Zeeb B_AX_HDT_PTR_TIMEOUT_ERR_INT_EN | \ 9968e93258fSBjoern A. Zeeb B_AX_CDT_HCI_TIMEOUT_ERR_INT_EN | \ 9978e93258fSBjoern A. Zeeb B_AX_CDT_PTR_TIMEOUT_ERR_INT_EN | \ 9988e93258fSBjoern A. Zeeb B_AX_STF_OQT_OVERFLOW_ERR_INT_EN | \ 9998e93258fSBjoern A. Zeeb B_AX_STF_OQT_UNDERFLOW_ERR_INT_EN) 10008e93258fSBjoern A. Zeeb 1001e2340276SBjoern A. Zeeb #define R_AX_DISPATCHER_DBG_PORT 0x8860 1002e2340276SBjoern A. Zeeb #define B_AX_DISPATCHER_DBG_SEL_MASK GENMASK(11, 8) 1003e2340276SBjoern A. Zeeb #define B_AX_DISPATCHER_INTN_SEL_MASK GENMASK(7, 4) 1004e2340276SBjoern A. Zeeb #define B_AX_DISPATCHER_CH_SEL_MASK GENMASK(3, 0) 1005e2340276SBjoern A. Zeeb 1006e2340276SBjoern A. Zeeb #define R_AX_RX_FUNCTION_STOP 0x8920 1007e2340276SBjoern A. Zeeb #define B_AX_HDR_RX_STOP BIT(0) 1008e2340276SBjoern A. Zeeb 10098e93258fSBjoern A. Zeeb #define R_AX_HCI_FC_CTRL 0x8A00 10108e93258fSBjoern A. Zeeb #define B_AX_HCI_FC_CH12_FULL_COND_MASK GENMASK(11, 10) 10118e93258fSBjoern A. Zeeb #define B_AX_HCI_FC_WP_CH811_FULL_COND_MASK GENMASK(9, 8) 10128e93258fSBjoern A. Zeeb #define B_AX_HCI_FC_WP_CH07_FULL_COND_MASK GENMASK(7, 6) 10138e93258fSBjoern A. Zeeb #define B_AX_HCI_FC_WD_FULL_COND_MASK GENMASK(5, 4) 10148e93258fSBjoern A. Zeeb #define B_AX_HCI_FC_CH12_EN BIT(3) 10158e93258fSBjoern A. Zeeb #define B_AX_HCI_FC_MODE_MASK GENMASK(2, 1) 10168e93258fSBjoern A. Zeeb #define B_AX_HCI_FC_EN BIT(0) 10178e93258fSBjoern A. Zeeb 10188e93258fSBjoern A. Zeeb #define R_AX_CH_PAGE_CTRL 0x8A04 10198e93258fSBjoern A. Zeeb #define B_AX_PREC_PAGE_CH12_MASK GENMASK(24, 16) 10208e93258fSBjoern A. Zeeb #define B_AX_PREC_PAGE_CH011_MASK GENMASK(8, 0) 10218e93258fSBjoern A. Zeeb 10228e93258fSBjoern A. Zeeb #define B_AX_MAX_PG_MASK GENMASK(28, 16) 10238e93258fSBjoern A. Zeeb #define B_AX_MIN_PG_MASK GENMASK(12, 0) 10248e93258fSBjoern A. Zeeb #define B_AX_GRP BIT(31) 10258e93258fSBjoern A. Zeeb #define R_AX_ACH0_PAGE_CTRL 0x8A10 10268e93258fSBjoern A. Zeeb #define R_AX_ACH1_PAGE_CTRL 0x8A14 10278e93258fSBjoern A. Zeeb #define R_AX_ACH2_PAGE_CTRL 0x8A18 10288e93258fSBjoern A. Zeeb #define R_AX_ACH3_PAGE_CTRL 0x8A1C 10298e93258fSBjoern A. Zeeb #define R_AX_ACH4_PAGE_CTRL 0x8A20 10308e93258fSBjoern A. Zeeb #define R_AX_ACH5_PAGE_CTRL 0x8A24 10318e93258fSBjoern A. Zeeb #define R_AX_ACH6_PAGE_CTRL 0x8A28 10328e93258fSBjoern A. Zeeb #define R_AX_ACH7_PAGE_CTRL 0x8A2C 10338e93258fSBjoern A. Zeeb #define R_AX_CH8_PAGE_CTRL 0x8A30 10348e93258fSBjoern A. Zeeb #define R_AX_CH9_PAGE_CTRL 0x8A34 10358e93258fSBjoern A. Zeeb #define R_AX_CH10_PAGE_CTRL 0x8A38 10368e93258fSBjoern A. Zeeb #define R_AX_CH11_PAGE_CTRL 0x8A3C 10378e93258fSBjoern A. Zeeb 10388e93258fSBjoern A. Zeeb #define B_AX_AVAL_PG_MASK GENMASK(27, 16) 10398e93258fSBjoern A. Zeeb #define B_AX_USE_PG_MASK GENMASK(12, 0) 10408e93258fSBjoern A. Zeeb #define R_AX_ACH0_PAGE_INFO 0x8A50 10418e93258fSBjoern A. Zeeb #define R_AX_ACH1_PAGE_INFO 0x8A54 10428e93258fSBjoern A. Zeeb #define R_AX_ACH2_PAGE_INFO 0x8A58 10438e93258fSBjoern A. Zeeb #define R_AX_ACH3_PAGE_INFO 0x8A5C 10448e93258fSBjoern A. Zeeb #define R_AX_ACH4_PAGE_INFO 0x8A60 10458e93258fSBjoern A. Zeeb #define R_AX_ACH5_PAGE_INFO 0x8A64 10468e93258fSBjoern A. Zeeb #define R_AX_ACH6_PAGE_INFO 0x8A68 10478e93258fSBjoern A. Zeeb #define R_AX_ACH7_PAGE_INFO 0x8A6C 10488e93258fSBjoern A. Zeeb #define R_AX_CH8_PAGE_INFO 0x8A70 10498e93258fSBjoern A. Zeeb #define R_AX_CH9_PAGE_INFO 0x8A74 10508e93258fSBjoern A. Zeeb #define R_AX_CH10_PAGE_INFO 0x8A78 10518e93258fSBjoern A. Zeeb #define R_AX_CH11_PAGE_INFO 0x8A7C 10528e93258fSBjoern A. Zeeb #define R_AX_CH12_PAGE_INFO 0x8A80 10538e93258fSBjoern A. Zeeb 10548e93258fSBjoern A. Zeeb #define R_AX_PUB_PAGE_INFO3 0x8A8C 10558e93258fSBjoern A. Zeeb #define B_AX_G1_AVAL_PG_MASK GENMASK(28, 16) 10568e93258fSBjoern A. Zeeb #define B_AX_G0_AVAL_PG_MASK GENMASK(12, 0) 10578e93258fSBjoern A. Zeeb 10588e93258fSBjoern A. Zeeb #define R_AX_PUB_PAGE_CTRL1 0x8A90 10598e93258fSBjoern A. Zeeb #define B_AX_PUBPG_G1_MASK GENMASK(28, 16) 10608e93258fSBjoern A. Zeeb #define B_AX_PUBPG_G0_MASK GENMASK(12, 0) 10618e93258fSBjoern A. Zeeb 10628e93258fSBjoern A. Zeeb #define R_AX_PUB_PAGE_CTRL2 0x8A94 10638e93258fSBjoern A. Zeeb #define B_AX_PUBPG_ALL_MASK GENMASK(12, 0) 10648e93258fSBjoern A. Zeeb 10658e93258fSBjoern A. Zeeb #define R_AX_PUB_PAGE_INFO1 0x8A98 10668e93258fSBjoern A. Zeeb #define B_AX_G1_USE_PG_MASK GENMASK(28, 16) 10678e93258fSBjoern A. Zeeb #define B_AX_G0_USE_PG_MASK GENMASK(12, 0) 10688e93258fSBjoern A. Zeeb 10698e93258fSBjoern A. Zeeb #define R_AX_PUB_PAGE_INFO2 0x8A9C 10708e93258fSBjoern A. Zeeb #define B_AX_PUB_AVAL_PG_MASK GENMASK(12, 0) 10718e93258fSBjoern A. Zeeb 10728e93258fSBjoern A. Zeeb #define R_AX_WP_PAGE_CTRL1 0x8AA0 10738e93258fSBjoern A. Zeeb #define B_AX_PREC_PAGE_WP_CH811_MASK GENMASK(24, 16) 10748e93258fSBjoern A. Zeeb #define B_AX_PREC_PAGE_WP_CH07_MASK GENMASK(8, 0) 10758e93258fSBjoern A. Zeeb 10768e93258fSBjoern A. Zeeb #define R_AX_WP_PAGE_CTRL2 0x8AA4 10778e93258fSBjoern A. Zeeb #define B_AX_WP_THRD_MASK GENMASK(12, 0) 10788e93258fSBjoern A. Zeeb 10798e93258fSBjoern A. Zeeb #define R_AX_WP_PAGE_INFO1 0x8AA8 10808e93258fSBjoern A. Zeeb #define B_AX_WP_AVAL_PG_MASK GENMASK(28, 16) 10818e93258fSBjoern A. Zeeb 10828e93258fSBjoern A. Zeeb #define R_AX_WDE_PKTBUF_CFG 0x8C08 10838e93258fSBjoern A. Zeeb #define B_AX_WDE_START_BOUND_MASK GENMASK(13, 8) 10848e93258fSBjoern A. Zeeb #define B_AX_WDE_PAGE_SEL_MASK GENMASK(1, 0) 10858e93258fSBjoern A. Zeeb #define B_AX_WDE_FREE_PAGE_NUM_MASK GENMASK(28, 16) 10868e93258fSBjoern A. Zeeb 10878e93258fSBjoern A. Zeeb #define R_AX_WDE_ERRFLAG_MSG 0x8C30 10888e93258fSBjoern A. Zeeb #define B_AX_WDE_ERR_FLAG_MSG_MASK GENMASK(31, 0) 10898e93258fSBjoern A. Zeeb 1090e2340276SBjoern A. Zeeb #define R_AX_WDE_ERR_FLAG_CFG_NUM1 0x8C34 1091e2340276SBjoern A. Zeeb #define B_AX_WDE_ERR_FLAG_NUM1_VLD BIT(31) 1092e2340276SBjoern A. Zeeb #define B_AX_WDE_ERR_FLAG_NUM1_MSTIDX_MASK GENMASK(27, 24) 1093e2340276SBjoern A. Zeeb #define B_AX_WDE_ERR_FLAG_NUM1_ISRIDX_MASK GENMASK(20, 16) 1094e2340276SBjoern A. Zeeb #define B_AX_WDE_DATCHN_FRZTMR_MODE BIT(2) 1095e2340276SBjoern A. Zeeb #define B_AX_WDE_QUEMGN_FRZTMR_MODE BIT(1) 1096e2340276SBjoern A. Zeeb #define B_AX_WDE_BUFMGN_FRZTMR_MODE BIT(0) 10978e93258fSBjoern A. Zeeb 10988e93258fSBjoern A. Zeeb #define R_AX_WDE_ERR_IMR 0x8C38 10998e93258fSBjoern A. Zeeb #define B_AX_WDE_DATCHN_RRDY_ERR_INT_EN BIT(27) 11008e93258fSBjoern A. Zeeb #define B_AX_WDE_DATCHN_FRZTO_ERR_INT_EN BIT(26) 11018e93258fSBjoern A. Zeeb #define B_AX_WDE_DATCHN_NULLPG_ERR_INT_EN BIT(25) 11028e93258fSBjoern A. Zeeb #define B_AX_WDE_DATCHN_ARBT_ERR_INT_EN BIT(24) 11038e93258fSBjoern A. Zeeb #define B_AX_WDE_QUEMGN_FRZTO_ERR_INT_EN BIT(19) 11048e93258fSBjoern A. Zeeb #define B_AX_WDE_NXTPKTLL_AD_ERR_INT_EN BIT(18) 11058e93258fSBjoern A. Zeeb #define B_AX_WDE_PREPKTLLT_AD_ERR_INT_EN BIT(17) 11068e93258fSBjoern A. Zeeb #define B_AX_WDE_ENQ_PKTCNT_NVAL_ERR_INT_EN BIT(16) 11078e93258fSBjoern A. Zeeb #define B_AX_WDE_ENQ_PKTCNT_OVRF_ERR_INT_EN BIT(15) 11088e93258fSBjoern A. Zeeb #define B_AX_WDE_QUE_SRCQUEID_ERR_INT_EN BIT(14) 11098e93258fSBjoern A. Zeeb #define B_AX_WDE_QUE_DSTQUEID_ERR_INT_EN BIT(13) 11108e93258fSBjoern A. Zeeb #define B_AX_WDE_QUE_CMDTYPE_ERR_INT_EN BIT(12) 11118e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFMGN_FRZTO_ERR_INT_EN BIT(7) 11128e93258fSBjoern A. Zeeb #define B_AX_WDE_GETNPG_PGOFST_ERR_INT_EN BIT(6) 11138e93258fSBjoern A. Zeeb #define B_AX_WDE_GETNPG_STRPG_ERR_INT_EN BIT(5) 11148e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFREQ_SRCHTAILPG_ERR_INT_EN BIT(4) 11158e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFRTN_SIZE_ERR_INT_EN BIT(3) 11168e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFRTN_INVLD_PKTID_ERR_INT_EN BIT(2) 11178e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFREQ_UNAVAL_ERR_INT_EN BIT(1) 11188e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFREQ_QTAID_ERR_INT_EN BIT(0) 11198e93258fSBjoern A. Zeeb #define B_AX_WDE_IMR_CLR (B_AX_WDE_BUFREQ_QTAID_ERR_INT_EN | \ 11208e93258fSBjoern A. Zeeb B_AX_WDE_BUFREQ_UNAVAL_ERR_INT_EN | \ 11218e93258fSBjoern A. Zeeb B_AX_WDE_BUFRTN_INVLD_PKTID_ERR_INT_EN | \ 11228e93258fSBjoern A. Zeeb B_AX_WDE_BUFRTN_SIZE_ERR_INT_EN | \ 11238e93258fSBjoern A. Zeeb B_AX_WDE_BUFREQ_SRCHTAILPG_ERR_INT_EN | \ 11248e93258fSBjoern A. Zeeb B_AX_WDE_GETNPG_STRPG_ERR_INT_EN | \ 11258e93258fSBjoern A. Zeeb B_AX_WDE_GETNPG_PGOFST_ERR_INT_EN | \ 11268e93258fSBjoern A. Zeeb B_AX_WDE_BUFMGN_FRZTO_ERR_INT_EN | \ 11278e93258fSBjoern A. Zeeb B_AX_WDE_QUE_CMDTYPE_ERR_INT_EN | \ 11288e93258fSBjoern A. Zeeb B_AX_WDE_QUE_DSTQUEID_ERR_INT_EN | \ 11298e93258fSBjoern A. Zeeb B_AX_WDE_QUE_SRCQUEID_ERR_INT_EN | \ 11308e93258fSBjoern A. Zeeb B_AX_WDE_ENQ_PKTCNT_OVRF_ERR_INT_EN | \ 11318e93258fSBjoern A. Zeeb B_AX_WDE_ENQ_PKTCNT_NVAL_ERR_INT_EN | \ 11328e93258fSBjoern A. Zeeb B_AX_WDE_PREPKTLLT_AD_ERR_INT_EN | \ 11338e93258fSBjoern A. Zeeb B_AX_WDE_NXTPKTLL_AD_ERR_INT_EN | \ 11348e93258fSBjoern A. Zeeb B_AX_WDE_QUEMGN_FRZTO_ERR_INT_EN | \ 11358e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_ARBT_ERR_INT_EN | \ 11368e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_NULLPG_ERR_INT_EN | \ 11378e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_FRZTO_ERR_INT_EN) 11388e93258fSBjoern A. Zeeb #define B_AX_WDE_IMR_SET (B_AX_WDE_BUFREQ_QTAID_ERR_INT_EN | \ 11398e93258fSBjoern A. Zeeb B_AX_WDE_BUFREQ_UNAVAL_ERR_INT_EN | \ 11408e93258fSBjoern A. Zeeb B_AX_WDE_BUFRTN_INVLD_PKTID_ERR_INT_EN | \ 11418e93258fSBjoern A. Zeeb B_AX_WDE_BUFRTN_SIZE_ERR_INT_EN | \ 11428e93258fSBjoern A. Zeeb B_AX_WDE_BUFREQ_SRCHTAILPG_ERR_INT_EN | \ 11438e93258fSBjoern A. Zeeb B_AX_WDE_GETNPG_STRPG_ERR_INT_EN | \ 11448e93258fSBjoern A. Zeeb B_AX_WDE_GETNPG_PGOFST_ERR_INT_EN | \ 11458e93258fSBjoern A. Zeeb B_AX_WDE_BUFMGN_FRZTO_ERR_INT_EN | \ 11468e93258fSBjoern A. Zeeb B_AX_WDE_QUE_CMDTYPE_ERR_INT_EN | \ 11478e93258fSBjoern A. Zeeb B_AX_WDE_QUE_DSTQUEID_ERR_INT_EN | \ 11488e93258fSBjoern A. Zeeb B_AX_WDE_QUE_SRCQUEID_ERR_INT_EN | \ 11498e93258fSBjoern A. Zeeb B_AX_WDE_ENQ_PKTCNT_OVRF_ERR_INT_EN | \ 11508e93258fSBjoern A. Zeeb B_AX_WDE_ENQ_PKTCNT_NVAL_ERR_INT_EN | \ 11518e93258fSBjoern A. Zeeb B_AX_WDE_PREPKTLLT_AD_ERR_INT_EN | \ 11528e93258fSBjoern A. Zeeb B_AX_WDE_NXTPKTLL_AD_ERR_INT_EN | \ 11538e93258fSBjoern A. Zeeb B_AX_WDE_QUEMGN_FRZTO_ERR_INT_EN | \ 11548e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_ARBT_ERR_INT_EN | \ 11558e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_NULLPG_ERR_INT_EN | \ 11568e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_FRZTO_ERR_INT_EN) 11578e93258fSBjoern A. Zeeb 11588e93258fSBjoern A. Zeeb #define B_AX_WDE_DATCHN_CAMREQ_ERR_INT_EN BIT(29) 11598e93258fSBjoern A. Zeeb #define B_AX_WDE_DATCHN_ADRERR_ERR_INT_EN BIT(28) 11608e93258fSBjoern A. Zeeb #define B_AX_WDE_DATCHN_RRDY_ERR_INT_EN BIT(27) 11618e93258fSBjoern A. Zeeb #define B_AX_WDE_DATCHN_FRZTO_ERR_INT_EN BIT(26) 11628e93258fSBjoern A. Zeeb #define B_AX_WDE_DATCHN_NULLPG_ERR_INT_EN BIT(25) 11638e93258fSBjoern A. Zeeb #define B_AX_WDE_DATCHN_ARBT_ERR_INT_EN BIT(24) 11648e93258fSBjoern A. Zeeb #define B_AX_WDE_QUEMGN_FRZTO_ERR_INT_EN BIT(19) 11658e93258fSBjoern A. Zeeb #define B_AX_WDE_NXTPKTLL_AD_ERR_INT_EN BIT(18) 11668e93258fSBjoern A. Zeeb #define B_AX_WDE_PREPKTLLT_AD_ERR_INT_EN BIT(17) 11678e93258fSBjoern A. Zeeb #define B_AX_WDE_ENQ_PKTCNT_NVAL_ERR_INT_EN BIT(16) 11688e93258fSBjoern A. Zeeb #define B_AX_WDE_ENQ_PKTCNT_OVRF_ERR_INT_EN BIT(15) 11698e93258fSBjoern A. Zeeb #define B_AX_WDE_QUE_SRCQUEID_ERR_INT_EN BIT(14) 11708e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFMGN_FRZTO_ERR_INT_EN_V1 BIT(9) 11718e93258fSBjoern A. Zeeb #define B_AX_WDE_GETNPG_PGOFST_ERR_INT_EN_V1 BIT(8) 11728e93258fSBjoern A. Zeeb #define B_AX_WDE_GETNPG_STRPG_ERR_INT_EN_V1 BIT(7) 11738e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFREQ_SRCHTAILPG_ERR_INT_EN_V1 BIT(6) 11748e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFRTN_SIZE_ERR_INT_EN_V1 BIT(5) 11758e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFRTN_INVLD_PKTID_ERR_INT_EN_V1 BIT(4) 11768e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFREQ_UNAVAL_ERR_INT_EN_V1 BIT(3) 11778e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFREQ_SIZELMT_INT_EN BIT(2) 11788e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFREQ_SIZE0_INT_EN BIT(1) 11798e93258fSBjoern A. Zeeb #define B_AX_WDE_IMR_CLR_V1 (B_AX_WDE_BUFREQ_QTAID_ERR_INT_EN | \ 11808e93258fSBjoern A. Zeeb B_AX_WDE_BUFREQ_SIZE0_INT_EN | \ 11818e93258fSBjoern A. Zeeb B_AX_WDE_BUFREQ_SIZELMT_INT_EN | \ 11828e93258fSBjoern A. Zeeb B_AX_WDE_BUFREQ_UNAVAL_ERR_INT_EN_V1 | \ 11838e93258fSBjoern A. Zeeb B_AX_WDE_BUFRTN_INVLD_PKTID_ERR_INT_EN_V1 | \ 11848e93258fSBjoern A. Zeeb B_AX_WDE_BUFRTN_SIZE_ERR_INT_EN_V1 | \ 11858e93258fSBjoern A. Zeeb B_AX_WDE_BUFREQ_SRCHTAILPG_ERR_INT_EN_V1 | \ 11868e93258fSBjoern A. Zeeb B_AX_WDE_GETNPG_STRPG_ERR_INT_EN_V1 | \ 11878e93258fSBjoern A. Zeeb B_AX_WDE_GETNPG_PGOFST_ERR_INT_EN_V1 | \ 11888e93258fSBjoern A. Zeeb B_AX_WDE_BUFMGN_FRZTO_ERR_INT_EN_V1 | \ 11898e93258fSBjoern A. Zeeb B_AX_WDE_QUE_CMDTYPE_ERR_INT_EN | \ 11908e93258fSBjoern A. Zeeb B_AX_WDE_QUE_DSTQUEID_ERR_INT_EN | \ 11918e93258fSBjoern A. Zeeb B_AX_WDE_QUE_SRCQUEID_ERR_INT_EN | \ 11928e93258fSBjoern A. Zeeb B_AX_WDE_ENQ_PKTCNT_OVRF_ERR_INT_EN | \ 11938e93258fSBjoern A. Zeeb B_AX_WDE_ENQ_PKTCNT_NVAL_ERR_INT_EN | \ 11948e93258fSBjoern A. Zeeb B_AX_WDE_PREPKTLLT_AD_ERR_INT_EN | \ 11958e93258fSBjoern A. Zeeb B_AX_WDE_NXTPKTLL_AD_ERR_INT_EN | \ 11968e93258fSBjoern A. Zeeb B_AX_WDE_QUEMGN_FRZTO_ERR_INT_EN | \ 11978e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_ARBT_ERR_INT_EN | \ 11988e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_NULLPG_ERR_INT_EN | \ 11998e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_FRZTO_ERR_INT_EN | \ 12008e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_RRDY_ERR_INT_EN | \ 12018e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_ADRERR_ERR_INT_EN | \ 12028e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_CAMREQ_ERR_INT_EN) 12038e93258fSBjoern A. Zeeb #define B_AX_WDE_IMR_SET_V1 (B_AX_WDE_BUFREQ_QTAID_ERR_INT_EN | \ 12048e93258fSBjoern A. Zeeb B_AX_WDE_BUFREQ_SIZE0_INT_EN | \ 12058e93258fSBjoern A. Zeeb B_AX_WDE_BUFREQ_SIZELMT_INT_EN | \ 12068e93258fSBjoern A. Zeeb B_AX_WDE_BUFREQ_UNAVAL_ERR_INT_EN_V1 | \ 12078e93258fSBjoern A. Zeeb B_AX_WDE_BUFRTN_INVLD_PKTID_ERR_INT_EN_V1 | \ 12088e93258fSBjoern A. Zeeb B_AX_WDE_BUFRTN_SIZE_ERR_INT_EN_V1 | \ 12098e93258fSBjoern A. Zeeb B_AX_WDE_BUFREQ_SRCHTAILPG_ERR_INT_EN_V1 | \ 12108e93258fSBjoern A. Zeeb B_AX_WDE_GETNPG_STRPG_ERR_INT_EN_V1 | \ 12118e93258fSBjoern A. Zeeb B_AX_WDE_GETNPG_PGOFST_ERR_INT_EN_V1 | \ 12128e93258fSBjoern A. Zeeb B_AX_WDE_BUFMGN_FRZTO_ERR_INT_EN_V1 | \ 12138e93258fSBjoern A. Zeeb B_AX_WDE_QUE_CMDTYPE_ERR_INT_EN | \ 12148e93258fSBjoern A. Zeeb B_AX_WDE_QUE_DSTQUEID_ERR_INT_EN | \ 12158e93258fSBjoern A. Zeeb B_AX_WDE_QUE_SRCQUEID_ERR_INT_EN | \ 12168e93258fSBjoern A. Zeeb B_AX_WDE_ENQ_PKTCNT_OVRF_ERR_INT_EN | \ 12178e93258fSBjoern A. Zeeb B_AX_WDE_ENQ_PKTCNT_NVAL_ERR_INT_EN | \ 12188e93258fSBjoern A. Zeeb B_AX_WDE_PREPKTLLT_AD_ERR_INT_EN | \ 12198e93258fSBjoern A. Zeeb B_AX_WDE_NXTPKTLL_AD_ERR_INT_EN | \ 12208e93258fSBjoern A. Zeeb B_AX_WDE_QUEMGN_FRZTO_ERR_INT_EN | \ 12218e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_ARBT_ERR_INT_EN | \ 12228e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_NULLPG_ERR_INT_EN | \ 12238e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_FRZTO_ERR_INT_EN | \ 12248e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_RRDY_ERR_INT_EN | \ 12258e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_ADRERR_ERR_INT_EN | \ 12268e93258fSBjoern A. Zeeb B_AX_WDE_DATCHN_CAMREQ_ERR_INT_EN) 12278e93258fSBjoern A. Zeeb 12288e93258fSBjoern A. Zeeb #define R_AX_WDE_ERR_ISR 0x8C3C 12298e93258fSBjoern A. Zeeb #define B_AX_WDE_DATCHN_RRDY_ERR BIT(27) 12308e93258fSBjoern A. Zeeb #define B_AX_WDE_DATCHN_FRZTO_ERR BIT(26) 12318e93258fSBjoern A. Zeeb #define B_AX_WDE_DATCHN_NULLPG_ERR BIT(25) 12328e93258fSBjoern A. Zeeb #define B_AX_WDE_DATCHN_ARBT_ERR BIT(24) 12338e93258fSBjoern A. Zeeb #define B_AX_WDE_QUEMGN_FRZTO_ERR BIT(19) 12348e93258fSBjoern A. Zeeb #define B_AX_WDE_NXTPKTLL_AD_ERR BIT(18) 12358e93258fSBjoern A. Zeeb #define B_AX_WDE_PREPKTLLT_AD_ERR BIT(17) 12368e93258fSBjoern A. Zeeb #define B_AX_WDE_ENQ_PKTCNT_NVAL_ERR BIT(16) 12378e93258fSBjoern A. Zeeb #define B_AX_WDE_ENQ_PKTCNT_OVRF_ERR BIT(15) 12388e93258fSBjoern A. Zeeb #define B_AX_WDE_QUE_SRCQUEID_ERR BIT(14) 12398e93258fSBjoern A. Zeeb #define B_AX_WDE_QUE_DSTQUEID_ERR BIT(13) 12408e93258fSBjoern A. Zeeb #define B_AX_WDE_QUE_CMDTYPE_ERR BIT(12) 12418e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFMGN_FRZTO_ERR BIT(7) 12428e93258fSBjoern A. Zeeb #define B_AX_WDE_GETNPG_PGOFST_ERR BIT(6) 12438e93258fSBjoern A. Zeeb #define B_AX_WDE_GETNPG_STRPG_ERR BIT(5) 12448e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFREQ_SRCHTAILPG_ERR BIT(4) 12458e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFRTN_SIZE_ERR BIT(3) 12468e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFRTN_INVLD_PKTID_ERR BIT(2) 12478e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFREQ_UNAVAL_ERR BIT(1) 12488e93258fSBjoern A. Zeeb #define B_AX_WDE_BUFREQ_QTAID_ERR BIT(0) 12498e93258fSBjoern A. Zeeb 12508e93258fSBjoern A. Zeeb #define B_AX_WDE_MAX_SIZE_MASK GENMASK(27, 16) 12518e93258fSBjoern A. Zeeb #define B_AX_WDE_MIN_SIZE_MASK GENMASK(11, 0) 12528e93258fSBjoern A. Zeeb #define R_AX_WDE_QTA0_CFG 0x8C40 12538e93258fSBjoern A. Zeeb #define R_AX_WDE_QTA1_CFG 0x8C44 12548e93258fSBjoern A. Zeeb #define R_AX_WDE_QTA2_CFG 0x8C48 12558e93258fSBjoern A. Zeeb #define R_AX_WDE_QTA3_CFG 0x8C4C 12568e93258fSBjoern A. Zeeb #define R_AX_WDE_QTA4_CFG 0x8C50 12578e93258fSBjoern A. Zeeb 12588e93258fSBjoern A. Zeeb #define B_AX_DLE_PUB_PGNUM GENMASK(12, 0) 12598e93258fSBjoern A. Zeeb #define B_AX_DLE_FREE_HEADPG GENMASK(11, 0) 12608e93258fSBjoern A. Zeeb #define B_AX_DLE_FREE_TAILPG GENMASK(27, 16) 12618e93258fSBjoern A. Zeeb #define B_AX_DLE_USE_PGNUM GENMASK(27, 16) 12628e93258fSBjoern A. Zeeb #define B_AX_DLE_RSV_PGNUM GENMASK(11, 0) 12638e93258fSBjoern A. Zeeb #define B_AX_DLE_QEMPTY_GRP GENMASK(31, 0) 12648e93258fSBjoern A. Zeeb 12658e93258fSBjoern A. Zeeb #define R_AX_WDE_INI_STATUS 0x8D00 12668e93258fSBjoern A. Zeeb #define B_AX_WDE_Q_MGN_INI_RDY BIT(1) 12678e93258fSBjoern A. Zeeb #define B_AX_WDE_BUF_MGN_INI_RDY BIT(0) 12688e93258fSBjoern A. Zeeb #define WDE_MGN_INI_RDY (B_AX_WDE_Q_MGN_INI_RDY | B_AX_WDE_BUF_MGN_INI_RDY) 12698e93258fSBjoern A. Zeeb #define R_AX_WDE_DBG_FUN_INTF_CTL 0x8D10 12708e93258fSBjoern A. Zeeb #define B_AX_WDE_DFI_ACTIVE BIT(31) 12718e93258fSBjoern A. Zeeb #define B_AX_WDE_DFI_TRGSEL_MASK GENMASK(19, 16) 12728e93258fSBjoern A. Zeeb #define B_AX_WDE_DFI_ADDR_MASK GENMASK(15, 0) 12738e93258fSBjoern A. Zeeb #define R_AX_WDE_DBG_FUN_INTF_DATA 0x8D14 12748e93258fSBjoern A. Zeeb #define B_AX_WDE_DFI_DATA_MASK GENMASK(31, 0) 12758e93258fSBjoern A. Zeeb 12768e93258fSBjoern A. Zeeb #define R_AX_PLE_PKTBUF_CFG 0x9008 12778e93258fSBjoern A. Zeeb #define B_AX_PLE_START_BOUND_MASK GENMASK(13, 8) 12788e93258fSBjoern A. Zeeb #define B_AX_PLE_PAGE_SEL_MASK GENMASK(1, 0) 12798e93258fSBjoern A. Zeeb #define B_AX_PLE_FREE_PAGE_NUM_MASK GENMASK(28, 16) 1280e2340276SBjoern A. Zeeb 1281e2340276SBjoern A. Zeeb #define R_AX_PLE_DBGERR_LOCKEN 0x9020 1282e2340276SBjoern A. Zeeb #define B_AX_PLE_LOCKEN_DLEPIF07 BIT(7) 1283e2340276SBjoern A. Zeeb #define B_AX_PLE_LOCKEN_DLEPIF06 BIT(6) 1284e2340276SBjoern A. Zeeb #define B_AX_PLE_LOCKEN_DLEPIF05 BIT(5) 1285e2340276SBjoern A. Zeeb #define B_AX_PLE_LOCKEN_DLEPIF04 BIT(4) 1286e2340276SBjoern A. Zeeb #define B_AX_PLE_LOCKEN_DLEPIF03 BIT(3) 1287e2340276SBjoern A. Zeeb #define B_AX_PLE_LOCKEN_DLEPIF02 BIT(2) 1288e2340276SBjoern A. Zeeb #define B_AX_PLE_LOCKEN_DLEPIF01 BIT(1) 1289e2340276SBjoern A. Zeeb #define B_AX_PLE_LOCKEN_DLEPIF00 BIT(0) 1290e2340276SBjoern A. Zeeb 1291e2340276SBjoern A. Zeeb #define R_AX_PLE_DBGERR_STS 0x9024 1292e2340276SBjoern A. Zeeb #define B_AX_PLE_LOCKON_DLEPIF07 BIT(7) 1293e2340276SBjoern A. Zeeb #define B_AX_PLE_LOCKON_DLEPIF06 BIT(6) 1294e2340276SBjoern A. Zeeb #define B_AX_PLE_LOCKON_DLEPIF05 BIT(5) 1295e2340276SBjoern A. Zeeb #define B_AX_PLE_LOCKON_DLEPIF04 BIT(4) 1296e2340276SBjoern A. Zeeb #define B_AX_PLE_LOCKON_DLEPIF03 BIT(3) 1297e2340276SBjoern A. Zeeb #define B_AX_PLE_LOCKON_DLEPIF02 BIT(2) 1298e2340276SBjoern A. Zeeb #define B_AX_PLE_LOCKON_DLEPIF01 BIT(1) 1299e2340276SBjoern A. Zeeb #define B_AX_PLE_LOCKON_DLEPIF00 BIT(0) 1300e2340276SBjoern A. Zeeb 1301e2340276SBjoern A. Zeeb #define R_AX_PLE_ERR_FLAG_CFG_NUM1 0x9034 1302e2340276SBjoern A. Zeeb #define B_AX_PLE_ERR_FLAG_NUM1_VLD BIT(31) 1303e2340276SBjoern A. Zeeb #define B_AX_PLE_ERR_FLAG_NUM1_MSTIDX_MASK GENMASK(27, 24) 1304e2340276SBjoern A. Zeeb #define B_AX_PLE_ERR_FLAG_NUM1_ISRIDX_MASK GENMASK(20, 16) 1305e2340276SBjoern A. Zeeb #define B_AX_PLE_DATCHN_FRZTMR_MODE BIT(2) 1306e2340276SBjoern A. Zeeb #define B_AX_PLE_QUEMGN_FRZTMR_MODE BIT(1) 1307e2340276SBjoern A. Zeeb #define B_AX_PLE_BUFMGN_FRZTMR_MODE BIT(0) 1308e2340276SBjoern A. Zeeb 1309e2340276SBjoern A. Zeeb #define R_AX_PLE_ERRFLAG_MSG 0x9030 1310e2340276SBjoern A. Zeeb #define B_AX_PLE_ERR_FLAG_MSG_MASK GENMASK(31, 0) 1311e2340276SBjoern A. Zeeb #define B_AX_PLE_DATCHN_CAMREQ_ERR_INT_EN BIT(29) 1312e2340276SBjoern A. Zeeb #define B_AX_PLE_DATCHN_ADRERR_ERR_INT_EN BIT(28) 1313e2340276SBjoern A. Zeeb #define B_AX_PLE_BUFMGN_FRZTO_ERR_INT_EN_V1 BIT(9) 1314e2340276SBjoern A. Zeeb #define B_AX_PLE_GETNPG_PGOFST_ERR_INT_EN_V1 BIT(8) 1315e2340276SBjoern A. Zeeb #define B_AX_PLE_GETNPG_STRPG_ERR_INT_EN_V1 BIT(7) 1316e2340276SBjoern A. Zeeb #define B_AX_PLE_BUFREQ_SRCHTAILPG_ERR_INT_EN_V1 BIT(6) 1317e2340276SBjoern A. Zeeb #define B_AX_PLE_BUFRTN_SIZE_ERR_INT_EN_V1 BIT(5) 1318e2340276SBjoern A. Zeeb #define B_AX_PLE_BUFRTN_INVLD_PKTID_ERR_INT_EN_V1 BIT(4) 1319e2340276SBjoern A. Zeeb #define B_AX_PLE_BUFREQ_UNAVAL_ERR_INT_EN_V1 BIT(3) 1320e2340276SBjoern A. Zeeb #define B_AX_PLE_BUFREQ_SIZELMT_INT_EN BIT(2) 1321e2340276SBjoern A. Zeeb #define B_AX_PLE_BUFREQ_SIZE0_INT_EN BIT(1) 1322e2340276SBjoern A. Zeeb #define B_AX_PLE_DATCHN_CAMREQ_ERR BIT(29) 1323e2340276SBjoern A. Zeeb #define B_AX_PLE_DATCHN_ADRERR_ERR BIT(28) 1324e2340276SBjoern A. Zeeb #define B_AX_PLE_BUFMGN_FRZTO_ERR_V1 BIT(9) 1325e2340276SBjoern A. Zeeb #define B_AX_PLE_GETNPG_PGOFST_ERR_V1 BIT(8) 1326e2340276SBjoern A. Zeeb #define B_AX_PLE_GETNPG_STRPG_ERR_V1 BIT(7) 1327e2340276SBjoern A. Zeeb #define B_AX_PLE_BUFREQ_SRCHTAILPG_ERR_V1 BIT(6) 1328e2340276SBjoern A. Zeeb #define B_AX_PLE_BUFRTN_SIZE_ERR_V1 BIT(5) 1329e2340276SBjoern A. Zeeb #define B_AX_PLE_BUFRTN_INVLD_PKTID_ERR_V1 BIT(4) 1330e2340276SBjoern A. Zeeb #define B_AX_PLE_BUFREQ_UNAVAL_ERR_V1 BIT(3) 1331e2340276SBjoern A. Zeeb #define B_AX_PLE_BUFREQ_SIZELMT_ERR BIT(2) 1332e2340276SBjoern A. Zeeb #define B_AX_PLE_BUFREQ_SIZE0_ERR BIT(1) 13338e93258fSBjoern A. Zeeb 13348e93258fSBjoern A. Zeeb #define R_AX_PLE_ERR_IMR 0x9038 13358e93258fSBjoern A. Zeeb #define B_AX_PLE_DATCHN_RRDY_ERR_INT_EN BIT(27) 13368e93258fSBjoern A. Zeeb #define B_AX_PLE_DATCHN_FRZTO_ERR_INT_EN BIT(26) 13378e93258fSBjoern A. Zeeb #define B_AX_PLE_DATCHN_NULLPG_ERR_INT_EN BIT(25) 13388e93258fSBjoern A. Zeeb #define B_AX_PLE_DATCHN_ARBT_ERR_INT_EN BIT(24) 13398e93258fSBjoern A. Zeeb #define B_AX_PLE_QUEMGN_FRZTO_ERR_INT_EN BIT(19) 13408e93258fSBjoern A. Zeeb #define B_AX_PLE_NXTPKTLL_AD_ERR_INT_EN BIT(18) 13418e93258fSBjoern A. Zeeb #define B_AX_PLE_PREPKTLLT_AD_ERR_INT_EN BIT(17) 13428e93258fSBjoern A. Zeeb #define B_AX_PLE_ENQ_PKTCNT_NVAL_ERR_INT_EN BIT(16) 13438e93258fSBjoern A. Zeeb #define B_AX_PLE_ENQ_PKTCNT_OVRF_ERR_INT_EN BIT(15) 13448e93258fSBjoern A. Zeeb #define B_AX_PLE_QUE_SRCQUEID_ERR_INT_EN BIT(14) 13458e93258fSBjoern A. Zeeb #define B_AX_PLE_QUE_DSTQUEID_ERR_INT_EN BIT(13) 13468e93258fSBjoern A. Zeeb #define B_AX_PLE_QUE_CMDTYPE_ERR_INT_EN BIT(12) 13478e93258fSBjoern A. Zeeb #define B_AX_PLE_BUFMGN_FRZTO_ERR_INT_EN BIT(7) 13488e93258fSBjoern A. Zeeb #define B_AX_PLE_GETNPG_PGOFST_ERR_INT_EN BIT(6) 13498e93258fSBjoern A. Zeeb #define B_AX_PLE_GETNPG_STRPG_ERR_INT_EN BIT(5) 13508e93258fSBjoern A. Zeeb #define B_AX_PLE_BUFREQ_SRCHTAILPG_ERR_INT_EN BIT(4) 13518e93258fSBjoern A. Zeeb #define B_AX_PLE_BUFRTN_SIZE_ERR_INT_EN BIT(3) 13528e93258fSBjoern A. Zeeb #define B_AX_PLE_BUFRTN_INVLD_PKTID_ERR_INT_EN BIT(2) 13538e93258fSBjoern A. Zeeb #define B_AX_PLE_BUFREQ_UNAVAL_ERR_INT_EN BIT(1) 13548e93258fSBjoern A. Zeeb #define B_AX_PLE_BUFREQ_QTAID_ERR_INT_EN BIT(0) 13558e93258fSBjoern A. Zeeb #define B_AX_PLE_IMR_CLR (B_AX_PLE_BUFREQ_QTAID_ERR_INT_EN | \ 13568e93258fSBjoern A. Zeeb B_AX_PLE_BUFREQ_UNAVAL_ERR_INT_EN | \ 13578e93258fSBjoern A. Zeeb B_AX_PLE_BUFRTN_INVLD_PKTID_ERR_INT_EN | \ 13588e93258fSBjoern A. Zeeb B_AX_PLE_BUFRTN_SIZE_ERR_INT_EN | \ 13598e93258fSBjoern A. Zeeb B_AX_PLE_BUFREQ_SRCHTAILPG_ERR_INT_EN | \ 13608e93258fSBjoern A. Zeeb B_AX_PLE_GETNPG_STRPG_ERR_INT_EN | \ 13618e93258fSBjoern A. Zeeb B_AX_PLE_GETNPG_PGOFST_ERR_INT_EN | \ 13628e93258fSBjoern A. Zeeb B_AX_PLE_BUFMGN_FRZTO_ERR_INT_EN | \ 13638e93258fSBjoern A. Zeeb B_AX_PLE_QUE_CMDTYPE_ERR_INT_EN | \ 13648e93258fSBjoern A. Zeeb B_AX_PLE_QUE_DSTQUEID_ERR_INT_EN | \ 13658e93258fSBjoern A. Zeeb B_AX_PLE_QUE_SRCQUEID_ERR_INT_EN | \ 13668e93258fSBjoern A. Zeeb B_AX_PLE_ENQ_PKTCNT_OVRF_ERR_INT_EN | \ 13678e93258fSBjoern A. Zeeb B_AX_PLE_ENQ_PKTCNT_NVAL_ERR_INT_EN | \ 13688e93258fSBjoern A. Zeeb B_AX_PLE_PREPKTLLT_AD_ERR_INT_EN | \ 13698e93258fSBjoern A. Zeeb B_AX_PLE_NXTPKTLL_AD_ERR_INT_EN | \ 13708e93258fSBjoern A. Zeeb B_AX_PLE_QUEMGN_FRZTO_ERR_INT_EN | \ 13718e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_ARBT_ERR_INT_EN | \ 13728e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_NULLPG_ERR_INT_EN | \ 13738e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_FRZTO_ERR_INT_EN) 13748e93258fSBjoern A. Zeeb #define B_AX_PLE_IMR_SET (B_AX_PLE_BUFREQ_QTAID_ERR_INT_EN | \ 13758e93258fSBjoern A. Zeeb B_AX_PLE_BUFREQ_UNAVAL_ERR_INT_EN | \ 13768e93258fSBjoern A. Zeeb B_AX_PLE_BUFRTN_INVLD_PKTID_ERR_INT_EN | \ 13778e93258fSBjoern A. Zeeb B_AX_PLE_BUFRTN_SIZE_ERR_INT_EN | \ 13788e93258fSBjoern A. Zeeb B_AX_PLE_BUFREQ_SRCHTAILPG_ERR_INT_EN | \ 13798e93258fSBjoern A. Zeeb B_AX_PLE_GETNPG_PGOFST_ERR_INT_EN | \ 13808e93258fSBjoern A. Zeeb B_AX_PLE_BUFMGN_FRZTO_ERR_INT_EN | \ 13818e93258fSBjoern A. Zeeb B_AX_PLE_QUE_CMDTYPE_ERR_INT_EN | \ 13828e93258fSBjoern A. Zeeb B_AX_PLE_QUE_DSTQUEID_ERR_INT_EN | \ 13838e93258fSBjoern A. Zeeb B_AX_PLE_QUE_SRCQUEID_ERR_INT_EN | \ 13848e93258fSBjoern A. Zeeb B_AX_PLE_ENQ_PKTCNT_OVRF_ERR_INT_EN | \ 13858e93258fSBjoern A. Zeeb B_AX_PLE_ENQ_PKTCNT_NVAL_ERR_INT_EN | \ 13868e93258fSBjoern A. Zeeb B_AX_PLE_PREPKTLLT_AD_ERR_INT_EN | \ 13878e93258fSBjoern A. Zeeb B_AX_PLE_NXTPKTLL_AD_ERR_INT_EN | \ 13888e93258fSBjoern A. Zeeb B_AX_PLE_QUEMGN_FRZTO_ERR_INT_EN | \ 13898e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_ARBT_ERR_INT_EN | \ 13908e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_NULLPG_ERR_INT_EN | \ 13918e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_FRZTO_ERR_INT_EN) 13928e93258fSBjoern A. Zeeb 13938e93258fSBjoern A. Zeeb #define B_AX_PLE_DATCHN_CAMREQ_ERR_INT_EN BIT(29) 13948e93258fSBjoern A. Zeeb #define B_AX_PLE_DATCHN_ADRERR_ERR_INT_EN BIT(28) 13958e93258fSBjoern A. Zeeb #define B_AX_PLE_BUFMGN_FRZTO_ERR_INT_EN_V1 BIT(9) 13968e93258fSBjoern A. Zeeb #define B_AX_PLE_GETNPG_PGOFST_ERR_INT_EN_V1 BIT(8) 13978e93258fSBjoern A. Zeeb #define B_AX_PLE_GETNPG_STRPG_ERR_INT_EN_V1 BIT(7) 13988e93258fSBjoern A. Zeeb #define B_AX_PLE_BUFREQ_SRCHTAILPG_ERR_INT_EN_V1 BIT(6) 13998e93258fSBjoern A. Zeeb #define B_AX_PLE_BUFRTN_SIZE_ERR_INT_EN_V1 BIT(5) 14008e93258fSBjoern A. Zeeb #define B_AX_PLE_BUFRTN_INVLD_PKTID_ERR_INT_EN_V1 BIT(4) 14018e93258fSBjoern A. Zeeb #define B_AX_PLE_BUFREQ_UNAVAL_ERR_INT_EN_V1 BIT(3) 14028e93258fSBjoern A. Zeeb #define B_AX_PLE_BUFREQ_SIZELMT_INT_EN BIT(2) 14038e93258fSBjoern A. Zeeb #define B_AX_PLE_BUFREQ_SIZE0_INT_EN BIT(1) 14048e93258fSBjoern A. Zeeb #define B_AX_PLE_IMR_CLR_V1 (B_AX_PLE_BUFREQ_QTAID_ERR_INT_EN | \ 14058e93258fSBjoern A. Zeeb B_AX_PLE_BUFREQ_SIZE0_INT_EN | \ 14068e93258fSBjoern A. Zeeb B_AX_PLE_BUFREQ_SIZELMT_INT_EN | \ 14078e93258fSBjoern A. Zeeb B_AX_PLE_BUFREQ_UNAVAL_ERR_INT_EN_V1 | \ 14088e93258fSBjoern A. Zeeb B_AX_PLE_BUFRTN_INVLD_PKTID_ERR_INT_EN_V1 | \ 14098e93258fSBjoern A. Zeeb B_AX_PLE_BUFRTN_SIZE_ERR_INT_EN_V1 | \ 14108e93258fSBjoern A. Zeeb B_AX_PLE_BUFREQ_SRCHTAILPG_ERR_INT_EN_V1 | \ 14118e93258fSBjoern A. Zeeb B_AX_PLE_GETNPG_STRPG_ERR_INT_EN_V1 | \ 14128e93258fSBjoern A. Zeeb B_AX_PLE_GETNPG_PGOFST_ERR_INT_EN_V1 | \ 14138e93258fSBjoern A. Zeeb B_AX_PLE_BUFMGN_FRZTO_ERR_INT_EN_V1 | \ 14148e93258fSBjoern A. Zeeb B_AX_PLE_QUE_CMDTYPE_ERR_INT_EN | \ 14158e93258fSBjoern A. Zeeb B_AX_PLE_QUE_DSTQUEID_ERR_INT_EN | \ 14168e93258fSBjoern A. Zeeb B_AX_PLE_QUE_SRCQUEID_ERR_INT_EN | \ 14178e93258fSBjoern A. Zeeb B_AX_PLE_ENQ_PKTCNT_OVRF_ERR_INT_EN | \ 14188e93258fSBjoern A. Zeeb B_AX_PLE_ENQ_PKTCNT_NVAL_ERR_INT_EN | \ 14198e93258fSBjoern A. Zeeb B_AX_PLE_PREPKTLLT_AD_ERR_INT_EN | \ 14208e93258fSBjoern A. Zeeb B_AX_PLE_NXTPKTLL_AD_ERR_INT_EN | \ 14218e93258fSBjoern A. Zeeb B_AX_PLE_QUEMGN_FRZTO_ERR_INT_EN | \ 14228e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_ARBT_ERR_INT_EN | \ 14238e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_NULLPG_ERR_INT_EN | \ 14248e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_FRZTO_ERR_INT_EN | \ 14258e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_RRDY_ERR_INT_EN | \ 14268e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_ADRERR_ERR_INT_EN | \ 14278e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_CAMREQ_ERR_INT_EN) 14288e93258fSBjoern A. Zeeb #define B_AX_PLE_IMR_SET_V1 (B_AX_PLE_BUFREQ_QTAID_ERR_INT_EN | \ 14298e93258fSBjoern A. Zeeb B_AX_PLE_BUFREQ_SIZE0_INT_EN | \ 14308e93258fSBjoern A. Zeeb B_AX_PLE_BUFREQ_SIZELMT_INT_EN | \ 14318e93258fSBjoern A. Zeeb B_AX_PLE_BUFREQ_UNAVAL_ERR_INT_EN_V1 | \ 14328e93258fSBjoern A. Zeeb B_AX_PLE_BUFRTN_INVLD_PKTID_ERR_INT_EN_V1 | \ 14338e93258fSBjoern A. Zeeb B_AX_PLE_BUFRTN_SIZE_ERR_INT_EN_V1 | \ 14348e93258fSBjoern A. Zeeb B_AX_PLE_BUFREQ_SRCHTAILPG_ERR_INT_EN_V1 | \ 14358e93258fSBjoern A. Zeeb B_AX_PLE_GETNPG_STRPG_ERR_INT_EN_V1 | \ 14368e93258fSBjoern A. Zeeb B_AX_PLE_GETNPG_PGOFST_ERR_INT_EN_V1 | \ 14378e93258fSBjoern A. Zeeb B_AX_PLE_BUFMGN_FRZTO_ERR_INT_EN_V1 | \ 14388e93258fSBjoern A. Zeeb B_AX_PLE_QUE_CMDTYPE_ERR_INT_EN | \ 14398e93258fSBjoern A. Zeeb B_AX_PLE_QUE_DSTQUEID_ERR_INT_EN | \ 14408e93258fSBjoern A. Zeeb B_AX_PLE_QUE_SRCQUEID_ERR_INT_EN | \ 14418e93258fSBjoern A. Zeeb B_AX_PLE_ENQ_PKTCNT_OVRF_ERR_INT_EN | \ 14428e93258fSBjoern A. Zeeb B_AX_PLE_ENQ_PKTCNT_NVAL_ERR_INT_EN | \ 14438e93258fSBjoern A. Zeeb B_AX_PLE_PREPKTLLT_AD_ERR_INT_EN | \ 14448e93258fSBjoern A. Zeeb B_AX_PLE_NXTPKTLL_AD_ERR_INT_EN | \ 14458e93258fSBjoern A. Zeeb B_AX_PLE_QUEMGN_FRZTO_ERR_INT_EN | \ 14468e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_ARBT_ERR_INT_EN | \ 14478e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_NULLPG_ERR_INT_EN | \ 14488e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_FRZTO_ERR_INT_EN | \ 14498e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_RRDY_ERR_INT_EN | \ 14508e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_ADRERR_ERR_INT_EN | \ 14518e93258fSBjoern A. Zeeb B_AX_PLE_DATCHN_CAMREQ_ERR_INT_EN) 14528e93258fSBjoern A. Zeeb 14538e93258fSBjoern A. Zeeb #define R_AX_PLE_ERR_FLAG_ISR 0x903C 14548e93258fSBjoern A. Zeeb #define B_AX_PLE_MAX_SIZE_MASK GENMASK(27, 16) 14558e93258fSBjoern A. Zeeb #define B_AX_PLE_MIN_SIZE_MASK GENMASK(11, 0) 14568e93258fSBjoern A. Zeeb #define R_AX_PLE_QTA0_CFG 0x9040 14578e93258fSBjoern A. Zeeb #define R_AX_PLE_QTA1_CFG 0x9044 14588e93258fSBjoern A. Zeeb #define R_AX_PLE_QTA2_CFG 0x9048 14598e93258fSBjoern A. Zeeb #define R_AX_PLE_QTA3_CFG 0x904C 14608e93258fSBjoern A. Zeeb #define R_AX_PLE_QTA4_CFG 0x9050 14618e93258fSBjoern A. Zeeb #define R_AX_PLE_QTA5_CFG 0x9054 14628e93258fSBjoern A. Zeeb #define R_AX_PLE_QTA6_CFG 0x9058 14638e93258fSBjoern A. Zeeb #define B_AX_PLE_Q6_MAX_SIZE_MASK GENMASK(27, 16) 14648e93258fSBjoern A. Zeeb #define B_AX_PLE_Q6_MIN_SIZE_MASK GENMASK(11, 0) 14658e93258fSBjoern A. Zeeb #define R_AX_PLE_QTA7_CFG 0x905C 1466*6d67aabdSBjoern A. Zeeb #define B_AX_PLE_Q7_MAX_SIZE_MASK GENMASK(27, 16) 1467*6d67aabdSBjoern A. Zeeb #define B_AX_PLE_Q7_MIN_SIZE_MASK GENMASK(11, 0) 14688e93258fSBjoern A. Zeeb #define R_AX_PLE_QTA8_CFG 0x9060 14698e93258fSBjoern A. Zeeb #define R_AX_PLE_QTA9_CFG 0x9064 14708e93258fSBjoern A. Zeeb #define R_AX_PLE_QTA10_CFG 0x9068 14718e93258fSBjoern A. Zeeb #define R_AX_PLE_QTA11_CFG 0x906C 14728e93258fSBjoern A. Zeeb 14738e93258fSBjoern A. Zeeb #define R_AX_PLE_INI_STATUS 0x9100 14748e93258fSBjoern A. Zeeb #define B_AX_PLE_Q_MGN_INI_RDY BIT(1) 14758e93258fSBjoern A. Zeeb #define B_AX_PLE_BUF_MGN_INI_RDY BIT(0) 14768e93258fSBjoern A. Zeeb #define PLE_MGN_INI_RDY (B_AX_PLE_Q_MGN_INI_RDY | B_AX_PLE_BUF_MGN_INI_RDY) 14778e93258fSBjoern A. Zeeb #define R_AX_PLE_DBG_FUN_INTF_CTL 0x9110 14788e93258fSBjoern A. Zeeb #define B_AX_PLE_DFI_ACTIVE BIT(31) 14798e93258fSBjoern A. Zeeb #define B_AX_PLE_DFI_TRGSEL_MASK GENMASK(19, 16) 14808e93258fSBjoern A. Zeeb #define B_AX_PLE_DFI_ADDR_MASK GENMASK(15, 0) 14818e93258fSBjoern A. Zeeb #define R_AX_PLE_DBG_FUN_INTF_DATA 0x9114 14828e93258fSBjoern A. Zeeb #define B_AX_PLE_DFI_DATA_MASK GENMASK(31, 0) 14838e93258fSBjoern A. Zeeb 14848e93258fSBjoern A. Zeeb #define R_AX_WDRLS_CFG 0x9408 14858e93258fSBjoern A. Zeeb #define B_AX_RLSRPT_BUFREQ_TO_MASK GENMASK(15, 8) 14868e93258fSBjoern A. Zeeb #define B_AX_WDRLS_MODE_MASK GENMASK(1, 0) 14878e93258fSBjoern A. Zeeb 14888e93258fSBjoern A. Zeeb #define R_AX_RLSRPT0_CFG0 0x9410 14898e93258fSBjoern A. Zeeb #define B_AX_RLSRPT0_FLTR_MAP_MASK GENMASK(27, 24) 14908e93258fSBjoern A. Zeeb #define B_AX_RLSRPT0_PKTTYPE_MASK GENMASK(19, 16) 14918e93258fSBjoern A. Zeeb #define B_AX_RLSRPT0_PID_MASK GENMASK(10, 8) 14928e93258fSBjoern A. Zeeb #define B_AX_RLSRPT0_QID_MASK GENMASK(5, 0) 14938e93258fSBjoern A. Zeeb 14948e93258fSBjoern A. Zeeb #define R_AX_RLSRPT0_CFG1 0x9414 14958e93258fSBjoern A. Zeeb #define B_AX_RLSRPT0_TO_MASK GENMASK(23, 16) 14968e93258fSBjoern A. Zeeb #define B_AX_RLSRPT0_AGGNUM_MASK GENMASK(7, 0) 14978e93258fSBjoern A. Zeeb 14988e93258fSBjoern A. Zeeb #define R_AX_WDRLS_ERR_IMR 0x9430 14998e93258fSBjoern A. Zeeb #define B_AX_WDRLS_RPT1_FRZTO_ERR_INT_EN BIT(13) 15008e93258fSBjoern A. Zeeb #define B_AX_WDRLS_RPT1_AGGNUM0_ERR_INT_EN BIT(12) 15018e93258fSBjoern A. Zeeb #define B_AX_WDRLS_RPT0_FRZTO_ERR_INT_EN BIT(9) 15028e93258fSBjoern A. Zeeb #define B_AX_WDRLS_RPT0_AGGNUM0_ERR_INT_EN BIT(8) 15038e93258fSBjoern A. Zeeb #define B_AX_WDRLS_PLEBREQ_PKTID_ISNULL_ERR_INT_EN BIT(5) 15048e93258fSBjoern A. Zeeb #define B_AX_WDRLS_PLEBREQ_TO_ERR_INT_EN BIT(4) 15058e93258fSBjoern A. Zeeb #define B_AX_WDRLS_CTL_FRZTO_ERR_INT_EN BIT(2) 15068e93258fSBjoern A. Zeeb #define B_AX_WDRLS_CTL_PLPKTID_ISNULL_ERR_INT_EN BIT(1) 15078e93258fSBjoern A. Zeeb #define B_AX_WDRLS_CTL_WDPKTID_ISNULL_ERR_INT_EN BIT(0) 15088e93258fSBjoern A. Zeeb #define B_AX_WDRLS_IMR_EN_CLR (B_AX_WDRLS_CTL_WDPKTID_ISNULL_ERR_INT_EN | \ 15098e93258fSBjoern A. Zeeb B_AX_WDRLS_CTL_PLPKTID_ISNULL_ERR_INT_EN | \ 15108e93258fSBjoern A. Zeeb B_AX_WDRLS_CTL_FRZTO_ERR_INT_EN | \ 15118e93258fSBjoern A. Zeeb B_AX_WDRLS_PLEBREQ_TO_ERR_INT_EN | \ 15128e93258fSBjoern A. Zeeb B_AX_WDRLS_PLEBREQ_PKTID_ISNULL_ERR_INT_EN | \ 15138e93258fSBjoern A. Zeeb B_AX_WDRLS_RPT0_AGGNUM0_ERR_INT_EN | \ 15148e93258fSBjoern A. Zeeb B_AX_WDRLS_RPT0_FRZTO_ERR_INT_EN | \ 15158e93258fSBjoern A. Zeeb B_AX_WDRLS_RPT1_AGGNUM0_ERR_INT_EN | \ 15168e93258fSBjoern A. Zeeb B_AX_WDRLS_RPT1_FRZTO_ERR_INT_EN) 15178e93258fSBjoern A. Zeeb #define B_AX_WDRLS_IMR_SET (B_AX_WDRLS_CTL_WDPKTID_ISNULL_ERR_INT_EN | \ 15188e93258fSBjoern A. Zeeb B_AX_WDRLS_CTL_PLPKTID_ISNULL_ERR_INT_EN | \ 15198e93258fSBjoern A. Zeeb B_AX_WDRLS_CTL_FRZTO_ERR_INT_EN | \ 15208e93258fSBjoern A. Zeeb B_AX_WDRLS_PLEBREQ_PKTID_ISNULL_ERR_INT_EN | \ 15218e93258fSBjoern A. Zeeb B_AX_WDRLS_RPT0_AGGNUM0_ERR_INT_EN | \ 15228e93258fSBjoern A. Zeeb B_AX_WDRLS_RPT0_FRZTO_ERR_INT_EN | \ 15238e93258fSBjoern A. Zeeb B_AX_WDRLS_RPT1_AGGNUM0_ERR_INT_EN | \ 15248e93258fSBjoern A. Zeeb B_AX_WDRLS_RPT1_FRZTO_ERR_INT_EN) 15258e93258fSBjoern A. Zeeb #define B_AX_WDRLS_IMR_SET_V1 (B_AX_WDRLS_CTL_WDPKTID_ISNULL_ERR_INT_EN | \ 15268e93258fSBjoern A. Zeeb B_AX_WDRLS_CTL_PLPKTID_ISNULL_ERR_INT_EN | \ 15278e93258fSBjoern A. Zeeb B_AX_WDRLS_CTL_FRZTO_ERR_INT_EN | \ 15288e93258fSBjoern A. Zeeb B_AX_WDRLS_PLEBREQ_TO_ERR_INT_EN | \ 15298e93258fSBjoern A. Zeeb B_AX_WDRLS_PLEBREQ_PKTID_ISNULL_ERR_INT_EN | \ 15308e93258fSBjoern A. Zeeb B_AX_WDRLS_RPT0_AGGNUM0_ERR_INT_EN | \ 15318e93258fSBjoern A. Zeeb B_AX_WDRLS_RPT0_FRZTO_ERR_INT_EN | \ 15328e93258fSBjoern A. Zeeb B_AX_WDRLS_RPT1_AGGNUM0_ERR_INT_EN | \ 15338e93258fSBjoern A. Zeeb B_AX_WDRLS_RPT1_FRZTO_ERR_INT_EN) 15348e93258fSBjoern A. Zeeb 15358e93258fSBjoern A. Zeeb #define R_AX_WDRLS_ERR_ISR 0x9434 15368e93258fSBjoern A. Zeeb 15378e93258fSBjoern A. Zeeb #define R_AX_BBRPT_COM_ERR_IMR 0x9608 15388e93258fSBjoern A. Zeeb #define B_AX_BBRPT_COM_HANG_EN BIT(1) 15398e93258fSBjoern A. Zeeb #define B_AX_BBRPT_COM_NULL_PLPKTID_ERR_INT_EN BIT(0) 15408e93258fSBjoern A. Zeeb 15418e93258fSBjoern A. Zeeb #define R_AX_BBRPT_COM_ERR_IMR_ISR 0x960C 15428e93258fSBjoern A. Zeeb #define B_AX_BBRPT_COM_NULL_PLPKTID_ERR BIT(16) 15438e93258fSBjoern A. Zeeb #define B_AX_BBRPT_COM_NULL_PLPKTID_ERR_INT_EN BIT(0) 15448e93258fSBjoern A. Zeeb 1545e2340276SBjoern A. Zeeb #define R_AX_BBRPT_COM_ERR_ISR 0x960C 1546e2340276SBjoern A. Zeeb #define B_AX_BBRPT_COM_NULL_PLPKTID_ERR_INT_V1 BIT(0) 1547e2340276SBjoern A. Zeeb 1548e2340276SBjoern A. Zeeb #define R_AX_BBRPT_CHINFO_ERR_ISR 0x962C 1549e2340276SBjoern A. Zeeb #define B_AX_BBPRT_CHIF_TO_ERR_V1 BIT(7) 1550e2340276SBjoern A. Zeeb #define B_AX_BBPRT_CHIF_NULL_ERR_V1 BIT(6) 1551e2340276SBjoern A. Zeeb #define B_AX_BBPRT_CHIF_LEFT2_ERR_V1 BIT(5) 1552e2340276SBjoern A. Zeeb #define B_AX_BBPRT_CHIF_LEFT1_ERR_V1 BIT(4) 1553e2340276SBjoern A. Zeeb #define B_AX_BBPRT_CHIF_HDRL_ERR_V1 BIT(3) 1554e2340276SBjoern A. Zeeb #define B_AX_BBPRT_CHIF_BOVF_ERR_V1 BIT(2) 1555e2340276SBjoern A. Zeeb #define B_AX_BBPRT_CHIF_OVF_ERR_V1 BIT(1) 1556e2340276SBjoern A. Zeeb #define B_AX_BBPRT_CHIF_BB_TO_ERR_V1 BIT(0) 1557e2340276SBjoern A. Zeeb 15588e93258fSBjoern A. Zeeb #define R_AX_BBRPT_CHINFO_ERR_IMR 0x9628 15598e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_TO_ERR_INT_EN BIT(7) 15608e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_NULL_ERR_INT_EN BIT(6) 15618e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_LEFT2_ERR_INT_EN BIT(5) 15628e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_LEFT1_ERR_INT_EN BIT(4) 15638e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_HDRL_ERR_INT_EN BIT(3) 15648e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_BOVF_ERR_INT_EN BIT(2) 15658e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_OVF_ERR_INT_EN BIT(1) 15668e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_BB_TO_ERR_INT_EN BIT(0) 15678e93258fSBjoern A. Zeeb #define R_AX_BBRPT_CHINFO_IMR_SET_V1 (B_AX_BBPRT_CHIF_BB_TO_ERR_INT_EN | \ 15688e93258fSBjoern A. Zeeb B_AX_BBPRT_CHIF_OVF_ERR_INT_EN | \ 15698e93258fSBjoern A. Zeeb B_AX_BBPRT_CHIF_BOVF_ERR_INT_EN | \ 15708e93258fSBjoern A. Zeeb B_AX_BBPRT_CHIF_HDRL_ERR_INT_EN | \ 15718e93258fSBjoern A. Zeeb B_AX_BBPRT_CHIF_LEFT1_ERR_INT_EN | \ 15728e93258fSBjoern A. Zeeb B_AX_BBPRT_CHIF_LEFT2_ERR_INT_EN | \ 15738e93258fSBjoern A. Zeeb B_AX_BBPRT_CHIF_NULL_ERR_INT_EN | \ 15748e93258fSBjoern A. Zeeb B_AX_BBPRT_CHIF_TO_ERR_INT_EN) 15758e93258fSBjoern A. Zeeb 15768e93258fSBjoern A. Zeeb #define R_AX_BBRPT_CHINFO_ERR_IMR_ISR 0x962C 15778e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_TO_ERR BIT(23) 15788e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_NULL_ERR BIT(22) 15798e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_LEFT2_ERR BIT(21) 15808e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_LEFT1_ERR BIT(20) 15818e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_HDRL_ERR BIT(19) 15828e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_BOVF_ERR BIT(18) 15838e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_OVF_ERR BIT(17) 15848e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_BB_TO_ERR BIT(16) 15858e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_TO_ERR_INT_EN BIT(7) 15868e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_NULL_ERR_INT_EN BIT(6) 15878e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_LEFT2_ERR_INT_EN BIT(5) 15888e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_LEFT1_ERR_INT_EN BIT(4) 15898e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_HDRL_ERR_INT_EN BIT(3) 15908e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_BOVF_ERR_INT_EN BIT(2) 15918e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_OVF_ERR_INT_EN BIT(1) 15928e93258fSBjoern A. Zeeb #define B_AX_BBPRT_CHIF_BB_TO_ERR_INT_EN BIT(0) 15938e93258fSBjoern A. Zeeb #define B_AX_BBRPT_CHINFO_IMR_CLR (B_AX_BBPRT_CHIF_BB_TO_ERR_INT_EN | \ 15948e93258fSBjoern A. Zeeb B_AX_BBPRT_CHIF_OVF_ERR_INT_EN | \ 15958e93258fSBjoern A. Zeeb B_AX_BBPRT_CHIF_BOVF_ERR_INT_EN | \ 15968e93258fSBjoern A. Zeeb B_AX_BBPRT_CHIF_HDRL_ERR_INT_EN | \ 15978e93258fSBjoern A. Zeeb B_AX_BBPRT_CHIF_LEFT1_ERR_INT_EN | \ 15988e93258fSBjoern A. Zeeb B_AX_BBPRT_CHIF_LEFT2_ERR_INT_EN | \ 15998e93258fSBjoern A. Zeeb B_AX_BBPRT_CHIF_NULL_ERR_INT_EN | \ 16008e93258fSBjoern A. Zeeb B_AX_BBPRT_CHIF_TO_ERR_INT_EN) 16018e93258fSBjoern A. Zeeb 16028e93258fSBjoern A. Zeeb #define R_AX_BBRPT_DFS_ERR_IMR 0x9638 16038e93258fSBjoern A. Zeeb #define B_AX_BBRPT_DFS_TO_ERR_INT_EN BIT(0) 16048e93258fSBjoern A. Zeeb 16058e93258fSBjoern A. Zeeb #define R_AX_BBRPT_DFS_ERR_IMR_ISR 0x963C 16068e93258fSBjoern A. Zeeb #define B_AX_BBRPT_DFS_TO_ERR BIT(16) 16078e93258fSBjoern A. Zeeb #define B_AX_BBRPT_DFS_TO_ERR_INT_EN BIT(0) 16088e93258fSBjoern A. Zeeb 1609e2340276SBjoern A. Zeeb #define R_AX_BBRPT_DFS_ERR_ISR 0x963C 1610e2340276SBjoern A. Zeeb #define B_AX_BBRPT_DFS_TO_ERR_V1 BIT(0) 1611e2340276SBjoern A. Zeeb 16128e93258fSBjoern A. Zeeb #define R_AX_LA_ERRFLAG 0x966C 16138e93258fSBjoern A. Zeeb #define B_AX_LA_ISR_DATA_LOSS_ERR BIT(16) 16148e93258fSBjoern A. Zeeb #define B_AX_LA_IMR_DATA_LOSS_ERR BIT(0) 16158e93258fSBjoern A. Zeeb 16168e93258fSBjoern A. Zeeb #define R_AX_WD_BUF_REQ 0x9800 16178e93258fSBjoern A. Zeeb #define R_AX_PL_BUF_REQ 0x9820 16188e93258fSBjoern A. Zeeb #define B_AX_WD_BUF_REQ_EXEC BIT(31) 16198e93258fSBjoern A. Zeeb #define B_AX_WD_BUF_REQ_QUOTA_ID_MASK GENMASK(23, 16) 16208e93258fSBjoern A. Zeeb #define B_AX_WD_BUF_REQ_LEN_MASK GENMASK(15, 0) 16218e93258fSBjoern A. Zeeb 16228e93258fSBjoern A. Zeeb #define R_AX_WD_BUF_STATUS 0x9804 16238e93258fSBjoern A. Zeeb #define R_AX_PL_BUF_STATUS 0x9824 16248e93258fSBjoern A. Zeeb #define B_AX_WD_BUF_STAT_DONE BIT(31) 16258e93258fSBjoern A. Zeeb #define B_AX_WD_BUF_STAT_PKTID_MASK GENMASK(11, 0) 1626e2340276SBjoern A. Zeeb #define S_WD_BUF_STAT_PKTID_INVALID GENMASK(11, 0) 16278e93258fSBjoern A. Zeeb 16288e93258fSBjoern A. Zeeb #define R_AX_WD_CPUQ_OP_0 0x9810 16298e93258fSBjoern A. Zeeb #define R_AX_PL_CPUQ_OP_0 0x9830 16308e93258fSBjoern A. Zeeb #define B_AX_WD_CPUQ_OP_EXEC BIT(31) 16318e93258fSBjoern A. Zeeb #define B_AX_CPUQ_OP_CMD_TYPE_MASK GENMASK(27, 24) 16328e93258fSBjoern A. Zeeb #define B_AX_CPUQ_OP_MACID_MASK GENMASK(23, 16) 16338e93258fSBjoern A. Zeeb #define B_AX_CPUQ_OP_PKTNUM_MASK GENMASK(7, 0) 16348e93258fSBjoern A. Zeeb 16358e93258fSBjoern A. Zeeb #define R_AX_WD_CPUQ_OP_1 0x9814 16368e93258fSBjoern A. Zeeb #define R_AX_PL_CPUQ_OP_1 0x9834 16378e93258fSBjoern A. Zeeb #define B_AX_CPUQ_OP_SRC_PID_MASK GENMASK(24, 22) 16388e93258fSBjoern A. Zeeb #define B_AX_CPUQ_OP_SRC_QID_MASK GENMASK(21, 16) 16398e93258fSBjoern A. Zeeb #define B_AX_CPUQ_OP_DST_PID_MASK GENMASK(8, 6) 16408e93258fSBjoern A. Zeeb #define B_AX_CPUQ_OP_DST_QID_MASK GENMASK(5, 0) 16418e93258fSBjoern A. Zeeb 16428e93258fSBjoern A. Zeeb #define R_AX_WD_CPUQ_OP_2 0x9818 16438e93258fSBjoern A. Zeeb #define R_AX_PL_CPUQ_OP_2 0x9838 16448e93258fSBjoern A. Zeeb #define B_AX_WD_CPUQ_OP_STRT_PKTID_MASK GENMASK(27, 16) 16458e93258fSBjoern A. Zeeb #define B_AX_WD_CPUQ_OP_END_PKTID_MASK GENMASK(11, 0) 16468e93258fSBjoern A. Zeeb 16478e93258fSBjoern A. Zeeb #define R_AX_WD_CPUQ_OP_STATUS 0x981C 16488e93258fSBjoern A. Zeeb #define R_AX_PL_CPUQ_OP_STATUS 0x983C 16498e93258fSBjoern A. Zeeb #define B_AX_WD_CPUQ_OP_STAT_DONE BIT(31) 16508e93258fSBjoern A. Zeeb #define B_AX_WD_CPUQ_OP_PKTID_MASK GENMASK(11, 0) 16518e93258fSBjoern A. Zeeb 16528e93258fSBjoern A. Zeeb #define R_AX_CPUIO_ERR_IMR 0x9840 16538e93258fSBjoern A. Zeeb #define B_AX_PLEQUE_OP_ERR_INT_EN BIT(12) 16548e93258fSBjoern A. Zeeb #define B_AX_PLEBUF_OP_ERR_INT_EN BIT(8) 16558e93258fSBjoern A. Zeeb #define B_AX_WDEQUE_OP_ERR_INT_EN BIT(4) 16568e93258fSBjoern A. Zeeb #define B_AX_WDEBUF_OP_ERR_INT_EN BIT(0) 16578e93258fSBjoern A. Zeeb #define B_AX_CPUIO_IMR_CLR (B_AX_WDEBUF_OP_ERR_INT_EN | \ 16588e93258fSBjoern A. Zeeb B_AX_WDEQUE_OP_ERR_INT_EN | \ 16598e93258fSBjoern A. Zeeb B_AX_PLEBUF_OP_ERR_INT_EN | \ 16608e93258fSBjoern A. Zeeb B_AX_PLEQUE_OP_ERR_INT_EN) 16618e93258fSBjoern A. Zeeb #define B_AX_CPUIO_IMR_SET (B_AX_WDEBUF_OP_ERR_INT_EN | \ 16628e93258fSBjoern A. Zeeb B_AX_WDEQUE_OP_ERR_INT_EN | \ 16638e93258fSBjoern A. Zeeb B_AX_PLEBUF_OP_ERR_INT_EN | \ 16648e93258fSBjoern A. Zeeb B_AX_PLEQUE_OP_ERR_INT_EN) 16658e93258fSBjoern A. Zeeb 16668e93258fSBjoern A. Zeeb #define R_AX_CPUIO_ERR_ISR 0x9844 16678e93258fSBjoern A. Zeeb 16688e93258fSBjoern A. Zeeb #define R_AX_SEC_ERR_IMR_ISR 0x991C 16698e93258fSBjoern A. Zeeb 16708e93258fSBjoern A. Zeeb #define R_AX_PKTIN_SETTING 0x9A00 16718e93258fSBjoern A. Zeeb #define B_AX_WD_ADDR_INFO_LENGTH BIT(1) 16728e93258fSBjoern A. Zeeb 16738e93258fSBjoern A. Zeeb #define R_AX_PKTIN_ERR_IMR 0x9A20 16748e93258fSBjoern A. Zeeb #define B_AX_PKTIN_GETPKTID_ERR_INT_EN BIT(0) 16758e93258fSBjoern A. Zeeb 16768e93258fSBjoern A. Zeeb #define R_AX_PKTIN_ERR_ISR 0x9A24 16778e93258fSBjoern A. Zeeb 16788e93258fSBjoern A. Zeeb #define R_AX_MPDU_TX_ERR_ISR 0x9BF0 16798e93258fSBjoern A. Zeeb #define R_AX_MPDU_TX_ERR_IMR 0x9BF4 16808e93258fSBjoern A. Zeeb #define B_AX_TX_KSRCH_ERR_EN BIT(9) 16818e93258fSBjoern A. Zeeb #define B_AX_TX_NW_TYPE_ERR_EN BIT(8) 16828e93258fSBjoern A. Zeeb #define B_AX_TX_LLC_PRE_ERR_EN BIT(7) 16838e93258fSBjoern A. Zeeb #define B_AX_TX_ETH_TYPE_ERR_EN BIT(6) 16848e93258fSBjoern A. Zeeb #define B_AX_TX_HDR3_SIZE_ERR_INT_EN BIT(5) 16858e93258fSBjoern A. Zeeb #define B_AX_TX_OFFSET_ERR_INT_EN BIT(4) 16868e93258fSBjoern A. Zeeb #define B_AX_TX_MPDU_SIZE_ZERO_INT_EN BIT(3) 16878e93258fSBjoern A. Zeeb #define B_AX_TX_NXT_ERRPKTID_INT_EN BIT(2) 16888e93258fSBjoern A. Zeeb #define B_AX_TX_GET_ERRPKTID_INT_EN BIT(1) 16898e93258fSBjoern A. Zeeb #define B_AX_MPDU_TX_IMR_SET_V1 (B_AX_TX_GET_ERRPKTID_INT_EN | \ 16908e93258fSBjoern A. Zeeb B_AX_TX_NXT_ERRPKTID_INT_EN | \ 16918e93258fSBjoern A. Zeeb B_AX_TX_MPDU_SIZE_ZERO_INT_EN | \ 16928e93258fSBjoern A. Zeeb B_AX_TX_HDR3_SIZE_ERR_INT_EN | \ 16938e93258fSBjoern A. Zeeb B_AX_TX_ETH_TYPE_ERR_EN | \ 16948e93258fSBjoern A. Zeeb B_AX_TX_NW_TYPE_ERR_EN | \ 16958e93258fSBjoern A. Zeeb B_AX_TX_KSRCH_ERR_EN) 16968e93258fSBjoern A. Zeeb 16978e93258fSBjoern A. Zeeb #define R_AX_MPDU_PROC 0x9C00 16988e93258fSBjoern A. Zeeb #define B_AX_A_ICV_ERR BIT(1) 16998e93258fSBjoern A. Zeeb #define B_AX_APPEND_FCS BIT(0) 17008e93258fSBjoern A. Zeeb 17018e93258fSBjoern A. Zeeb #define R_AX_ACTION_FWD0 0x9C04 17028e93258fSBjoern A. Zeeb #define TRXCFG_MPDU_PROC_ACT_FRWD 0x02A95A95 17038e93258fSBjoern A. Zeeb 1704e2340276SBjoern A. Zeeb #define R_AX_ACTION_FWD1 0x9C08 1705e2340276SBjoern A. Zeeb 17068e93258fSBjoern A. Zeeb #define R_AX_TF_FWD 0x9C14 17078e93258fSBjoern A. Zeeb #define TRXCFG_MPDU_PROC_TF_FRWD 0x0000AA55 17088e93258fSBjoern A. Zeeb 17098e93258fSBjoern A. Zeeb #define R_AX_HW_RPT_FWD 0x9C18 17108e93258fSBjoern A. Zeeb #define B_AX_FWD_PPDU_STAT_MASK GENMASK(1, 0) 17118e93258fSBjoern A. Zeeb #define RTW89_PRPT_DEST_HOST 1 17128e93258fSBjoern A. Zeeb #define RTW89_PRPT_DEST_WLCPU 2 17138e93258fSBjoern A. Zeeb 17148e93258fSBjoern A. Zeeb #define R_AX_CUT_AMSDU_CTRL 0x9C40 17158e93258fSBjoern A. Zeeb #define TRXCFG_MPDU_PROC_CUT_CTRL 0x010E05F0 17168e93258fSBjoern A. Zeeb 1717e2340276SBjoern A. Zeeb #define R_AX_WOW_CTRL 0x9C50 1718e2340276SBjoern A. Zeeb #define B_AX_WOW_WOWEN BIT(1) 1719e2340276SBjoern A. Zeeb 17208e93258fSBjoern A. Zeeb #define R_AX_MPDU_RX_ERR_ISR 0x9CF0 17218e93258fSBjoern A. Zeeb #define R_AX_MPDU_RX_ERR_IMR 0x9CF4 17228e93258fSBjoern A. Zeeb #define B_AX_RPT_ERR_INT_EN BIT(3) 17238e93258fSBjoern A. Zeeb #define B_AX_MHDRLEN_ERR_INT_EN BIT(1) 17248e93258fSBjoern A. Zeeb #define B_AX_GETPKTID_ERR_INT_EN BIT(0) 17258e93258fSBjoern A. Zeeb #define B_AX_MPDU_RX_IMR_SET_V1 B_AX_RPT_ERR_INT_EN 17268e93258fSBjoern A. Zeeb 17278e93258fSBjoern A. Zeeb #define R_AX_SEC_ENG_CTRL 0x9D00 1728e2340276SBjoern A. Zeeb #define B_AX_SEC_DBG_PORT_FIELD_MASK GENMASK(19, 16) 17298e93258fSBjoern A. Zeeb #define B_AX_TX_PARTIAL_MODE BIT(11) 17308e93258fSBjoern A. Zeeb #define B_AX_CLK_EN_CGCMP BIT(10) 17318e93258fSBjoern A. Zeeb #define B_AX_CLK_EN_WAPI BIT(9) 17328e93258fSBjoern A. Zeeb #define B_AX_CLK_EN_WEP_TKIP BIT(8) 17338e93258fSBjoern A. Zeeb #define B_AX_BMC_MGNT_DEC BIT(5) 17348e93258fSBjoern A. Zeeb #define B_AX_UC_MGNT_DEC BIT(4) 17358e93258fSBjoern A. Zeeb #define B_AX_MC_DEC BIT(3) 17368e93258fSBjoern A. Zeeb #define B_AX_BC_DEC BIT(2) 17378e93258fSBjoern A. Zeeb #define B_AX_SEC_RX_DEC BIT(1) 17388e93258fSBjoern A. Zeeb #define B_AX_SEC_TX_ENC BIT(0) 17398e93258fSBjoern A. Zeeb 17408e93258fSBjoern A. Zeeb #define R_AX_SEC_MPDU_PROC 0x9D04 17418e93258fSBjoern A. Zeeb #define B_AX_APPEND_ICV BIT(1) 17428e93258fSBjoern A. Zeeb #define B_AX_APPEND_MIC BIT(0) 17438e93258fSBjoern A. Zeeb 17448e93258fSBjoern A. Zeeb #define R_AX_SEC_CAM_ACCESS 0x9D10 17458e93258fSBjoern A. Zeeb #define R_AX_SEC_CAM_RDATA 0x9D14 17468e93258fSBjoern A. Zeeb #define R_AX_SEC_CAM_WDATA 0x9D18 17478e93258fSBjoern A. Zeeb 17488e93258fSBjoern A. Zeeb #define R_AX_SEC_DEBUG 0x9D1C 17498e93258fSBjoern A. Zeeb #define B_AX_IMR_ERROR BIT(3) 17508e93258fSBjoern A. Zeeb 17518e93258fSBjoern A. Zeeb #define R_AX_SEC_DEBUG1 0x9D1C 17528e93258fSBjoern A. Zeeb #define B_AX_TX_TIMEOUT_SEL_MASK GENMASK(31, 30) 17538e93258fSBjoern A. Zeeb #define AX_TX_TO_VAL 0x2 17548e93258fSBjoern A. Zeeb 17558e93258fSBjoern A. Zeeb #define R_AX_SEC_TX_DEBUG 0x9D20 17568e93258fSBjoern A. Zeeb #define R_AX_SEC_RX_DEBUG 0x9D24 17578e93258fSBjoern A. Zeeb #define R_AX_SEC_TRX_PKT_CNT 0x9D28 1758e2340276SBjoern A. Zeeb 1759e2340276SBjoern A. Zeeb #define R_AX_SEC_DEBUG2 0x9D28 1760e2340276SBjoern A. Zeeb #define B_AX_DBG_READ_SH 2 1761e2340276SBjoern A. Zeeb #define B_AX_DBG_READ_MSK 0x3fffffff 1762e2340276SBjoern A. Zeeb 17638e93258fSBjoern A. Zeeb #define R_AX_SEC_TRX_BLK_CNT 0x9D2C 17648e93258fSBjoern A. Zeeb 17658e93258fSBjoern A. Zeeb #define R_AX_SEC_ERROR_FLAG_IMR 0x9D2C 17668e93258fSBjoern A. Zeeb #define B_AX_RX_HANG_IMR BIT(1) 17678e93258fSBjoern A. Zeeb #define B_AX_TX_HANG_IMR BIT(0) 17688e93258fSBjoern A. Zeeb 1769e2340276SBjoern A. Zeeb #define R_AX_SEC_ERROR_FLAG 0x9D30 1770e2340276SBjoern A. Zeeb #define B_AX_RX_HANG_ERROR_V1 BIT(1) 1771e2340276SBjoern A. Zeeb #define B_AX_TX_HANG_ERROR_V1 BIT(0) 1772e2340276SBjoern A. Zeeb 17738e93258fSBjoern A. Zeeb #define R_AX_SS_CTRL 0x9E10 17748e93258fSBjoern A. Zeeb #define B_AX_SS_INIT_DONE_1 BIT(31) 17758e93258fSBjoern A. Zeeb #define B_AX_SS_WARM_INIT_FLG BIT(29) 17768e93258fSBjoern A. Zeeb #define B_AX_SS_NONEMPTY_SS2FINFO_EN BIT(28) 17778e93258fSBjoern A. Zeeb #define B_AX_SS_EN BIT(0) 17788e93258fSBjoern A. Zeeb 17798e93258fSBjoern A. Zeeb #define R_AX_SS2FINFO_PATH 0x9E50 17808e93258fSBjoern A. Zeeb #define B_AX_SS_UL_REL BIT(31) 17818e93258fSBjoern A. Zeeb #define B_AX_SS_REL_QUEUE_MASK GENMASK(29, 24) 17828e93258fSBjoern A. Zeeb #define B_AX_SS_REL_PORT_MASK GENMASK(18, 16) 17838e93258fSBjoern A. Zeeb #define B_AX_SS_DEST_QUEUE_MASK GENMASK(13, 8) 17848e93258fSBjoern A. Zeeb #define SS2F_PATH_WLCPU 0x0A 17858e93258fSBjoern A. Zeeb #define B_AX_SS_DEST_PORT_MASK GENMASK(2, 0) 17868e93258fSBjoern A. Zeeb 17878e93258fSBjoern A. Zeeb #define R_AX_SS_MACID_PAUSE_0 0x9EB0 17888e93258fSBjoern A. Zeeb #define B_AX_SS_MACID31_0_PAUSE_SH 0 17898e93258fSBjoern A. Zeeb #define B_AX_SS_MACID31_0_PAUSE_MASK GENMASK(31, 0) 17908e93258fSBjoern A. Zeeb 17918e93258fSBjoern A. Zeeb #define R_AX_SS_MACID_PAUSE_1 0x9EB4 17928e93258fSBjoern A. Zeeb #define B_AX_SS_MACID63_32_PAUSE_SH 0 17938e93258fSBjoern A. Zeeb #define B_AX_SS_MACID63_32_PAUSE_MASK GENMASK(31, 0) 17948e93258fSBjoern A. Zeeb 17958e93258fSBjoern A. Zeeb #define R_AX_SS_MACID_PAUSE_2 0x9EB8 17968e93258fSBjoern A. Zeeb #define B_AX_SS_MACID95_64_PAUSE_SH 0 17978e93258fSBjoern A. Zeeb #define B_AX_SS_MACID95_64_PAUSE_MASK GENMASK(31, 0) 17988e93258fSBjoern A. Zeeb 17998e93258fSBjoern A. Zeeb #define R_AX_SS_MACID_PAUSE_3 0x9EBC 18008e93258fSBjoern A. Zeeb #define B_AX_SS_MACID127_96_PAUSE_SH 0 18018e93258fSBjoern A. Zeeb #define B_AX_SS_MACID127_96_PAUSE_MASK GENMASK(31, 0) 18028e93258fSBjoern A. Zeeb 18038e93258fSBjoern A. Zeeb #define R_AX_STA_SCHEDULER_ERR_IMR 0x9EF0 18048e93258fSBjoern A. Zeeb #define B_AX_PLE_B_PKTID_ERR_INT_EN BIT(2) 18058e93258fSBjoern A. Zeeb #define B_AX_RPT_HANG_TIMEOUT_INT_EN BIT(1) 18068e93258fSBjoern A. Zeeb #define B_AX_SEARCH_HANG_TIMEOUT_INT_EN BIT(0) 18078e93258fSBjoern A. Zeeb #define B_AX_STA_SCHEDULER_IMR_SET (B_AX_SEARCH_HANG_TIMEOUT_INT_EN | \ 18088e93258fSBjoern A. Zeeb B_AX_RPT_HANG_TIMEOUT_INT_EN | \ 18098e93258fSBjoern A. Zeeb B_AX_PLE_B_PKTID_ERR_INT_EN) 18108e93258fSBjoern A. Zeeb 18118e93258fSBjoern A. Zeeb #define R_AX_STA_SCHEDULER_ERR_ISR 0x9EF4 18128e93258fSBjoern A. Zeeb 18138e93258fSBjoern A. Zeeb #define R_AX_TXPKTCTL_ERR_IMR_ISR 0x9F1C 18148e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_CMDPSR_FRZTO_ERR BIT(25) 18158e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_CMDPSR_CMDTYPE_ERR BIT(24) 18168e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_USRCTL_RLSBMPLEN_ERR BIT(19) 18178e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_USRCTL_RDNRLSCMD_ERR BIT(18) 18188e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_USRCTL_NOINIT_ERR BIT(17) 18198e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_USRCTL_REINIT_ERR BIT(16) 18208e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_CMDPSR_FRZTO_ERR_INT_EN BIT(9) 18218e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_CMDPSR_CMDTYPE_ERR_INT_EN BIT(8) 18228e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_USRCTL_RLSBMPLEN_ERR_INT_EN BIT(3) 18238e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_USRCTL_RDNRLSCMD_ERR_INT_EN BIT(2) 18248e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_USRCTL_NOINIT_ERR_INT_EN BIT(1) 18258e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_USRCTL_REINIT_ERR_INT_EN BIT(0) 18268e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_IMR_B0_CLR (B_AX_TXPKTCTL_USRCTL_REINIT_ERR_INT_EN | \ 18278e93258fSBjoern A. Zeeb B_AX_TXPKTCTL_USRCTL_NOINIT_ERR_INT_EN | \ 18288e93258fSBjoern A. Zeeb B_AX_TXPKTCTL_USRCTL_RDNRLSCMD_ERR_INT_EN | \ 18298e93258fSBjoern A. Zeeb B_AX_TXPKTCTL_USRCTL_RLSBMPLEN_ERR_INT_EN | \ 18308e93258fSBjoern A. Zeeb B_AX_TXPKTCTL_CMDPSR_CMDTYPE_ERR_INT_EN | \ 18318e93258fSBjoern A. Zeeb B_AX_TXPKTCTL_CMDPSR_FRZTO_ERR_INT_EN) 18328e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_IMR_B1_CLR (B_AX_TXPKTCTL_USRCTL_REINIT_ERR_INT_EN | \ 18338e93258fSBjoern A. Zeeb B_AX_TXPKTCTL_USRCTL_NOINIT_ERR_INT_EN | \ 18348e93258fSBjoern A. Zeeb B_AX_TXPKTCTL_USRCTL_RDNRLSCMD_ERR_INT_EN | \ 18358e93258fSBjoern A. Zeeb B_AX_TXPKTCTL_USRCTL_RLSBMPLEN_ERR_INT_EN | \ 18368e93258fSBjoern A. Zeeb B_AX_TXPKTCTL_CMDPSR_CMDTYPE_ERR_INT_EN | \ 18378e93258fSBjoern A. Zeeb B_AX_TXPKTCTL_CMDPSR_FRZTO_ERR_INT_EN) 18388e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_IMR_B0_SET (B_AX_TXPKTCTL_USRCTL_REINIT_ERR_INT_EN | \ 18398e93258fSBjoern A. Zeeb B_AX_TXPKTCTL_CMDPSR_CMDTYPE_ERR_INT_EN) 18408e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_IMR_B1_SET (B_AX_TXPKTCTL_USRCTL_REINIT_ERR_INT_EN | \ 18418e93258fSBjoern A. Zeeb B_AX_TXPKTCTL_USRCTL_NOINIT_ERR_INT_EN | \ 18428e93258fSBjoern A. Zeeb B_AX_TXPKTCTL_CMDPSR_CMDTYPE_ERR_INT_EN | \ 18438e93258fSBjoern A. Zeeb B_AX_TXPKTCTL_CMDPSR_FRZTO_ERR_INT_EN) 18448e93258fSBjoern A. Zeeb 18458e93258fSBjoern A. Zeeb #define R_AX_TXPKTCTL_ERR_IMR_ISR_B1 0x9F2C 18468e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_CMDPSR_FRZTO_ERR_INT_EN BIT(9) 18478e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_USRCTL_RLSBMPLEN_ERR_INT_EN BIT(3) 18488e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_USRCTL_RDNRLSCMD_ERR_INT_EN BIT(2) 18498e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_USRCTL_NOINIT_ERR_INT_EN BIT(1) 18508e93258fSBjoern A. Zeeb 18518e93258fSBjoern A. Zeeb #define R_AX_DBG_FUN_INTF_CTL 0x9F30 18528e93258fSBjoern A. Zeeb #define B_AX_DFI_ACTIVE BIT(31) 18538e93258fSBjoern A. Zeeb #define B_AX_DFI_TRGSEL_MASK GENMASK(19, 16) 18548e93258fSBjoern A. Zeeb #define B_AX_DFI_ADDR_MASK GENMASK(15, 0) 18558e93258fSBjoern A. Zeeb #define R_AX_DBG_FUN_INTF_DATA 0x9F34 18568e93258fSBjoern A. Zeeb #define B_AX_DFI_DATA_MASK GENMASK(31, 0) 18578e93258fSBjoern A. Zeeb 18588e93258fSBjoern A. Zeeb #define R_AX_TXPKTCTL_B0_PRELD_CFG0 0x9F48 18598e93258fSBjoern A. Zeeb #define B_AX_B0_PRELD_FEN BIT(31) 18608e93258fSBjoern A. Zeeb #define B_AX_B0_PRELD_USEMAXSZ_MASK GENMASK(25, 16) 18618e93258fSBjoern A. Zeeb #define PRELD_B0_ENT_NUM 10 18628e93258fSBjoern A. Zeeb #define PRELD_AMSDU_SIZE 52 18638e93258fSBjoern A. Zeeb #define B_AX_B0_PRELD_CAM_G1ENTNUM_MASK GENMASK(12, 8) 18648e93258fSBjoern A. Zeeb #define B_AX_B0_PRELD_CAM_G0ENTNUM_MASK GENMASK(4, 0) 18658e93258fSBjoern A. Zeeb 18668e93258fSBjoern A. Zeeb #define R_AX_TXPKTCTL_B0_PRELD_CFG1 0x9F4C 18678e93258fSBjoern A. Zeeb #define B_AX_B0_PRELD_NXT_TXENDWIN_MASK GENMASK(11, 8) 18688e93258fSBjoern A. Zeeb #define PRELD_NEXT_WND 1 18698e93258fSBjoern A. Zeeb #define B_AX_B0_PRELD_NXT_RSVMINSZ_MASK GENMASK(7, 0) 18708e93258fSBjoern A. Zeeb 18718e93258fSBjoern A. Zeeb #define R_AX_TXPKTCTL_B0_ERRFLAG_IMR 0x9F78 18728e93258fSBjoern A. Zeeb #define B_AX_B0_IMR_ERR_PRELD_ENTNUMCFG BIT(21) 18738e93258fSBjoern A. Zeeb #define B_AX_B0_IMR_ERR_PRELD_RLSPKTSZERR BIT(20) 18748e93258fSBjoern A. Zeeb #define B_AX_B0_IMR_ERR_MPDUIF_DATAERR BIT(18) 18758e93258fSBjoern A. Zeeb #define B_AX_B0_IMR_ERR_MPDUINFO_RECFG BIT(16) 18768e93258fSBjoern A. Zeeb #define B_AX_B0_IMR_ERR_CMDPSR_TBLSZ BIT(11) 18778e93258fSBjoern A. Zeeb #define B_AX_B0_IMR_ERR_CMDPSR_FRZTO BIT(10) 18788e93258fSBjoern A. Zeeb #define B_AX_B0_IMR_ERR_CMDPSR_CMDTYPE BIT(9) 18798e93258fSBjoern A. Zeeb #define B_AX_B0_IMR_ERR_CMDPSR_1STCMDERR BIT(8) 18808e93258fSBjoern A. Zeeb #define B_AX_B0_IMR_ERR_USRCTL_RLSBMPLEN BIT(3) 18818e93258fSBjoern A. Zeeb #define B_AX_B0_IMR_ERR_USRCTL_RDNRLSCMD BIT(2) 18828e93258fSBjoern A. Zeeb #define B_AX_B0_IMR_ERR_USRCTL_NOINIT BIT(1) 18838e93258fSBjoern A. Zeeb #define B_AX_B0_IMR_ERR_USRCTL_REINIT BIT(0) 18848e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_IMR_B0_CLR_V1 (B_AX_B0_IMR_ERR_USRCTL_REINIT | \ 18858e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_USRCTL_NOINIT | \ 18868e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_USRCTL_RDNRLSCMD | \ 18878e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_USRCTL_RLSBMPLEN | \ 18888e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_CMDPSR_1STCMDERR | \ 18898e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_CMDPSR_CMDTYPE | \ 18908e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_CMDPSR_FRZTO | \ 18918e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_CMDPSR_TBLSZ | \ 18928e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_MPDUINFO_RECFG | \ 18938e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_MPDUIF_DATAERR | \ 18948e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_PRELD_RLSPKTSZERR | \ 18958e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_PRELD_ENTNUMCFG) 18968e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_IMR_B0_SET_V1 (B_AX_B0_IMR_ERR_USRCTL_REINIT | \ 18978e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_USRCTL_NOINIT | \ 18988e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_CMDPSR_1STCMDERR | \ 18998e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_CMDPSR_CMDTYPE | \ 19008e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_CMDPSR_TBLSZ | \ 19018e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_MPDUINFO_RECFG | \ 19028e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_MPDUIF_DATAERR | \ 19038e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_PRELD_RLSPKTSZERR | \ 19048e93258fSBjoern A. Zeeb B_AX_B0_IMR_ERR_PRELD_ENTNUMCFG) 19058e93258fSBjoern A. Zeeb 1906e2340276SBjoern A. Zeeb #define R_AX_TXPKTCTL_B0_ERRFLAG_ISR 0x9F7C 1907e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_PRELD_EVT3 BIT(23) 1908e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_PRELD_EVT2 BIT(22) 1909e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_PRELD_ENTNUMCFG BIT(21) 1910e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_PRELD_RLSPKTSZERR BIT(20) 1911e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_MPDUIF_ERR1 BIT(19) 1912e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_MPDUIF_DATAERR BIT(18) 1913e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_MPDUINFO_ERR1 BIT(17) 1914e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_MPDUINFO_RECFG BIT(16) 1915e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_CMDPSR_TBLSZ BIT(11) 1916e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_CMDPSR_FRZTO BIT(10) 1917e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_CMDPSR_CMDTYPE BIT(9) 1918e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_CMDPSR_1STCMDERR BIT(8) 1919e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_USRCTL_EVT7 BIT(7) 1920e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_USRCTL_EVT6 BIT(6) 1921e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_USRCTL_EVT5 BIT(5) 1922e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_USRCTL_EVT4 BIT(4) 1923e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_USRCTL_RLSBMPLEN BIT(3) 1924e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_USRCTL_RDNRLSCMD BIT(2) 1925e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_USRCTL_NOINIT BIT(1) 1926e2340276SBjoern A. Zeeb #define B_AX_B0_ISR_ERR_USRCTL_REINIT BIT(0) 1927e2340276SBjoern A. Zeeb 19288e93258fSBjoern A. Zeeb #define R_AX_TXPKTCTL_B1_PRELD_CFG0 0x9F88 19298e93258fSBjoern A. Zeeb #define B_AX_B1_PRELD_FEN BIT(31) 19308e93258fSBjoern A. Zeeb #define B_AX_B1_PRELD_USEMAXSZ_MASK GENMASK(25, 16) 19318e93258fSBjoern A. Zeeb #define PRELD_B1_ENT_NUM 4 19328e93258fSBjoern A. Zeeb #define B_AX_B1_PRELD_CAM_G1ENTNUM_MASK GENMASK(12, 8) 19338e93258fSBjoern A. Zeeb #define B_AX_B1_PRELD_CAM_G0ENTNUM_MASK GENMASK(4, 0) 19348e93258fSBjoern A. Zeeb 19358e93258fSBjoern A. Zeeb #define R_AX_TXPKTCTL_B1_PRELD_CFG1 0x9F8C 19368e93258fSBjoern A. Zeeb #define B_AX_B1_PRELD_NXT_TXENDWIN_MASK GENMASK(11, 8) 19378e93258fSBjoern A. Zeeb #define B_AX_B1_PRELD_NXT_RSVMINSZ_MASK GENMASK(7, 0) 19388e93258fSBjoern A. Zeeb 19398e93258fSBjoern A. Zeeb #define R_AX_TXPKTCTL_B1_ERRFLAG_IMR 0x9FB8 19408e93258fSBjoern A. Zeeb #define B_AX_B1_IMR_ERR_PRELD_ENTNUMCFG BIT(21) 19418e93258fSBjoern A. Zeeb #define B_AX_B1_IMR_ERR_PRELD_RLSPKTSZERR BIT(20) 19428e93258fSBjoern A. Zeeb #define B_AX_B1_IMR_ERR_MPDUIF_DATAERR BIT(18) 19438e93258fSBjoern A. Zeeb #define B_AX_B1_IMR_ERR_MPDUINFO_RECFG BIT(16) 19448e93258fSBjoern A. Zeeb #define B_AX_B1_IMR_ERR_CMDPSR_TBLSZ BIT(11) 19458e93258fSBjoern A. Zeeb #define B_AX_B1_IMR_ERR_CMDPSR_FRZTO BIT(10) 19468e93258fSBjoern A. Zeeb #define B_AX_B1_IMR_ERR_CMDPSR_CMDTYPE BIT(9) 19478e93258fSBjoern A. Zeeb #define B_AX_B1_IMR_ERR_CMDPSR_1STCMDERR BIT(8) 19488e93258fSBjoern A. Zeeb #define B_AX_B1_IMR_ERR_USRCTL_RLSBMPLEN BIT(3) 19498e93258fSBjoern A. Zeeb #define B_AX_B1_IMR_ERR_USRCTL_RDNRLSCMD BIT(2) 19508e93258fSBjoern A. Zeeb #define B_AX_B1_IMR_ERR_USRCTL_NOINIT BIT(1) 19518e93258fSBjoern A. Zeeb #define B_AX_B1_IMR_ERR_USRCTL_REINIT BIT(0) 19528e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_IMR_B1_CLR_V1 (B_AX_B1_IMR_ERR_USRCTL_REINIT | \ 19538e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_USRCTL_NOINIT | \ 19548e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_USRCTL_RDNRLSCMD | \ 19558e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_USRCTL_RLSBMPLEN | \ 19568e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_CMDPSR_1STCMDERR | \ 19578e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_CMDPSR_CMDTYPE | \ 19588e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_CMDPSR_FRZTO | \ 19598e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_CMDPSR_TBLSZ | \ 19608e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_MPDUINFO_RECFG | \ 19618e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_MPDUIF_DATAERR | \ 19628e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_PRELD_RLSPKTSZERR | \ 19638e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_PRELD_ENTNUMCFG) 19648e93258fSBjoern A. Zeeb #define B_AX_TXPKTCTL_IMR_B1_SET_V1 (B_AX_B1_IMR_ERR_USRCTL_REINIT | \ 19658e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_USRCTL_NOINIT | \ 19668e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_CMDPSR_1STCMDERR | \ 19678e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_CMDPSR_CMDTYPE | \ 19688e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_CMDPSR_FRZTO | \ 19698e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_CMDPSR_TBLSZ | \ 19708e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_MPDUINFO_RECFG | \ 19718e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_MPDUIF_DATAERR | \ 19728e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_PRELD_RLSPKTSZERR | \ 19738e93258fSBjoern A. Zeeb B_AX_B1_IMR_ERR_PRELD_ENTNUMCFG) 19748e93258fSBjoern A. Zeeb 1975e2340276SBjoern A. Zeeb #define R_AX_TXPKTCTL_B1_ERRFLAG_ISR 0x9FBC 1976e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_PRELD_EVT3 BIT(23) 1977e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_PRELD_EVT2 BIT(22) 1978e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_PRELD_ENTNUMCFG BIT(21) 1979e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_PRELD_RLSPKTSZERR BIT(20) 1980e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_MPDUIF_ERR1 BIT(19) 1981e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_MPDUIF_DATAERR BIT(18) 1982e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_MPDUINFO_ERR1 BIT(17) 1983e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_MPDUINFO_RECFG BIT(16) 1984e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_CMDPSR_TBLSZ BIT(11) 1985e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_CMDPSR_FRZTO BIT(10) 1986e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_CMDPSR_CMDTYPE BIT(9) 1987e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_CMDPSR_1STCMDERR BIT(8) 1988e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_USRCTL_EVT7 BIT(7) 1989e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_USRCTL_EVT6 BIT(6) 1990e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_USRCTL_EVT5 BIT(5) 1991e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_USRCTL_EVT4 BIT(4) 1992e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_USRCTL_RLSBMPLEN BIT(3) 1993e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_USRCTL_RDNRLSCMD BIT(2) 1994e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_USRCTL_NOINIT BIT(1) 1995e2340276SBjoern A. Zeeb #define B_AX_B1_ISR_ERR_USRCTL_REINIT BIT(0) 1996e2340276SBjoern A. Zeeb 19978e93258fSBjoern A. Zeeb #define R_AX_AFE_CTRL1 0x0024 19988e93258fSBjoern A. Zeeb 19998e93258fSBjoern A. Zeeb #define B_AX_R_SYM_WLCMAC1_P4_PC_EN BIT(4) 20008e93258fSBjoern A. Zeeb #define B_AX_R_SYM_WLCMAC1_P3_PC_EN BIT(3) 20018e93258fSBjoern A. Zeeb #define B_AX_R_SYM_WLCMAC1_P2_PC_EN BIT(2) 20028e93258fSBjoern A. Zeeb #define B_AX_R_SYM_WLCMAC1_P1_PC_EN BIT(1) 20038e93258fSBjoern A. Zeeb #define B_AX_R_SYM_WLCMAC1_PC_EN BIT(0) 20048e93258fSBjoern A. Zeeb 20058e93258fSBjoern A. Zeeb #define R_AX_SYS_ISO_CTRL_EXTEND 0x0080 20068e93258fSBjoern A. Zeeb #define B_AX_CMAC1_FEN BIT(30) 20078e93258fSBjoern A. Zeeb #define B_AX_R_SYM_FEN_WLBBGLB_1 BIT(17) 20088e93258fSBjoern A. Zeeb #define B_AX_R_SYM_FEN_WLBBFUN_1 BIT(16) 20098e93258fSBjoern A. Zeeb #define B_AX_R_SYM_ISO_CMAC12PP BIT(5) 20108e93258fSBjoern A. Zeeb 20118e93258fSBjoern A. Zeeb #define R_AX_CMAC_REG_START 0xC000 20128e93258fSBjoern A. Zeeb 20138e93258fSBjoern A. Zeeb #define R_AX_CMAC_FUNC_EN 0xC000 20148e93258fSBjoern A. Zeeb #define R_AX_CMAC_FUNC_EN_C1 0xE000 20158e93258fSBjoern A. Zeeb #define B_AX_CMAC_CRPRT BIT(31) 20168e93258fSBjoern A. Zeeb #define B_AX_CMAC_EN BIT(30) 20178e93258fSBjoern A. Zeeb #define B_AX_CMAC_TXEN BIT(29) 20188e93258fSBjoern A. Zeeb #define B_AX_CMAC_RXEN BIT(28) 20198e93258fSBjoern A. Zeeb #define B_AX_FORCE_CMACREG_GCKEN BIT(15) 20208e93258fSBjoern A. Zeeb #define B_AX_PHYINTF_EN BIT(5) 20218e93258fSBjoern A. Zeeb #define B_AX_CMAC_DMA_EN BIT(4) 20228e93258fSBjoern A. Zeeb #define B_AX_PTCLTOP_EN BIT(3) 20238e93258fSBjoern A. Zeeb #define B_AX_SCHEDULER_EN BIT(2) 20248e93258fSBjoern A. Zeeb #define B_AX_TMAC_EN BIT(1) 20258e93258fSBjoern A. Zeeb #define B_AX_RMAC_EN BIT(0) 20268e93258fSBjoern A. Zeeb 20278e93258fSBjoern A. Zeeb #define R_AX_CK_EN 0xC004 20288e93258fSBjoern A. Zeeb #define R_AX_CK_EN_C1 0xE004 20298e93258fSBjoern A. Zeeb #define B_AX_CMAC_ALLCKEN GENMASK(31, 0) 20308e93258fSBjoern A. Zeeb #define B_AX_CMAC_CKEN BIT(30) 20318e93258fSBjoern A. Zeeb #define B_AX_PHYINTF_CKEN BIT(5) 20328e93258fSBjoern A. Zeeb #define B_AX_CMAC_DMA_CKEN BIT(4) 20338e93258fSBjoern A. Zeeb #define B_AX_PTCLTOP_CKEN BIT(3) 20348e93258fSBjoern A. Zeeb #define B_AX_SCHEDULER_CKEN BIT(2) 20358e93258fSBjoern A. Zeeb #define B_AX_TMAC_CKEN BIT(1) 20368e93258fSBjoern A. Zeeb #define B_AX_RMAC_CKEN BIT(0) 20378e93258fSBjoern A. Zeeb 20388e93258fSBjoern A. Zeeb #define R_AX_WMAC_RFMOD 0xC010 20398e93258fSBjoern A. Zeeb #define R_AX_WMAC_RFMOD_C1 0xE010 20408e93258fSBjoern A. Zeeb #define B_AX_WMAC_RFMOD_MASK GENMASK(1, 0) 20418e93258fSBjoern A. Zeeb #define AX_WMAC_RFMOD_20M 0 20428e93258fSBjoern A. Zeeb #define AX_WMAC_RFMOD_40M 1 20438e93258fSBjoern A. Zeeb #define AX_WMAC_RFMOD_80M 2 20448e93258fSBjoern A. Zeeb #define AX_WMAC_RFMOD_160M 3 20458e93258fSBjoern A. Zeeb 20468e93258fSBjoern A. Zeeb #define R_AX_GID_POSITION0 0xC070 20478e93258fSBjoern A. Zeeb #define R_AX_GID_POSITION0_C1 0xE070 20488e93258fSBjoern A. Zeeb #define R_AX_GID_POSITION1 0xC074 20498e93258fSBjoern A. Zeeb #define R_AX_GID_POSITION1_C1 0xE074 20508e93258fSBjoern A. Zeeb #define R_AX_GID_POSITION2 0xC078 20518e93258fSBjoern A. Zeeb #define R_AX_GID_POSITION2_C1 0xE078 20528e93258fSBjoern A. Zeeb #define R_AX_GID_POSITION3 0xC07C 20538e93258fSBjoern A. Zeeb #define R_AX_GID_POSITION3_C1 0xE07C 20548e93258fSBjoern A. Zeeb #define R_AX_GID_POSITION_EN0 0xC080 20558e93258fSBjoern A. Zeeb #define R_AX_GID_POSITION_EN0_C1 0xE080 20568e93258fSBjoern A. Zeeb #define R_AX_GID_POSITION_EN1 0xC084 20578e93258fSBjoern A. Zeeb #define R_AX_GID_POSITION_EN1_C1 0xE084 20588e93258fSBjoern A. Zeeb 20598e93258fSBjoern A. Zeeb #define R_AX_TX_SUB_CARRIER_VALUE 0xC088 20608e93258fSBjoern A. Zeeb #define R_AX_TX_SUB_CARRIER_VALUE_C1 0xE088 20618e93258fSBjoern A. Zeeb #define B_AX_TXSC_80M_MASK GENMASK(11, 8) 20628e93258fSBjoern A. Zeeb #define B_AX_TXSC_40M_MASK GENMASK(7, 4) 20638e93258fSBjoern A. Zeeb #define B_AX_TXSC_20M_MASK GENMASK(3, 0) 20648e93258fSBjoern A. Zeeb 2065e2340276SBjoern A. Zeeb #define R_AX_PTCL_RRSR1 0xC090 2066e2340276SBjoern A. Zeeb #define R_AX_PTCL_RRSR1_C1 0xE090 2067e2340276SBjoern A. Zeeb #define B_AX_RRSR_RATE_EN_MASK GENMASK(11, 8) 2068e2340276SBjoern A. Zeeb #define RRSR_OFDM_CCK_EN 3 2069e2340276SBjoern A. Zeeb #define B_AX_RSC_MASK GENMASK(7, 6) 2070e2340276SBjoern A. Zeeb #define B_AX_RRSR_CCK_MASK GENMASK(3, 0) 2071e2340276SBjoern A. Zeeb 20728e93258fSBjoern A. Zeeb #define R_AX_CMAC_ERR_IMR 0xC160 20738e93258fSBjoern A. Zeeb #define R_AX_CMAC_ERR_IMR_C1 0xE160 20748e93258fSBjoern A. Zeeb #define B_AX_WMAC_TX_ERR_IND_EN BIT(7) 20758e93258fSBjoern A. Zeeb #define B_AX_WMAC_RX_ERR_IND_EN BIT(6) 20768e93258fSBjoern A. Zeeb #define B_AX_TXPWR_CTRL_ERR_IND_EN BIT(5) 20778e93258fSBjoern A. Zeeb #define B_AX_PHYINTF_ERR_IND_EN BIT(4) 20788e93258fSBjoern A. Zeeb #define B_AX_DMA_TOP_ERR_IND_EN BIT(3) 20798e93258fSBjoern A. Zeeb #define B_AX_PTCL_TOP_ERR_IND_EN BIT(1) 20808e93258fSBjoern A. Zeeb #define B_AX_SCHEDULE_TOP_ERR_IND_EN BIT(0) 20818e93258fSBjoern A. Zeeb #define CMAC0_ERR_IMR_EN GENMASK(31, 0) 20828e93258fSBjoern A. Zeeb #define CMAC1_ERR_IMR_EN GENMASK(31, 0) 20838e93258fSBjoern A. Zeeb #define CMAC0_ERR_IMR_DIS 0 20848e93258fSBjoern A. Zeeb #define CMAC1_ERR_IMR_DIS 0 20858e93258fSBjoern A. Zeeb 20868e93258fSBjoern A. Zeeb #define R_AX_CMAC_ERR_ISR 0xC164 20878e93258fSBjoern A. Zeeb #define R_AX_CMAC_ERR_ISR_C1 0xE164 20888e93258fSBjoern A. Zeeb #define B_AX_WMAC_TX_ERR_IND BIT(7) 20898e93258fSBjoern A. Zeeb #define B_AX_WMAC_RX_ERR_IND BIT(6) 20908e93258fSBjoern A. Zeeb #define B_AX_TXPWR_CTRL_ERR_IND BIT(5) 20918e93258fSBjoern A. Zeeb #define B_AX_PHYINTF_ERR_IND BIT(4) 20928e93258fSBjoern A. Zeeb #define B_AX_DMA_TOP_ERR_IND BIT(3) 20938e93258fSBjoern A. Zeeb #define B_AX_PTCL_TOP_ERR_IND BIT(1) 20948e93258fSBjoern A. Zeeb #define B_AX_SCHEDULE_TOP_ERR_IND BIT(0) 20958e93258fSBjoern A. Zeeb 2096e2340276SBjoern A. Zeeb #define R_AX_PORT0_TSF_SYNC 0xC2A0 2097e2340276SBjoern A. Zeeb #define R_AX_PORT0_TSF_SYNC_C1 0xE2A0 2098e2340276SBjoern A. Zeeb #define R_AX_PORT1_TSF_SYNC 0xC2A4 2099e2340276SBjoern A. Zeeb #define R_AX_PORT1_TSF_SYNC_C1 0xE2A4 2100e2340276SBjoern A. Zeeb #define R_AX_PORT2_TSF_SYNC 0xC2A8 2101e2340276SBjoern A. Zeeb #define R_AX_PORT2_TSF_SYNC_C1 0xE2A8 2102e2340276SBjoern A. Zeeb #define R_AX_PORT3_TSF_SYNC 0xC2AC 2103e2340276SBjoern A. Zeeb #define R_AX_PORT3_TSF_SYNC_C1 0xE2AC 2104e2340276SBjoern A. Zeeb #define R_AX_PORT4_TSF_SYNC 0xC2B0 2105e2340276SBjoern A. Zeeb #define R_AX_PORT4_TSF_SYNC_C1 0xE2B0 2106e2340276SBjoern A. Zeeb #define B_AX_SYNC_NOW BIT(30) 2107e2340276SBjoern A. Zeeb #define B_AX_SYNC_ONCE BIT(29) 2108e2340276SBjoern A. Zeeb #define B_AX_SYNC_AUTO BIT(28) 2109e2340276SBjoern A. Zeeb #define B_AX_SYNC_PORT_SRC GENMASK(26, 24) 2110e2340276SBjoern A. Zeeb #define B_AX_SYNC_PORT_OFFSET_SIGN BIT(18) 2111e2340276SBjoern A. Zeeb #define B_AX_SYNC_PORT_OFFSET_VAL GENMASK(17, 0) 2112e2340276SBjoern A. Zeeb 21138e93258fSBjoern A. Zeeb #define R_AX_MACID_SLEEP_0 0xC2C0 21148e93258fSBjoern A. Zeeb #define R_AX_MACID_SLEEP_0_C1 0xE2C0 21158e93258fSBjoern A. Zeeb #define B_AX_MACID31_0_SLEEP_SH 0 21168e93258fSBjoern A. Zeeb #define B_AX_MACID31_0_SLEEP_MASK GENMASK(31, 0) 21178e93258fSBjoern A. Zeeb 21188e93258fSBjoern A. Zeeb #define R_AX_MACID_SLEEP_1 0xC2C4 21198e93258fSBjoern A. Zeeb #define R_AX_MACID_SLEEP_1_C1 0xE2C4 21208e93258fSBjoern A. Zeeb #define B_AX_MACID63_32_SLEEP_SH 0 21218e93258fSBjoern A. Zeeb #define B_AX_MACID63_32_SLEEP_MASK GENMASK(31, 0) 21228e93258fSBjoern A. Zeeb 21238e93258fSBjoern A. Zeeb #define R_AX_MACID_SLEEP_2 0xC2C8 21248e93258fSBjoern A. Zeeb #define R_AX_MACID_SLEEP_2_C1 0xE2C8 21258e93258fSBjoern A. Zeeb #define B_AX_MACID95_64_SLEEP_SH 0 21268e93258fSBjoern A. Zeeb #define B_AX_MACID95_64_SLEEP_MASK GENMASK(31, 0) 21278e93258fSBjoern A. Zeeb 21288e93258fSBjoern A. Zeeb #define R_AX_MACID_SLEEP_3 0xC2CC 21298e93258fSBjoern A. Zeeb #define R_AX_MACID_SLEEP_3_C1 0xE2CC 21308e93258fSBjoern A. Zeeb #define B_AX_MACID127_96_SLEEP_SH 0 21318e93258fSBjoern A. Zeeb #define B_AX_MACID127_96_SLEEP_MASK GENMASK(31, 0) 21328e93258fSBjoern A. Zeeb 21338e93258fSBjoern A. Zeeb #define SCH_PREBKF_24US 0x18 21348e93258fSBjoern A. Zeeb #define R_AX_PREBKF_CFG_0 0xC338 21358e93258fSBjoern A. Zeeb #define R_AX_PREBKF_CFG_0_C1 0xE338 21368e93258fSBjoern A. Zeeb #define B_AX_PREBKF_TIME_MASK GENMASK(4, 0) 21378e93258fSBjoern A. Zeeb 21388e93258fSBjoern A. Zeeb #define R_AX_PREBKF_CFG_1 0xC33C 21398e93258fSBjoern A. Zeeb #define R_AX_PREBKF_CFG_1_C1 0xE33C 21408e93258fSBjoern A. Zeeb #define B_AX_SIFS_TIMEOUT_TB_AGGR_MASK GENMASK(30, 24) 21418e93258fSBjoern A. Zeeb #define B_AX_SIFS_PREBKF_MASK GENMASK(23, 16) 21428e93258fSBjoern A. Zeeb #define B_AX_SIFS_TIMEOUT_T2_MASK GENMASK(14, 8) 21438e93258fSBjoern A. Zeeb #define B_AX_SIFS_MACTXEN_T1_MASK GENMASK(6, 0) 21448e93258fSBjoern A. Zeeb #define SIFS_MACTXEN_T1 0x47 21458e93258fSBjoern A. Zeeb #define SIFS_MACTXEN_T1_V1 0x41 21468e93258fSBjoern A. Zeeb 21478e93258fSBjoern A. Zeeb #define R_AX_CCA_CFG_0 0xC340 21488e93258fSBjoern A. Zeeb #define R_AX_CCA_CFG_0_C1 0xE340 21498e93258fSBjoern A. Zeeb #define B_AX_BTCCA_BRK_TXOP_EN BIT(9) 21508e93258fSBjoern A. Zeeb #define B_AX_BTCCA_EN BIT(5) 21518e93258fSBjoern A. Zeeb #define B_AX_EDCCA_EN BIT(4) 21528e93258fSBjoern A. Zeeb #define B_AX_SEC80_EN BIT(3) 21538e93258fSBjoern A. Zeeb #define B_AX_SEC40_EN BIT(2) 21548e93258fSBjoern A. Zeeb #define B_AX_SEC20_EN BIT(1) 21558e93258fSBjoern A. Zeeb #define B_AX_CCA_EN BIT(0) 21568e93258fSBjoern A. Zeeb 21578e93258fSBjoern A. Zeeb #define R_AX_CTN_TXEN 0xC348 21588e93258fSBjoern A. Zeeb #define R_AX_CTN_TXEN_C1 0xE348 21598e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_TWT_1 BIT(15) 21608e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_TWT_0 BIT(14) 21618e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_ULQ BIT(13) 21628e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_BCNQ BIT(12) 21638e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_HGQ BIT(11) 21648e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_CPUMGQ BIT(10) 21658e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_MGQ1 BIT(9) 21668e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_MGQ BIT(8) 21678e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_VO_1 BIT(7) 21688e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_VI_1 BIT(6) 21698e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_BK_1 BIT(5) 21708e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_BE_1 BIT(4) 21718e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_VO_0 BIT(3) 21728e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_VI_0 BIT(2) 21738e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_BK_0 BIT(1) 21748e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_BE_0 BIT(0) 21758e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_ALL_MASK GENMASK(15, 0) 21768e93258fSBjoern A. Zeeb 21778e93258fSBjoern A. Zeeb #define R_AX_MUEDCA_BE_PARAM_0 0xC350 21788e93258fSBjoern A. Zeeb #define R_AX_MUEDCA_BE_PARAM_0_C1 0xE350 21798e93258fSBjoern A. Zeeb #define B_AX_MUEDCA_BE_PARAM_0_TIMER_MASK GENMASK(31, 16) 21808e93258fSBjoern A. Zeeb #define B_AX_MUEDCA_BE_PARAM_0_CW_MASK GENMASK(15, 8) 21818e93258fSBjoern A. Zeeb #define B_AX_MUEDCA_BE_PARAM_0_AIFS_MASK GENMASK(7, 0) 21828e93258fSBjoern A. Zeeb 21838e93258fSBjoern A. Zeeb #define R_AX_MUEDCA_BK_PARAM_0 0xC354 21848e93258fSBjoern A. Zeeb #define R_AX_MUEDCA_BK_PARAM_0_C1 0xE354 21858e93258fSBjoern A. Zeeb #define R_AX_MUEDCA_VI_PARAM_0 0xC358 21868e93258fSBjoern A. Zeeb #define R_AX_MUEDCA_VI_PARAM_0_C1 0xE358 21878e93258fSBjoern A. Zeeb #define R_AX_MUEDCA_VO_PARAM_0 0xC35C 21888e93258fSBjoern A. Zeeb #define R_AX_MUEDCA_VO_PARAM_0_C1 0xE35C 21898e93258fSBjoern A. Zeeb 21908e93258fSBjoern A. Zeeb #define R_AX_MUEDCA_EN 0xC370 21918e93258fSBjoern A. Zeeb #define R_AX_MUEDCA_EN_C1 0xE370 21928e93258fSBjoern A. Zeeb #define B_AX_MUEDCA_WMM_SEL BIT(8) 21938e93258fSBjoern A. Zeeb #define B_AX_SET_MUEDCATIMER_TF_0 BIT(4) 21948e93258fSBjoern A. Zeeb #define B_AX_MUEDCA_EN_0 BIT(0) 21958e93258fSBjoern A. Zeeb 21968e93258fSBjoern A. Zeeb #define R_AX_CCA_CONTROL 0xC390 21978e93258fSBjoern A. Zeeb #define R_AX_CCA_CONTROL_C1 0xE390 21988e93258fSBjoern A. Zeeb #define B_AX_TB_CHK_TX_NAV BIT(31) 21998e93258fSBjoern A. Zeeb #define B_AX_TB_CHK_BASIC_NAV BIT(30) 22008e93258fSBjoern A. Zeeb #define B_AX_TB_CHK_BTCCA BIT(29) 22018e93258fSBjoern A. Zeeb #define B_AX_TB_CHK_EDCCA BIT(28) 22028e93258fSBjoern A. Zeeb #define B_AX_TB_CHK_CCA_S80 BIT(27) 22038e93258fSBjoern A. Zeeb #define B_AX_TB_CHK_CCA_S40 BIT(26) 22048e93258fSBjoern A. Zeeb #define B_AX_TB_CHK_CCA_S20 BIT(25) 22058e93258fSBjoern A. Zeeb #define B_AX_TB_CHK_CCA_P20 BIT(24) 22068e93258fSBjoern A. Zeeb #define B_AX_SIFS_CHK_BTCCA BIT(21) 22078e93258fSBjoern A. Zeeb #define B_AX_SIFS_CHK_EDCCA BIT(20) 22088e93258fSBjoern A. Zeeb #define B_AX_SIFS_CHK_CCA_S80 BIT(19) 22098e93258fSBjoern A. Zeeb #define B_AX_SIFS_CHK_CCA_S40 BIT(18) 22108e93258fSBjoern A. Zeeb #define B_AX_SIFS_CHK_CCA_S20 BIT(17) 22118e93258fSBjoern A. Zeeb #define B_AX_SIFS_CHK_CCA_P20 BIT(16) 22128e93258fSBjoern A. Zeeb #define B_AX_CTN_CHK_TXNAV BIT(8) 22138e93258fSBjoern A. Zeeb #define B_AX_CTN_CHK_INTRA_NAV BIT(7) 22148e93258fSBjoern A. Zeeb #define B_AX_CTN_CHK_BASIC_NAV BIT(6) 22158e93258fSBjoern A. Zeeb #define B_AX_CTN_CHK_BTCCA BIT(5) 22168e93258fSBjoern A. Zeeb #define B_AX_CTN_CHK_EDCCA BIT(4) 22178e93258fSBjoern A. Zeeb #define B_AX_CTN_CHK_CCA_S80 BIT(3) 22188e93258fSBjoern A. Zeeb #define B_AX_CTN_CHK_CCA_S40 BIT(2) 22198e93258fSBjoern A. Zeeb #define B_AX_CTN_CHK_CCA_S20 BIT(1) 22208e93258fSBjoern A. Zeeb #define B_AX_CTN_CHK_CCA_P20 BIT(0) 22218e93258fSBjoern A. Zeeb 22228e93258fSBjoern A. Zeeb #define R_AX_CTN_DRV_TXEN 0xC398 22238e93258fSBjoern A. Zeeb #define R_AX_CTN_DRV_TXEN_C1 0xE398 22248e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_TWT_3 BIT(17) 22258e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_TWT_2 BIT(16) 22268e93258fSBjoern A. Zeeb #define B_AX_CTN_TXEN_ALL_MASK_V1 GENMASK(17, 0) 22278e93258fSBjoern A. Zeeb 22288e93258fSBjoern A. Zeeb #define R_AX_SCHEDULE_ERR_IMR 0xC3E8 22298e93258fSBjoern A. Zeeb #define R_AX_SCHEDULE_ERR_IMR_C1 0xE3E8 22308e93258fSBjoern A. Zeeb #define B_AX_SORT_NON_IDLE_ERR_INT_EN BIT(1) 22318e93258fSBjoern A. Zeeb 22328e93258fSBjoern A. Zeeb #define R_AX_SCHEDULE_ERR_ISR 0xC3EC 22338e93258fSBjoern A. Zeeb #define R_AX_SCHEDULE_ERR_ISR_C1 0xE3EC 22348e93258fSBjoern A. Zeeb 22358e93258fSBjoern A. Zeeb #define R_AX_SCH_DBG_SEL 0xC3F4 22368e93258fSBjoern A. Zeeb #define R_AX_SCH_DBG_SEL_C1 0xE3F4 22378e93258fSBjoern A. Zeeb #define B_AX_SCH_DBG_EN BIT(16) 22388e93258fSBjoern A. Zeeb #define B_AX_SCH_CFG_CMD_SEL GENMASK(15, 8) 22398e93258fSBjoern A. Zeeb #define B_AX_SCH_DBG_SEL_MASK GENMASK(7, 0) 22408e93258fSBjoern A. Zeeb 22418e93258fSBjoern A. Zeeb #define R_AX_SCH_DBG 0xC3F8 22428e93258fSBjoern A. Zeeb #define R_AX_SCH_DBG_C1 0xE3F8 22438e93258fSBjoern A. Zeeb #define B_AX_SCHEDULER_DBG_MASK GENMASK(31, 0) 22448e93258fSBjoern A. Zeeb 22458e93258fSBjoern A. Zeeb #define R_AX_SCH_EXT_CTRL 0xC3FC 22468e93258fSBjoern A. Zeeb #define R_AX_SCH_EXT_CTRL_C1 0xE3FC 22478e93258fSBjoern A. Zeeb #define B_AX_PORT_RST_TSF_ADV BIT(1) 22488e93258fSBjoern A. Zeeb 22498e93258fSBjoern A. Zeeb #define R_AX_PORT_CFG_P0 0xC400 22508e93258fSBjoern A. Zeeb #define R_AX_PORT_CFG_P1 0xC440 22518e93258fSBjoern A. Zeeb #define R_AX_PORT_CFG_P2 0xC480 22528e93258fSBjoern A. Zeeb #define R_AX_PORT_CFG_P3 0xC4C0 22538e93258fSBjoern A. Zeeb #define R_AX_PORT_CFG_P4 0xC500 22548e93258fSBjoern A. Zeeb #define B_AX_BRK_SETUP BIT(16) 22558e93258fSBjoern A. Zeeb #define B_AX_TBTT_UPD_SHIFT_SEL BIT(15) 22568e93258fSBjoern A. Zeeb #define B_AX_BCN_DROP_ALLOW BIT(14) 22578e93258fSBjoern A. Zeeb #define B_AX_TBTT_PROHIB_EN BIT(13) 22588e93258fSBjoern A. Zeeb #define B_AX_BCNTX_EN BIT(12) 22598e93258fSBjoern A. Zeeb #define B_AX_NET_TYPE_MASK GENMASK(11, 10) 22608e93258fSBjoern A. Zeeb #define B_AX_BCN_FORCETX_EN BIT(9) 22618e93258fSBjoern A. Zeeb #define B_AX_TXBCN_BTCCA_EN BIT(8) 22628e93258fSBjoern A. Zeeb #define B_AX_BCNERR_CNT_EN BIT(7) 22638e93258fSBjoern A. Zeeb #define B_AX_BCN_AGRES BIT(6) 22648e93258fSBjoern A. Zeeb #define B_AX_TSFTR_RST BIT(5) 22658e93258fSBjoern A. Zeeb #define B_AX_RX_BSSID_FIT_EN BIT(4) 22668e93258fSBjoern A. Zeeb #define B_AX_TSF_UDT_EN BIT(3) 22678e93258fSBjoern A. Zeeb #define B_AX_PORT_FUNC_EN BIT(2) 22688e93258fSBjoern A. Zeeb #define B_AX_TXBCN_RPT_EN BIT(1) 22698e93258fSBjoern A. Zeeb #define B_AX_RXBCN_RPT_EN BIT(0) 22708e93258fSBjoern A. Zeeb 22718e93258fSBjoern A. Zeeb #define R_AX_TBTT_PROHIB_P0 0xC404 22728e93258fSBjoern A. Zeeb #define R_AX_TBTT_PROHIB_P1 0xC444 22738e93258fSBjoern A. Zeeb #define R_AX_TBTT_PROHIB_P2 0xC484 22748e93258fSBjoern A. Zeeb #define R_AX_TBTT_PROHIB_P3 0xC4C4 22758e93258fSBjoern A. Zeeb #define R_AX_TBTT_PROHIB_P4 0xC504 22768e93258fSBjoern A. Zeeb #define B_AX_TBTT_HOLD_MASK GENMASK(27, 16) 22778e93258fSBjoern A. Zeeb #define B_AX_TBTT_SETUP_MASK GENMASK(7, 0) 22788e93258fSBjoern A. Zeeb 22798e93258fSBjoern A. Zeeb #define R_AX_BCN_AREA_P0 0xC408 22808e93258fSBjoern A. Zeeb #define R_AX_BCN_AREA_P1 0xC448 22818e93258fSBjoern A. Zeeb #define R_AX_BCN_AREA_P2 0xC488 22828e93258fSBjoern A. Zeeb #define R_AX_BCN_AREA_P3 0xC4C8 22838e93258fSBjoern A. Zeeb #define R_AX_BCN_AREA_P4 0xC508 22848e93258fSBjoern A. Zeeb #define B_AX_BCN_MSK_AREA_MASK GENMASK(27, 16) 22858e93258fSBjoern A. Zeeb #define B_AX_BCN_CTN_AREA_MASK GENMASK(11, 0) 22868e93258fSBjoern A. Zeeb 22878e93258fSBjoern A. Zeeb #define R_AX_BCNERLYINT_CFG_P0 0xC40C 22888e93258fSBjoern A. Zeeb #define R_AX_BCNERLYINT_CFG_P1 0xC44C 22898e93258fSBjoern A. Zeeb #define R_AX_BCNERLYINT_CFG_P2 0xC48C 22908e93258fSBjoern A. Zeeb #define R_AX_BCNERLYINT_CFG_P3 0xC4CC 22918e93258fSBjoern A. Zeeb #define R_AX_BCNERLYINT_CFG_P4 0xC50C 22928e93258fSBjoern A. Zeeb #define B_AX_BCNERLY_MASK GENMASK(11, 0) 22938e93258fSBjoern A. Zeeb 22948e93258fSBjoern A. Zeeb #define R_AX_TBTTERLYINT_CFG_P0 0xC40E 22958e93258fSBjoern A. Zeeb #define R_AX_TBTTERLYINT_CFG_P1 0xC44E 22968e93258fSBjoern A. Zeeb #define R_AX_TBTTERLYINT_CFG_P2 0xC48E 22978e93258fSBjoern A. Zeeb #define R_AX_TBTTERLYINT_CFG_P3 0xC4CE 22988e93258fSBjoern A. Zeeb #define R_AX_TBTTERLYINT_CFG_P4 0xC50E 22998e93258fSBjoern A. Zeeb #define B_AX_TBTTERLY_MASK GENMASK(11, 0) 23008e93258fSBjoern A. Zeeb 23018e93258fSBjoern A. Zeeb #define R_AX_TBTT_AGG_P0 0xC412 23028e93258fSBjoern A. Zeeb #define R_AX_TBTT_AGG_P1 0xC452 23038e93258fSBjoern A. Zeeb #define R_AX_TBTT_AGG_P2 0xC492 23048e93258fSBjoern A. Zeeb #define R_AX_TBTT_AGG_P3 0xC4D2 23058e93258fSBjoern A. Zeeb #define R_AX_TBTT_AGG_P4 0xC512 23068e93258fSBjoern A. Zeeb #define B_AX_TBTT_AGG_NUM_MASK GENMASK(15, 8) 23078e93258fSBjoern A. Zeeb 23088e93258fSBjoern A. Zeeb #define R_AX_BCN_SPACE_CFG_P0 0xC414 23098e93258fSBjoern A. Zeeb #define R_AX_BCN_SPACE_CFG_P1 0xC454 23108e93258fSBjoern A. Zeeb #define R_AX_BCN_SPACE_CFG_P2 0xC494 23118e93258fSBjoern A. Zeeb #define R_AX_BCN_SPACE_CFG_P3 0xC4D4 23128e93258fSBjoern A. Zeeb #define R_AX_BCN_SPACE_CFG_P4 0xC514 23138e93258fSBjoern A. Zeeb #define B_AX_SUB_BCN_SPACE_MASK GENMASK(23, 16) 23148e93258fSBjoern A. Zeeb #define B_AX_BCN_SPACE_MASK GENMASK(15, 0) 23158e93258fSBjoern A. Zeeb 23168e93258fSBjoern A. Zeeb #define R_AX_BCN_FORCETX_P0 0xC418 23178e93258fSBjoern A. Zeeb #define R_AX_BCN_FORCETX_P1 0xC458 23188e93258fSBjoern A. Zeeb #define R_AX_BCN_FORCETX_P2 0xC498 23198e93258fSBjoern A. Zeeb #define R_AX_BCN_FORCETX_P3 0xC4D8 23208e93258fSBjoern A. Zeeb #define R_AX_BCN_FORCETX_P4 0xC518 23218e93258fSBjoern A. Zeeb #define B_AX_FORCE_BCN_CURRCNT_MASK GENMASK(23, 16) 23228e93258fSBjoern A. Zeeb #define B_AX_FORCE_BCN_NUM_MASK GENMASK(15, 0) 23238e93258fSBjoern A. Zeeb #define B_AX_BCN_MAX_ERR_MASK GENMASK(7, 0) 23248e93258fSBjoern A. Zeeb 23258e93258fSBjoern A. Zeeb #define R_AX_BCN_ERR_CNT_P0 0xC420 23268e93258fSBjoern A. Zeeb #define R_AX_BCN_ERR_CNT_P1 0xC460 23278e93258fSBjoern A. Zeeb #define R_AX_BCN_ERR_CNT_P2 0xC4A0 23288e93258fSBjoern A. Zeeb #define R_AX_BCN_ERR_CNT_P3 0xC4E0 23298e93258fSBjoern A. Zeeb #define R_AX_BCN_ERR_CNT_P4 0xC520 23308e93258fSBjoern A. Zeeb #define B_AX_BCN_ERR_CNT_SUM_MASK GENMASK(31, 24) 23318e93258fSBjoern A. Zeeb #define B_AX_BCN_ERR_CNT_NAV_MASK GENMASK(23, 16) 23328e93258fSBjoern A. Zeeb #define B_AX_BCN_ERR_CNT_EDCCA_MASK GENMASK(15, 0) 23338e93258fSBjoern A. Zeeb #define B_AX_BCN_ERR_CNT_CCA_MASK GENMASK(7, 0) 23348e93258fSBjoern A. Zeeb 23358e93258fSBjoern A. Zeeb #define R_AX_BCN_ERR_FLAG_P0 0xC424 23368e93258fSBjoern A. Zeeb #define R_AX_BCN_ERR_FLAG_P1 0xC464 23378e93258fSBjoern A. Zeeb #define R_AX_BCN_ERR_FLAG_P2 0xC4A4 23388e93258fSBjoern A. Zeeb #define R_AX_BCN_ERR_FLAG_P3 0xC4E4 23398e93258fSBjoern A. Zeeb #define R_AX_BCN_ERR_FLAG_P4 0xC524 23408e93258fSBjoern A. Zeeb #define B_AX_BCN_ERR_FLAG_OTHERS BIT(6) 23418e93258fSBjoern A. Zeeb #define B_AX_BCN_ERR_FLAG_MAC BIT(5) 23428e93258fSBjoern A. Zeeb #define B_AX_BCN_ERR_FLAG_TXON BIT(4) 23438e93258fSBjoern A. Zeeb #define B_AX_BCN_ERR_FLAG_SRCHEND BIT(3) 23448e93258fSBjoern A. Zeeb #define B_AX_BCN_ERR_FLAG_INVALID BIT(2) 23458e93258fSBjoern A. Zeeb #define B_AX_BCN_ERR_FLAG_CMP BIT(1) 23468e93258fSBjoern A. Zeeb #define B_AX_BCN_ERR_FLAG_LOCK BIT(0) 23478e93258fSBjoern A. Zeeb 23488e93258fSBjoern A. Zeeb #define R_AX_DTIM_CTRL_P0 0xC426 23498e93258fSBjoern A. Zeeb #define R_AX_DTIM_CTRL_P1 0xC466 23508e93258fSBjoern A. Zeeb #define R_AX_DTIM_CTRL_P2 0xC4A6 23518e93258fSBjoern A. Zeeb #define R_AX_DTIM_CTRL_P3 0xC4E6 23528e93258fSBjoern A. Zeeb #define R_AX_DTIM_CTRL_P4 0xC526 23538e93258fSBjoern A. Zeeb #define B_AX_DTIM_NUM_MASK GENMASK(15, 8) 23548e93258fSBjoern A. Zeeb #define B_AX_DTIM_CURRCNT_MASK GENMASK(7, 0) 23558e93258fSBjoern A. Zeeb 23568e93258fSBjoern A. Zeeb #define R_AX_TBTT_SHIFT_P0 0xC428 23578e93258fSBjoern A. Zeeb #define R_AX_TBTT_SHIFT_P1 0xC468 23588e93258fSBjoern A. Zeeb #define R_AX_TBTT_SHIFT_P2 0xC4A8 23598e93258fSBjoern A. Zeeb #define R_AX_TBTT_SHIFT_P3 0xC4E8 23608e93258fSBjoern A. Zeeb #define R_AX_TBTT_SHIFT_P4 0xC528 23618e93258fSBjoern A. Zeeb #define B_AX_TBTT_SHIFT_OFST_MASK GENMASK(11, 0) 23628e93258fSBjoern A. Zeeb #define B_AX_TBTT_SHIFT_OFST_SIGN BIT(11) 23638e93258fSBjoern A. Zeeb #define B_AX_TBTT_SHIFT_OFST_MAG GENMASK(10, 0) 23648e93258fSBjoern A. Zeeb 23658e93258fSBjoern A. Zeeb #define R_AX_BCN_CNT_TMR_P0 0xC434 23668e93258fSBjoern A. Zeeb #define R_AX_BCN_CNT_TMR_P1 0xC474 23678e93258fSBjoern A. Zeeb #define R_AX_BCN_CNT_TMR_P2 0xC4B4 23688e93258fSBjoern A. Zeeb #define R_AX_BCN_CNT_TMR_P3 0xC4F4 23698e93258fSBjoern A. Zeeb #define R_AX_BCN_CNT_TMR_P4 0xC534 23708e93258fSBjoern A. Zeeb #define B_AX_BCN_CNT_TMR_MASK GENMASK(31, 0) 23718e93258fSBjoern A. Zeeb 23728e93258fSBjoern A. Zeeb #define R_AX_TSFTR_LOW_P0 0xC438 23738e93258fSBjoern A. Zeeb #define R_AX_TSFTR_LOW_P1 0xC478 23748e93258fSBjoern A. Zeeb #define R_AX_TSFTR_LOW_P2 0xC4B8 23758e93258fSBjoern A. Zeeb #define R_AX_TSFTR_LOW_P3 0xC4F8 23768e93258fSBjoern A. Zeeb #define R_AX_TSFTR_LOW_P4 0xC538 23778e93258fSBjoern A. Zeeb #define B_AX_TSFTR_LOW_MASK GENMASK(31, 0) 23788e93258fSBjoern A. Zeeb 23798e93258fSBjoern A. Zeeb #define R_AX_TSFTR_HIGH_P0 0xC43C 23808e93258fSBjoern A. Zeeb #define R_AX_TSFTR_HIGH_P1 0xC47C 23818e93258fSBjoern A. Zeeb #define R_AX_TSFTR_HIGH_P2 0xC4BC 23828e93258fSBjoern A. Zeeb #define R_AX_TSFTR_HIGH_P3 0xC4FC 23838e93258fSBjoern A. Zeeb #define R_AX_TSFTR_HIGH_P4 0xC53C 23848e93258fSBjoern A. Zeeb #define B_AX_TSFTR_HIGH_MASK GENMASK(31, 0) 23858e93258fSBjoern A. Zeeb 2386*6d67aabdSBjoern A. Zeeb #define R_AX_BCN_DROP_ALL0 0xC560 2387*6d67aabdSBjoern A. Zeeb #define R_AX_BCN_DROP_ALL0_C1 0xE560 2388*6d67aabdSBjoern A. Zeeb #define B_AX_BCN_DROP_ALL_P4 BIT(4) 2389*6d67aabdSBjoern A. Zeeb #define B_AX_BCN_DROP_ALL_P3 BIT(3) 2390*6d67aabdSBjoern A. Zeeb #define B_AX_BCN_DROP_ALL_P2 BIT(2) 2391*6d67aabdSBjoern A. Zeeb #define B_AX_BCN_DROP_ALL_P1 BIT(1) 2392*6d67aabdSBjoern A. Zeeb #define B_AX_BCN_DROP_ALL_P0 BIT(0) 2393*6d67aabdSBjoern A. Zeeb 23948e93258fSBjoern A. Zeeb #define R_AX_MBSSID_CTRL 0xC568 23958e93258fSBjoern A. Zeeb #define R_AX_MBSSID_CTRL_C1 0xE568 23968e93258fSBjoern A. Zeeb #define B_AX_P0MB_ALL_MASK GENMASK(23, 1) 23978e93258fSBjoern A. Zeeb #define B_AX_P0MB_NUM_MASK GENMASK(19, 16) 23988e93258fSBjoern A. Zeeb #define B_AX_P0MB15_EN BIT(15) 23998e93258fSBjoern A. Zeeb #define B_AX_P0MB14_EN BIT(14) 24008e93258fSBjoern A. Zeeb #define B_AX_P0MB13_EN BIT(13) 24018e93258fSBjoern A. Zeeb #define B_AX_P0MB12_EN BIT(12) 24028e93258fSBjoern A. Zeeb #define B_AX_P0MB11_EN BIT(11) 24038e93258fSBjoern A. Zeeb #define B_AX_P0MB10_EN BIT(10) 24048e93258fSBjoern A. Zeeb #define B_AX_P0MB9_EN BIT(9) 24058e93258fSBjoern A. Zeeb #define B_AX_P0MB8_EN BIT(8) 24068e93258fSBjoern A. Zeeb #define B_AX_P0MB7_EN BIT(7) 24078e93258fSBjoern A. Zeeb #define B_AX_P0MB6_EN BIT(6) 24088e93258fSBjoern A. Zeeb #define B_AX_P0MB5_EN BIT(5) 24098e93258fSBjoern A. Zeeb #define B_AX_P0MB4_EN BIT(4) 24108e93258fSBjoern A. Zeeb #define B_AX_P0MB3_EN BIT(3) 24118e93258fSBjoern A. Zeeb #define B_AX_P0MB2_EN BIT(2) 24128e93258fSBjoern A. Zeeb #define B_AX_P0MB1_EN BIT(1) 24138e93258fSBjoern A. Zeeb 24148e93258fSBjoern A. Zeeb #define R_AX_P0MB_HGQ_WINDOW_CFG_0 0xC590 24158e93258fSBjoern A. Zeeb #define R_AX_P0MB_HGQ_WINDOW_CFG_0_C1 0xE590 24168e93258fSBjoern A. Zeeb #define R_AX_PORT_HGQ_WINDOW_CFG 0xC5A0 24178e93258fSBjoern A. Zeeb #define R_AX_PORT_HGQ_WINDOW_CFG_C1 0xE5A0 24188e93258fSBjoern A. Zeeb 24198e93258fSBjoern A. Zeeb #define R_AX_PTCL_COMMON_SETTING_0 0xC600 24208e93258fSBjoern A. Zeeb #define R_AX_PTCL_COMMON_SETTING_0_C1 0xE600 24218e93258fSBjoern A. Zeeb #define B_AX_PCIE_MODE_MASK GENMASK(15, 14) 24228e93258fSBjoern A. Zeeb #define B_AX_CPUMGQ_LIFETIME_EN BIT(8) 24238e93258fSBjoern A. Zeeb #define B_AX_MGQ_LIFETIME_EN BIT(7) 24248e93258fSBjoern A. Zeeb #define B_AX_LIFETIME_EN BIT(6) 24258e93258fSBjoern A. Zeeb #define B_AX_PTCL_TRIGGER_SS_EN_UL BIT(4) 24268e93258fSBjoern A. Zeeb #define B_AX_PTCL_TRIGGER_SS_EN_1 BIT(3) 24278e93258fSBjoern A. Zeeb #define B_AX_PTCL_TRIGGER_SS_EN_0 BIT(2) 24288e93258fSBjoern A. Zeeb #define B_AX_CMAC_TX_MODE_1 BIT(1) 24298e93258fSBjoern A. Zeeb #define B_AX_CMAC_TX_MODE_0 BIT(0) 24308e93258fSBjoern A. Zeeb 24318e93258fSBjoern A. Zeeb #define R_AX_AMPDU_AGG_LIMIT 0xC610 24328e93258fSBjoern A. Zeeb #define B_AX_AMPDU_MAX_TIME_MASK GENMASK(31, 24) 24338e93258fSBjoern A. Zeeb #define B_AX_RA_TRY_RATE_AGG_LMT_MASK GENMASK(23, 16) 24348e93258fSBjoern A. Zeeb #define B_AX_RTS_MAX_AGG_NUM_MASK GENMASK(15, 8) 24358e93258fSBjoern A. Zeeb #define B_AX_MAX_AGG_NUM_MASK GENMASK(7, 0) 24368e93258fSBjoern A. Zeeb 24378e93258fSBjoern A. Zeeb #define R_AX_AGG_LEN_HT_0 0xC614 24388e93258fSBjoern A. Zeeb #define R_AX_AGG_LEN_HT_0_C1 0xE614 24398e93258fSBjoern A. Zeeb #define B_AX_AMPDU_MAX_LEN_HT_MASK GENMASK(31, 16) 24408e93258fSBjoern A. Zeeb #define B_AX_RTS_TXTIME_TH_MASK GENMASK(15, 8) 24418e93258fSBjoern A. Zeeb #define B_AX_RTS_LEN_TH_MASK GENMASK(7, 0) 24428e93258fSBjoern A. Zeeb 24438e93258fSBjoern A. Zeeb #define S_AX_CTS2S_TH_SEC_256B 1 24448e93258fSBjoern A. Zeeb #define R_AX_SIFS_SETTING 0xC624 24458e93258fSBjoern A. Zeeb #define R_AX_SIFS_SETTING_C1 0xE624 24468e93258fSBjoern A. Zeeb #define B_AX_HW_CTS2SELF_PKT_LEN_TH_MASK GENMASK(31, 24) 24478e93258fSBjoern A. Zeeb #define B_AX_HW_CTS2SELF_PKT_LEN_TH_TWW_MASK GENMASK(23, 18) 24488e93258fSBjoern A. Zeeb #define B_AX_HW_CTS2SELF_EN BIT(16) 24498e93258fSBjoern A. Zeeb #define B_AX_SPEC_SIFS_OFDM_PTCL_SH 8 24508e93258fSBjoern A. Zeeb #define B_AX_SPEC_SIFS_OFDM_PTCL_MASK GENMASK(15, 8) 24518e93258fSBjoern A. Zeeb #define B_AX_SPEC_SIFS_CCK_PTCL_MASK GENMASK(7, 0) 24528e93258fSBjoern A. Zeeb #define S_AX_CTS2S_TH_1K 4 24538e93258fSBjoern A. Zeeb 24548e93258fSBjoern A. Zeeb #define R_AX_TXRATE_CHK 0xC628 24558e93258fSBjoern A. Zeeb #define R_AX_TXRATE_CHK_C1 0xE628 24568e93258fSBjoern A. Zeeb #define B_AX_DEFT_RATE_MASK GENMASK(15, 7) 24578e93258fSBjoern A. Zeeb #define B_AX_BAND_MODE BIT(4) 24588e93258fSBjoern A. Zeeb #define B_AX_MAX_TXNSS_MASK GENMASK(3, 2) 24598e93258fSBjoern A. Zeeb #define B_AX_RTS_LIMIT_IN_OFDM6 BIT(1) 24608e93258fSBjoern A. Zeeb #define B_AX_CHECK_CCK_EN BIT(0) 24618e93258fSBjoern A. Zeeb 24628e93258fSBjoern A. Zeeb #define R_AX_TXCNT 0xC62C 24638e93258fSBjoern A. Zeeb #define R_AX_TXCNT_C1 0xE62C 24648e93258fSBjoern A. Zeeb #define B_AX_ADD_TXCNT_BY BIT(31) 24658e93258fSBjoern A. Zeeb #define B_AX_S_TXCNT_LMT_MASK GENMASK(29, 24) 24668e93258fSBjoern A. Zeeb #define B_AX_L_TXCNT_LMT_MASK GENMASK(21, 16) 24678e93258fSBjoern A. Zeeb 24688e93258fSBjoern A. Zeeb #define R_AX_MBSSID_DROP_0 0xC63C 24698e93258fSBjoern A. Zeeb #define R_AX_MBSSID_DROP_0_C1 0xE63C 24708e93258fSBjoern A. Zeeb #define B_AX_GI_LTF_FB_SEL BIT(30) 24718e93258fSBjoern A. Zeeb #define B_AX_RATE_SEL_MASK GENMASK(29, 24) 24728e93258fSBjoern A. Zeeb #define B_AX_PORT_DROP_4_0_MASK GENMASK(20, 16) 24738e93258fSBjoern A. Zeeb #define B_AX_MBSSID_DROP_15_0_MASK GENMASK(15, 0) 24748e93258fSBjoern A. Zeeb 24758e93258fSBjoern A. Zeeb #define R_AX_PTCLRPT_FULL_HDL 0xC660 24768e93258fSBjoern A. Zeeb #define R_AX_PTCLRPT_FULL_HDL_C1 0xE660 24778e93258fSBjoern A. Zeeb #define B_AX_RPT_LATCH_PHY_TIME_MASK GENMASK(15, 12) 24788e93258fSBjoern A. Zeeb #define B_AX_F2PCMD_FWWD_RLS_MODE BIT(9) 24798e93258fSBjoern A. Zeeb #define B_AX_F2PCMD_RPT_EN BIT(8) 24808e93258fSBjoern A. Zeeb #define B_AX_BCN_RPT_PATH_MASK GENMASK(7, 6) 24818e93258fSBjoern A. Zeeb #define B_AX_SPE_RPT_PATH_MASK GENMASK(5, 4) 24828e93258fSBjoern A. Zeeb #define FWD_TO_WLCPU 1 24838e93258fSBjoern A. Zeeb #define B_AX_TX_RPT_PATH_MASK GENMASK(3, 2) 24848e93258fSBjoern A. Zeeb #define B_AX_F2PCMDRPT_FULL_DROP BIT(1) 24858e93258fSBjoern A. Zeeb #define B_AX_NON_F2PCMDRPT_FULL_DROP BIT(0) 24868e93258fSBjoern A. Zeeb 24878e93258fSBjoern A. Zeeb #define R_AX_BT_PLT 0xC67C 24888e93258fSBjoern A. Zeeb #define R_AX_BT_PLT_C1 0xE67C 24898e93258fSBjoern A. Zeeb #define B_AX_BT_PLT_PKT_CNT_MASK GENMASK(31, 16) 24908e93258fSBjoern A. Zeeb #define B_AX_BT_PLT_RST BIT(9) 24918e93258fSBjoern A. Zeeb #define B_AX_PLT_EN BIT(8) 24928e93258fSBjoern A. Zeeb #define B_AX_RX_PLT_GNT_LTE_RX BIT(7) 24938e93258fSBjoern A. Zeeb #define B_AX_RX_PLT_GNT_BT_RX BIT(6) 24948e93258fSBjoern A. Zeeb #define B_AX_RX_PLT_GNT_BT_TX BIT(5) 24958e93258fSBjoern A. Zeeb #define B_AX_RX_PLT_GNT_WL BIT(4) 24968e93258fSBjoern A. Zeeb #define B_AX_TX_PLT_GNT_LTE_RX BIT(3) 24978e93258fSBjoern A. Zeeb #define B_AX_TX_PLT_GNT_BT_RX BIT(2) 24988e93258fSBjoern A. Zeeb #define B_AX_TX_PLT_GNT_BT_TX BIT(1) 24998e93258fSBjoern A. Zeeb #define B_AX_TX_PLT_GNT_WL BIT(0) 25008e93258fSBjoern A. Zeeb 25018e93258fSBjoern A. Zeeb #define R_AX_PTCL_BSS_COLOR_0 0xC6A0 25028e93258fSBjoern A. Zeeb #define R_AX_PTCL_BSS_COLOR_0_C1 0xE6A0 25038e93258fSBjoern A. Zeeb #define B_AX_BSS_COLOB_AX_PORT_3_MASK GENMASK(29, 24) 25048e93258fSBjoern A. Zeeb #define B_AX_BSS_COLOB_AX_PORT_2_MASK GENMASK(21, 16) 25058e93258fSBjoern A. Zeeb #define B_AX_BSS_COLOB_AX_PORT_1_MASK GENMASK(13, 8) 25068e93258fSBjoern A. Zeeb #define B_AX_BSS_COLOB_AX_PORT_0_MASK GENMASK(5, 0) 25078e93258fSBjoern A. Zeeb 25088e93258fSBjoern A. Zeeb #define R_AX_PTCL_BSS_COLOR_1 0xC6A4 25098e93258fSBjoern A. Zeeb #define R_AX_PTCL_BSS_COLOR_1_C1 0xE6A4 25108e93258fSBjoern A. Zeeb #define B_AX_BSS_COLOB_AX_PORT_4_MASK GENMASK(5, 0) 25118e93258fSBjoern A. Zeeb 25128e93258fSBjoern A. Zeeb #define R_AX_PTCL_IMR0 0xC6C0 25138e93258fSBjoern A. Zeeb #define R_AX_PTCL_IMR0_C1 0xE6C0 25148e93258fSBjoern A. Zeeb #define B_AX_F2PCMD_PKTID_ERR_INT_EN BIT(31) 25158e93258fSBjoern A. Zeeb #define B_AX_F2PCMD_RD_PKTID_ERR_INT_EN BIT(30) 25168e93258fSBjoern A. Zeeb #define B_AX_F2PCMD_ASSIGN_PKTID_ERR_INT_EN BIT(29) 25178e93258fSBjoern A. Zeeb #define B_AX_F2PCMD_USER_ALLC_ERR_INT_EN BIT(28) 25188e93258fSBjoern A. Zeeb #define B_AX_RX_SPF_U0_PKTID_ERR_INT_EN BIT(27) 25198e93258fSBjoern A. Zeeb #define B_AX_TX_SPF_U1_PKTID_ERR_INT_EN BIT(26) 25208e93258fSBjoern A. Zeeb #define B_AX_TX_SPF_U2_PKTID_ERR_INT_EN BIT(25) 25218e93258fSBjoern A. Zeeb #define B_AX_TX_SPF_U3_PKTID_ERR_INT_EN BIT(24) 25228e93258fSBjoern A. Zeeb #define B_AX_TX_RECORD_PKTID_ERR_INT_EN BIT(23) 25238e93258fSBjoern A. Zeeb #define B_AX_F2PCMD_EMPTY_ERR_INT_EN BIT(15) 25248e93258fSBjoern A. Zeeb #define B_AX_TWTSP_QSEL_ERR_INT_EN BIT(14) 25258e93258fSBjoern A. Zeeb #define B_AX_BCNQ_ORDER_ERR_INT_EN BIT(12) 25268e93258fSBjoern A. Zeeb #define B_AX_Q_PKTID_ERR_INT_EN BIT(11) 25278e93258fSBjoern A. Zeeb #define B_AX_D_PKTID_ERR_INT_EN BIT(10) 25288e93258fSBjoern A. Zeeb #define B_AX_TXPRT_FULL_DROP_ERR_INT_EN BIT(9) 25298e93258fSBjoern A. Zeeb #define B_AX_F2PCMDRPT_FULL_DROP_ERR_INT_EN BIT(8) 25308e93258fSBjoern A. Zeeb #define B_AX_FSM1_TIMEOUT_ERR_INT_EN BIT(1) 25318e93258fSBjoern A. Zeeb #define B_AX_FSM_TIMEOUT_ERR_INT_EN BIT(0) 2532e2340276SBjoern A. Zeeb #define B_AX_PTCL_IMR_CLR_ALL GENMASK(31, 0) 25338e93258fSBjoern A. Zeeb #define B_AX_PTCL_IMR_CLR (B_AX_FSM_TIMEOUT_ERR_INT_EN | \ 25348e93258fSBjoern A. Zeeb B_AX_F2PCMDRPT_FULL_DROP_ERR_INT_EN | \ 25358e93258fSBjoern A. Zeeb B_AX_TXPRT_FULL_DROP_ERR_INT_EN | \ 25368e93258fSBjoern A. Zeeb B_AX_D_PKTID_ERR_INT_EN | \ 25378e93258fSBjoern A. Zeeb B_AX_Q_PKTID_ERR_INT_EN | \ 25388e93258fSBjoern A. Zeeb B_AX_BCNQ_ORDER_ERR_INT_EN | \ 25398e93258fSBjoern A. Zeeb B_AX_TWTSP_QSEL_ERR_INT_EN | \ 25408e93258fSBjoern A. Zeeb B_AX_F2PCMD_EMPTY_ERR_INT_EN | \ 25418e93258fSBjoern A. Zeeb B_AX_TX_RECORD_PKTID_ERR_INT_EN | \ 25428e93258fSBjoern A. Zeeb B_AX_TX_SPF_U3_PKTID_ERR_INT_EN | \ 25438e93258fSBjoern A. Zeeb B_AX_TX_SPF_U2_PKTID_ERR_INT_EN | \ 25448e93258fSBjoern A. Zeeb B_AX_TX_SPF_U1_PKTID_ERR_INT_EN | \ 25458e93258fSBjoern A. Zeeb B_AX_RX_SPF_U0_PKTID_ERR_INT_EN | \ 25468e93258fSBjoern A. Zeeb B_AX_F2PCMD_USER_ALLC_ERR_INT_EN | \ 25478e93258fSBjoern A. Zeeb B_AX_F2PCMD_ASSIGN_PKTID_ERR_INT_EN | \ 25488e93258fSBjoern A. Zeeb B_AX_F2PCMD_RD_PKTID_ERR_INT_EN | \ 25498e93258fSBjoern A. Zeeb B_AX_F2PCMD_PKTID_ERR_INT_EN) 25508e93258fSBjoern A. Zeeb #define B_AX_PTCL_IMR_SET (B_AX_FSM_TIMEOUT_ERR_INT_EN | \ 25518e93258fSBjoern A. Zeeb B_AX_TX_RECORD_PKTID_ERR_INT_EN | \ 25528e93258fSBjoern A. Zeeb B_AX_F2PCMD_USER_ALLC_ERR_INT_EN) 25538e93258fSBjoern A. Zeeb #define B_AX_PTCL_IMR_CLR_V1 (B_AX_FSM1_TIMEOUT_ERR_INT_EN | \ 25548e93258fSBjoern A. Zeeb B_AX_FSM_TIMEOUT_ERR_INT_EN) 25558e93258fSBjoern A. Zeeb #define B_AX_PTCL_IMR_SET_V1 (B_AX_FSM1_TIMEOUT_ERR_INT_EN | \ 25568e93258fSBjoern A. Zeeb B_AX_FSM_TIMEOUT_ERR_INT_EN) 25578e93258fSBjoern A. Zeeb 25588e93258fSBjoern A. Zeeb #define R_AX_PTCL_ISR0 0xC6C4 25598e93258fSBjoern A. Zeeb #define R_AX_PTCL_ISR0_C1 0xE6C4 25608e93258fSBjoern A. Zeeb 25618e93258fSBjoern A. Zeeb #define S_AX_PTCL_TO_2MS 0x3F 25628e93258fSBjoern A. Zeeb #define R_AX_PTCL_FSM_MON 0xC6E8 25638e93258fSBjoern A. Zeeb #define R_AX_PTCL_FSM_MON_C1 0xE6E8 25648e93258fSBjoern A. Zeeb #define B_AX_PTCL_TX_ARB_TO_MODE BIT(6) 25658e93258fSBjoern A. Zeeb #define B_AX_PTCL_TX_ARB_TO_THR_MASK GENMASK(5, 0) 25668e93258fSBjoern A. Zeeb 25678e93258fSBjoern A. Zeeb #define R_AX_PTCL_TX_CTN_SEL 0xC6EC 25688e93258fSBjoern A. Zeeb #define R_AX_PTCL_TX_CTN_SEL_C1 0xE6EC 25698e93258fSBjoern A. Zeeb #define B_AX_PTCL_TX_ON_STAT BIT(7) 25708e93258fSBjoern A. Zeeb 25718e93258fSBjoern A. Zeeb #define R_AX_PTCL_DBG_INFO 0xC6F0 25728e93258fSBjoern A. Zeeb #define R_AX_PTCL_DBG_INFO_C1 0xE6F0 2573*6d67aabdSBjoern A. Zeeb #define B_AX_PTCL_DBG_INFO_MASK_BY_PORT(port) \ 2574*6d67aabdSBjoern A. Zeeb ({\ 2575*6d67aabdSBjoern A. Zeeb typeof(port) _port = (port); \ 2576*6d67aabdSBjoern A. Zeeb GENMASK((_port) * 2 + 1, (_port) * 2); \ 2577*6d67aabdSBjoern A. Zeeb }) 2578*6d67aabdSBjoern A. Zeeb 25798e93258fSBjoern A. Zeeb #define B_AX_PTCL_DBG_INFO_MASK GENMASK(31, 0) 25808e93258fSBjoern A. Zeeb #define R_AX_PTCL_DBG 0xC6F4 25818e93258fSBjoern A. Zeeb #define R_AX_PTCL_DBG_C1 0xE6F4 25828e93258fSBjoern A. Zeeb #define B_AX_PTCL_DBG_EN BIT(8) 25838e93258fSBjoern A. Zeeb #define B_AX_PTCL_DBG_SEL_MASK GENMASK(7, 0) 2584*6d67aabdSBjoern A. Zeeb #define AX_PTCL_DBG_BCNQ_NUM0 8 2585*6d67aabdSBjoern A. Zeeb #define AX_PTCL_DBG_BCNQ_NUM1 9 2586*6d67aabdSBjoern A. Zeeb 25878e93258fSBjoern A. Zeeb 25888e93258fSBjoern A. Zeeb #define R_AX_DLE_CTRL 0xC800 25898e93258fSBjoern A. Zeeb #define R_AX_DLE_CTRL_C1 0xE800 25908e93258fSBjoern A. Zeeb #define B_AX_NO_RESERVE_PAGE_ERR_IMR BIT(23) 25918e93258fSBjoern A. Zeeb #define B_AX_RXDATA_FSM_HANG_ERROR_IMR BIT(15) 25928e93258fSBjoern A. Zeeb #define B_AX_RXSTS_FSM_HANG_ERROR_IMR BIT(14) 25938e93258fSBjoern A. Zeeb #define B_AX_DLE_IMR_CLR (B_AX_RXSTS_FSM_HANG_ERROR_IMR | \ 25948e93258fSBjoern A. Zeeb B_AX_RXDATA_FSM_HANG_ERROR_IMR | \ 25958e93258fSBjoern A. Zeeb B_AX_NO_RESERVE_PAGE_ERR_IMR) 25968e93258fSBjoern A. Zeeb #define B_AX_DLE_IMR_SET (B_AX_RXSTS_FSM_HANG_ERROR_IMR | \ 25978e93258fSBjoern A. Zeeb B_AX_RXDATA_FSM_HANG_ERROR_IMR) 25988e93258fSBjoern A. Zeeb 2599e2340276SBjoern A. Zeeb #define R_AX_RX_ERR_FLAG 0xC800 2600e2340276SBjoern A. Zeeb #define R_AX_RX_ERR_FLAG_C1 0xE800 2601e2340276SBjoern A. Zeeb #define B_AX_RX_GET_NO_PAGE_ERR BIT(31) 2602e2340276SBjoern A. Zeeb #define B_AX_RX_GET_NULL_PKT_ERR BIT(30) 2603e2340276SBjoern A. Zeeb #define B_AX_RX_RU0_FSM_HANG_ERR BIT(29) 2604e2340276SBjoern A. Zeeb #define B_AX_RX_RU1_FSM_HANG_ERR BIT(28) 2605e2340276SBjoern A. Zeeb #define B_AX_RX_RU2_FSM_HANG_ERR BIT(27) 2606e2340276SBjoern A. Zeeb #define B_AX_RX_RU3_FSM_HANG_ERR BIT(26) 2607e2340276SBjoern A. Zeeb #define B_AX_RX_RU4_FSM_HANG_ERR BIT(25) 2608e2340276SBjoern A. Zeeb #define B_AX_RX_RU5_FSM_HANG_ERR BIT(24) 2609e2340276SBjoern A. Zeeb #define B_AX_RX_RU6_FSM_HANG_ERR BIT(23) 2610e2340276SBjoern A. Zeeb #define B_AX_RX_RU7_FSM_HANG_ERR BIT(22) 2611e2340276SBjoern A. Zeeb #define B_AX_RX_RXSTS_FSM_HANG_ERR BIT(21) 2612e2340276SBjoern A. Zeeb #define B_AX_RX_CSI_FSM_HANG_ERR BIT(20) 2613e2340276SBjoern A. Zeeb #define B_AX_RX_TXRPT_FSM_HANG_ERR BIT(19) 2614e2340276SBjoern A. Zeeb #define B_AX_RX_F2PCMD_FSM_HANG_ERR BIT(18) 2615e2340276SBjoern A. Zeeb #define B_AX_RX_RU0_ZERO_LEN_ERR BIT(17) 2616e2340276SBjoern A. Zeeb #define B_AX_RX_RU1_ZERO_LEN_ERR BIT(16) 2617e2340276SBjoern A. Zeeb #define B_AX_RX_RU2_ZERO_LEN_ERR BIT(15) 2618e2340276SBjoern A. Zeeb #define B_AX_RX_RU3_ZERO_LEN_ERR BIT(14) 2619e2340276SBjoern A. Zeeb #define B_AX_RX_RU4_ZERO_LEN_ERR BIT(13) 2620e2340276SBjoern A. Zeeb #define B_AX_RX_RU5_ZERO_LEN_ERR BIT(12) 2621e2340276SBjoern A. Zeeb #define B_AX_RX_RU6_ZERO_LEN_ERR BIT(11) 2622e2340276SBjoern A. Zeeb #define B_AX_RX_RU7_ZERO_LEN_ERR BIT(10) 2623e2340276SBjoern A. Zeeb #define B_AX_RX_RXSTS_ZERO_LEN_ERR BIT(9) 2624e2340276SBjoern A. Zeeb #define B_AX_RX_CSI_ZERO_LEN_ERR BIT(8) 2625e2340276SBjoern A. Zeeb #define B_AX_PLE_DATA_OPT_FSM_HANG BIT(7) 2626e2340276SBjoern A. Zeeb #define B_AX_PLE_RXDATA_REQ_BUF_FSM_HANG BIT(6) 2627e2340276SBjoern A. Zeeb #define B_AX_PLE_TXRPT_REQ_BUF_FSM_HANG BIT(5) 2628e2340276SBjoern A. Zeeb #define B_AX_PLE_WD_OPT_FSM_HANG BIT(4) 2629e2340276SBjoern A. Zeeb #define B_AX_PLE_ENQ_FSM_HANG BIT(3) 2630e2340276SBjoern A. Zeeb #define B_AX_RXDATA_ENQUE_ORDER_ERR BIT(2) 2631e2340276SBjoern A. Zeeb #define B_AX_RXSTS_ENQUE_ORDER_ERR BIT(1) 2632e2340276SBjoern A. Zeeb #define B_AX_RX_CSI_PKT_NUM_ERR BIT(0) 2633e2340276SBjoern A. Zeeb 2634e2340276SBjoern A. Zeeb #define R_AX_RXDMA_CTRL_0 0xC804 2635e2340276SBjoern A. Zeeb #define R_AX_RXDMA_CTRL_0_C1 0xE804 2636e2340276SBjoern A. Zeeb #define B_AX_RXDMA_DBGOUT_EN BIT(31) 2637e2340276SBjoern A. Zeeb #define B_AX_RXDMA_DBG_SEL_MASK GENMASK(30, 29) 2638e2340276SBjoern A. Zeeb #define B_AX_RXDMA_FIFO_DBG_SEL_MASK GENMASK(28, 25) 2639e2340276SBjoern A. Zeeb #define B_AX_RXDMA_DEFAULT_PAGE_MASK GENMASK(22, 21) 2640e2340276SBjoern A. Zeeb #define B_AX_RXDMA_BUFF_REQ_PRI_MASK GENMASK(20, 19) 2641e2340276SBjoern A. Zeeb #define B_AX_RXDMA_TGT_QUEID_MASK GENMASK(18, 13) 2642e2340276SBjoern A. Zeeb #define B_AX_RXDMA_TGT_PRID_MASK GENMASK(12, 10) 2643e2340276SBjoern A. Zeeb #define B_AX_RXDMA_DIS_CSI_RELEASE BIT(9) 2644e2340276SBjoern A. Zeeb #define B_AX_RXDMA_DIS_RXSTS_WAIT_PTR_CLR BIT(7) 2645e2340276SBjoern A. Zeeb #define B_AX_RXDMA_DIS_CSI_WAIT_PTR_CLR BIT(6) 2646e2340276SBjoern A. Zeeb #define B_AX_RXSTS_PTR_FULL_MODE BIT(5) 2647e2340276SBjoern A. Zeeb #define B_AX_CSI_PTR_FULL_MODE BIT(4) 2648e2340276SBjoern A. Zeeb #define B_AX_RU3_PTR_FULL_MODE BIT(3) 2649e2340276SBjoern A. Zeeb #define B_AX_RU2_PTR_FULL_MODE BIT(2) 2650e2340276SBjoern A. Zeeb #define B_AX_RU1_PTR_FULL_MODE BIT(1) 2651e2340276SBjoern A. Zeeb #define B_AX_RU0_PTR_FULL_MODE BIT(0) 2652e2340276SBjoern A. Zeeb #define RX_FULL_MODE (B_AX_RU0_PTR_FULL_MODE | B_AX_RU1_PTR_FULL_MODE | \ 2653e2340276SBjoern A. Zeeb B_AX_RU2_PTR_FULL_MODE | B_AX_RU3_PTR_FULL_MODE | \ 2654e2340276SBjoern A. Zeeb B_AX_CSI_PTR_FULL_MODE | B_AX_RXSTS_PTR_FULL_MODE) 2655e2340276SBjoern A. Zeeb 2656e2340276SBjoern A. Zeeb #define R_AX_RX_CTRL0 0xC808 2657e2340276SBjoern A. Zeeb #define R_AX_RX_CTRL0_C1 0xE808 2658e2340276SBjoern A. Zeeb #define B_AX_DLE_CLOCK_FORCE_V1 BIT(31) 2659e2340276SBjoern A. Zeeb #define B_AX_TXDMA_CLOCK_FORCE_V1 BIT(30) 2660e2340276SBjoern A. Zeeb #define B_AX_RXDMA_CLOCK_FORCE_V1 BIT(29) 2661e2340276SBjoern A. Zeeb #define B_AX_RXDMA_DEFAULT_PAGE_V1_MASK GENMASK(28, 24) 2662e2340276SBjoern A. Zeeb #define B_AX_RXDMA_CSI_TGT_QUEID_MASK GENMASK(23, 18) 2663e2340276SBjoern A. Zeeb #define B_AX_RXDMA_CSI_TGT_PRID_MASK GENMASK(17, 15) 2664e2340276SBjoern A. Zeeb #define B_AX_RXDMA_DIS_CSI_RELEASE_V1 BIT(14) 2665e2340276SBjoern A. Zeeb #define B_AX_CSI_PTR_FULL_MODE_V1 BIT(13) 2666e2340276SBjoern A. Zeeb #define B_AX_RXDATA_PTR_FULL_MODE BIT(12) 2667e2340276SBjoern A. Zeeb #define B_AX_RXSTS_PTR_FULL_MODE_V1 BIT(11) 2668e2340276SBjoern A. Zeeb #define B_AX_TXRPT_FULL_RSV_DEPTH_V1_MASK GENMASK(10, 8) 2669e2340276SBjoern A. Zeeb #define B_AX_RXDATA_FULL_RSV_DEPTH_MASK GENMASK(7, 5) 2670e2340276SBjoern A. Zeeb #define B_AX_RXSTS_FULL_RSV_DEPTH_V1_MASK GENMASK(4, 2) 2671e2340276SBjoern A. Zeeb #define B_AX_ORDER_FIFO_MASK GENMASK(1, 0) 2672e2340276SBjoern A. Zeeb 2673e2340276SBjoern A. Zeeb #define R_AX_RX_CTRL1 0xC80C 2674e2340276SBjoern A. Zeeb #define R_AX_RX_CTRL1_C1 0xE80C 2675e2340276SBjoern A. Zeeb #define B_AX_RXDMA_TXRPT_QUEUE_ID_SW_EN BIT(31) 2676e2340276SBjoern A. Zeeb #define B_AX_RXDMA_TXRPT_QUEUE_ID_SW_V1_MASK GENMASK(30, 25) 2677e2340276SBjoern A. Zeeb #define B_AX_RXDMA_F2PCMD_QUEUE_ID_SW_EN BIT(24) 2678e2340276SBjoern A. Zeeb #define B_AX_RXDMA_F2PCMD_QUEUE_ID_SW_V1_MASK GENMASK(23, 18) 2679e2340276SBjoern A. Zeeb #define B_AX_RXDMA_TXRPT_QUEUE_ID_TGT_SW_EN BIT(17) 2680e2340276SBjoern A. Zeeb #define B_AX_RXDMA_TXRPT_QUEUE_ID_TGT_SW_1_MASK GENMASK(16, 11) 2681e2340276SBjoern A. Zeeb #define B_AX_RXDMA_F2PCMD_QUEUE_ID_TGT_SW_EN BIT(10) 2682e2340276SBjoern A. Zeeb #define B_AX_RXDMA_F2PCMD_QUEUE_ID_TGT_SW_1_MASK GENMASK(9, 4) 2683e2340276SBjoern A. Zeeb #define B_AX_ORDER_FIFO_OUT BIT(3) 2684e2340276SBjoern A. Zeeb #define B_AX_ORDER_FIFO_EMPTY BIT(2) 2685e2340276SBjoern A. Zeeb #define B_AX_DBG_SEL_MASK GENMASK(1, 0) 2686e2340276SBjoern A. Zeeb 2687e2340276SBjoern A. Zeeb #define R_AX_RX_CTRL2 0xC810 2688e2340276SBjoern A. Zeeb #define R_AX_RX_CTRL2_C1 0xE810 2689e2340276SBjoern A. Zeeb #define B_AX_DLE_WDE_STATE_V1_MASK GENMASK(31, 30) 2690e2340276SBjoern A. Zeeb #define B_AX_DLE_PLE_STATE_V1_MASK GENMASK(29, 28) 2691e2340276SBjoern A. Zeeb #define B_AX_DLE_REQ_BUF_STATE_MASK GENMASK(27, 26) 2692e2340276SBjoern A. Zeeb #define B_AX_DLE_ENQ_STATE_V1 BIT(25) 2693e2340276SBjoern A. Zeeb #define B_AX_RX_DBG_SEL_MASK GENMASK(24, 19) 2694e2340276SBjoern A. Zeeb #define B_AX_MACRX_CS_MASK GENMASK(18, 14) 2695e2340276SBjoern A. Zeeb #define B_AX_RXSTS_CS_MASK GENMASK(13, 9) 2696e2340276SBjoern A. Zeeb #define B_AX_ERR_INDICATOR BIT(5) 2697e2340276SBjoern A. Zeeb #define B_AX_TXRPT_CS_MASK GENMASK(4, 0) 2698e2340276SBjoern A. Zeeb 26998e93258fSBjoern A. Zeeb #define R_AX_RXDMA_PKT_INFO_0 0xC814 27008e93258fSBjoern A. Zeeb #define R_AX_RXDMA_PKT_INFO_1 0xC818 27018e93258fSBjoern A. Zeeb #define R_AX_RXDMA_PKT_INFO_2 0xC81C 27028e93258fSBjoern A. Zeeb 27038e93258fSBjoern A. Zeeb #define R_AX_RX_ERR_FLAG_IMR 0xC804 27048e93258fSBjoern A. Zeeb #define R_AX_RX_ERR_FLAG_IMR_C1 0xE804 27058e93258fSBjoern A. Zeeb #define B_AX_RX_GET_NULL_PKT_ERR_MSK BIT(30) 27068e93258fSBjoern A. Zeeb #define B_AX_RX_RU0_FSM_HANG_MSK_ERR_MSK BIT(29) 27078e93258fSBjoern A. Zeeb #define B_AX_RX_RU1_FSM_HANG_MSK_ERR_MSK BIT(28) 27088e93258fSBjoern A. Zeeb #define B_AX_RX_RU2_FSM_HANG_MSK_ERR_MSK BIT(27) 27098e93258fSBjoern A. Zeeb #define B_AX_RX_RU3_FSM_HANG_MSK_ERR_MSK BIT(26) 27108e93258fSBjoern A. Zeeb #define B_AX_RX_RU4_FSM_HANG_MSK_ERR_MSK BIT(25) 27118e93258fSBjoern A. Zeeb #define B_AX_RX_RU5_FSM_HANG_MSK_ERR_MSK BIT(24) 27128e93258fSBjoern A. Zeeb #define B_AX_RX_RU6_FSM_HANG_MSK_ERR_MSK BIT(23) 27138e93258fSBjoern A. Zeeb #define B_AX_RX_RU7_FSM_HANG_MSK_ERR_MSK BIT(22) 27148e93258fSBjoern A. Zeeb #define B_AX_RX_RXSTS_FSM_HANG_MSK_ERR_MSK BIT(21) 27158e93258fSBjoern A. Zeeb #define B_AX_RX_CSI_FSM_HANG_MSK_ERR_MSK BIT(20) 27168e93258fSBjoern A. Zeeb #define B_AX_RX_TXRPT_FSM_HANG_MSK_ERR_MSK BIT(19) 27178e93258fSBjoern A. Zeeb #define B_AX_RX_F2PCMD_FSM_HANG_MSK_ERR_MSK BIT(18) 27188e93258fSBjoern A. Zeeb #define B_AX_RX_RU0_ZERO_LEN_ERR_MSK BIT(17) 27198e93258fSBjoern A. Zeeb #define B_AX_RX_RU1_ZERO_LEN_ERR_MSK BIT(16) 27208e93258fSBjoern A. Zeeb #define B_AX_RX_RU2_ZERO_LEN_ERR_MSK BIT(15) 27218e93258fSBjoern A. Zeeb #define B_AX_RX_RU3_ZERO_LEN_ERR_MSK BIT(14) 27228e93258fSBjoern A. Zeeb #define B_AX_RX_RU4_ZERO_LEN_ERR_MSK BIT(13) 27238e93258fSBjoern A. Zeeb #define B_AX_RX_RU5_ZERO_LEN_ERR_MSK BIT(12) 27248e93258fSBjoern A. Zeeb #define B_AX_RX_RU6_ZERO_LEN_ERR_MSK BIT(11) 27258e93258fSBjoern A. Zeeb #define B_AX_RX_RU7_ZERO_LEN_ERR_MSK BIT(10) 27268e93258fSBjoern A. Zeeb #define B_AX_RX_RXSTS_ZERO_LEN_ERR_MSK BIT(9) 27278e93258fSBjoern A. Zeeb #define B_AX_RX_CSI_ZERO_LEN_ERR_MSK BIT(8) 27288e93258fSBjoern A. Zeeb #define B_AX_PLE_DATA_OPT_FSM_HANG_MSK BIT(7) 27298e93258fSBjoern A. Zeeb #define B_AX_PLE_RXDATA_REQ_BUF_FSM_HANG_MSK BIT(6) 27308e93258fSBjoern A. Zeeb #define B_AX_PLE_TXRPT_REQ_BUF_FSM_HANG_MSK BIT(5) 27318e93258fSBjoern A. Zeeb #define B_AX_PLE_WD_OPT_FSM_HANG_MSK BIT(4) 27328e93258fSBjoern A. Zeeb #define B_AX_PLE_ENQ_FSM_HANG_MSK BIT(3) 27338e93258fSBjoern A. Zeeb #define B_AX_RXDATA_ENQUE_ORDER_ERR_MSK BIT(2) 27348e93258fSBjoern A. Zeeb #define B_AX_RXSTS_ENQUE_ORDER_ERR_MSK BIT(1) 27358e93258fSBjoern A. Zeeb #define B_AX_RX_CSI_PKT_NUM_ERR_MSK BIT(0) 27368e93258fSBjoern A. Zeeb #define B_AX_RX_ERR_IMR_CLR_V1 (B_AX_RXSTS_ENQUE_ORDER_ERR_MSK | \ 27378e93258fSBjoern A. Zeeb B_AX_RXDATA_ENQUE_ORDER_ERR_MSK | \ 27388e93258fSBjoern A. Zeeb B_AX_RX_CSI_ZERO_LEN_ERR_MSK | \ 27398e93258fSBjoern A. Zeeb B_AX_RX_RXSTS_ZERO_LEN_ERR_MSK | \ 27408e93258fSBjoern A. Zeeb B_AX_RX_RU7_ZERO_LEN_ERR_MSK | \ 27418e93258fSBjoern A. Zeeb B_AX_RX_RU6_ZERO_LEN_ERR_MSK | \ 27428e93258fSBjoern A. Zeeb B_AX_RX_RU5_ZERO_LEN_ERR_MSK | \ 27438e93258fSBjoern A. Zeeb B_AX_RX_RU4_ZERO_LEN_ERR_MSK | \ 27448e93258fSBjoern A. Zeeb B_AX_RX_RU3_ZERO_LEN_ERR_MSK | \ 27458e93258fSBjoern A. Zeeb B_AX_RX_RU2_ZERO_LEN_ERR_MSK | \ 27468e93258fSBjoern A. Zeeb B_AX_RX_RU1_ZERO_LEN_ERR_MSK | \ 27478e93258fSBjoern A. Zeeb B_AX_RX_RU0_ZERO_LEN_ERR_MSK | \ 27488e93258fSBjoern A. Zeeb B_AX_RX_F2PCMD_FSM_HANG_MSK_ERR_MSK | \ 27498e93258fSBjoern A. Zeeb B_AX_RX_TXRPT_FSM_HANG_MSK_ERR_MSK | \ 27508e93258fSBjoern A. Zeeb B_AX_RX_CSI_FSM_HANG_MSK_ERR_MSK | \ 27518e93258fSBjoern A. Zeeb B_AX_RX_RXSTS_FSM_HANG_MSK_ERR_MSK | \ 27528e93258fSBjoern A. Zeeb B_AX_RX_RU7_FSM_HANG_MSK_ERR_MSK | \ 27538e93258fSBjoern A. Zeeb B_AX_RX_RU6_FSM_HANG_MSK_ERR_MSK | \ 27548e93258fSBjoern A. Zeeb B_AX_RX_RU5_FSM_HANG_MSK_ERR_MSK | \ 27558e93258fSBjoern A. Zeeb B_AX_RX_RU4_FSM_HANG_MSK_ERR_MSK | \ 27568e93258fSBjoern A. Zeeb B_AX_RX_RU3_FSM_HANG_MSK_ERR_MSK | \ 27578e93258fSBjoern A. Zeeb B_AX_RX_RU2_FSM_HANG_MSK_ERR_MSK | \ 27588e93258fSBjoern A. Zeeb B_AX_RX_RU1_FSM_HANG_MSK_ERR_MSK | \ 27598e93258fSBjoern A. Zeeb B_AX_RX_RU0_FSM_HANG_MSK_ERR_MSK | \ 27608e93258fSBjoern A. Zeeb B_AX_RX_GET_NULL_PKT_ERR_MSK) 27618e93258fSBjoern A. Zeeb #define B_AX_RX_ERR_IMR_SET_V1 (B_AX_RXSTS_ENQUE_ORDER_ERR_MSK | \ 27628e93258fSBjoern A. Zeeb B_AX_RXDATA_ENQUE_ORDER_ERR_MSK | \ 27638e93258fSBjoern A. Zeeb B_AX_RX_CSI_ZERO_LEN_ERR_MSK | \ 27648e93258fSBjoern A. Zeeb B_AX_RX_RXSTS_ZERO_LEN_ERR_MSK | \ 27658e93258fSBjoern A. Zeeb B_AX_RX_RU7_ZERO_LEN_ERR_MSK | \ 27668e93258fSBjoern A. Zeeb B_AX_RX_RU6_ZERO_LEN_ERR_MSK | \ 27678e93258fSBjoern A. Zeeb B_AX_RX_RU5_ZERO_LEN_ERR_MSK | \ 27688e93258fSBjoern A. Zeeb B_AX_RX_RU4_ZERO_LEN_ERR_MSK | \ 27698e93258fSBjoern A. Zeeb B_AX_RX_RU3_ZERO_LEN_ERR_MSK | \ 27708e93258fSBjoern A. Zeeb B_AX_RX_RU2_ZERO_LEN_ERR_MSK | \ 27718e93258fSBjoern A. Zeeb B_AX_RX_RU1_ZERO_LEN_ERR_MSK | \ 27728e93258fSBjoern A. Zeeb B_AX_RX_RU0_ZERO_LEN_ERR_MSK | \ 27738e93258fSBjoern A. Zeeb B_AX_RX_F2PCMD_FSM_HANG_MSK_ERR_MSK | \ 27748e93258fSBjoern A. Zeeb B_AX_RX_TXRPT_FSM_HANG_MSK_ERR_MSK | \ 27758e93258fSBjoern A. Zeeb B_AX_RX_CSI_FSM_HANG_MSK_ERR_MSK | \ 27768e93258fSBjoern A. Zeeb B_AX_RX_RXSTS_FSM_HANG_MSK_ERR_MSK | \ 27778e93258fSBjoern A. Zeeb B_AX_RX_RU7_FSM_HANG_MSK_ERR_MSK | \ 27788e93258fSBjoern A. Zeeb B_AX_RX_RU6_FSM_HANG_MSK_ERR_MSK | \ 27798e93258fSBjoern A. Zeeb B_AX_RX_RU5_FSM_HANG_MSK_ERR_MSK | \ 27808e93258fSBjoern A. Zeeb B_AX_RX_RU4_FSM_HANG_MSK_ERR_MSK | \ 27818e93258fSBjoern A. Zeeb B_AX_RX_RU3_FSM_HANG_MSK_ERR_MSK | \ 27828e93258fSBjoern A. Zeeb B_AX_RX_RU2_FSM_HANG_MSK_ERR_MSK | \ 27838e93258fSBjoern A. Zeeb B_AX_RX_RU1_FSM_HANG_MSK_ERR_MSK | \ 27848e93258fSBjoern A. Zeeb B_AX_RX_RU0_FSM_HANG_MSK_ERR_MSK | \ 27858e93258fSBjoern A. Zeeb B_AX_RX_GET_NULL_PKT_ERR_MSK) 27868e93258fSBjoern A. Zeeb 27878e93258fSBjoern A. Zeeb #define R_AX_TX_ERR_FLAG_IMR 0xC870 27888e93258fSBjoern A. Zeeb #define R_AX_TX_ERR_FLAG_IMR_C1 0xE870 27898e93258fSBjoern A. Zeeb #define B_AX_TX_RU0_FSM_HANG_ERR_MSK BIT(31) 27908e93258fSBjoern A. Zeeb #define B_AX_TX_RU1_FSM_HANG_ERR_MSK BIT(30) 27918e93258fSBjoern A. Zeeb #define B_AX_TX_RU2_FSM_HANG_ERR_MSK BIT(29) 27928e93258fSBjoern A. Zeeb #define B_AX_TX_RU3_FSM_HANG_ERR_MSK BIT(28) 27938e93258fSBjoern A. Zeeb #define B_AX_TX_RU4_FSM_HANG_ERR_MSK BIT(27) 27948e93258fSBjoern A. Zeeb #define B_AX_TX_RU5_FSM_HANG_ERR_MSK BIT(26) 27958e93258fSBjoern A. Zeeb #define B_AX_TX_RU6_FSM_HANG_ERR_MSK BIT(25) 27968e93258fSBjoern A. Zeeb #define B_AX_TX_RU7_FSM_HANG_ERR_MSK BIT(24) 27978e93258fSBjoern A. Zeeb #define B_AX_TX_RU8_FSM_HANG_ERR_MSK BIT(23) 27988e93258fSBjoern A. Zeeb #define B_AX_TX_RU9_FSM_HANG_ERR_MSK BIT(22) 27998e93258fSBjoern A. Zeeb #define B_AX_TX_RU10_FSM_HANG_ERR_MSK BIT(21) 28008e93258fSBjoern A. Zeeb #define B_AX_TX_RU11_FSM_HANG_ERR_MSK BIT(20) 28018e93258fSBjoern A. Zeeb #define B_AX_TX_RU12_FSM_HANG_ERR_MSK BIT(19) 28028e93258fSBjoern A. Zeeb #define B_AX_TX_RU13_FSM_HANG_ERR_MSK BIT(18) 28038e93258fSBjoern A. Zeeb #define B_AX_TX_RU14_FSM_HANG_ERR_MSK BIT(17) 28048e93258fSBjoern A. Zeeb #define B_AX_TX_RU15_FSM_HANG_ERR_MSK BIT(16) 28058e93258fSBjoern A. Zeeb #define B_AX_TX_CSI_FSM_HANG_ERR_MSK BIT(15) 28068e93258fSBjoern A. Zeeb #define B_AX_TX_WD_PLD_ID_FSM_HANG_ERR_MSK BIT(14) 28078e93258fSBjoern A. Zeeb #define B_AX_TX_ERR_IMR_CLR_V1 (B_AX_TX_WD_PLD_ID_FSM_HANG_ERR_MSK | \ 28088e93258fSBjoern A. Zeeb B_AX_TX_CSI_FSM_HANG_ERR_MSK | \ 28098e93258fSBjoern A. Zeeb B_AX_TX_RU7_FSM_HANG_ERR_MSK | \ 28108e93258fSBjoern A. Zeeb B_AX_TX_RU6_FSM_HANG_ERR_MSK | \ 28118e93258fSBjoern A. Zeeb B_AX_TX_RU5_FSM_HANG_ERR_MSK | \ 28128e93258fSBjoern A. Zeeb B_AX_TX_RU4_FSM_HANG_ERR_MSK | \ 28138e93258fSBjoern A. Zeeb B_AX_TX_RU3_FSM_HANG_ERR_MSK | \ 28148e93258fSBjoern A. Zeeb B_AX_TX_RU2_FSM_HANG_ERR_MSK | \ 28158e93258fSBjoern A. Zeeb B_AX_TX_RU1_FSM_HANG_ERR_MSK | \ 28168e93258fSBjoern A. Zeeb B_AX_TX_RU0_FSM_HANG_ERR_MSK) 28178e93258fSBjoern A. Zeeb #define B_AX_TX_ERR_IMR_SET_V1 (B_AX_TX_WD_PLD_ID_FSM_HANG_ERR_MSK | \ 28188e93258fSBjoern A. Zeeb B_AX_TX_CSI_FSM_HANG_ERR_MSK | \ 28198e93258fSBjoern A. Zeeb B_AX_TX_RU7_FSM_HANG_ERR_MSK | \ 28208e93258fSBjoern A. Zeeb B_AX_TX_RU6_FSM_HANG_ERR_MSK | \ 28218e93258fSBjoern A. Zeeb B_AX_TX_RU5_FSM_HANG_ERR_MSK | \ 28228e93258fSBjoern A. Zeeb B_AX_TX_RU4_FSM_HANG_ERR_MSK | \ 28238e93258fSBjoern A. Zeeb B_AX_TX_RU3_FSM_HANG_ERR_MSK | \ 28248e93258fSBjoern A. Zeeb B_AX_TX_RU2_FSM_HANG_ERR_MSK | \ 28258e93258fSBjoern A. Zeeb B_AX_TX_RU1_FSM_HANG_ERR_MSK | \ 28268e93258fSBjoern A. Zeeb B_AX_TX_RU0_FSM_HANG_ERR_MSK) 28278e93258fSBjoern A. Zeeb 28288e93258fSBjoern A. Zeeb #define R_AX_TCR0 0xCA00 28298e93258fSBjoern A. Zeeb #define R_AX_TCR0_C1 0xEA00 28308e93258fSBjoern A. Zeeb #define B_AX_TCR_ZLD_NUM_MASK GENMASK(31, 24) 28318e93258fSBjoern A. Zeeb #define B_AX_TCR_UDF_EN BIT(23) 28328e93258fSBjoern A. Zeeb #define B_AX_TCR_UDF_THSD_MASK GENMASK(22, 16) 28338e93258fSBjoern A. Zeeb #define TCR_UDF_THSD 0x6 28348e93258fSBjoern A. Zeeb #define B_AX_TCR_ERRSTEN_MASK GENMASK(15, 10) 28358e93258fSBjoern A. Zeeb #define B_AX_TCR_VHTSIGA1_TXPS BIT(9) 28368e93258fSBjoern A. Zeeb #define B_AX_TCR_PLCP_ERRHDL_EN BIT(8) 28378e93258fSBjoern A. Zeeb #define B_AX_TCR_PADSEL BIT(7) 28388e93258fSBjoern A. Zeeb #define B_AX_TCR_MASK_SIGBCRC BIT(6) 28398e93258fSBjoern A. Zeeb #define B_AX_TCR_SR_VAL15_ALLOW BIT(5) 28408e93258fSBjoern A. Zeeb #define B_AX_TCR_EN_EOF BIT(4) 28418e93258fSBjoern A. Zeeb #define B_AX_TCR_EN_SCRAM_INC BIT(3) 28428e93258fSBjoern A. Zeeb #define B_AX_TCR_EN_20MST BIT(2) 28438e93258fSBjoern A. Zeeb #define B_AX_TCR_CRC BIT(1) 28448e93258fSBjoern A. Zeeb #define B_AX_TCR_DISGCLK BIT(0) 28458e93258fSBjoern A. Zeeb 28468e93258fSBjoern A. Zeeb #define R_AX_TCR1 0xCA04 28478e93258fSBjoern A. Zeeb #define R_AX_TCR1_C1 0xEA04 28488e93258fSBjoern A. Zeeb #define B_AX_TXDFIFO_THRESHOLD GENMASK(31, 28) 28498e93258fSBjoern A. Zeeb #define B_AX_TCR_CCK_LOCK_CLK BIT(27) 28508e93258fSBjoern A. Zeeb #define B_AX_TCR_FORCE_READ_TXDFIFO BIT(26) 28518e93258fSBjoern A. Zeeb #define B_AX_TCR_USTIME GENMASK(23, 16) 28528e93258fSBjoern A. Zeeb #define B_AX_TCR_SMOOTH_VAL BIT(15) 28538e93258fSBjoern A. Zeeb #define B_AX_TCR_SMOOTH_CTRL BIT(14) 28548e93258fSBjoern A. Zeeb #define B_AX_CS_REQ_VAL BIT(13) 28558e93258fSBjoern A. Zeeb #define B_AX_CS_REQ_SEL BIT(12) 28568e93258fSBjoern A. Zeeb #define B_AX_TCR_ZLD_USTIME_AFTERPHYTXON GENMASK(11, 8) 28578e93258fSBjoern A. Zeeb #define B_AX_TCR_TXTIMEOUT GENMASK(7, 0) 28588e93258fSBjoern A. Zeeb 28598e93258fSBjoern A. Zeeb #define R_AX_MD_TSFT_STMP_CTL 0xCA08 28608e93258fSBjoern A. Zeeb #define R_AX_MD_TSFT_STMP_CTL_C1 0xEA08 28618e93258fSBjoern A. Zeeb #define B_AX_TSFT_OFS_MASK GENMASK(31, 16) 28628e93258fSBjoern A. Zeeb #define B_AX_STMP_THSD_MASK GENMASK(15, 8) 28638e93258fSBjoern A. Zeeb #define B_AX_UPD_HGQMD BIT(1) 28648e93258fSBjoern A. Zeeb #define B_AX_UPD_TIMIE BIT(0) 28658e93258fSBjoern A. Zeeb 28668e93258fSBjoern A. Zeeb #define R_AX_PPWRBIT_SETTING 0xCA0C 28678e93258fSBjoern A. Zeeb #define R_AX_PPWRBIT_SETTING_C1 0xEA0C 28688e93258fSBjoern A. Zeeb 28698e93258fSBjoern A. Zeeb #define R_AX_TXD_FIFO_CTRL 0xCA1C 28708e93258fSBjoern A. Zeeb #define R_AX_TXD_FIFO_CTRL_C1 0xEA1C 28718e93258fSBjoern A. Zeeb #define B_AX_NON_LEGACY_PPDU_ZLD_USTIMER_MASK GENMASK(28, 24) 28728e93258fSBjoern A. Zeeb #define B_AX_LEGACY_PPDU_ZLD_USTIMER_MASK GENMASK(20, 16) 28738e93258fSBjoern A. Zeeb #define B_AX_TXDFIFO_HIGH_MCS_THRE_MASK GENMASK(15, 12) 28748e93258fSBjoern A. Zeeb #define TXDFIFO_HIGH_MCS_THRE 0x7 28758e93258fSBjoern A. Zeeb #define B_AX_TXDFIFO_LOW_MCS_THRE_MASK GENMASK(11, 8) 28768e93258fSBjoern A. Zeeb #define TXDFIFO_LOW_MCS_THRE 0x7 28778e93258fSBjoern A. Zeeb #define B_AX_HIGH_MCS_PHY_RATE_MASK GENMASK(7, 4) 28788e93258fSBjoern A. Zeeb #define B_AX_BW_PHY_RATE_MASK GENMASK(1, 0) 28798e93258fSBjoern A. Zeeb 28808e93258fSBjoern A. Zeeb #define R_AX_MACTX_DBG_SEL_CNT 0xCA20 28818e93258fSBjoern A. Zeeb #define R_AX_MACTX_DBG_SEL_CNT_C1 0xEA20 28828e93258fSBjoern A. Zeeb #define B_AX_MACTX_MPDU_CNT GENMASK(31, 24) 28838e93258fSBjoern A. Zeeb #define B_AX_MACTX_DMA_CNT GENMASK(23, 16) 28848e93258fSBjoern A. Zeeb #define B_AX_LENGTH_ERR_FLAG_U3 BIT(11) 28858e93258fSBjoern A. Zeeb #define B_AX_LENGTH_ERR_FLAG_U2 BIT(10) 28868e93258fSBjoern A. Zeeb #define B_AX_LENGTH_ERR_FLAG_U1 BIT(9) 28878e93258fSBjoern A. Zeeb #define B_AX_LENGTH_ERR_FLAG_U0 BIT(8) 28888e93258fSBjoern A. Zeeb #define B_AX_DBGSEL_MACTX_MASK GENMASK(5, 0) 28898e93258fSBjoern A. Zeeb 28908e93258fSBjoern A. Zeeb #define R_AX_WMAC_TX_CTRL_DEBUG 0xCAE4 28918e93258fSBjoern A. Zeeb #define R_AX_WMAC_TX_CTRL_DEBUG_C1 0xEAE4 28928e93258fSBjoern A. Zeeb #define B_AX_TX_CTRL_DEBUG_SEL_MASK GENMASK(3, 0) 28938e93258fSBjoern A. Zeeb 28948e93258fSBjoern A. Zeeb #define R_AX_WMAC_TX_INFO0_DEBUG 0xCAE8 28958e93258fSBjoern A. Zeeb #define R_AX_WMAC_TX_INFO0_DEBUG_C1 0xEAE8 28968e93258fSBjoern A. Zeeb #define B_AX_TX_CTRL_INFO_P0_MASK GENMASK(31, 0) 28978e93258fSBjoern A. Zeeb 28988e93258fSBjoern A. Zeeb #define R_AX_WMAC_TX_INFO1_DEBUG 0xCAEC 28998e93258fSBjoern A. Zeeb #define R_AX_WMAC_TX_INFO1_DEBUG_C1 0xEAEC 29008e93258fSBjoern A. Zeeb #define B_AX_TX_CTRL_INFO_P1_MASK GENMASK(31, 0) 29018e93258fSBjoern A. Zeeb 29028e93258fSBjoern A. Zeeb #define R_AX_RSP_CHK_SIG 0xCC00 29038e93258fSBjoern A. Zeeb #define R_AX_RSP_CHK_SIG_C1 0xEC00 29048e93258fSBjoern A. Zeeb #define B_AX_RSP_STATIC_RTS_CHK_SERV_BW_EN BIT(30) 29058e93258fSBjoern A. Zeeb #define B_AX_RSP_TBPPDU_CHK_PWR BIT(29) 29068e93258fSBjoern A. Zeeb #define B_AX_RSP_CHK_BASIC_NAV BIT(21) 29078e93258fSBjoern A. Zeeb #define B_AX_RSP_CHK_INTRA_NAV BIT(20) 29088e93258fSBjoern A. Zeeb #define B_AX_RSP_CHK_TXNAV BIT(19) 29098e93258fSBjoern A. Zeeb #define B_AX_TXDATA_END_PS_OPT BIT(18) 29108e93258fSBjoern A. Zeeb #define B_AX_CHECK_SOUNDING_SEQ BIT(17) 29118e93258fSBjoern A. Zeeb #define B_AX_RXBA_IGNOREA2 BIT(16) 29128e93258fSBjoern A. Zeeb #define B_AX_ACKTO_CCK_MASK GENMASK(15, 8) 29138e93258fSBjoern A. Zeeb #define B_AX_ACKTO_MASK GENMASK(7, 0) 29148e93258fSBjoern A. Zeeb 29158e93258fSBjoern A. Zeeb #define R_AX_TRXPTCL_RESP_0 0xCC04 29168e93258fSBjoern A. Zeeb #define R_AX_TRXPTCL_RESP_0_C1 0xEC04 29178e93258fSBjoern A. Zeeb #define B_AX_WMAC_RESP_STBC_EN BIT(31) 29188e93258fSBjoern A. Zeeb #define B_AX_WMAC_RXFTM_TXACK_SC BIT(30) 29198e93258fSBjoern A. Zeeb #define B_AX_WMAC_RXFTM_TXACKBWEQ BIT(29) 29208e93258fSBjoern A. Zeeb #define B_AX_RSP_CHK_SEC_CCA_80 BIT(28) 29218e93258fSBjoern A. Zeeb #define B_AX_RSP_CHK_SEC_CCA_40 BIT(27) 29228e93258fSBjoern A. Zeeb #define B_AX_RSP_CHK_SEC_CCA_20 BIT(26) 29238e93258fSBjoern A. Zeeb #define B_AX_RSP_CHK_BTCCA BIT(25) 29248e93258fSBjoern A. Zeeb #define B_AX_RSP_CHK_EDCCA BIT(24) 29258e93258fSBjoern A. Zeeb #define B_AX_RSP_CHK_CCA BIT(23) 29268e93258fSBjoern A. Zeeb #define B_AX_WMAC_LDPC_EN BIT(22) 29278e93258fSBjoern A. Zeeb #define B_AX_WMAC_SGIEN BIT(21) 29288e93258fSBjoern A. Zeeb #define B_AX_WMAC_SPLCPEN BIT(20) 29298e93258fSBjoern A. Zeeb #define B_AX_WMAC_BESP_EARLY_TXBA BIT(17) 29308e93258fSBjoern A. Zeeb #define B_AX_WMAC_SPEC_SIFS_OFDM_MASK GENMASK(15, 8) 29318e93258fSBjoern A. Zeeb #define B_AX_WMAC_SPEC_SIFS_CCK_MASK GENMASK(7, 0) 29328e93258fSBjoern A. Zeeb #define WMAC_SPEC_SIFS_OFDM_52A 0x15 29338e93258fSBjoern A. Zeeb #define WMAC_SPEC_SIFS_OFDM_52B 0x11 29348e93258fSBjoern A. Zeeb #define WMAC_SPEC_SIFS_OFDM_52C 0x11 29358e93258fSBjoern A. Zeeb #define WMAC_SPEC_SIFS_CCK 0xA 29368e93258fSBjoern A. Zeeb 2937e2340276SBjoern A. Zeeb #define R_AX_TRXPTCL_RRSR_CTL_0 0xCC08 2938e2340276SBjoern A. Zeeb #define R_AX_TRXPTCL_RRSR_CTL_0_C1 0xEC08 2939e2340276SBjoern A. Zeeb #define B_AX_RESP_TX_MACID_CCA_TH_EN BIT(31) 2940e2340276SBjoern A. Zeeb #define B_AX_RESP_TX_PWRMODE_MASK GENMASK(30, 28) 2941e2340276SBjoern A. Zeeb #define B_AX_FTM_RRSR_RATE_EN_MASK GENMASK(27, 24) 2942e2340276SBjoern A. Zeeb #define B_AX_NESS_MASK GENMASK(23, 22) 2943e2340276SBjoern A. Zeeb #define B_AX_WMAC_RESP_DOPPLEB_AX_EN BIT(21) 2944e2340276SBjoern A. Zeeb #define B_AX_WMAC_RESP_DCM_EN BIT(20) 2945e2340276SBjoern A. Zeeb #define B_AX_WMAC_RRSB_AX_CCK_MASK GENMASK(19, 16) 2946e2340276SBjoern A. Zeeb #define B_AX_WMAC_RESP_RATE_EN_MASK GENMASK(15, 12) 2947e2340276SBjoern A. Zeeb #define B_AX_WMAC_RESP_RSC_MASK GENMASK(11, 10) 2948e2340276SBjoern A. Zeeb #define B_AX_WMAC_RESP_REF_RATE_SEL BIT(9) 2949e2340276SBjoern A. Zeeb #define B_AX_WMAC_RESP_REF_RATE_MASK GENMASK(8, 0) 2950e2340276SBjoern A. Zeeb 29518e93258fSBjoern A. Zeeb #define R_AX_MAC_LOOPBACK 0xCC20 29528e93258fSBjoern A. Zeeb #define R_AX_MAC_LOOPBACK_C1 0xEC20 29538e93258fSBjoern A. Zeeb #define B_AX_MACLBK_EN BIT(0) 29548e93258fSBjoern A. Zeeb 29558e93258fSBjoern A. Zeeb #define R_AX_WMAC_NAV_CTL 0xCC80 29568e93258fSBjoern A. Zeeb #define R_AX_WMAC_NAV_CTL_C1 0xEC80 29578e93258fSBjoern A. Zeeb #define B_AX_WMAC_NAV_UPPER_EN BIT(26) 29588e93258fSBjoern A. Zeeb #define B_AX_WMAC_0P125US_TIMER_MASK GENMASK(25, 18) 29598e93258fSBjoern A. Zeeb #define B_AX_WMAC_PLCP_UP_NAV_EN BIT(17) 29608e93258fSBjoern A. Zeeb #define B_AX_WMAC_TF_UP_NAV_EN BIT(16) 29618e93258fSBjoern A. Zeeb #define B_AX_WMAC_NAV_UPPER_MASK GENMASK(15, 8) 29628e93258fSBjoern A. Zeeb #define NAV_12MS 0xBC 2963e2340276SBjoern A. Zeeb #define NAV_25MS 0xC4 29648e93258fSBjoern A. Zeeb #define B_AX_WMAC_RTS_RST_DUR_MASK GENMASK(7, 0) 29658e93258fSBjoern A. Zeeb 29668e93258fSBjoern A. Zeeb #define R_AX_RXTRIG_TEST_USER_2 0xCCB0 29678e93258fSBjoern A. Zeeb #define R_AX_RXTRIG_TEST_USER_2_C1 0xECB0 29688e93258fSBjoern A. Zeeb #define B_AX_RXTRIG_MACID_MASK GENMASK(31, 24) 29698e93258fSBjoern A. Zeeb #define B_AX_RXTRIG_RU26_DIS BIT(21) 29708e93258fSBjoern A. Zeeb #define B_AX_RXTRIG_FCSCHK_EN BIT(20) 29718e93258fSBjoern A. Zeeb #define B_AX_RXTRIG_PORT_SEL_MASK GENMASK(19, 17) 29728e93258fSBjoern A. Zeeb #define B_AX_RXTRIG_EN BIT(16) 29738e93258fSBjoern A. Zeeb #define B_AX_RXTRIG_USERINFO_2_MASK GENMASK(15, 0) 29748e93258fSBjoern A. Zeeb 29758e93258fSBjoern A. Zeeb #define R_AX_TRXPTCL_ERROR_INDICA_MASK 0xCCBC 29768e93258fSBjoern A. Zeeb #define R_AX_TRXPTCL_ERROR_INDICA_MASK_C1 0xECBC 29778e93258fSBjoern A. Zeeb #define B_AX_WMAC_MODE BIT(22) 29788e93258fSBjoern A. Zeeb #define B_AX_WMAC_TIMETOUT_THR_MASK GENMASK(21, 16) 29798e93258fSBjoern A. Zeeb #define B_AX_RMAC_FTM BIT(8) 29808e93258fSBjoern A. Zeeb #define B_AX_RMAC_CSI BIT(7) 29818e93258fSBjoern A. Zeeb #define B_AX_TMAC_MIMO_CTRL BIT(6) 29828e93258fSBjoern A. Zeeb #define B_AX_TMAC_RXTB BIT(5) 29838e93258fSBjoern A. Zeeb #define B_AX_TMAC_HWSIGB_GEN BIT(4) 29848e93258fSBjoern A. Zeeb #define B_AX_TMAC_TXPLCP BIT(3) 29858e93258fSBjoern A. Zeeb #define B_AX_TMAC_RESP BIT(2) 29868e93258fSBjoern A. Zeeb #define B_AX_TMAC_TXCTL BIT(1) 29878e93258fSBjoern A. Zeeb #define B_AX_TMAC_MACTX BIT(0) 29888e93258fSBjoern A. Zeeb #define B_AX_TMAC_IMR_CLR_V1 (B_AX_TMAC_MACTX | \ 29898e93258fSBjoern A. Zeeb B_AX_TMAC_TXCTL | \ 29908e93258fSBjoern A. Zeeb B_AX_TMAC_RESP | \ 29918e93258fSBjoern A. Zeeb B_AX_TMAC_TXPLCP | \ 29928e93258fSBjoern A. Zeeb B_AX_TMAC_HWSIGB_GEN | \ 29938e93258fSBjoern A. Zeeb B_AX_TMAC_RXTB | \ 29948e93258fSBjoern A. Zeeb B_AX_TMAC_MIMO_CTRL | \ 29958e93258fSBjoern A. Zeeb B_AX_RMAC_CSI | \ 29968e93258fSBjoern A. Zeeb B_AX_RMAC_FTM) 29978e93258fSBjoern A. Zeeb #define B_AX_TMAC_IMR_SET_V1 (B_AX_TMAC_MACTX | \ 29988e93258fSBjoern A. Zeeb B_AX_TMAC_TXCTL | \ 29998e93258fSBjoern A. Zeeb B_AX_TMAC_RESP | \ 30008e93258fSBjoern A. Zeeb B_AX_TMAC_TXPLCP | \ 30018e93258fSBjoern A. Zeeb B_AX_TMAC_HWSIGB_GEN | \ 30028e93258fSBjoern A. Zeeb B_AX_TMAC_RXTB | \ 30038e93258fSBjoern A. Zeeb B_AX_TMAC_MIMO_CTRL | \ 30048e93258fSBjoern A. Zeeb B_AX_RMAC_FTM) 30058e93258fSBjoern A. Zeeb 3006e2340276SBjoern A. Zeeb #define R_AX_TRXPTCL_ERROR_INDICA 0xCCC0 3007e2340276SBjoern A. Zeeb #define R_AX_TRXPTCL_ERROR_INDICA_C1 0xECC0 3008e2340276SBjoern A. Zeeb #define B_AX_FTM_ERROR_FLAG_CLR BIT(8) 3009e2340276SBjoern A. Zeeb #define B_AX_CSI_ERROR_FLAG_CLR BIT(7) 3010e2340276SBjoern A. Zeeb #define B_AX_MIMOCTRL_ERROR_FLAG_CLR BIT(6) 3011e2340276SBjoern A. Zeeb #define B_AX_RXTB_ERROR_FLAG_CLR BIT(5) 3012e2340276SBjoern A. Zeeb #define B_AX_HWSIGB_GEN_ERROR_FLAG_CLR BIT(4) 3013e2340276SBjoern A. Zeeb #define B_AX_TXPLCP_ERROR_FLAG_CLR BIT(3) 3014e2340276SBjoern A. Zeeb #define B_AX_RESP_ERROR_FLAG_CLR BIT(2) 3015e2340276SBjoern A. Zeeb #define B_AX_TXCTL_ERROR_FLAG_CLR BIT(1) 3016e2340276SBjoern A. Zeeb #define B_AX_MACTX_ERROR_FLAG_CLR BIT(0) 3017e2340276SBjoern A. Zeeb 30188e93258fSBjoern A. Zeeb #define R_AX_WMAC_TX_TF_INFO_0 0xCCD0 30198e93258fSBjoern A. Zeeb #define R_AX_WMAC_TX_TF_INFO_0_C1 0xECD0 30208e93258fSBjoern A. Zeeb #define B_AX_WMAC_TX_TF_INFO_SEL_MASK GENMASK(2, 0) 30218e93258fSBjoern A. Zeeb 30228e93258fSBjoern A. Zeeb #define R_AX_WMAC_TX_TF_INFO_1 0xCCD4 30238e93258fSBjoern A. Zeeb #define R_AX_WMAC_TX_TF_INFO_1_C1 0xECD4 30248e93258fSBjoern A. Zeeb #define B_AX_WMAC_TX_TF_INFO_P0_MASK GENMASK(31, 0) 30258e93258fSBjoern A. Zeeb 30268e93258fSBjoern A. Zeeb #define R_AX_WMAC_TX_TF_INFO_2 0xCCD8 30278e93258fSBjoern A. Zeeb #define R_AX_WMAC_TX_TF_INFO_2_C1 0xECD8 30288e93258fSBjoern A. Zeeb #define B_AX_WMAC_TX_TF_INFO_P1_MASK GENMASK(31, 0) 30298e93258fSBjoern A. Zeeb 30308e93258fSBjoern A. Zeeb #define R_AX_TMAC_ERR_IMR_ISR 0xCCEC 30318e93258fSBjoern A. Zeeb #define R_AX_TMAC_ERR_IMR_ISR_C1 0xECEC 30328e93258fSBjoern A. Zeeb #define B_AX_TMAC_TXPLCP_ERR_CLR BIT(19) 30338e93258fSBjoern A. Zeeb #define B_AX_TMAC_RESP_ERR_CLR BIT(18) 30348e93258fSBjoern A. Zeeb #define B_AX_TMAC_TXCTL_ERR_CLR BIT(17) 30358e93258fSBjoern A. Zeeb #define B_AX_TMAC_MACTX_ERR_CLR BIT(16) 30368e93258fSBjoern A. Zeeb #define B_AX_TMAC_TXPLCP_ERR BIT(14) 30378e93258fSBjoern A. Zeeb #define B_AX_TMAC_RESP_ERR BIT(13) 30388e93258fSBjoern A. Zeeb #define B_AX_TMAC_TXCTL_ERR BIT(12) 30398e93258fSBjoern A. Zeeb #define B_AX_TMAC_MACTX_ERR BIT(11) 30408e93258fSBjoern A. Zeeb #define B_AX_TMAC_TXPLCP_INT_EN BIT(10) 30418e93258fSBjoern A. Zeeb #define B_AX_TMAC_RESP_INT_EN BIT(9) 30428e93258fSBjoern A. Zeeb #define B_AX_TMAC_TXCTL_INT_EN BIT(8) 30438e93258fSBjoern A. Zeeb #define B_AX_TMAC_MACTX_INT_EN BIT(7) 30448e93258fSBjoern A. Zeeb #define B_AX_WMAC_INT_MODE BIT(6) 30458e93258fSBjoern A. Zeeb #define B_AX_TMAC_TIMETOUT_THR_MASK GENMASK(5, 0) 30468e93258fSBjoern A. Zeeb #define B_AX_TMAC_IMR_CLR (B_AX_TMAC_MACTX_INT_EN | \ 30478e93258fSBjoern A. Zeeb B_AX_TMAC_TXCTL_INT_EN | \ 30488e93258fSBjoern A. Zeeb B_AX_TMAC_RESP_INT_EN | \ 30498e93258fSBjoern A. Zeeb B_AX_TMAC_TXPLCP_INT_EN) 30508e93258fSBjoern A. Zeeb #define B_AX_TMAC_IMR_SET (B_AX_TMAC_MACTX_INT_EN | \ 30518e93258fSBjoern A. Zeeb B_AX_TMAC_TXCTL_INT_EN | \ 30528e93258fSBjoern A. Zeeb B_AX_TMAC_RESP_INT_EN | \ 30538e93258fSBjoern A. Zeeb B_AX_TMAC_TXPLCP_INT_EN) 30548e93258fSBjoern A. Zeeb 30558e93258fSBjoern A. Zeeb #define R_AX_DBGSEL_TRXPTCL 0xCCF4 30568e93258fSBjoern A. Zeeb #define R_AX_DBGSEL_TRXPTCL_C1 0xECF4 30578e93258fSBjoern A. Zeeb #define B_AX_DBGSEL_TRXPTCL_MASK GENMASK(7, 0) 30588e93258fSBjoern A. Zeeb 30598e93258fSBjoern A. Zeeb #define R_AX_PHYINFO_ERR_IMR_V1 0xCCF8 30608e93258fSBjoern A. Zeeb #define R_AX_PHYINFO_ERR_IMR_V1_C1 0xECF8 30618e93258fSBjoern A. Zeeb #define B_AX_PHYINTF_TIMEOUT_THR_MSAK_V1 GENMASK(21, 16) 30628e93258fSBjoern A. Zeeb #define B_AX_CSI_ON_TIMEOUT_EN BIT(5) 30638e93258fSBjoern A. Zeeb #define B_AX_STS_ON_TIMEOUT_EN BIT(4) 30648e93258fSBjoern A. Zeeb #define B_AX_DATA_ON_TIMEOUT_EN BIT(3) 30658e93258fSBjoern A. Zeeb #define B_AX_OFDM_CCA_TIMEOUT_EN BIT(2) 30668e93258fSBjoern A. Zeeb #define B_AX_CCK_CCA_TIMEOUT_EN BIT(1) 30678e93258fSBjoern A. Zeeb #define B_AX_PHY_TXON_TIMEOUT_EN BIT(0) 30688e93258fSBjoern A. Zeeb #define B_AX_PHYINFO_IMR_CLR_V1 (B_AX_PHY_TXON_TIMEOUT_EN | \ 30698e93258fSBjoern A. Zeeb B_AX_CCK_CCA_TIMEOUT_EN | \ 30708e93258fSBjoern A. Zeeb B_AX_OFDM_CCA_TIMEOUT_EN | \ 30718e93258fSBjoern A. Zeeb B_AX_DATA_ON_TIMEOUT_EN | \ 30728e93258fSBjoern A. Zeeb B_AX_STS_ON_TIMEOUT_EN | \ 30738e93258fSBjoern A. Zeeb B_AX_CSI_ON_TIMEOUT_EN) 30748e93258fSBjoern A. Zeeb #define B_AX_PHYINFO_IMR_SET_V1 (B_AX_PHY_TXON_TIMEOUT_EN | \ 30758e93258fSBjoern A. Zeeb B_AX_CCK_CCA_TIMEOUT_EN | \ 30768e93258fSBjoern A. Zeeb B_AX_OFDM_CCA_TIMEOUT_EN | \ 30778e93258fSBjoern A. Zeeb B_AX_DATA_ON_TIMEOUT_EN | \ 30788e93258fSBjoern A. Zeeb B_AX_STS_ON_TIMEOUT_EN | \ 30798e93258fSBjoern A. Zeeb B_AX_CSI_ON_TIMEOUT_EN) 30808e93258fSBjoern A. Zeeb 30818e93258fSBjoern A. Zeeb #define R_AX_PHYINFO_ERR_IMR 0xCCFC 30828e93258fSBjoern A. Zeeb #define R_AX_PHYINFO_ERR_IMR_C1 0xECFC 30838e93258fSBjoern A. Zeeb #define B_AX_CSI_ON_TIMEOUT BIT(29) 30848e93258fSBjoern A. Zeeb #define B_AX_STS_ON_TIMEOUT BIT(28) 30858e93258fSBjoern A. Zeeb #define B_AX_DATA_ON_TIMEOUT BIT(27) 30868e93258fSBjoern A. Zeeb #define B_AX_OFDM_CCA_TIMEOUT BIT(26) 30878e93258fSBjoern A. Zeeb #define B_AX_CCK_CCA_TIMEOUT BIT(25) 30888e93258fSBjoern A. Zeeb #define B_AXC_PHY_TXON_TIMEOUT BIT(24) 30898e93258fSBjoern A. Zeeb #define B_AX_CSI_ON_TIMEOUT_INT_EN BIT(21) 30908e93258fSBjoern A. Zeeb #define B_AX_STS_ON_TIMEOUT_INT_EN BIT(20) 30918e93258fSBjoern A. Zeeb #define B_AX_DATA_ON_TIMEOUT_INT_EN BIT(19) 30928e93258fSBjoern A. Zeeb #define B_AX_OFDM_CCA_TIMEOUT_INT_EN BIT(18) 30938e93258fSBjoern A. Zeeb #define B_AX_CCK_CCA_TIMEOUT_INT_EN BIT(17) 30948e93258fSBjoern A. Zeeb #define B_AX_PHY_TXON_TIMEOUT_INT_EN BIT(16) 30958e93258fSBjoern A. Zeeb #define B_AX_PHYINTF_TIMEOUT_THR_MSAK GENMASK(5, 0) 30968e93258fSBjoern A. Zeeb #define B_AX_PHYINFO_IMR_EN_ALL (B_AX_PHY_TXON_TIMEOUT_INT_EN | \ 30978e93258fSBjoern A. Zeeb B_AX_CCK_CCA_TIMEOUT_INT_EN | \ 30988e93258fSBjoern A. Zeeb B_AX_OFDM_CCA_TIMEOUT_INT_EN | \ 30998e93258fSBjoern A. Zeeb B_AX_DATA_ON_TIMEOUT_INT_EN | \ 31008e93258fSBjoern A. Zeeb B_AX_STS_ON_TIMEOUT_INT_EN | \ 31018e93258fSBjoern A. Zeeb B_AX_CSI_ON_TIMEOUT_INT_EN) 31028e93258fSBjoern A. Zeeb 31038e93258fSBjoern A. Zeeb #define R_AX_PHYINFO_ERR_ISR 0xCCFC 31048e93258fSBjoern A. Zeeb #define R_AX_PHYINFO_ERR_ISR_C1 0xECFC 31058e93258fSBjoern A. Zeeb 31068e93258fSBjoern A. Zeeb #define R_AX_BFMER_CTRL_0 0xCD78 31078e93258fSBjoern A. Zeeb #define R_AX_BFMER_CTRL_0_C1 0xED78 31088e93258fSBjoern A. Zeeb #define B_AX_BFMER_HE_CSI_OFFSET_MASK GENMASK(31, 24) 31098e93258fSBjoern A. Zeeb #define B_AX_BFMER_VHT_CSI_OFFSET_MASK GENMASK(23, 16) 31108e93258fSBjoern A. Zeeb #define B_AX_BFMER_HT_CSI_OFFSET_MASK GENMASK(15, 8) 31118e93258fSBjoern A. Zeeb #define B_AX_BFMER_NDP_BFEN BIT(2) 31128e93258fSBjoern A. Zeeb #define B_AX_BFMER_VHT_BFPRT_CHK BIT(0) 31138e93258fSBjoern A. Zeeb 31148e93258fSBjoern A. Zeeb #define R_AX_BFMEE_RESP_OPTION 0xCD80 31158e93258fSBjoern A. Zeeb #define R_AX_BFMEE_RESP_OPTION_C1 0xED80 31168e93258fSBjoern A. Zeeb #define B_AX_BFMEE_NDP_RX_STANDBY_TIMER_MASK GENMASK(31, 24) 31178e93258fSBjoern A. Zeeb #define B_AX_BFMEE_BFRP_RX_STANDBY_TIMER_MASK GENMASK(23, 20) 3118e2340276SBjoern A. Zeeb #define BFRP_RX_STANDBY_TIMER_KEEP 0x0 3119e2340276SBjoern A. Zeeb #define BFRP_RX_STANDBY_TIMER_RELEASE 0x1 31208e93258fSBjoern A. Zeeb #define B_AX_MU_BFRPTSEG_SEL_MASK GENMASK(18, 17) 31218e93258fSBjoern A. Zeeb #define B_AX_BFMEE_NDP_RXSTDBY_SEL BIT(16) 31228e93258fSBjoern A. Zeeb #define BFRP_RX_STANDBY_TIMER 0x0 31238e93258fSBjoern A. Zeeb #define NDP_RX_STANDBY_TIMER 0xFF 31248e93258fSBjoern A. Zeeb #define B_AX_BFMEE_HE_NDPA_EN BIT(2) 31258e93258fSBjoern A. Zeeb #define B_AX_BFMEE_VHT_NDPA_EN BIT(1) 31268e93258fSBjoern A. Zeeb #define B_AX_BFMEE_HT_NDPA_EN BIT(0) 31278e93258fSBjoern A. Zeeb 31288e93258fSBjoern A. Zeeb #define R_AX_TRXPTCL_RESP_CSI_CTRL_0 0xCD88 31298e93258fSBjoern A. Zeeb #define R_AX_TRXPTCL_RESP_CSI_CTRL_0_C1 0xED88 31308e93258fSBjoern A. Zeeb #define R_AX_TRXPTCL_RESP_CSI_CTRL_1 0xCD94 31318e93258fSBjoern A. Zeeb #define R_AX_TRXPTCL_RESP_CSI_CTRL_1_C1 0xED94 31328e93258fSBjoern A. Zeeb #define B_AX_BFMEE_CSISEQ_SEL BIT(29) 31338e93258fSBjoern A. Zeeb #define B_AX_BFMEE_BFPARAM_SEL BIT(28) 31348e93258fSBjoern A. Zeeb #define B_AX_BFMEE_OFDM_LEN_TH_MASK GENMASK(27, 24) 31358e93258fSBjoern A. Zeeb #define B_AX_BFMEE_BF_PORT_SEL BIT(23) 31368e93258fSBjoern A. Zeeb #define B_AX_BFMEE_USE_NSTS BIT(22) 31378e93258fSBjoern A. Zeeb #define B_AX_BFMEE_CSI_RATE_FB_EN BIT(21) 31388e93258fSBjoern A. Zeeb #define B_AX_BFMEE_CSI_GID_SEL BIT(20) 31398e93258fSBjoern A. Zeeb #define B_AX_BFMEE_CSI_RSC_MASK GENMASK(19, 18) 31408e93258fSBjoern A. Zeeb #define B_AX_BFMEE_CSI_FORCE_RETE_EN BIT(17) 31418e93258fSBjoern A. Zeeb #define B_AX_BFMEE_CSI_USE_NDPARATE BIT(16) 31428e93258fSBjoern A. Zeeb #define B_AX_BFMEE_CSI_WITHHTC_EN BIT(15) 31438e93258fSBjoern A. Zeeb #define B_AX_BFMEE_CSIINFO0_BF_EN BIT(14) 31448e93258fSBjoern A. Zeeb #define B_AX_BFMEE_CSIINFO0_STBC_EN BIT(13) 31458e93258fSBjoern A. Zeeb #define B_AX_BFMEE_CSIINFO0_LDPC_EN BIT(12) 31468e93258fSBjoern A. Zeeb #define B_AX_BFMEE_CSIINFO0_CS_MASK GENMASK(11, 10) 31478e93258fSBjoern A. Zeeb #define B_AX_BFMEE_CSIINFO0_CB_MASK GENMASK(9, 8) 31488e93258fSBjoern A. Zeeb #define B_AX_BFMEE_CSIINFO0_NG_MASK GENMASK(7, 6) 31498e93258fSBjoern A. Zeeb #define B_AX_BFMEE_CSIINFO0_NR_MASK GENMASK(5, 3) 31508e93258fSBjoern A. Zeeb #define B_AX_BFMEE_CSIINFO0_NC_MASK GENMASK(2, 0) 31518e93258fSBjoern A. Zeeb 31528e93258fSBjoern A. Zeeb #define R_AX_TRXPTCL_RESP_CSI_RRSC 0xCD8C 31538e93258fSBjoern A. Zeeb #define R_AX_TRXPTCL_RESP_CSI_RRSC_C1 0xED8C 31548e93258fSBjoern A. Zeeb #define CSI_RRSC_BMAP 0x29292911 31558e93258fSBjoern A. Zeeb 31568e93258fSBjoern A. Zeeb #define R_AX_TRXPTCL_RESP_CSI_RATE 0xCD90 31578e93258fSBjoern A. Zeeb #define R_AX_TRXPTCL_RESP_CSI_RATE_C1 0xED90 31588e93258fSBjoern A. Zeeb #define B_AX_BFMEE_HE_CSI_RATE_MASK GENMASK(22, 16) 31598e93258fSBjoern A. Zeeb #define B_AX_BFMEE_VHT_CSI_RATE_MASK GENMASK(14, 8) 31608e93258fSBjoern A. Zeeb #define B_AX_BFMEE_HT_CSI_RATE_MASK GENMASK(6, 0) 31618e93258fSBjoern A. Zeeb #define CSI_INIT_RATE_HE 0x3 31628e93258fSBjoern A. Zeeb #define CSI_INIT_RATE_VHT 0x3 31638e93258fSBjoern A. Zeeb #define CSI_INIT_RATE_HT 0x3 31648e93258fSBjoern A. Zeeb 31658e93258fSBjoern A. Zeeb #define R_AX_RCR 0xCE00 31668e93258fSBjoern A. Zeeb #define R_AX_RCR_C1 0xEE00 31678e93258fSBjoern A. Zeeb #define B_AX_STOP_RX_IN BIT(11) 31688e93258fSBjoern A. Zeeb #define B_AX_DRV_INFO_SIZE_MASK GENMASK(10, 8) 31698e93258fSBjoern A. Zeeb #define B_AX_CH_EN_MASK GENMASK(3, 0) 31708e93258fSBjoern A. Zeeb 31718e93258fSBjoern A. Zeeb #define R_AX_DLK_PROTECT_CTL 0xCE02 31728e93258fSBjoern A. Zeeb #define R_AX_DLK_PROTECT_CTL_C1 0xEE02 31738e93258fSBjoern A. Zeeb #define B_AX_RX_DLK_CCA_TIME_MASK GENMASK(15, 8) 31748e93258fSBjoern A. Zeeb #define B_AX_RX_DLK_DATA_TIME_MASK GENMASK(7, 4) 3175*6d67aabdSBjoern A. Zeeb #define B_AX_RX_DLK_RST_EN BIT(1) 3176*6d67aabdSBjoern A. Zeeb #define B_AX_RX_DLK_INT_EN BIT(0) 31778e93258fSBjoern A. Zeeb 31788e93258fSBjoern A. Zeeb #define R_AX_PLCP_HDR_FLTR 0xCE04 31798e93258fSBjoern A. Zeeb #define R_AX_PLCP_HDR_FLTR_C1 0xEE04 31808e93258fSBjoern A. Zeeb #define B_AX_DIS_CHK_MIN_LEN BIT(8) 31818e93258fSBjoern A. Zeeb #define B_AX_HE_SIGB_CRC_CHK BIT(6) 31828e93258fSBjoern A. Zeeb #define B_AX_VHT_MU_SIGB_CRC_CHK BIT(5) 31838e93258fSBjoern A. Zeeb #define B_AX_VHT_SU_SIGB_CRC_CHK BIT(4) 31848e93258fSBjoern A. Zeeb #define B_AX_SIGA_CRC_CHK BIT(3) 31858e93258fSBjoern A. Zeeb #define B_AX_LSIG_PARITY_CHK_EN BIT(2) 31868e93258fSBjoern A. Zeeb #define B_AX_CCK_SIG_CHK BIT(1) 31878e93258fSBjoern A. Zeeb #define B_AX_CCK_CRC_CHK BIT(0) 31888e93258fSBjoern A. Zeeb 31898e93258fSBjoern A. Zeeb #define R_AX_RX_FLTR_OPT 0xCE20 31908e93258fSBjoern A. Zeeb #define R_AX_RX_FLTR_OPT_C1 0xEE20 31918e93258fSBjoern A. Zeeb #define B_AX_UID_FILTER_MASK GENMASK(31, 24) 31928e93258fSBjoern A. Zeeb #define B_AX_UNSPT_FILTER_SH 22 31938e93258fSBjoern A. Zeeb #define B_AX_UNSPT_FILTER_MASK GENMASK(23, 22) 31948e93258fSBjoern A. Zeeb #define B_AX_RX_MPDU_MAX_LEN_MASK GENMASK(21, 16) 31958e93258fSBjoern A. Zeeb #define B_AX_RX_MPDU_MAX_LEN_SIZE 0x3f 31968e93258fSBjoern A. Zeeb #define B_AX_A_FTM_REQ BIT(14) 31978e93258fSBjoern A. Zeeb #define B_AX_A_ERR_PKT BIT(13) 31988e93258fSBjoern A. Zeeb #define B_AX_A_UNSUP_PKT BIT(12) 31998e93258fSBjoern A. Zeeb #define B_AX_A_CRC32_ERR BIT(11) 32008e93258fSBjoern A. Zeeb #define B_AX_A_PWR_MGNT BIT(10) 32018e93258fSBjoern A. Zeeb #define B_AX_A_BCN_CHK_RULE_MASK GENMASK(9, 8) 32028e93258fSBjoern A. Zeeb #define B_AX_A_BCN_CHK_EN BIT(7) 32038e93258fSBjoern A. Zeeb #define B_AX_A_MC_LIST_CAM_MATCH BIT(6) 32048e93258fSBjoern A. Zeeb #define B_AX_A_BC_CAM_MATCH BIT(5) 32058e93258fSBjoern A. Zeeb #define B_AX_A_UC_CAM_MATCH BIT(4) 32068e93258fSBjoern A. Zeeb #define B_AX_A_MC BIT(3) 32078e93258fSBjoern A. Zeeb #define B_AX_A_BC BIT(2) 32088e93258fSBjoern A. Zeeb #define B_AX_A_A1_MATCH BIT(1) 32098e93258fSBjoern A. Zeeb #define B_AX_SNIFFER_MODE BIT(0) 32108e93258fSBjoern A. Zeeb #define DEFAULT_AX_RX_FLTR (B_AX_A_A1_MATCH | B_AX_A_BC | B_AX_A_MC | \ 32118e93258fSBjoern A. Zeeb B_AX_A_UC_CAM_MATCH | B_AX_A_BC_CAM_MATCH | \ 32128e93258fSBjoern A. Zeeb B_AX_A_PWR_MGNT | B_AX_A_FTM_REQ | \ 32138e93258fSBjoern A. Zeeb u32_encode_bits(3, B_AX_UID_FILTER_MASK) | \ 32148e93258fSBjoern A. Zeeb B_AX_A_BCN_CHK_EN) 32158e93258fSBjoern A. Zeeb #define B_AX_RX_FLTR_CFG_MASK ((u32)~B_AX_RX_MPDU_MAX_LEN_MASK) 32168e93258fSBjoern A. Zeeb 32178e93258fSBjoern A. Zeeb #define R_AX_CTRL_FLTR 0xCE24 32188e93258fSBjoern A. Zeeb #define R_AX_CTRL_FLTR_C1 0xEE24 32198e93258fSBjoern A. Zeeb #define R_AX_MGNT_FLTR 0xCE28 32208e93258fSBjoern A. Zeeb #define R_AX_MGNT_FLTR_C1 0xEE28 32218e93258fSBjoern A. Zeeb #define R_AX_DATA_FLTR 0xCE2C 32228e93258fSBjoern A. Zeeb #define R_AX_DATA_FLTR_C1 0xEE2C 32238e93258fSBjoern A. Zeeb #define RX_FLTR_FRAME_DROP 0x00000000 32248e93258fSBjoern A. Zeeb #define RX_FLTR_FRAME_TO_HOST 0x55555555 32258e93258fSBjoern A. Zeeb #define RX_FLTR_FRAME_TO_WLCPU 0xAAAAAAAA 32268e93258fSBjoern A. Zeeb 32278e93258fSBjoern A. Zeeb #define R_AX_ADDR_CAM_CTRL 0xCE34 32288e93258fSBjoern A. Zeeb #define R_AX_ADDR_CAM_CTRL_C1 0xEE34 32298e93258fSBjoern A. Zeeb #define B_AX_ADDR_CAM_RANGE_MASK GENMASK(23, 16) 32308e93258fSBjoern A. Zeeb #define B_AX_ADDR_CAM_CMPLIMT_MASK GENMASK(15, 12) 32318e93258fSBjoern A. Zeeb #define B_AX_ADDR_CAM_CLR BIT(8) 32328e93258fSBjoern A. Zeeb #define B_AX_ADDR_CAM_A2_B0_CHK BIT(2) 32338e93258fSBjoern A. Zeeb #define B_AX_ADDR_CAM_SRCH_PERPKT BIT(1) 32348e93258fSBjoern A. Zeeb #define B_AX_ADDR_CAM_EN BIT(0) 32358e93258fSBjoern A. Zeeb 32368e93258fSBjoern A. Zeeb #define R_AX_RESPBA_CAM_CTRL 0xCE3C 32378e93258fSBjoern A. Zeeb #define R_AX_RESPBA_CAM_CTRL_C1 0xEE3C 32388e93258fSBjoern A. Zeeb #define B_AX_SSN_SEL BIT(2) 32398e93258fSBjoern A. Zeeb #define B_AX_BACAM_RST_MASK GENMASK(1, 0) 32408e93258fSBjoern A. Zeeb #define S_AX_BACAM_RST_ALL 2 32418e93258fSBjoern A. Zeeb 32428e93258fSBjoern A. Zeeb #define R_AX_PPDU_STAT 0xCE40 32438e93258fSBjoern A. Zeeb #define R_AX_PPDU_STAT_C1 0xEE40 32448e93258fSBjoern A. Zeeb #define B_AX_PPDU_STAT_RPT_TRIG BIT(8) 32458e93258fSBjoern A. Zeeb #define B_AX_PPDU_STAT_RPT_CRC32 BIT(5) 32468e93258fSBjoern A. Zeeb #define B_AX_PPDU_STAT_RPT_A1M BIT(4) 32478e93258fSBjoern A. Zeeb #define B_AX_APP_PLCP_HDR_RPT BIT(3) 32488e93258fSBjoern A. Zeeb #define B_AX_APP_RX_CNT_RPT BIT(2) 32498e93258fSBjoern A. Zeeb #define B_AX_APP_MAC_INFO_RPT BIT(1) 32508e93258fSBjoern A. Zeeb #define B_AX_PPDU_STAT_RPT_EN BIT(0) 32518e93258fSBjoern A. Zeeb 32528e93258fSBjoern A. Zeeb #define R_AX_RX_SR_CTRL 0xCE4A 32538e93258fSBjoern A. Zeeb #define R_AX_RX_SR_CTRL_C1 0xEE4A 32548e93258fSBjoern A. Zeeb #define B_AX_SR_EN BIT(0) 32558e93258fSBjoern A. Zeeb 3256*6d67aabdSBjoern A. Zeeb #define R_AX_BSSID_SRC_CTRL 0xCE4B 3257*6d67aabdSBjoern A. Zeeb #define R_AX_BSSID_SRC_CTRL_C1 0xEE4B 3258*6d67aabdSBjoern A. Zeeb #define B_AX_BSSID_MATCH BIT(3) 3259*6d67aabdSBjoern A. Zeeb #define B_AX_PARTIAL_AID_MATCH BIT(2) 3260*6d67aabdSBjoern A. Zeeb #define B_AX_BSSCOLOR_MATCH BIT(1) 3261*6d67aabdSBjoern A. Zeeb #define B_AX_PLCP_SRC_EN BIT(0) 3262*6d67aabdSBjoern A. Zeeb 32638e93258fSBjoern A. Zeeb #define R_AX_CSIRPT_OPTION 0xCE64 32648e93258fSBjoern A. Zeeb #define R_AX_CSIRPT_OPTION_C1 0xEE64 32658e93258fSBjoern A. Zeeb #define B_AX_CSIPRT_HESU_AID_EN BIT(25) 32668e93258fSBjoern A. Zeeb #define B_AX_CSIPRT_VHTSU_AID_EN BIT(24) 32678e93258fSBjoern A. Zeeb 32688e93258fSBjoern A. Zeeb #define R_AX_RX_STATE_MONITOR 0xCEF0 32698e93258fSBjoern A. Zeeb #define R_AX_RX_STATE_MONITOR_C1 0xEEF0 32708e93258fSBjoern A. Zeeb #define B_AX_RX_STATE_MONITOR_MASK GENMASK(31, 0) 32718e93258fSBjoern A. Zeeb #define B_AX_STATE_CUR_MASK GENMASK(31, 16) 32728e93258fSBjoern A. Zeeb #define B_AX_STATE_NXT_MASK GENMASK(13, 8) 32738e93258fSBjoern A. Zeeb #define B_AX_STATE_UPD BIT(7) 32748e93258fSBjoern A. Zeeb #define B_AX_STATE_SEL_MASK GENMASK(4, 0) 32758e93258fSBjoern A. Zeeb 32768e93258fSBjoern A. Zeeb #define R_AX_RMAC_ERR_ISR 0xCEF4 32778e93258fSBjoern A. Zeeb #define R_AX_RMAC_ERR_ISR_C1 0xEEF4 32788e93258fSBjoern A. Zeeb #define B_AX_RXERR_INTPS_EN BIT(31) 32798e93258fSBjoern A. Zeeb #define B_AX_RMAC_RX_CSI_TIMEOUT_INT_EN BIT(19) 32808e93258fSBjoern A. Zeeb #define B_AX_RMAC_RX_TIMEOUT_INT_EN BIT(18) 32818e93258fSBjoern A. Zeeb #define B_AX_RMAC_CSI_TIMEOUT_INT_EN BIT(17) 32828e93258fSBjoern A. Zeeb #define B_AX_RMAC_DATA_ON_TIMEOUT_INT_EN BIT(16) 32838e93258fSBjoern A. Zeeb #define B_AX_RMAC_CCA_TIMEOUT_INT_EN BIT(15) 32848e93258fSBjoern A. Zeeb #define B_AX_RMAC_DMA_TIMEOUT_INT_EN BIT(14) 32858e93258fSBjoern A. Zeeb #define B_AX_RMAC_DATA_ON_TO_IDLE_TIMEOUT_INT_EN BIT(13) 32868e93258fSBjoern A. Zeeb #define B_AX_RMAC_CCA_TO_IDLE_TIMEOUT_INT_EN BIT(12) 32878e93258fSBjoern A. Zeeb #define B_AX_RMAC_RX_CSI_TIMEOUT_FLAG BIT(7) 32888e93258fSBjoern A. Zeeb #define B_AX_RMAC_RX_TIMEOUT_FLAG BIT(6) 32898e93258fSBjoern A. Zeeb #define B_AX_BMAC_CSI_TIMEOUT_FLAG BIT(5) 32908e93258fSBjoern A. Zeeb #define B_AX_BMAC_DATA_ON_TIMEOUT_FLAG BIT(4) 32918e93258fSBjoern A. Zeeb #define B_AX_BMAC_CCA_TIMEOUT_FLAG BIT(3) 32928e93258fSBjoern A. Zeeb #define B_AX_BMAC_DMA_TIMEOUT_FLAG BIT(2) 32938e93258fSBjoern A. Zeeb #define B_AX_BMAC_DATA_ON_TO_IDLE_TIMEOUT_FLAG BIT(1) 32948e93258fSBjoern A. Zeeb #define B_AX_BMAC_CCA_TO_IDLE_TIMEOUT_FLAG BIT(0) 32958e93258fSBjoern A. Zeeb #define B_AX_RMAC_IMR_CLR (B_AX_RMAC_CCA_TO_IDLE_TIMEOUT_INT_EN | \ 32968e93258fSBjoern A. Zeeb B_AX_RMAC_DATA_ON_TO_IDLE_TIMEOUT_INT_EN | \ 32978e93258fSBjoern A. Zeeb B_AX_RMAC_DMA_TIMEOUT_INT_EN | \ 32988e93258fSBjoern A. Zeeb B_AX_RMAC_CCA_TIMEOUT_INT_EN | \ 32998e93258fSBjoern A. Zeeb B_AX_RMAC_DATA_ON_TIMEOUT_INT_EN | \ 33008e93258fSBjoern A. Zeeb B_AX_RMAC_CSI_TIMEOUT_INT_EN | \ 33018e93258fSBjoern A. Zeeb B_AX_RMAC_RX_TIMEOUT_INT_EN | \ 33028e93258fSBjoern A. Zeeb B_AX_RMAC_RX_CSI_TIMEOUT_INT_EN) 33038e93258fSBjoern A. Zeeb #define B_AX_RMAC_IMR_SET (B_AX_RMAC_DMA_TIMEOUT_INT_EN | \ 33048e93258fSBjoern A. Zeeb B_AX_RMAC_CSI_TIMEOUT_INT_EN | \ 33058e93258fSBjoern A. Zeeb B_AX_RMAC_RX_TIMEOUT_INT_EN | \ 33068e93258fSBjoern A. Zeeb B_AX_RMAC_RX_CSI_TIMEOUT_INT_EN) 33078e93258fSBjoern A. Zeeb 33088e93258fSBjoern A. Zeeb #define R_AX_RX_ERR_IMR 0xCEF8 33098e93258fSBjoern A. Zeeb #define R_AX_RX_ERR_IMR_C1 0xEEF8 33108e93258fSBjoern A. Zeeb #define B_AX_RX_ERR_TRIG_ACT_TO_MSK BIT(9) 33118e93258fSBjoern A. Zeeb #define B_AX_RX_ERR_STS_ACT_TO_MSK BIT(8) 33128e93258fSBjoern A. Zeeb #define B_AX_RX_ERR_CSI_ACT_TO_MSK BIT(7) 33138e93258fSBjoern A. Zeeb #define B_AX_RX_ERR_ACT_TO_MSK BIT(6) 33148e93258fSBjoern A. Zeeb #define B_AX_CSI_DATAON_ASSERT_TO_MSK BIT(5) 33158e93258fSBjoern A. Zeeb #define B_AX_DATAON_ASSERT_TO_MSK BIT(4) 33168e93258fSBjoern A. Zeeb #define B_AX_CCA_ASSERT_TO_MSK BIT(3) 33178e93258fSBjoern A. Zeeb #define B_AX_RX_ERR_DMA_TO_MSK BIT(2) 33188e93258fSBjoern A. Zeeb #define B_AX_RX_ERR_DATA_TO_MSK BIT(1) 33198e93258fSBjoern A. Zeeb #define B_AX_RX_ERR_CCA_TO_MSK BIT(0) 33208e93258fSBjoern A. Zeeb #define B_AX_RMAC_IMR_CLR_V1 (B_AX_RX_ERR_CCA_TO_MSK | \ 33218e93258fSBjoern A. Zeeb B_AX_RX_ERR_DATA_TO_MSK | \ 33228e93258fSBjoern A. Zeeb B_AX_RX_ERR_DMA_TO_MSK | \ 33238e93258fSBjoern A. Zeeb B_AX_CCA_ASSERT_TO_MSK | \ 33248e93258fSBjoern A. Zeeb B_AX_DATAON_ASSERT_TO_MSK | \ 33258e93258fSBjoern A. Zeeb B_AX_CSI_DATAON_ASSERT_TO_MSK | \ 33268e93258fSBjoern A. Zeeb B_AX_RX_ERR_ACT_TO_MSK | \ 33278e93258fSBjoern A. Zeeb B_AX_RX_ERR_CSI_ACT_TO_MSK | \ 33288e93258fSBjoern A. Zeeb B_AX_RX_ERR_STS_ACT_TO_MSK | \ 33298e93258fSBjoern A. Zeeb B_AX_RX_ERR_TRIG_ACT_TO_MSK) 33308e93258fSBjoern A. Zeeb #define B_AX_RMAC_IMR_SET_V1 (B_AX_RX_ERR_CCA_TO_MSK | \ 33318e93258fSBjoern A. Zeeb B_AX_RX_ERR_DATA_TO_MSK | \ 33328e93258fSBjoern A. Zeeb B_AX_RX_ERR_DMA_TO_MSK | \ 33338e93258fSBjoern A. Zeeb B_AX_CCA_ASSERT_TO_MSK | \ 33348e93258fSBjoern A. Zeeb B_AX_DATAON_ASSERT_TO_MSK | \ 33358e93258fSBjoern A. Zeeb B_AX_CSI_DATAON_ASSERT_TO_MSK | \ 33368e93258fSBjoern A. Zeeb B_AX_RX_ERR_ACT_TO_MSK | \ 33378e93258fSBjoern A. Zeeb B_AX_RX_ERR_CSI_ACT_TO_MSK | \ 33388e93258fSBjoern A. Zeeb B_AX_RX_ERR_STS_ACT_TO_MSK | \ 33398e93258fSBjoern A. Zeeb B_AX_RX_ERR_TRIG_ACT_TO_MSK) 33408e93258fSBjoern A. Zeeb 33418e93258fSBjoern A. Zeeb #define R_AX_RMAC_PLCP_MON 0xCEF8 33428e93258fSBjoern A. Zeeb #define R_AX_RMAC_PLCP_MON_C1 0xEEF8 33438e93258fSBjoern A. Zeeb #define B_AX_RMAC_PLCP_MON_MASK GENMASK(31, 0) 33448e93258fSBjoern A. Zeeb #define B_AX_PCLP_MON_SEL_MASK GENMASK(31, 28) 33458e93258fSBjoern A. Zeeb #define B_AX_PCLP_MON_CONT_MASK GENMASK(27, 0) 33468e93258fSBjoern A. Zeeb 33478e93258fSBjoern A. Zeeb #define R_AX_RX_DEBUG_SELECT 0xCEFC 33488e93258fSBjoern A. Zeeb #define R_AX_RX_DEBUG_SELECT_C1 0xEEFC 33498e93258fSBjoern A. Zeeb #define B_AX_DEBUG_SEL_MASK GENMASK(7, 0) 33508e93258fSBjoern A. Zeeb 33518e93258fSBjoern A. Zeeb #define R_AX_PWR_RATE_CTRL 0xD200 33528e93258fSBjoern A. Zeeb #define R_AX_PWR_RATE_CTRL_C1 0xF200 3353e2340276SBjoern A. Zeeb #define B_AX_PWR_REF GENMASK(27, 10) 33548e93258fSBjoern A. Zeeb #define B_AX_FORCE_PWR_BY_RATE_EN BIT(9) 33558e93258fSBjoern A. Zeeb #define B_AX_FORCE_PWR_BY_RATE_VALUE_MASK GENMASK(8, 0) 33568e93258fSBjoern A. Zeeb 33578e93258fSBjoern A. Zeeb #define R_AX_PWR_RATE_OFST_CTRL 0xD204 33588e93258fSBjoern A. Zeeb #define R_AX_PWR_COEXT_CTRL 0xD220 33598e93258fSBjoern A. Zeeb #define B_AX_TXAGC_BT_EN BIT(1) 33608e93258fSBjoern A. Zeeb #define B_AX_TXAGC_BT_MASK GENMASK(11, 3) 33618e93258fSBjoern A. Zeeb 3362e2340276SBjoern A. Zeeb #define R_AX_PWR_SWING_OTHER_CTRL0 0xD230 3363e2340276SBjoern A. Zeeb #define R_AX_PWR_SWING_OTHER_CTRL0_C1 0xF230 3364e2340276SBjoern A. Zeeb #define B_AX_CFIR_BY_RATE_OFF_MASK GENMASK(17, 0) 3365e2340276SBjoern A. Zeeb 33668e93258fSBjoern A. Zeeb #define R_AX_PWR_UL_CTRL0 0xD240 33678e93258fSBjoern A. Zeeb #define R_AX_PWR_UL_CTRL2 0xD248 33688e93258fSBjoern A. Zeeb #define B_AX_PWR_UL_CFO_MASK GENMASK(2, 0) 33698e93258fSBjoern A. Zeeb #define B_AX_PWR_UL_CTRL2_MASK 0x07700007 3370e2340276SBjoern A. Zeeb 3371e2340276SBjoern A. Zeeb #define R_AX_PWR_NORM_FORCE1 0xD260 3372e2340276SBjoern A. Zeeb #define R_AX_PWR_NORM_FORCE1_C1 0xF260 3373e2340276SBjoern A. Zeeb #define B_AX_TXAGC_BF_PWR_BOOST_FORCE_VAL_EN BIT(29) 3374e2340276SBjoern A. Zeeb #define B_AX_TXAGC_BF_PWR_BOOST_FORCE_VAL_MASK GENMASK(28, 24) 3375e2340276SBjoern A. Zeeb #define B_AX_FORCE_HE_ER_SU_EN_EN BIT(23) 3376e2340276SBjoern A. Zeeb #define B_AX_FORCE_HE_ER_SU_EN_VALUE BIT(22) 3377e2340276SBjoern A. Zeeb #define B_AX_FORCE_MACID_CCA_TH_EN_EN BIT(21) 3378e2340276SBjoern A. Zeeb #define B_AX_FORCE_MACID_CCA_TH_EN_VALUE BIT(20) 3379e2340276SBjoern A. Zeeb #define B_AX_FORCE_BT_GRANT_EN BIT(19) 3380e2340276SBjoern A. Zeeb #define B_AX_FORCE_BT_GRANT_VALUE BIT(18) 3381e2340276SBjoern A. Zeeb #define B_AX_FORCE_RX_LTE_EN BIT(17) 3382e2340276SBjoern A. Zeeb #define B_AX_FORCE_RX_LTE_VALUE BIT(16) 3383e2340276SBjoern A. Zeeb #define B_AX_FORCE_TXBF_EN_EN BIT(15) 3384e2340276SBjoern A. Zeeb #define B_AX_FORCE_TXBF_EN_VALUE BIT(14) 3385e2340276SBjoern A. Zeeb #define B_AX_FORCE_TXSC_EN BIT(13) 3386e2340276SBjoern A. Zeeb #define B_AX_FORCE_TXSC_VALUE_MASK GENMASK(12, 9) 3387e2340276SBjoern A. Zeeb #define B_AX_FORCE_NTX_EN BIT(6) 3388e2340276SBjoern A. Zeeb #define B_AX_FORCE_NTX_VALUE BIT(5) 3389e2340276SBjoern A. Zeeb #define B_AX_FORCE_PWR_MODE_EN BIT(3) 3390e2340276SBjoern A. Zeeb #define B_AX_FORCE_PWR_MODE_VALUE_MASK GENMASK(2, 0) 3391e2340276SBjoern A. Zeeb 33928e93258fSBjoern A. Zeeb #define R_AX_PWR_UL_TB_CTRL 0xD288 33938e93258fSBjoern A. Zeeb #define B_AX_PWR_UL_TB_CTRL_EN BIT(31) 33948e93258fSBjoern A. Zeeb #define R_AX_PWR_UL_TB_1T 0xD28C 33958e93258fSBjoern A. Zeeb #define B_AX_PWR_UL_TB_1T_MASK GENMASK(4, 0) 33968e93258fSBjoern A. Zeeb #define B_AX_PWR_UL_TB_1T_V1_MASK GENMASK(7, 0) 3397*6d67aabdSBjoern A. Zeeb #define B_AX_PWR_UL_TB_1T_NORM_BW160 GENMASK(31, 24) 33988e93258fSBjoern A. Zeeb #define R_AX_PWR_UL_TB_2T 0xD290 33998e93258fSBjoern A. Zeeb #define B_AX_PWR_UL_TB_2T_MASK GENMASK(4, 0) 34008e93258fSBjoern A. Zeeb #define B_AX_PWR_UL_TB_2T_V1_MASK GENMASK(7, 0) 3401*6d67aabdSBjoern A. Zeeb #define B_AX_PWR_UL_TB_2T_NORM_BW160 GENMASK(31, 24) 34028e93258fSBjoern A. Zeeb #define R_AX_PWR_BY_RATE_TABLE0 0xD2C0 3403e2340276SBjoern A. Zeeb #define R_AX_PWR_BY_RATE_TABLE6 0xD2D8 34048e93258fSBjoern A. Zeeb #define R_AX_PWR_BY_RATE_TABLE10 0xD2E8 34058e93258fSBjoern A. Zeeb #define R_AX_PWR_BY_RATE R_AX_PWR_BY_RATE_TABLE0 3406e2340276SBjoern A. Zeeb #define R_AX_PWR_BY_RATE_1SS_MAX R_AX_PWR_BY_RATE_TABLE6 34078e93258fSBjoern A. Zeeb #define R_AX_PWR_BY_RATE_MAX R_AX_PWR_BY_RATE_TABLE10 34088e93258fSBjoern A. Zeeb #define R_AX_PWR_LMT_TABLE0 0xD2EC 3409e2340276SBjoern A. Zeeb #define R_AX_PWR_LMT_TABLE9 0xD310 34108e93258fSBjoern A. Zeeb #define R_AX_PWR_LMT_TABLE19 0xD338 34118e93258fSBjoern A. Zeeb #define R_AX_PWR_LMT R_AX_PWR_LMT_TABLE0 3412e2340276SBjoern A. Zeeb #define R_AX_PWR_LMT_1SS_MAX R_AX_PWR_LMT_TABLE9 34138e93258fSBjoern A. Zeeb #define R_AX_PWR_LMT_MAX R_AX_PWR_LMT_TABLE19 34148e93258fSBjoern A. Zeeb #define R_AX_PWR_RU_LMT_TABLE0 0xD33C 3415e2340276SBjoern A. Zeeb #define R_AX_PWR_RU_LMT_TABLE5 0xD350 34168e93258fSBjoern A. Zeeb #define R_AX_PWR_RU_LMT_TABLE11 0xD368 34178e93258fSBjoern A. Zeeb #define R_AX_PWR_RU_LMT R_AX_PWR_RU_LMT_TABLE0 3418e2340276SBjoern A. Zeeb #define R_AX_PWR_RU_LMT_1SS_MAX R_AX_PWR_RU_LMT_TABLE5 34198e93258fSBjoern A. Zeeb #define R_AX_PWR_RU_LMT_MAX R_AX_PWR_RU_LMT_TABLE11 34208e93258fSBjoern A. Zeeb #define R_AX_PWR_MACID_LMT_TABLE0 0xD36C 34218e93258fSBjoern A. Zeeb #define R_AX_PWR_MACID_LMT_TABLE127 0xD568 34228e93258fSBjoern A. Zeeb 34238e93258fSBjoern A. Zeeb #define R_AX_PATH_COM0 0xD800 34248e93258fSBjoern A. Zeeb #define AX_PATH_COM0_DFVAL 0x00000000 3425e2340276SBjoern A. Zeeb #define AX_PATH_COM0_PATHA 0x08889880 3426e2340276SBjoern A. Zeeb #define AX_PATH_COM0_PATHB 0x11111900 34278e93258fSBjoern A. Zeeb #define AX_PATH_COM0_PATHAB 0x19999980 34288e93258fSBjoern A. Zeeb #define R_AX_PATH_COM1 0xD804 3429*6d67aabdSBjoern A. Zeeb #define B_AX_PATH_COM1_NORM_1STS GENMASK(31, 28) 34308e93258fSBjoern A. Zeeb #define AX_PATH_COM1_DFVAL 0x00000000 3431e2340276SBjoern A. Zeeb #define AX_PATH_COM1_PATHA 0x13111111 3432e2340276SBjoern A. Zeeb #define AX_PATH_COM1_PATHB 0x23222222 34338e93258fSBjoern A. Zeeb #define AX_PATH_COM1_PATHAB 0x33333333 34348e93258fSBjoern A. Zeeb #define R_AX_PATH_COM2 0xD808 3435*6d67aabdSBjoern A. Zeeb #define B_AX_PATH_COM2_RESP_1STS_PATH GENMASK(7, 4) 34368e93258fSBjoern A. Zeeb #define AX_PATH_COM2_DFVAL 0x00000000 3437e2340276SBjoern A. Zeeb #define AX_PATH_COM2_PATHA 0x01209313 3438e2340276SBjoern A. Zeeb #define AX_PATH_COM2_PATHB 0x01209323 34398e93258fSBjoern A. Zeeb #define AX_PATH_COM2_PATHAB 0x01209333 34408e93258fSBjoern A. Zeeb #define R_AX_PATH_COM3 0xD80C 34418e93258fSBjoern A. Zeeb #define AX_PATH_COM3_DFVAL 0x49249249 34428e93258fSBjoern A. Zeeb #define R_AX_PATH_COM4 0xD810 34438e93258fSBjoern A. Zeeb #define AX_PATH_COM4_DFVAL 0x1C9C9C49 34448e93258fSBjoern A. Zeeb #define R_AX_PATH_COM5 0xD814 34458e93258fSBjoern A. Zeeb #define AX_PATH_COM5_DFVAL 0x39393939 34468e93258fSBjoern A. Zeeb #define R_AX_PATH_COM6 0xD818 34478e93258fSBjoern A. Zeeb #define AX_PATH_COM6_DFVAL 0x39393939 34488e93258fSBjoern A. Zeeb #define R_AX_PATH_COM7 0xD81C 34498e93258fSBjoern A. Zeeb #define AX_PATH_COM7_DFVAL 0x39393939 34508e93258fSBjoern A. Zeeb #define AX_PATH_COM7_PATHA 0x39393939 34518e93258fSBjoern A. Zeeb #define AX_PATH_COM7_PATHB 0x39383939 34528e93258fSBjoern A. Zeeb #define AX_PATH_COM7_PATHAB 0x39393939 34538e93258fSBjoern A. Zeeb #define R_AX_PATH_COM8 0xD820 34548e93258fSBjoern A. Zeeb #define AX_PATH_COM8_DFVAL 0x00000000 34558e93258fSBjoern A. Zeeb #define AX_PATH_COM8_PATHA 0x00003939 34568e93258fSBjoern A. Zeeb #define AX_PATH_COM8_PATHB 0x00003938 34578e93258fSBjoern A. Zeeb #define AX_PATH_COM8_PATHAB 0x00003939 34588e93258fSBjoern A. Zeeb #define R_AX_PATH_COM9 0xD824 34598e93258fSBjoern A. Zeeb #define AX_PATH_COM9_DFVAL 0x000007C0 34608e93258fSBjoern A. Zeeb #define R_AX_PATH_COM10 0xD828 34618e93258fSBjoern A. Zeeb #define AX_PATH_COM10_DFVAL 0xE0000000 34628e93258fSBjoern A. Zeeb #define R_AX_PATH_COM11 0xD82C 34638e93258fSBjoern A. Zeeb #define AX_PATH_COM11_DFVAL 0x00000000 34648e93258fSBjoern A. Zeeb #define R_P80_AT_HIGH_FREQ_BB_WRP 0xD848 34658e93258fSBjoern A. Zeeb #define B_P80_AT_HIGH_FREQ_BB_WRP BIT(28) 34668e93258fSBjoern A. Zeeb #define R_AX_TSSI_CTRL_HEAD 0xD908 34678e93258fSBjoern A. Zeeb #define R_AX_BANDEDGE_CFG 0xD94C 34688e93258fSBjoern A. Zeeb #define B_AX_BANDEDGE_CFG_IDX_MASK GENMASK(31, 30) 34698e93258fSBjoern A. Zeeb #define R_AX_TSSI_CTRL_TAIL 0xD95C 34708e93258fSBjoern A. Zeeb 34718e93258fSBjoern A. Zeeb #define R_AX_TXPWR_IMR 0xD9E0 34728e93258fSBjoern A. Zeeb #define R_AX_TXPWR_IMR_C1 0xF9E0 34738e93258fSBjoern A. Zeeb #define R_AX_TXPWR_ISR 0xD9E4 34748e93258fSBjoern A. Zeeb #define R_AX_TXPWR_ISR_C1 0xF9E4 34758e93258fSBjoern A. Zeeb 34768e93258fSBjoern A. Zeeb #define R_AX_BTC_CFG 0xDA00 34778e93258fSBjoern A. Zeeb #define B_AX_BTC_EN BIT(31) 34788e93258fSBjoern A. Zeeb #define B_AX_EN_EXT_BT_PINMUX BIT(29) 34798e93258fSBjoern A. Zeeb #define B_AX_BTC_RST BIT(28) 34808e93258fSBjoern A. Zeeb #define B_AX_BTC_DBG_SRC_SEL BIT(27) 34818e93258fSBjoern A. Zeeb #define B_AX_BTC_MODE_MASK GENMASK(25, 24) 34828e93258fSBjoern A. Zeeb #define B_AX_INV_WL_ACT2 BIT(17) 34838e93258fSBjoern A. Zeeb #define B_AX_BTG_LNA1_GAIN_SEL BIT(16) 34848e93258fSBjoern A. Zeeb #define B_AX_COEX_DLY_CLK_MASK GENMASK(15, 8) 34858e93258fSBjoern A. Zeeb #define B_AX_IGN_GNT_BT2_RX BIT(7) 34868e93258fSBjoern A. Zeeb #define B_AX_IGN_GNT_BT2_TX BIT(6) 34878e93258fSBjoern A. Zeeb #define B_AX_IGN_GNT_BT2 BIT(5) 34888e93258fSBjoern A. Zeeb #define B_AX_BTC_DBG_SEL_MASK GENMASK(4, 3) 34898e93258fSBjoern A. Zeeb #define B_AX_DIS_BTC_CLK_G BIT(2) 34908e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_RX_CTRL BIT(1) 34918e93258fSBjoern A. Zeeb #define B_AX_WL_SRC BIT(0) 34928e93258fSBjoern A. Zeeb 34938e93258fSBjoern A. Zeeb #define R_AX_RTK_MODE_CFG_V1 0xDA04 34948e93258fSBjoern A. Zeeb #define R_AX_RTK_MODE_CFG_V1_C1 0xFA04 34958e93258fSBjoern A. Zeeb #define B_AX_BT_BLE_EN_V1 BIT(24) 34968e93258fSBjoern A. Zeeb #define B_AX_BT_ULTRA_EN BIT(16) 34978e93258fSBjoern A. Zeeb #define B_AX_BT_L_RX_ULTRA_MASK GENMASK(15, 14) 34988e93258fSBjoern A. Zeeb #define B_AX_BT_L_TX_ULTRA_MASK GENMASK(13, 12) 34998e93258fSBjoern A. Zeeb #define B_AX_BT_H_RX_ULTRA_MASK GENMASK(11, 10) 35008e93258fSBjoern A. Zeeb #define B_AX_BT_H_TX_ULTRA_MASK GENMASK(9, 8) 35018e93258fSBjoern A. Zeeb #define B_AX_SAMPLE_CLK_MASK GENMASK(7, 0) 35028e93258fSBjoern A. Zeeb 35038e93258fSBjoern A. Zeeb #define R_AX_WL_PRI_MSK 0xDA10 35048e93258fSBjoern A. Zeeb #define B_AX_PTA_WL_PRI_MASK_BCNQ BIT(8) 35058e93258fSBjoern A. Zeeb 35068e93258fSBjoern A. Zeeb #define R_AX_BT_CNT_CFG 0xDA10 35078e93258fSBjoern A. Zeeb #define R_AX_BT_CNT_CFG_C1 0xFA10 35088e93258fSBjoern A. Zeeb #define B_AX_BT_CNT_RST_V1 BIT(1) 35098e93258fSBjoern A. Zeeb #define B_AX_BT_CNT_EN BIT(0) 35108e93258fSBjoern A. Zeeb 35118e93258fSBjoern A. Zeeb #define R_BTC_BT_CNT_HIGH 0xDA14 35128e93258fSBjoern A. Zeeb #define R_BTC_BT_CNT_LOW 0xDA18 35138e93258fSBjoern A. Zeeb 35148e93258fSBjoern A. Zeeb #define R_AX_BTC_FUNC_EN 0xDA20 35158e93258fSBjoern A. Zeeb #define R_AX_BTC_FUNC_EN_C1 0xFA20 35168e93258fSBjoern A. Zeeb #define B_AX_PTA_WL_TX_EN BIT(1) 35178e93258fSBjoern A. Zeeb #define B_AX_PTA_EDCCA_EN BIT(0) 35188e93258fSBjoern A. Zeeb 35198e93258fSBjoern A. Zeeb #define R_BTC_COEX_WL_REQ 0xDA24 3520*6d67aabdSBjoern A. Zeeb #define R_BTC_COEX_WL_REQ_BE 0xE324 3521*6d67aabdSBjoern A. Zeeb #define B_BTC_TX_NULL_HI BIT(23) 35228e93258fSBjoern A. Zeeb #define B_BTC_TX_BCN_HI BIT(22) 3523*6d67aabdSBjoern A. Zeeb #define B_BTC_TX_TRI_HI BIT(17) 35248e93258fSBjoern A. Zeeb #define B_BTC_RSP_ACK_HI BIT(10) 3525*6d67aabdSBjoern A. Zeeb #define B_BTC_PRI_MASK_TX_TIME GENMASK(4, 3) 3526*6d67aabdSBjoern A. Zeeb #define B_BTC_PRI_MASK_RX_TIME_V1 GENMASK(2, 1) 35278e93258fSBjoern A. Zeeb 35288e93258fSBjoern A. Zeeb #define R_BTC_BREAK_TABLE 0xDA2C 35298e93258fSBjoern A. Zeeb #define BTC_BREAK_PARAM 0xf0ffffff 35308e93258fSBjoern A. Zeeb 35318e93258fSBjoern A. Zeeb #define R_BTC_BT_COEX_MSK_TABLE 0xDA30 3532e2340276SBjoern A. Zeeb #define B_BTC_PRI_MASK_RXCCK_V1 BIT(28) 35338e93258fSBjoern A. Zeeb #define B_BTC_PRI_MASK_TX_RESP_V1 BIT(3) 35348e93258fSBjoern A. Zeeb 35358e93258fSBjoern A. Zeeb #define R_AX_BT_COEX_CFG_2 0xDA34 35368e93258fSBjoern A. Zeeb #define R_AX_BT_COEX_CFG_2_C1 0xFA34 35378e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_BYPASS_PRIORITY BIT(12) 35388e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_POLARITY BIT(8) 35398e93258fSBjoern A. Zeeb #define B_AX_TIMER_MASK GENMASK(7, 0) 35408e93258fSBjoern A. Zeeb #define MAC_AX_CSR_RATE 80 35418e93258fSBjoern A. Zeeb 35428e93258fSBjoern A. Zeeb #define R_AX_CSR_MODE 0xDA40 35438e93258fSBjoern A. Zeeb #define R_AX_CSR_MODE_C1 0xFA40 35448e93258fSBjoern A. Zeeb #define B_AX_BT_CNT_RST BIT(16) 35458e93258fSBjoern A. Zeeb #define B_AX_BT_STAT_DELAY_MASK GENMASK(15, 12) 35468e93258fSBjoern A. Zeeb #define MAC_AX_CSR_DELAY 0 35478e93258fSBjoern A. Zeeb #define B_AX_BT_TRX_INIT_DETECT_MASK GENMASK(11, 8) 35488e93258fSBjoern A. Zeeb #define MAC_AX_CSR_TRX_TO 4 35498e93258fSBjoern A. Zeeb #define B_AX_BT_PRI_DETECT_TO_MASK GENMASK(7, 4) 35508e93258fSBjoern A. Zeeb #define MAC_AX_CSR_PRI_TO 5 35518e93258fSBjoern A. Zeeb #define B_AX_WL_ACT_MSK BIT(3) 35528e93258fSBjoern A. Zeeb #define B_AX_STATIS_BT_EN BIT(2) 35538e93258fSBjoern A. Zeeb #define B_AX_WL_ACT_MASK_ENABLE BIT(1) 35548e93258fSBjoern A. Zeeb #define B_AX_ENHANCED_BT BIT(0) 35558e93258fSBjoern A. Zeeb 35568e93258fSBjoern A. Zeeb #define R_AX_BT_BREAK_TABLE 0xDA44 35578e93258fSBjoern A. Zeeb 35588e93258fSBjoern A. Zeeb #define R_AX_BT_STAST_HIGH 0xDA44 35598e93258fSBjoern A. Zeeb #define B_AX_STATIS_BT_HI_RX_MASK GENMASK(31, 16) 35608e93258fSBjoern A. Zeeb #define B_AX_STATIS_BT_HI_TX_MASK GENMASK(15, 0) 35618e93258fSBjoern A. Zeeb #define R_AX_BT_STAST_LOW 0xDA48 35628e93258fSBjoern A. Zeeb #define B_AX_STATIS_BT_LO_TX_1_MASK GENMASK(15, 0) 35638e93258fSBjoern A. Zeeb #define B_AX_STATIS_BT_LO_RX_1_MASK GENMASK(31, 16) 35648e93258fSBjoern A. Zeeb 35658e93258fSBjoern A. Zeeb #define R_AX_GNT_SW_CTRL 0xDA48 35668e93258fSBjoern A. Zeeb #define R_AX_GNT_SW_CTRL_C1 0xFA48 35678e93258fSBjoern A. Zeeb #define B_AX_WL_ACT2_VAL BIT(21) 35688e93258fSBjoern A. Zeeb #define B_AX_WL_ACT2_SWCTRL BIT(20) 35698e93258fSBjoern A. Zeeb #define B_AX_WL_ACT_VAL BIT(19) 35708e93258fSBjoern A. Zeeb #define B_AX_WL_ACT_SWCTRL BIT(18) 35718e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_RX_VAL BIT(17) 35728e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_RX_SWCTRL BIT(16) 35738e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_TX_VAL BIT(15) 35748e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_TX_SWCTRL BIT(14) 35758e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_RX_VAL BIT(13) 35768e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_RX_SWCTRL BIT(12) 35778e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_TX_VAL BIT(11) 35788e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_TX_SWCTRL BIT(10) 35798e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_RFC_S1_VAL BIT(9) 35808e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_RFC_S1_SWCTRL BIT(8) 35818e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_RFC_S1_VAL BIT(7) 35828e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_RFC_S1_SWCTRL BIT(6) 35838e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_RFC_S0_VAL BIT(5) 35848e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_RFC_S0_SWCTRL BIT(4) 35858e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_RFC_S0_VAL BIT(3) 35868e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_RFC_S0_SWCTRL BIT(2) 35878e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_BB_VAL BIT(1) 35888e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_BB_SWCTRL BIT(0) 35898e93258fSBjoern A. Zeeb 3590e2340276SBjoern A. Zeeb #define R_AX_GNT_VAL 0x0054 3591e2340276SBjoern A. Zeeb #define B_AX_GNT_BT_RFC_S1_STA BIT(5) 3592e2340276SBjoern A. Zeeb #define B_AX_GNT_WL_RFC_S1_STA BIT(4) 3593e2340276SBjoern A. Zeeb #define B_AX_GNT_BT_RFC_S0_STA BIT(3) 3594e2340276SBjoern A. Zeeb #define B_AX_GNT_WL_RFC_S0_STA BIT(2) 3595e2340276SBjoern A. Zeeb 3596e2340276SBjoern A. Zeeb #define R_AX_GNT_VAL_V1 0xDA4C 3597e2340276SBjoern A. Zeeb #define B_AX_GNT_BT_RFC_S1 BIT(4) 3598e2340276SBjoern A. Zeeb #define B_AX_GNT_BT_RFC_S0 BIT(3) 3599e2340276SBjoern A. Zeeb #define B_AX_GNT_WL_RFC_S1 BIT(2) 3600e2340276SBjoern A. Zeeb #define B_AX_GNT_WL_RFC_S0 BIT(1) 3601e2340276SBjoern A. Zeeb 36028e93258fSBjoern A. Zeeb #define R_AX_TDMA_MODE 0xDA4C 36038e93258fSBjoern A. Zeeb #define R_AX_TDMA_MODE_C1 0xFA4C 36048e93258fSBjoern A. Zeeb #define B_AX_R_BT_CMD_RPT_MASK GENMASK(31, 16) 36058e93258fSBjoern A. Zeeb #define B_AX_R_RPT_FROM_BT_MASK GENMASK(15, 8) 36068e93258fSBjoern A. Zeeb #define B_AX_BT_HID_ISR_SET_MASK GENMASK(7, 6) 36078e93258fSBjoern A. Zeeb #define B_AX_TDMA_BT_START_NOTIFY BIT(5) 36088e93258fSBjoern A. Zeeb #define B_AX_ENABLE_TDMA_FW_MODE BIT(4) 36098e93258fSBjoern A. Zeeb #define B_AX_ENABLE_PTA_TDMA_MODE BIT(3) 36108e93258fSBjoern A. Zeeb #define B_AX_ENABLE_COEXIST_TAB_IN_TDMA BIT(2) 36118e93258fSBjoern A. Zeeb #define B_AX_GPIO2_GPIO3_EXANGE_OR_NO_BT_CCA BIT(1) 36128e93258fSBjoern A. Zeeb #define B_AX_RTK_BT_ENABLE BIT(0) 36138e93258fSBjoern A. Zeeb 36148e93258fSBjoern A. Zeeb #define R_AX_BT_COEX_CFG_5 0xDA6C 36158e93258fSBjoern A. Zeeb #define R_AX_BT_COEX_CFG_5_C1 0xFA6C 36168e93258fSBjoern A. Zeeb #define B_AX_BT_TIME_MASK GENMASK(31, 6) 36178e93258fSBjoern A. Zeeb #define B_AX_BT_RPT_SAMPLE_RATE_MASK GENMASK(5, 0) 36188e93258fSBjoern A. Zeeb #define MAC_AX_RTK_RATE 5 36198e93258fSBjoern A. Zeeb 36208e93258fSBjoern A. Zeeb #define R_AX_LTE_CTRL 0xDAF0 36218e93258fSBjoern A. Zeeb #define R_AX_LTE_WDATA 0xDAF4 36228e93258fSBjoern A. Zeeb #define R_AX_LTE_RDATA 0xDAF8 36238e93258fSBjoern A. Zeeb 36248e93258fSBjoern A. Zeeb #define R_AX_MACID_ANT_TABLE 0xDC00 36258e93258fSBjoern A. Zeeb #define R_AX_MACID_ANT_TABLE_LAST 0xDDFC 36268e93258fSBjoern A. Zeeb 3627*6d67aabdSBjoern A. Zeeb #define CMAC1_START_ADDR_AX 0xE000 3628*6d67aabdSBjoern A. Zeeb #define CMAC1_END_ADDR_AX 0xFFFF 36298e93258fSBjoern A. Zeeb #define R_AX_CMAC_REG_END 0xFFFF 36308e93258fSBjoern A. Zeeb 36318e93258fSBjoern A. Zeeb #define R_AX_LTE_SW_CFG_1 0x0038 36328e93258fSBjoern A. Zeeb #define R_AX_LTE_SW_CFG_1_C1 0x2038 36338e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_RFC_S1_SW_VAL BIT(31) 36348e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_RFC_S1_SW_CTRL BIT(30) 36358e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_RFC_S1_SW_VAL BIT(29) 36368e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_RFC_S1_SW_CTRL BIT(28) 36378e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_BB_S1_SW_VAL BIT(27) 36388e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_BB_S1_SW_CTRL BIT(26) 36398e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_BB_S1_SW_VAL BIT(25) 36408e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_BB_S1_SW_CTRL BIT(24) 36418e93258fSBjoern A. Zeeb #define B_AX_BT_SW_CTRL_WL_PRIORITY BIT(19) 36428e93258fSBjoern A. Zeeb #define B_AX_WL_SW_CTRL_WL_PRIORITY BIT(18) 36438e93258fSBjoern A. Zeeb #define B_AX_LTE_PATTERN_2_EN BIT(17) 36448e93258fSBjoern A. Zeeb #define B_AX_LTE_PATTERN_1_EN BIT(16) 36458e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_RFC_S0_SW_VAL BIT(15) 36468e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_RFC_S0_SW_CTRL BIT(14) 36478e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_RFC_S0_SW_VAL BIT(13) 36488e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_RFC_S0_SW_CTRL BIT(12) 36498e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_BB_S0_SW_VAL BIT(11) 36508e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_BB_S0_SW_CTRL BIT(10) 36518e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_BB_S0_SW_VAL BIT(9) 36528e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_BB_S0_SW_CTRL BIT(8) 36538e93258fSBjoern A. Zeeb #define B_AX_LTECOEX_FUN_EN BIT(7) 36548e93258fSBjoern A. Zeeb #define B_AX_LTECOEX_3WIRE_CTRL_MUX BIT(6) 36558e93258fSBjoern A. Zeeb #define B_AX_LTECOEX_OP_MODE_SEL_MASK GENMASK(5, 4) 36568e93258fSBjoern A. Zeeb #define B_AX_LTECOEX_UART_MUX BIT(3) 36578e93258fSBjoern A. Zeeb #define B_AX_LTECOEX_UART_MODE_SEL_MASK GENMASK(2, 0) 36588e93258fSBjoern A. Zeeb 36598e93258fSBjoern A. Zeeb #define R_AX_LTE_SW_CFG_2 0x003C 36608e93258fSBjoern A. Zeeb #define R_AX_LTE_SW_CFG_2_C1 0x203C 36618e93258fSBjoern A. Zeeb #define B_AX_WL_RX_CTRL BIT(8) 36628e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_RX_SW_VAL BIT(7) 36638e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_RX_SW_CTRL BIT(6) 36648e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_TX_SW_VAL BIT(5) 36658e93258fSBjoern A. Zeeb #define B_AX_GNT_WL_TX_SW_CTRL BIT(4) 36668e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_RX_SW_VAL BIT(3) 36678e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_RX_SW_CTRL BIT(2) 36688e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_TX_SW_VAL BIT(1) 36698e93258fSBjoern A. Zeeb #define B_AX_GNT_BT_TX_SW_CTRL BIT(0) 36708e93258fSBjoern A. Zeeb 3671*6d67aabdSBjoern A. Zeeb #define R_BE_SYS_ISO_CTRL 0x0000 3672*6d67aabdSBjoern A. Zeeb #define B_BE_PWC_EV2EF_B BIT(15) 3673*6d67aabdSBjoern A. Zeeb #define B_BE_PWC_EV2EF_S BIT(14) 3674*6d67aabdSBjoern A. Zeeb #define B_BE_PA33V_EN BIT(13) 3675*6d67aabdSBjoern A. Zeeb #define B_BE_PA12V_EN BIT(12) 3676*6d67aabdSBjoern A. Zeeb #define B_BE_PAOOBS33V_EN BIT(11) 3677*6d67aabdSBjoern A. Zeeb #define B_BE_PAOOBS12V_EN BIT(10) 3678*6d67aabdSBjoern A. Zeeb #define B_BE_ISO_RFDIO BIT(9) 3679*6d67aabdSBjoern A. Zeeb #define B_BE_ISO_EB2CORE BIT(8) 3680*6d67aabdSBjoern A. Zeeb #define B_BE_ISO_DIOE BIT(7) 3681*6d67aabdSBjoern A. Zeeb #define B_BE_ISO_WLPON2PP BIT(6) 3682*6d67aabdSBjoern A. Zeeb #define B_BE_ISO_IP2MAC_WA02PP BIT(5) 3683*6d67aabdSBjoern A. Zeeb #define B_BE_ISO_PD2CORE BIT(4) 3684*6d67aabdSBjoern A. Zeeb #define B_BE_ISO_PA2PCIE BIT(3) 3685*6d67aabdSBjoern A. Zeeb #define B_BE_ISO_PAOOBS2PCIE BIT(1) 3686*6d67aabdSBjoern A. Zeeb #define B_BE_ISO_WD2PP BIT(0) 3687*6d67aabdSBjoern A. Zeeb 3688*6d67aabdSBjoern A. Zeeb #define R_BE_SYS_PW_CTRL 0x0004 3689*6d67aabdSBjoern A. Zeeb #define B_BE_SOP_ASWRM BIT(31) 3690*6d67aabdSBjoern A. Zeeb #define B_BE_SOP_EASWR BIT(30) 3691*6d67aabdSBjoern A. Zeeb #define B_BE_SOP_PWMM_DSWR BIT(29) 3692*6d67aabdSBjoern A. Zeeb #define B_BE_SOP_EDSWR BIT(28) 3693*6d67aabdSBjoern A. Zeeb #define B_BE_SOP_ACKF BIT(27) 3694*6d67aabdSBjoern A. Zeeb #define B_BE_SOP_ERCK BIT(26) 3695*6d67aabdSBjoern A. Zeeb #define B_BE_SOP_ANA_CLK_DIVISION_2 BIT(25) 3696*6d67aabdSBjoern A. Zeeb #define B_BE_SOP_EXTL BIT(24) 3697*6d67aabdSBjoern A. Zeeb #define B_BE_SOP_OFF_CAPC_EN BIT(23) 3698*6d67aabdSBjoern A. Zeeb #define B_BE_XTAL_OFF_A_DIE BIT(22) 3699*6d67aabdSBjoern A. Zeeb #define B_BE_ROP_SWPR BIT(21) 3700*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_HW_LPLDM BIT(20) 3701*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_HW_LPURLDO BIT(19) 3702*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_WLBT_PDNSUSEN_SOPC BIT(18) 3703*6d67aabdSBjoern A. Zeeb #define B_BE_RDY_SYSPWR BIT(17) 3704*6d67aabdSBjoern A. Zeeb #define B_BE_EN_WLON BIT(16) 3705*6d67aabdSBjoern A. Zeeb #define B_BE_APDM_HPDN BIT(15) 3706*6d67aabdSBjoern A. Zeeb #define B_BE_PSUS_OFF_CAPC_EN BIT(14) 3707*6d67aabdSBjoern A. Zeeb #define B_BE_AFSM_PCIE_SUS_EN BIT(12) 3708*6d67aabdSBjoern A. Zeeb #define B_BE_AFSM_WLSUS_EN BIT(11) 3709*6d67aabdSBjoern A. Zeeb #define B_BE_APFM_SWLPS BIT(10) 3710*6d67aabdSBjoern A. Zeeb #define B_BE_APFM_OFFMAC BIT(9) 3711*6d67aabdSBjoern A. Zeeb #define B_BE_APFN_ONMAC BIT(8) 3712*6d67aabdSBjoern A. Zeeb #define B_BE_CHIP_PDN_EN BIT(7) 3713*6d67aabdSBjoern A. Zeeb #define B_BE_RDY_MACDIS BIT(6) 3714*6d67aabdSBjoern A. Zeeb 3715*6d67aabdSBjoern A. Zeeb #define R_BE_SYS_CLK_CTRL 0x0008 3716*6d67aabdSBjoern A. Zeeb #define B_BE_CPU_CLK_EN BIT(14) 3717*6d67aabdSBjoern A. Zeeb #define B_BE_SYMR_BE_CLK_EN BIT(13) 3718*6d67aabdSBjoern A. Zeeb #define B_BE_MAC_CLK_EN BIT(11) 3719*6d67aabdSBjoern A. Zeeb #define B_BE_EXT_32K_EN BIT(8) 3720*6d67aabdSBjoern A. Zeeb #define B_BE_WL_CLK_TEST BIT(7) 3721*6d67aabdSBjoern A. Zeeb #define B_BE_LOADER_CLK_EN BIT(5) 3722*6d67aabdSBjoern A. Zeeb #define B_BE_ANA_CLK_DIVISION_2 BIT(1) 3723*6d67aabdSBjoern A. Zeeb #define B_BE_CNTD16V_EN BIT(0) 3724*6d67aabdSBjoern A. Zeeb 3725*6d67aabdSBjoern A. Zeeb #define R_BE_SYS_WL_EFUSE_CTRL 0x000A 3726*6d67aabdSBjoern A. Zeeb #define B_BE_OTP_B_PWC_RPT BIT(15) 3727*6d67aabdSBjoern A. Zeeb #define B_BE_OTP_S_PWC_RPT BIT(14) 3728*6d67aabdSBjoern A. Zeeb #define B_BE_OTP_ISO_RPT BIT(13) 3729*6d67aabdSBjoern A. Zeeb #define B_BE_OTP_BURST_RPT BIT(12) 3730*6d67aabdSBjoern A. Zeeb #define B_BE_OTP_AUTOLOAD_RPT BIT(11) 3731*6d67aabdSBjoern A. Zeeb #define B_BE_AUTOLOAD_DIS_A_DIE BIT(6) 3732*6d67aabdSBjoern A. Zeeb #define B_BE_AUTOLOAD_SUS BIT(5) 3733*6d67aabdSBjoern A. Zeeb #define B_BE_AUTOLOAD_DIS BIT(4) 3734*6d67aabdSBjoern A. Zeeb 3735*6d67aabdSBjoern A. Zeeb #define R_BE_SYS_PAGE_CLK_GATED 0x000C 3736*6d67aabdSBjoern A. Zeeb #define B_BE_USB_APHY_PC_DLP_OP BIT(27) 3737*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_APHY_PC_DLP_OP BIT(26) 3738*6d67aabdSBjoern A. Zeeb #define B_BE_UPHY_POWER_READY_CHK BIT(25) 3739*6d67aabdSBjoern A. Zeeb #define B_BE_CPHY_POWER_READY_CHK BIT(24) 3740*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_PRST_DEBUNC_PERIOD_MASK GENMASK(23, 22) 3741*6d67aabdSBjoern A. Zeeb #define B_BE_SYM_PRST_DEBUNC_SEL BIT(21) 3742*6d67aabdSBjoern A. Zeeb #define B_BE_CPHY_AUXCLK_OP BIT(20) 3743*6d67aabdSBjoern A. Zeeb #define B_BE_SOP_OFFUA_PC BIT(19) 3744*6d67aabdSBjoern A. Zeeb #define B_BE_SOP_OFFPOOBS_PC BIT(18) 3745*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_LAN1_MASK BIT(17) 3746*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_LAN0_MASK BIT(16) 3747*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CLK_REGF_GATE BIT(15) 3748*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CLK_REGE_GATE BIT(14) 3749*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CLK_REGD_GATE BIT(13) 3750*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CLK_REGC_GATE BIT(12) 3751*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CLK_REGB_GATE BIT(11) 3752*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CLK_REGA_GATE BIT(10) 3753*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CLK_REG9_GATE BIT(9) 3754*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CLK_REG8_GATE BIT(8) 3755*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CLK_REG7_GATE BIT(7) 3756*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CLK_REG6_GATE BIT(6) 3757*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CLK_REG5_GATE BIT(5) 3758*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CLK_REG4_GATE BIT(4) 3759*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CLK_REG3_GATE BIT(3) 3760*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CLK_REG2_GATE BIT(2) 3761*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CLK_REG1_GATE BIT(1) 3762*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CLK_REG0_GATE BIT(0) 3763*6d67aabdSBjoern A. Zeeb 3764*6d67aabdSBjoern A. Zeeb #define R_BE_ANAPAR_POW_MAC 0x0016 3765*6d67aabdSBjoern A. Zeeb #define B_BE_POW_PC_LDO_PORT1 BIT(3) 3766*6d67aabdSBjoern A. Zeeb #define B_BE_POW_PC_LDO_PORT0 BIT(2) 3767*6d67aabdSBjoern A. Zeeb #define B_BE_POW_PLL_V1 BIT(1) 3768*6d67aabdSBjoern A. Zeeb #define B_BE_POW_POWER_CUT_POW_LDO BIT(0) 3769*6d67aabdSBjoern A. Zeeb 3770*6d67aabdSBjoern A. Zeeb #define R_BE_SYS_ADIE_PAD_PWR_CTRL 0x0018 3771*6d67aabdSBjoern A. Zeeb #define B_BE_SYM_PADPDN_WL_RFC1_1P3 BIT(6) 3772*6d67aabdSBjoern A. Zeeb #define B_BE_SYM_PADPDN_WL_RFC0_1P3 BIT(5) 3773*6d67aabdSBjoern A. Zeeb 3774*6d67aabdSBjoern A. Zeeb #define R_BE_RSV_CTRL 0x001C 3775*6d67aabdSBjoern A. Zeeb #define B_BE_HR_BE_DBG GENMASK(23, 12) 3776*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_DIS_PCIE_FLR BIT(9) 3777*6d67aabdSBjoern A. Zeeb #define B_BE_R_EN_HRST_PWRON BIT(8) 3778*6d67aabdSBjoern A. Zeeb #define B_BE_LOCK_ALL_EN BIT(7) 3779*6d67aabdSBjoern A. Zeeb #define B_BE_R_DIS_PRST BIT(6) 3780*6d67aabdSBjoern A. Zeeb #define B_BE_WLOCK_1C_BIT6 BIT(5) 3781*6d67aabdSBjoern A. Zeeb #define B_BE_WLOCK_40 BIT(4) 3782*6d67aabdSBjoern A. Zeeb #define B_BE_WLOCK_08 BIT(3) 3783*6d67aabdSBjoern A. Zeeb #define B_BE_WLOCK_04 BIT(2) 3784*6d67aabdSBjoern A. Zeeb #define B_BE_WLOCK_00 BIT(1) 3785*6d67aabdSBjoern A. Zeeb #define B_BE_WLOCK_ALL BIT(0) 3786*6d67aabdSBjoern A. Zeeb 3787*6d67aabdSBjoern A. Zeeb #define R_BE_AFE_LDO_CTRL 0x0020 3788*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_MACBBBT_PWR_ON BIT(31) 3789*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLPOFF_P4_PC_EN BIT(28) 3790*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLPOFF_P3_PC_EN BIT(27) 3791*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLPOFF_P2_PC_EN BIT(26) 3792*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLPOFF_P1_PC_EN BIT(25) 3793*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLPOFF_PC_EN BIT(24) 3794*6d67aabdSBjoern A. Zeeb #define B_BE_AON_OFF_PC_EN BIT(23) 3795*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLPON_P3_PC_EN BIT(21) 3796*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLPON_P2_PC_EN BIT(20) 3797*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLPON_P1_PC_EN BIT(19) 3798*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLPON_PC_EN BIT(18) 3799*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLBBPON1_P1_PC_EN BIT(15) 3800*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLBBPON1_PC_EN BIT(14) 3801*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLBBPON_P1_PC_EN BIT(13) 3802*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLBBPON_PC_EN BIT(12) 3803*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_DIS_WPHYBBOFF_PC BIT(10) 3804*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLBBOFF1_P4_PC_EN BIT(9) 3805*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLBBOFF1_P3_PC_EN BIT(8) 3806*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLBBOFF1_P2_PC_EN BIT(7) 3807*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLBBOFF1_P1_PC_EN BIT(6) 3808*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLBBOFF1_PC_EN BIT(5) 3809*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLBBOFF_P4_PC_EN BIT(4) 3810*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLBBOFF_P3_PC_EN BIT(3) 3811*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLBBOFF_P2_PC_EN BIT(2) 3812*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLBBOFF_P1_PC_EN BIT(1) 3813*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLBBOFF_PC_EN BIT(0) 3814*6d67aabdSBjoern A. Zeeb 3815*6d67aabdSBjoern A. Zeeb #define R_BE_AFE_CTRL1 0x0024 3816*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLCMAC0_P4_PC_EN BIT(28) 3817*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLCMAC0_P3_PC_EN BIT(27) 3818*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLCMAC0_P2_PC_EN BIT(26) 3819*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLCMAC0_P1_PC_EN BIT(25) 3820*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLCMAC0_PC_EN BIT(24) 3821*6d67aabdSBjoern A. Zeeb #define B_BE_DATAMEM_PC3_EN BIT(23) 3822*6d67aabdSBjoern A. Zeeb #define B_BE_DATAMEM_PC2_EN BIT(22) 3823*6d67aabdSBjoern A. Zeeb #define B_BE_DATAMEM_PC1_EN BIT(21) 3824*6d67aabdSBjoern A. Zeeb #define B_BE_DATAMEM_PC_EN BIT(20) 3825*6d67aabdSBjoern A. Zeeb #define B_BE_DMEM7_PC_EN BIT(19) 3826*6d67aabdSBjoern A. Zeeb #define B_BE_DMEM6_PC_EN BIT(18) 3827*6d67aabdSBjoern A. Zeeb #define B_BE_DMEM5_PC_EN BIT(17) 3828*6d67aabdSBjoern A. Zeeb #define B_BE_DMEM4_PC_EN BIT(16) 3829*6d67aabdSBjoern A. Zeeb #define B_BE_DMEM3_PC_EN BIT(15) 3830*6d67aabdSBjoern A. Zeeb #define B_BE_DMEM2_PC_EN BIT(14) 3831*6d67aabdSBjoern A. Zeeb #define B_BE_DMEM1_PC_EN BIT(13) 3832*6d67aabdSBjoern A. Zeeb #define B_BE_IMEM4_PC_EN BIT(12) 3833*6d67aabdSBjoern A. Zeeb #define B_BE_IMEM3_PC_EN BIT(11) 3834*6d67aabdSBjoern A. Zeeb #define B_BE_IMEM2_PC_EN BIT(10) 3835*6d67aabdSBjoern A. Zeeb #define B_BE_IMEM1_PC_EN BIT(9) 3836*6d67aabdSBjoern A. Zeeb #define B_BE_IMEM0_PC_EN BIT(8) 3837*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLCMAC1_P4_PC_EN BIT(4) 3838*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLCMAC1_P3_PC_EN BIT(3) 3839*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLCMAC1_P2_PC_EN BIT(2) 3840*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLCMAC1_P1_PC_EN BIT(1) 3841*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_WLCMAC1_PC_EN BIT(0) 3842*6d67aabdSBjoern A. Zeeb #define B_BE_AFE_CTRL1_SET (B_BE_R_SYM_WLCMAC1_PC_EN | \ 3843*6d67aabdSBjoern A. Zeeb B_BE_R_SYM_WLCMAC1_P1_PC_EN | \ 3844*6d67aabdSBjoern A. Zeeb B_BE_R_SYM_WLCMAC1_P2_PC_EN | \ 3845*6d67aabdSBjoern A. Zeeb B_BE_R_SYM_WLCMAC1_P3_PC_EN | \ 3846*6d67aabdSBjoern A. Zeeb B_BE_R_SYM_WLCMAC1_P4_PC_EN) 3847*6d67aabdSBjoern A. Zeeb 3848*6d67aabdSBjoern A. Zeeb #define R_BE_EFUSE_CTRL 0x0030 3849*6d67aabdSBjoern A. Zeeb #define B_BE_EF_MODE_SEL_MASK GENMASK(31, 30) 3850*6d67aabdSBjoern A. Zeeb #define B_BE_EF_RDY BIT(29) 3851*6d67aabdSBjoern A. Zeeb #define B_BE_EF_COMP_RESULT BIT(28) 3852*6d67aabdSBjoern A. Zeeb #define B_BE_EF_ADDR_MASK GENMASK(15, 0) 3853*6d67aabdSBjoern A. Zeeb 3854*6d67aabdSBjoern A. Zeeb #define R_BE_EFUSE_CTRL_1_V1 0x0034 3855*6d67aabdSBjoern A. Zeeb #define B_BE_EF_DATA_MASK GENMASK(31, 0) 3856*6d67aabdSBjoern A. Zeeb 3857*6d67aabdSBjoern A. Zeeb #define R_BE_WL_BT_PWR_CTRL 0x0068 3858*6d67aabdSBjoern A. Zeeb #define B_BE_ISO_BD2PP BIT(31) 3859*6d67aabdSBjoern A. Zeeb #define B_BE_LDOV12B_EN BIT(30) 3860*6d67aabdSBjoern A. Zeeb #define B_BE_CKEN_BT BIT(29) 3861*6d67aabdSBjoern A. Zeeb #define B_BE_FEN_BT BIT(28) 3862*6d67aabdSBjoern A. Zeeb #define B_BE_BTCPU_BOOTSEL BIT(27) 3863*6d67aabdSBjoern A. Zeeb #define B_BE_SPI_SPEEDUP BIT(26) 3864*6d67aabdSBjoern A. Zeeb #define B_BE_BT_LDO_MODE BIT(25) 3865*6d67aabdSBjoern A. Zeeb #define B_BE_ISO_BTPON2PP BIT(22) 3866*6d67aabdSBjoern A. Zeeb #define B_BE_BT_FUNC_EN BIT(18) 3867*6d67aabdSBjoern A. Zeeb #define B_BE_BT_HWPDN_SL BIT(17) 3868*6d67aabdSBjoern A. Zeeb #define B_BE_BT_DISN_EN BIT(16) 3869*6d67aabdSBjoern A. Zeeb #define B_BE_SDM_SRC_SEL BIT(12) 3870*6d67aabdSBjoern A. Zeeb #define B_BE_ISO_BA2PP BIT(11) 3871*6d67aabdSBjoern A. Zeeb #define B_BE_BT_AFE_LDO_EN BIT(10) 3872*6d67aabdSBjoern A. Zeeb #define B_BE_BT_AFE_PLL_EN BIT(9) 3873*6d67aabdSBjoern A. Zeeb #define B_BE_WLAN_32K_SEL BIT(6) 3874*6d67aabdSBjoern A. Zeeb #define B_BE_WL_DRV_EXIST_IDX BIT(5) 3875*6d67aabdSBjoern A. Zeeb #define B_BE_DOP_EHPAD BIT(4) 3876*6d67aabdSBjoern A. Zeeb #define B_BE_WL_FUNC_EN BIT(2) 3877*6d67aabdSBjoern A. Zeeb #define B_BE_WL_HWPDN_SL BIT(1) 3878*6d67aabdSBjoern A. Zeeb #define B_BE_WL_HWPDN_EN BIT(0) 3879*6d67aabdSBjoern A. Zeeb 3880*6d67aabdSBjoern A. Zeeb #define R_BE_SYS_SDIO_CTRL 0x0070 3881*6d67aabdSBjoern A. Zeeb #define B_BE_MCM_FLASH_EN BIT(28) 3882*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_SEC_LOAD BIT(26) 3883*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_SER_RSTB BIT(25) 3884*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_SEC_LOAD_CLR BIT(24) 3885*6d67aabdSBjoern A. Zeeb #define B_BE_SDIO_CMD_SW_RST BIT(20) 3886*6d67aabdSBjoern A. Zeeb #define B_BE_SDIO_INT_POLARITY BIT(19) 3887*6d67aabdSBjoern A. Zeeb #define B_BE_SDIO_OFF_EN BIT(17) 3888*6d67aabdSBjoern A. Zeeb #define B_BE_SDIO_ON_EN BIT(16) 3889*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_DIS_L2__CTRL_LDO_HCI BIT(15) 3890*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_DIS_L2_RTK_PERST BIT(14) 3891*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_FORCE_PWR_NGAT BIT(13) 3892*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_FORCE_IBX_EN BIT(12) 3893*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_AUXCLK_GATE BIT(11) 3894*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_WAIT_TIMEOUT_EVENT BIT(10) 3895*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_WAIT_TIME BIT(9) 3896*6d67aabdSBjoern A. Zeeb #define B_BE_L1OFF_TO_L0_RESUME_EVT BIT(8) 3897*6d67aabdSBjoern A. Zeeb #define B_BE_USBA_FORCE_PWR_NGAT BIT(7) 3898*6d67aabdSBjoern A. Zeeb #define B_BE_USBD_FORCE_PWR_NGAT BIT(6) 3899*6d67aabdSBjoern A. Zeeb #define B_BE_BT_CTRL_USB_PWR BIT(5) 3900*6d67aabdSBjoern A. Zeeb #define B_BE_USB_D_STATE_HOLD BIT(4) 3901*6d67aabdSBjoern A. Zeeb #define B_BE_R_BE_FORCE_DP BIT(3) 3902*6d67aabdSBjoern A. Zeeb #define B_BE_R_BE_DP_MODE BIT(2) 3903*6d67aabdSBjoern A. Zeeb #define B_BE_RES_USB_MASS_STORAGE_DESC BIT(1) 3904*6d67aabdSBjoern A. Zeeb #define B_BE_USB_WAIT_TIME BIT(0) 3905*6d67aabdSBjoern A. Zeeb 3906*6d67aabdSBjoern A. Zeeb #define R_BE_HCI_OPT_CTRL 0x0074 3907*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_WLAN_IO_ST BIT(31) 3908*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_WLAN_IO_EN BIT(28) 3909*6d67aabdSBjoern A. Zeeb #define B_BE_HAXIDMA_IO_ST BIT(27) 3910*6d67aabdSBjoern A. Zeeb #define B_BE_HAXIDMA_BACKUP_RESTORE_ST BIT(26) 3911*6d67aabdSBjoern A. Zeeb #define B_BE_HAXIDMA_IO_EN BIT(24) 3912*6d67aabdSBjoern A. Zeeb #define B_BE_EN_PCIE_WAKE BIT(23) 3913*6d67aabdSBjoern A. Zeeb #define B_BE_SDIO_PAD_H3L1 BIT(22) 3914*6d67aabdSBjoern A. Zeeb #define B_BE_USBMAC_ANACLK_SW BIT(21) 3915*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_CPHY_CCK_XTAL_SEL BIT(20) 3916*6d67aabdSBjoern A. Zeeb #define B_BE_SDIO_DATA_PAD_SMT BIT(19) 3917*6d67aabdSBjoern A. Zeeb #define B_BE_SDIO_PAD_E5 BIT(18) 3918*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_PCIE_AUXCLK BIT(17) 3919*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_LA_ADDR_MAP BIT(16) 3920*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_LA_GLO_RST BIT(15) 3921*6d67aabdSBjoern A. Zeeb #define B_BE_USB3_SUS_DIS BIT(14) 3922*6d67aabdSBjoern A. Zeeb #define B_BE_NOPWR_CTRL_SEL BIT(13) 3923*6d67aabdSBjoern A. Zeeb #define B_BE_USB_HOST_PWR_OFF_EN BIT(12) 3924*6d67aabdSBjoern A. Zeeb #define B_BE_SYM_LPS_BLOCK_EN BIT(11) 3925*6d67aabdSBjoern A. Zeeb #define B_BE_USB_LPM_ACT_EN BIT(10) 3926*6d67aabdSBjoern A. Zeeb #define B_BE_USB_LPM_NY BIT(9) 3927*6d67aabdSBjoern A. Zeeb #define B_BE_USB2_SUS_DIS BIT(8) 3928*6d67aabdSBjoern A. Zeeb #define B_BE_SDIO_PAD_E_MASK GENMASK(7, 5) 3929*6d67aabdSBjoern A. Zeeb #define B_BE_USB_LPPLL_EN BIT(4) 3930*6d67aabdSBjoern A. Zeeb #define B_BE_USB1_1_USB2_0_DECISION BIT(3) 3931*6d67aabdSBjoern A. Zeeb #define B_BE_ROP_SW15 BIT(2) 3932*6d67aabdSBjoern A. Zeeb #define B_BE_PCI_CKRDY_OPT BIT(1) 3933*6d67aabdSBjoern A. Zeeb #define B_BE_PCI_VAUX_EN BIT(0) 3934*6d67aabdSBjoern A. Zeeb 3935*6d67aabdSBjoern A. Zeeb #define R_BE_SYS_ISO_CTRL_EXTEND 0x0080 3936*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_DMEM62PP BIT(29) 3937*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_DMEM52PP BIT(28) 3938*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_DMEM42PP BIT(27) 3939*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_DMEM32PP BIT(26) 3940*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_DMEM22PP BIT(25) 3941*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_DMEM12PP BIT(24) 3942*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_IMEM42PP BIT(22) 3943*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_IMEM32PP BIT(21) 3944*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_IMEM22PP BIT(20) 3945*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_IMEM12PP BIT(19) 3946*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_IMEM02PP BIT(18) 3947*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_AON_OFF2PP BIT(15) 3948*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_PWC_HCILA BIT(13) 3949*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_PWC_PD12V BIT(12) 3950*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_PWC_UD12V BIT(11) 3951*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_PWC_BTBRG BIT(10) 3952*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_LDOBTSDIO_EN BIT(9) 3953*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_LDOSPDIO_EN BIT(8) 3954*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_HCILA BIT(4) 3955*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_BTBRG2PP BIT(2) 3956*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_BTSDIO2PP BIT(1) 3957*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_SPDIO2PP BIT(0) 3958*6d67aabdSBjoern A. Zeeb 3959*6d67aabdSBjoern A. Zeeb #define R_BE_FEN_RST_ENABLE 0x0084 3960*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_FEN_WLMACOFF BIT(31) 3961*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_WA12PP BIT(28) 3962*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_CMAC12PP BIT(25) 3963*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_CMAC02PP BIT(24) 3964*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_ADDA_P32PP BIT(23) 3965*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_ADDA_P22PP BIT(22) 3966*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_ADDA_P12PP BIT(21) 3967*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_ISO_ADDA_P02PP BIT(20) 3968*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC1_FEN BIT(17) 3969*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC0_FEN BIT(16) 3970*6d67aabdSBjoern A. Zeeb #define B_BE_SYM_ISO_BBPON12PP BIT(13) 3971*6d67aabdSBjoern A. Zeeb #define B_BE_SYM_ISO_BB12PP BIT(12) 3972*6d67aabdSBjoern A. Zeeb #define B_BE_BOOT_RDY1 BIT(10) 3973*6d67aabdSBjoern A. Zeeb #define B_BE_FEN_BB1_IP_RSTN BIT(9) 3974*6d67aabdSBjoern A. Zeeb #define B_BE_FEN_BB1PLAT_RSTB BIT(8) 3975*6d67aabdSBjoern A. Zeeb #define B_BE_SYM_ISO_BBPON02PP BIT(5) 3976*6d67aabdSBjoern A. Zeeb #define B_BE_SYM_ISO_BB02PP BIT(4) 3977*6d67aabdSBjoern A. Zeeb #define B_BE_BOOT_RDY0 BIT(2) 3978*6d67aabdSBjoern A. Zeeb #define B_BE_FEN_BB_IP_RSTN BIT(1) 3979*6d67aabdSBjoern A. Zeeb #define B_BE_FEN_BBPLAT_RSTB BIT(0) 3980*6d67aabdSBjoern A. Zeeb 3981*6d67aabdSBjoern A. Zeeb #define R_BE_PLATFORM_ENABLE 0x0088 3982*6d67aabdSBjoern A. Zeeb #define B_BE_HOLD_AFTER_RESET BIT(11) 3983*6d67aabdSBjoern A. Zeeb #define B_BE_SYM_WLPLT_MEM_MUX_EN BIT(10) 3984*6d67aabdSBjoern A. Zeeb #define B_BE_WCPU_WARM_EN BIT(9) 3985*6d67aabdSBjoern A. Zeeb #define B_BE_SPIC_EN BIT(8) 3986*6d67aabdSBjoern A. Zeeb #define B_BE_UART_EN BIT(7) 3987*6d67aabdSBjoern A. Zeeb #define B_BE_IDDMA_EN BIT(6) 3988*6d67aabdSBjoern A. Zeeb #define B_BE_IPSEC_EN BIT(5) 3989*6d67aabdSBjoern A. Zeeb #define B_BE_HIOE_EN BIT(4) 3990*6d67aabdSBjoern A. Zeeb #define B_BE_APB_WRAP_EN BIT(2) 3991*6d67aabdSBjoern A. Zeeb #define B_BE_WCPU_EN BIT(1) 3992*6d67aabdSBjoern A. Zeeb #define B_BE_PLATFORM_EN BIT(0) 3993*6d67aabdSBjoern A. Zeeb 3994*6d67aabdSBjoern A. Zeeb #define R_BE_WLLPS_CTRL 0x0090 3995*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_BBMEMDS BIT(30) 3996*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_BBOFF BIT(29) 3997*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_MACOFF BIT(28) 3998*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_OFF_CAPC_EN BIT(27) 3999*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_MEM_DS BIT(26) 4000*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_XTALM_LPS BIT(23) 4001*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_XTAL BIT(22) 4002*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_ACLK_DIV_2 BIT(21) 4003*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_ACLK_SEL BIT(20) 4004*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_ASWRM BIT(17) 4005*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_ASWR BIT(16) 4006*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_DSWR_ADJ_MASK GENMASK(15, 12) 4007*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_DSWRSD BIT(10) 4008*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_DSWRM BIT(9) 4009*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_DSWR BIT(8) 4010*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_OLD_ADJ_MASK GENMASK(7, 4) 4011*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_LEAVE_LPS BIT(3) 4012*6d67aabdSBjoern A. Zeeb #define B_BE_LPSOP_OLDSD BIT(2) 4013*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_WLBT_LPSEN_LOPC BIT(1) 4014*6d67aabdSBjoern A. Zeeb #define B_BE_WL_LPS_EN BIT(0) 4015*6d67aabdSBjoern A. Zeeb 4016*6d67aabdSBjoern A. Zeeb #define R_BE_WLRESUME_CTRL 0x0094 4017*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_DMEM5_RSU_EN BIT(31) 4018*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_DMEM4_RSU_EN BIT(30) 4019*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_DMEM3_RSU_EN BIT(29) 4020*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_DMEM2_RSU_EN BIT(28) 4021*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_DMEM1_RSU_EN BIT(27) 4022*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_DMEM0_RSU_EN BIT(26) 4023*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_IMEM5_RSU_EN BIT(25) 4024*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_IMEM4_RSU_EN BIT(24) 4025*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_IMEM3_RSU_EN BIT(23) 4026*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_IMEM2_RSU_EN BIT(22) 4027*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_IMEM1_RSU_EN BIT(21) 4028*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_IMEM0_RSU_EN BIT(20) 4029*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_BB1_W_BB0 BIT(14) 4030*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_CMAC1 BIT(13) 4031*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_CMAC0 BIT(12) 4032*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_XTALM BIT(11) 4033*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_PLLM BIT(10) 4034*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_HIOE BIT(9) 4035*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_CPU BIT(8) 4036*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_LOWPWRPLL BIT(7) 4037*6d67aabdSBjoern A. Zeeb #define B_BE_LPSROP_DSWRSD_SEL_MASK GENMASK(5, 4) 4038*6d67aabdSBjoern A. Zeeb 4039*6d67aabdSBjoern A. Zeeb #define R_BE_EFUSE_CTRL_2_V1 0x00A4 4040*6d67aabdSBjoern A. Zeeb #define B_BE_EF_ENT BIT(31) 4041*6d67aabdSBjoern A. Zeeb #define B_BE_EF_TCOLUMN_EN BIT(29) 4042*6d67aabdSBjoern A. Zeeb #define B_BE_BT_OTP_PWC_DIS BIT(28) 4043*6d67aabdSBjoern A. Zeeb #define B_BE_EF_RDT BIT(27) 4044*6d67aabdSBjoern A. Zeeb #define B_BE_R_SYM_AUTOLOAD_WITH_PMC_SEL BIT(24) 4045*6d67aabdSBjoern A. Zeeb #define B_BE_EF_PGTS_MASK GENMASK(23, 20) 4046*6d67aabdSBjoern A. Zeeb #define B_BE_EF_BURST BIT(19) 4047*6d67aabdSBjoern A. Zeeb #define B_BE_EF_TEST_SEL_MASK GENMASK(18, 16) 4048*6d67aabdSBjoern A. Zeeb #define B_BE_EF_TROW_EN BIT(15) 4049*6d67aabdSBjoern A. Zeeb #define B_BE_EF_ERR_FLAG BIT(14) 4050*6d67aabdSBjoern A. Zeeb #define B_BE_EF_FBURST_DIS BIT(13) 4051*6d67aabdSBjoern A. Zeeb #define B_BE_EF_HT_SEL BIT(12) 4052*6d67aabdSBjoern A. Zeeb #define B_BE_EF_DSB_EN BIT(11) 4053*6d67aabdSBjoern A. Zeeb #define B_BE_EF_DLY_SEL_MASK GENMASK(3, 0) 4054*6d67aabdSBjoern A. Zeeb 4055*6d67aabdSBjoern A. Zeeb #define R_BE_PMC_DBG_CTRL2 0x00CC 4056*6d67aabdSBjoern A. Zeeb #define B_BE_EFUSE_BURN_GNT_MASK GENMASK(31, 24) 4057*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_IOWRAP_TIMEOUT BIT(16) 4058*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_WL_PMC BIT(9) 4059*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_SYM_PMC BIT(8) 4060*6d67aabdSBjoern A. Zeeb #define B_BE_SYM_REG_PCIE_WRMSK BIT(7) 4061*6d67aabdSBjoern A. Zeeb #define B_BE_BT_ACCESS_WL_PAGE0 BIT(6) 4062*6d67aabdSBjoern A. Zeeb #define B_BE_R_BE_RST_WLPMC BIT(5) 4063*6d67aabdSBjoern A. Zeeb #define B_BE_R_BE_RST_PD12N BIT(4) 4064*6d67aabdSBjoern A. Zeeb #define B_BE_SYSON_DIS_WLR_BE_WRMSK BIT(3) 4065*6d67aabdSBjoern A. Zeeb #define B_BE_SYSON_DIS_PMCR_BE_WRMSK BIT(2) 4066*6d67aabdSBjoern A. Zeeb #define B_BE_SYSON_R_BE_ARB_MASK GENMASK(1, 0) 4067*6d67aabdSBjoern A. Zeeb 4068*6d67aabdSBjoern A. Zeeb #define R_BE_MEM_PWR_CTRL 0x00D0 4069*6d67aabdSBjoern A. Zeeb #define B_BE_DMEM5_WLMCU_DS BIT(31) 4070*6d67aabdSBjoern A. Zeeb #define B_BE_DMEM4_WLMCU_DS BIT(30) 4071*6d67aabdSBjoern A. Zeeb #define B_BE_DMEM3_WLMCU_DS BIT(29) 4072*6d67aabdSBjoern A. Zeeb #define B_BE_DMEM2_WLMCU_DS BIT(28) 4073*6d67aabdSBjoern A. Zeeb #define B_BE_DMEM1_WLMCU_DS BIT(27) 4074*6d67aabdSBjoern A. Zeeb #define B_BE_DMEM0_WLMCU_DS BIT(26) 4075*6d67aabdSBjoern A. Zeeb #define B_BE_IMEM5_WLMCU_DS BIT(25) 4076*6d67aabdSBjoern A. Zeeb #define B_BE_IMEM4_WLMCU_DS BIT(24) 4077*6d67aabdSBjoern A. Zeeb #define B_BE_IMEM3_WLMCU_DS BIT(23) 4078*6d67aabdSBjoern A. Zeeb #define B_BE_IMEM2_WLMCU_DS BIT(22) 4079*6d67aabdSBjoern A. Zeeb #define B_BE_IMEM1_WLMCU_DS BIT(21) 4080*6d67aabdSBjoern A. Zeeb #define B_BE_IMEM0_WLMCU_DS BIT(20) 4081*6d67aabdSBjoern A. Zeeb #define B_BE_MEM_BBMCU1_DS BIT(19) 4082*6d67aabdSBjoern A. Zeeb #define B_BE_MEM_BBMCU0_DS_V1 BIT(17) 4083*6d67aabdSBjoern A. Zeeb #define B_BE_MEM_BT_DS BIT(10) 4084*6d67aabdSBjoern A. Zeeb #define B_BE_MEM_SDIO_LS BIT(9) 4085*6d67aabdSBjoern A. Zeeb #define B_BE_MEM_SDIO_DS BIT(8) 4086*6d67aabdSBjoern A. Zeeb #define B_BE_MEM_USB_LS BIT(7) 4087*6d67aabdSBjoern A. Zeeb #define B_BE_MEM_USB_DS BIT(6) 4088*6d67aabdSBjoern A. Zeeb #define B_BE_MEM_PCI_LS BIT(5) 4089*6d67aabdSBjoern A. Zeeb #define B_BE_MEM_PCI_DS BIT(4) 4090*6d67aabdSBjoern A. Zeeb #define B_BE_MEM_WLMAC_LS BIT(3) 4091*6d67aabdSBjoern A. Zeeb 4092*6d67aabdSBjoern A. Zeeb #define R_BE_PCIE_MIO_INTF 0x00E4 4093*6d67aabdSBjoern A. Zeeb #define B_BE_AON_MIO_EPHY_1K_SEL_MASK GENMASK(29, 24) 4094*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_MIO_ADDR_PAGE_V1_MASK GENMASK(20, 16) 4095*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_MIO_ASIF BIT(15) 4096*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_MIO_BYIOREG BIT(13) 4097*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_MIO_RE BIT(12) 4098*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_MIO_WE_MASK GENMASK(11, 8) 4099*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_MIO_ADDR_MASK GENMASK(7, 0) 4100*6d67aabdSBjoern A. Zeeb 4101*6d67aabdSBjoern A. Zeeb #define R_BE_PCIE_MIO_INTD 0x00E8 4102*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_MIO_DATA_MASK GENMASK(31, 0) 4103*6d67aabdSBjoern A. Zeeb 4104*6d67aabdSBjoern A. Zeeb #define R_BE_HALT_H2C_CTRL 0x0160 4105*6d67aabdSBjoern A. Zeeb #define B_BE_HALT_H2C_TRIGGER BIT(0) 4106*6d67aabdSBjoern A. Zeeb 4107*6d67aabdSBjoern A. Zeeb #define R_BE_HALT_C2H_CTRL 0x0164 4108*6d67aabdSBjoern A. Zeeb #define B_BE_HALT_C2H_TRIGGER BIT(0) 4109*6d67aabdSBjoern A. Zeeb 4110*6d67aabdSBjoern A. Zeeb #define R_BE_HALT_H2C 0x0168 4111*6d67aabdSBjoern A. Zeeb #define B_BE_HALT_H2C_MASK GENMASK(31, 0) 4112*6d67aabdSBjoern A. Zeeb 4113*6d67aabdSBjoern A. Zeeb #define R_BE_HALT_C2H 0x016C 4114*6d67aabdSBjoern A. Zeeb #define B_BE_HALT_C2H_ERROR_SENARIO_MASK GENMASK(31, 28) 4115*6d67aabdSBjoern A. Zeeb #define B_BE_ERROR_CODE_MASK GENMASK(15, 0) 4116*6d67aabdSBjoern A. Zeeb 4117*6d67aabdSBjoern A. Zeeb #define R_BE_SYS_CFG5 0x0170 4118*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_DATACPU_WAKE_PCIE_EN BIT(12) 4119*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_DATACPU_WAKE_USB_EN BIT(11) 4120*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_WAKE_PCIE_EN BIT(10) 4121*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_WAKE_USB_EN BIT(9) 4122*6d67aabdSBjoern A. Zeeb #define B_BE_SYM_DIS_HC_ACCESS_MAC BIT(8) 4123*6d67aabdSBjoern A. Zeeb #define B_BE_LPS_STATUS BIT(3) 4124*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_TXDMA_BUSY BIT(2) 4125*6d67aabdSBjoern A. Zeeb 4126*6d67aabdSBjoern A. Zeeb #define R_BE_SECURE_BOOT_MALLOC_INFO 0x0184 4127*6d67aabdSBjoern A. Zeeb 4128*6d67aabdSBjoern A. Zeeb #define R_BE_FWS1IMR 0x0198 4129*6d67aabdSBjoern A. Zeeb #define B_BE_FS_RPWM_INT_EN_V1 BIT(24) 4130*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_HOTRST_EN BIT(22) 4131*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_SER_TIMEOUT_INDIC_EN BIT(21) 4132*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_RXI300_SLVTOUT_INDIC_EN BIT(20) 4133*6d67aabdSBjoern A. Zeeb #define B_BE_AON_PCIE_FLR_INT_EN BIT(19) 4134*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_ERR_INDIC_INT_EN BIT(18) 4135*6d67aabdSBjoern A. Zeeb #define B_BE_SDIO_ERR_INDIC_INT_EN BIT(17) 4136*6d67aabdSBjoern A. Zeeb #define B_BE_USB_ERR_INDIC_INT_EN BIT(16) 4137*6d67aabdSBjoern A. Zeeb #define B_BE_FS_GPIO27_INT_EN BIT(11) 4138*6d67aabdSBjoern A. Zeeb #define B_BE_FS_GPIO26_INT_EN BIT(10) 4139*6d67aabdSBjoern A. Zeeb #define B_BE_FS_GPIO25_INT_EN BIT(9) 4140*6d67aabdSBjoern A. Zeeb #define B_BE_FS_GPIO24_INT_EN BIT(8) 4141*6d67aabdSBjoern A. Zeeb #define B_BE_FS_GPIO23_INT_EN BIT(7) 4142*6d67aabdSBjoern A. Zeeb #define B_BE_FS_GPIO22_INT_EN BIT(6) 4143*6d67aabdSBjoern A. Zeeb #define B_BE_FS_GPIO21_INT_EN BIT(5) 4144*6d67aabdSBjoern A. Zeeb #define B_BE_FS_GPIO20_INT_EN BIT(4) 4145*6d67aabdSBjoern A. Zeeb #define B_BE_FS_GPIO19_INT_EN BIT(3) 4146*6d67aabdSBjoern A. Zeeb #define B_BE_FS_GPIO18_INT_EN BIT(2) 4147*6d67aabdSBjoern A. Zeeb #define B_BE_FS_GPIO17_INT_EN BIT(1) 4148*6d67aabdSBjoern A. Zeeb #define B_BE_FS_GPIO16_INT_EN BIT(0) 4149*6d67aabdSBjoern A. Zeeb 4150*6d67aabdSBjoern A. Zeeb #define R_BE_HIMR0 0x01A0 4151*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_DATACPU_TIMEOUT_INT_EN BIT(25) 4152*6d67aabdSBjoern A. Zeeb #define B_BE_HALT_D2H_INT_EN BIT(24) 4153*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_TIMEOUT_INT_EN BIT(22) 4154*6d67aabdSBjoern A. Zeeb #define B_BE_HALT_C2H_INT_EN BIT(21) 4155*6d67aabdSBjoern A. Zeeb #define B_BE_RON_INT_EN BIT(20) 4156*6d67aabdSBjoern A. Zeeb #define B_BE_PDNINT_EN BIT(19) 4157*6d67aabdSBjoern A. Zeeb #define B_BE_SPSANA_OCP_INT_EN BIT(18) 4158*6d67aabdSBjoern A. Zeeb #define B_BE_SPS_OCP_INT_EN BIT(17) 4159*6d67aabdSBjoern A. Zeeb #define B_BE_BTON_STS_UPDATE_INT_EN BIT(16) 4160*6d67aabdSBjoern A. Zeeb #define B_BE_GPIOF_INT_EN BIT(15) 4161*6d67aabdSBjoern A. Zeeb #define B_BE_GPIOE_INT_EN BIT(14) 4162*6d67aabdSBjoern A. Zeeb #define B_BE_GPIOD_INT_EN BIT(13) 4163*6d67aabdSBjoern A. Zeeb #define B_BE_GPIOC_INT_EN BIT(12) 4164*6d67aabdSBjoern A. Zeeb #define B_BE_GPIOB_INT_EN BIT(11) 4165*6d67aabdSBjoern A. Zeeb #define B_BE_GPIOA_INT_EN BIT(10) 4166*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO9_INT_EN BIT(9) 4167*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO8_INT_EN BIT(8) 4168*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO7_INT_EN BIT(7) 4169*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO6_INT_EN BIT(6) 4170*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO5_INT_EN BIT(5) 4171*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO4_INT_EN BIT(4) 4172*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO3_INT_EN BIT(3) 4173*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO2_INT_EN BIT(2) 4174*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO1_INT_EN BIT(1) 4175*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO0_INT_EN BIT(0) 4176*6d67aabdSBjoern A. Zeeb 4177*6d67aabdSBjoern A. Zeeb #define R_BE_HISR0 0x01A4 4178*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_DATACPU_TIMEOUT_INT BIT(25) 4179*6d67aabdSBjoern A. Zeeb #define B_BE_HALT_D2H_INT BIT(24) 4180*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_TIMEOUT_INT BIT(22) 4181*6d67aabdSBjoern A. Zeeb #define B_BE_HALT_C2H_INT BIT(21) 4182*6d67aabdSBjoern A. Zeeb #define B_BE_RON_INT BIT(20) 4183*6d67aabdSBjoern A. Zeeb #define B_BE_PDNINT BIT(19) 4184*6d67aabdSBjoern A. Zeeb #define B_BE_SPSANA_OCP_INT BIT(18) 4185*6d67aabdSBjoern A. Zeeb #define B_BE_SPS_OCP_INT BIT(17) 4186*6d67aabdSBjoern A. Zeeb #define B_BE_BTON_STS_UPDATE_INT BIT(16) 4187*6d67aabdSBjoern A. Zeeb #define B_BE_GPIOF_INT BIT(15) 4188*6d67aabdSBjoern A. Zeeb #define B_BE_GPIOE_INT BIT(14) 4189*6d67aabdSBjoern A. Zeeb #define B_BE_GPIOD_INT BIT(13) 4190*6d67aabdSBjoern A. Zeeb #define B_BE_GPIOC_INT BIT(12) 4191*6d67aabdSBjoern A. Zeeb #define B_BE_GPIOB_INT BIT(11) 4192*6d67aabdSBjoern A. Zeeb #define B_BE_GPIOA_INT BIT(10) 4193*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO9_INT BIT(9) 4194*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO8_INT BIT(8) 4195*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO7_INT BIT(7) 4196*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO6_INT BIT(6) 4197*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO5_INT BIT(5) 4198*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO4_INT BIT(4) 4199*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO3_INT BIT(3) 4200*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO2_INT BIT(2) 4201*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO1_INT BIT(1) 4202*6d67aabdSBjoern A. Zeeb #define B_BE_GPIO0_INT BIT(0) 4203*6d67aabdSBjoern A. Zeeb 4204*6d67aabdSBjoern A. Zeeb #define R_BE_WCPU_FW_CTRL 0x01E0 4205*6d67aabdSBjoern A. Zeeb #define B_BE_RUN_ENV_MASK GENMASK(31, 30) 4206*6d67aabdSBjoern A. Zeeb #define B_BE_WCPU_FWDL_STATUS_MASK GENMASK(29, 26) 4207*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_PLT_RST_EN BIT(17) 4208*6d67aabdSBjoern A. Zeeb #define B_BE_FW_SEC_AUTH_DONE BIT(14) 4209*6d67aabdSBjoern A. Zeeb #define B_BE_FW_CPU_UTIL_STS_EN BIT(13) 4210*6d67aabdSBjoern A. Zeeb #define B_BE_BBMCU1_FWDL_EN BIT(12) 4211*6d67aabdSBjoern A. Zeeb #define B_BE_BBMCU0_FWDL_EN BIT(11) 4212*6d67aabdSBjoern A. Zeeb #define B_BE_DATACPU_FWDL_EN BIT(10) 4213*6d67aabdSBjoern A. Zeeb #define B_BE_WLANCPU_FWDL_EN BIT(9) 4214*6d67aabdSBjoern A. Zeeb #define B_BE_WCPU_ROM_CUT_GET BIT(8) 4215*6d67aabdSBjoern A. Zeeb #define B_BE_WCPU_ROM_CUT_VAL_MASK GENMASK(7, 4) 4216*6d67aabdSBjoern A. Zeeb #define B_BE_FW_BOOT_MODE_MASK GENMASK(3, 2) 4217*6d67aabdSBjoern A. Zeeb #define B_BE_H2C_PATH_RDY BIT(1) 4218*6d67aabdSBjoern A. Zeeb #define B_BE_DLFW_PATH_RDY BIT(0) 4219*6d67aabdSBjoern A. Zeeb 4220*6d67aabdSBjoern A. Zeeb #define R_BE_BOOT_REASON 0x01E6 4221*6d67aabdSBjoern A. Zeeb #define B_BE_BOOT_REASON_MASK GENMASK(2, 0) 4222*6d67aabdSBjoern A. Zeeb 4223*6d67aabdSBjoern A. Zeeb #define R_BE_LDM 0x01E8 4224*6d67aabdSBjoern A. Zeeb #define B_BE_EN_32K BIT(31) 4225*6d67aabdSBjoern A. Zeeb #define B_BE_LDM_MASK GENMASK(30, 0) 4226*6d67aabdSBjoern A. Zeeb 4227*6d67aabdSBjoern A. Zeeb #define R_BE_UDM0 0x01F0 4228*6d67aabdSBjoern A. Zeeb #define B_BE_UDM0_SEND2RA_CNT_MASK GENMASK(31, 28) 4229*6d67aabdSBjoern A. Zeeb #define B_BE_UDM0_TX_RPT_CNT_MASK GENMASK(27, 24) 4230*6d67aabdSBjoern A. Zeeb #define B_BE_UDM0_FS_CODE_MASK GENMASK(23, 8) 4231*6d67aabdSBjoern A. Zeeb #define B_BE_NULL_POINTER_INDC BIT(7) 4232*6d67aabdSBjoern A. Zeeb #define B_BE_ROM_ASSERT_INDC BIT(6) 4233*6d67aabdSBjoern A. Zeeb #define B_BE_RAM_ASSERT_INDC BIT(5) 4234*6d67aabdSBjoern A. Zeeb #define B_BE_FW_IMAGE_TYPE BIT(4) 4235*6d67aabdSBjoern A. Zeeb #define B_BE_UDM0_TRAP_LOOP_CTRL BIT(2) 4236*6d67aabdSBjoern A. Zeeb #define B_BE_UDM0_SEND_HALTC2H_CTRL BIT(1) 4237*6d67aabdSBjoern A. Zeeb #define B_BE_UDM0_DBG_MODE_CTRL BIT(0) 4238*6d67aabdSBjoern A. Zeeb 4239*6d67aabdSBjoern A. Zeeb #define R_BE_UDM1 0x01F4 4240*6d67aabdSBjoern A. Zeeb #define B_BE_UDM1_ERROR_ADDR_MASK GENMASK(31, 16) 4241*6d67aabdSBjoern A. Zeeb #define B_BE_UDM1_HALMAC_C2H_ENQ_CNT_MASK GENMASK(15, 12) 4242*6d67aabdSBjoern A. Zeeb #define B_BE_UDM1_HALMAC_H2C_DEQ_CNT_MASK GENMASK(11, 8) 4243*6d67aabdSBjoern A. Zeeb #define B_BE_UDM1_WCPU_C2H_ENQ_CNT_MASK GENMASK(7, 4) 4244*6d67aabdSBjoern A. Zeeb #define B_BE_UDM1_WCPU_H2C_DEQ_CNT_MASK GENMASK(3, 0) 4245*6d67aabdSBjoern A. Zeeb 4246*6d67aabdSBjoern A. Zeeb #define R_BE_UDM2 0x01F8 4247*6d67aabdSBjoern A. Zeeb #define B_BE_UDM2_EPC_RA_MASK GENMASK(31, 0) 4248*6d67aabdSBjoern A. Zeeb 4249*6d67aabdSBjoern A. Zeeb #define R_BE_AFE_ON_CTRL0 0x0240 4250*6d67aabdSBjoern A. Zeeb #define B_BE_REG_LPF_R3_3_0_MASK GENMASK(31, 29) 4251*6d67aabdSBjoern A. Zeeb #define B_BE_REG_LPF_R2_MASK GENMASK(28, 24) 4252*6d67aabdSBjoern A. Zeeb #define B_BE_REG_LPF_C3_MASK GENMASK(23, 21) 4253*6d67aabdSBjoern A. Zeeb #define B_BE_REG_LPF_C2_MASK GENMASK(20, 18) 4254*6d67aabdSBjoern A. Zeeb #define B_BE_REG_LPF_C1_MASK GENMASK(17, 15) 4255*6d67aabdSBjoern A. Zeeb #define B_BE_REG_CP_ICPX2 BIT(14) 4256*6d67aabdSBjoern A. Zeeb #define B_BE_REG_CP_ICP_SEL_FAST_MASK GENMASK(13, 10) 4257*6d67aabdSBjoern A. Zeeb #define B_BE_REG_CP_ICP_SEL_MASK GENMASK(9, 6) 4258*6d67aabdSBjoern A. Zeeb #define B_BE_REG_IB_PI_MASK GENMASK(5, 4) 4259*6d67aabdSBjoern A. Zeeb #define B_BE_REG_CK_DEBUG_BT BIT(3) 4260*6d67aabdSBjoern A. Zeeb #define B_BE_EN_PC_LDO BIT(2) 4261*6d67aabdSBjoern A. Zeeb #define B_BE_LDO_VSEL_MASK GENMASK(1, 0) 4262*6d67aabdSBjoern A. Zeeb 4263*6d67aabdSBjoern A. Zeeb #define R_BE_AFE_ON_CTRL1 0x0244 4264*6d67aabdSBjoern A. Zeeb #define B_BE_REG_CK_MON_SEL_MASK GENMASK(31, 29) 4265*6d67aabdSBjoern A. Zeeb #define B_BE_REG_CK_MON_CK960M_EN BIT(28) 4266*6d67aabdSBjoern A. Zeeb #define B_BE_REG_XTAL_FREQ_SEL BIT(27) 4267*6d67aabdSBjoern A. Zeeb #define B_BE_REG_XTAL_EDGE_SEL BIT(26) 4268*6d67aabdSBjoern A. Zeeb #define B_BE_REG_VCO_KVCO BIT(25) 4269*6d67aabdSBjoern A. Zeeb #define B_BE_REG_SDM_EDGE_SEL BIT(24) 4270*6d67aabdSBjoern A. Zeeb #define B_BE_REG_SDM_CK_SEL BIT(23) 4271*6d67aabdSBjoern A. Zeeb #define B_BE_REG_SDM_CK_GATED BIT(22) 4272*6d67aabdSBjoern A. Zeeb #define B_BE_REG_PFD_RESET_GATED BIT(21) 4273*6d67aabdSBjoern A. Zeeb #define B_BE_REG_LPF_R3_FAST_MASK GENMASK(20, 16) 4274*6d67aabdSBjoern A. Zeeb #define B_BE_REG_LPF_R2_FAST_MASK GENMASK(15, 11) 4275*6d67aabdSBjoern A. Zeeb #define B_BE_REG_LPF_C3_FAST_MASK GENMASK(10, 8) 4276*6d67aabdSBjoern A. Zeeb #define B_BE_REG_LPF_C2_FAST_MASK GENMASK(7, 5) 4277*6d67aabdSBjoern A. Zeeb #define B_BE_REG_LPF_C1_FAST_MASK GENMASK(4, 2) 4278*6d67aabdSBjoern A. Zeeb #define B_BE_REG_LPF_R3_4_MASK GENMASK(1, 0) 4279*6d67aabdSBjoern A. Zeeb 4280*6d67aabdSBjoern A. Zeeb #define R_BE_AFE_ON_CTRL3 0x024C 4281*6d67aabdSBjoern A. Zeeb #define B_BE_LDO_VSEL_DA_1_MASK GENMASK(31, 30) 4282*6d67aabdSBjoern A. Zeeb #define B_BE_LDO_VSEL_DA_0_MASK GENMASK(29, 28) 4283*6d67aabdSBjoern A. Zeeb #define B_BE_LDO_VSEL_D2S_1_MASK GENMASK(27, 26) 4284*6d67aabdSBjoern A. Zeeb #define B_BE_LDO_VSEL_D2S_0_MASK GENMASK(25, 24) 4285*6d67aabdSBjoern A. Zeeb #define B_BE_LDO_VSEL_BUF_MASK GENMASK(23, 22) 4286*6d67aabdSBjoern A. Zeeb #define B_BE_REG_R2_L_MASK GENMASK(21, 19) 4287*6d67aabdSBjoern A. Zeeb #define B_BE_REG_R1_L_MASK GENMASK(18, 16) 4288*6d67aabdSBjoern A. Zeeb #define B_BE_REG_CK_DEBUG_BT_MON BIT(15) 4289*6d67aabdSBjoern A. Zeeb #define B_BE_REG_BT_CLK_BUF_POWER BIT(14) 4290*6d67aabdSBjoern A. Zeeb #define B_BE_REG_BG_OUT_BTADC_V1 BIT(13) 4291*6d67aabdSBjoern A. Zeeb #define B_BE_REG_SEL_V18 BIT(11) 4292*6d67aabdSBjoern A. Zeeb #define B_BE_REG_FRAC_EN BIT(10) 4293*6d67aabdSBjoern A. Zeeb #define B_BE_REG_CK1920M_EN BIT(9) 4294*6d67aabdSBjoern A. Zeeb #define B_BE_REG_CK1280M_EN BIT(8) 4295*6d67aabdSBjoern A. Zeeb #define B_BE_REG_12LDO_SEL_MASK GENMASK(7, 6) 4296*6d67aabdSBjoern A. Zeeb #define B_BE_REG_09LDO_SEL_MASK GENMASK(5, 4) 4297*6d67aabdSBjoern A. Zeeb #define B_BE_REG_VC_TH BIT(3) 4298*6d67aabdSBjoern A. Zeeb #define B_BE_REG_VC_TL BIT(2) 4299*6d67aabdSBjoern A. Zeeb #define B_BE_REG_CK40M_EN BIT(1) 4300*6d67aabdSBjoern A. Zeeb #define B_BE_REG_CK640M_EN BIT(0) 4301*6d67aabdSBjoern A. Zeeb 4302*6d67aabdSBjoern A. Zeeb #define R_BE_WLAN_XTAL_SI_CTRL 0x0270 4303*6d67aabdSBjoern A. Zeeb #define B_BE_WL_XTAL_SI_CMD_POLL BIT(31) 4304*6d67aabdSBjoern A. Zeeb #define B_BE_WL_XTAL_SI_CHIPID_MASK GENMASK(30, 28) 4305*6d67aabdSBjoern A. Zeeb #define B_BE_WL_XTAL_SI_MODE_MASK GENMASK(25, 24) 4306*6d67aabdSBjoern A. Zeeb #define B_BE_WL_XTAL_SI_BITMASK_MASK GENMASK(23, 16) 4307*6d67aabdSBjoern A. Zeeb #define B_BE_WL_XTAL_SI_DATA_MASK GENMASK(15, 8) 4308*6d67aabdSBjoern A. Zeeb #define B_BE_WL_XTAL_SI_ADDR_MASK GENMASK(7, 0) 4309*6d67aabdSBjoern A. Zeeb 4310*6d67aabdSBjoern A. Zeeb #define R_BE_IC_PWR_STATE 0x03F0 4311*6d67aabdSBjoern A. Zeeb #define B_BE_WHOLE_SYS_PWR_STE_MASK GENMASK(25, 16) 4312*6d67aabdSBjoern A. Zeeb #define MAC_AX_SYS_ACT 0x220 4313*6d67aabdSBjoern A. Zeeb #define B_BE_WLMAC_PWR_STE_MASK GENMASK(9, 8) 4314*6d67aabdSBjoern A. Zeeb #define B_BE_UART_HCISYS_PWR_STE_MASK GENMASK(7, 6) 4315*6d67aabdSBjoern A. Zeeb #define B_BE_SDIO_HCISYS_PWR_STE_MASK GENMASK(5, 4) 4316*6d67aabdSBjoern A. Zeeb #define B_BE_USB_HCISYS_PWR_STE_MASK GENMASK(3, 2) 4317*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_HCISYS_PWR_STE_MASK GENMASK(1, 0) 4318*6d67aabdSBjoern A. Zeeb 4319*6d67aabdSBjoern A. Zeeb #define R_BE_WLCPU_PORT_PC 0x03FC 4320*6d67aabdSBjoern A. Zeeb 4321*6d67aabdSBjoern A. Zeeb #define R_BE_DBG_WOW 0x0504 4322*6d67aabdSBjoern A. Zeeb 4323*6d67aabdSBjoern A. Zeeb #define R_BE_DCPU_PLATFORM_ENABLE 0x0888 4324*6d67aabdSBjoern A. Zeeb #define B_BE_DCPU_SYM_DPLT_MEM_MUX_EN BIT(10) 4325*6d67aabdSBjoern A. Zeeb #define B_BE_DCPU_WARM_EN BIT(9) 4326*6d67aabdSBjoern A. Zeeb #define B_BE_DCPU_UART_EN BIT(7) 4327*6d67aabdSBjoern A. Zeeb #define B_BE_DCPU_IDDMA_EN BIT(6) 4328*6d67aabdSBjoern A. Zeeb #define B_BE_DCPU_APB_WRAP_EN BIT(2) 4329*6d67aabdSBjoern A. Zeeb #define B_BE_DCPU_EN BIT(1) 4330*6d67aabdSBjoern A. Zeeb #define B_BE_DCPU_PLATFORM_EN BIT(0) 4331*6d67aabdSBjoern A. Zeeb 4332*6d67aabdSBjoern A. Zeeb #define R_BE_PL_AXIDMA_IDCT_MSK 0x0910 4333*6d67aabdSBjoern A. Zeeb #define B_BE_PL_AXIDMA_RRESP_ERR_MASK BIT(6) 4334*6d67aabdSBjoern A. Zeeb #define B_BE_PL_AXIDMA_BRESP_ERR_MASK BIT(5) 4335*6d67aabdSBjoern A. Zeeb #define B_BE_PL_AXIDMA_FC_ERR_MASK BIT(4) 4336*6d67aabdSBjoern A. Zeeb #define B_BE_PL_AXIDMA_TXBD_LEN0_MASK BIT(3) 4337*6d67aabdSBjoern A. Zeeb #define B_BE_PL_AXIDMA_TXBD_4KBOUD_LENERR_MASK BIT(2) 4338*6d67aabdSBjoern A. Zeeb #define B_BE_PL_AXIDMA_TXBD_RX_STUCK_MASK BIT(1) 4339*6d67aabdSBjoern A. Zeeb #define B_BE_PL_AXIDMA_TXBD_TX_STUCK_MASK BIT(0) 4340*6d67aabdSBjoern A. Zeeb #define B_BE_PL_AXIDMA_IDCT_MSK_CLR (B_BE_PL_AXIDMA_TXBD_TX_STUCK_MASK | \ 4341*6d67aabdSBjoern A. Zeeb B_BE_PL_AXIDMA_TXBD_RX_STUCK_MASK | \ 4342*6d67aabdSBjoern A. Zeeb B_BE_PL_AXIDMA_TXBD_LEN0_MASK | \ 4343*6d67aabdSBjoern A. Zeeb B_BE_PL_AXIDMA_FC_ERR_MASK | \ 4344*6d67aabdSBjoern A. Zeeb B_BE_PL_AXIDMA_BRESP_ERR_MASK | \ 4345*6d67aabdSBjoern A. Zeeb B_BE_PL_AXIDMA_RRESP_ERR_MASK) 4346*6d67aabdSBjoern A. Zeeb #define B_BE_PL_AXIDMA_IDCT_MSK_SET (B_BE_PL_AXIDMA_TXBD_TX_STUCK_MASK | \ 4347*6d67aabdSBjoern A. Zeeb B_BE_PL_AXIDMA_TXBD_RX_STUCK_MASK | \ 4348*6d67aabdSBjoern A. Zeeb B_BE_PL_AXIDMA_TXBD_LEN0_MASK | \ 4349*6d67aabdSBjoern A. Zeeb B_BE_PL_AXIDMA_FC_ERR_MASK) 4350*6d67aabdSBjoern A. Zeeb 4351*6d67aabdSBjoern A. Zeeb #define R_BE_PL_AXIDMA_IDCT 0x0914 4352*6d67aabdSBjoern A. Zeeb #define B_BE_PL_AXIDMA_RRESP_ERR BIT(6) 4353*6d67aabdSBjoern A. Zeeb #define B_BE_PL_AXIDMA_BRESP_ERR BIT(5) 4354*6d67aabdSBjoern A. Zeeb #define B_BE_PL_AXIDMA_FC_ERR BIT(4) 4355*6d67aabdSBjoern A. Zeeb #define B_BE_PL_AXIDMA_TXBD_LEN0 BIT(3) 4356*6d67aabdSBjoern A. Zeeb #define B_BE_PL_AXIDMA_TXBD_4KBOUD_LENERR BIT(2) 4357*6d67aabdSBjoern A. Zeeb #define B_BE_PL_AXIDMA_TXBD_RX_STUCK BIT(1) 4358*6d67aabdSBjoern A. Zeeb #define B_BE_PL_AXIDMA_TXBD_TX_STUCK BIT(0) 4359*6d67aabdSBjoern A. Zeeb 4360*6d67aabdSBjoern A. Zeeb #define R_BE_FILTER_MODEL_ADDR 0x0C04 4361*6d67aabdSBjoern A. Zeeb 4362*6d67aabdSBjoern A. Zeeb #define R_BE_WLAN_WDT 0x3050 4363*6d67aabdSBjoern A. Zeeb #define B_BE_WLAN_WDT_TIMEOUT BIT(31) 4364*6d67aabdSBjoern A. Zeeb #define B_BE_WLAN_WDT_TIMER_CLEAR BIT(4) 4365*6d67aabdSBjoern A. Zeeb #define B_BE_WLAN_WDT_BYPASS BIT(1) 4366*6d67aabdSBjoern A. Zeeb #define B_BE_WLAN_WDT_ENABLE BIT(0) 4367*6d67aabdSBjoern A. Zeeb 4368*6d67aabdSBjoern A. Zeeb #define R_BE_AXIDMA_WDT 0x305C 4369*6d67aabdSBjoern A. Zeeb #define B_BE_AXIDMA_WDT_TIMEOUT BIT(31) 4370*6d67aabdSBjoern A. Zeeb #define B_BE_AXIDMA_WDT_TIMER_CLEAR BIT(4) 4371*6d67aabdSBjoern A. Zeeb #define B_BE_AXIDMA_WDT_BYPASS BIT(1) 4372*6d67aabdSBjoern A. Zeeb #define B_BE_AXIDMA_WDT_ENABLE BIT(0) 4373*6d67aabdSBjoern A. Zeeb 4374*6d67aabdSBjoern A. Zeeb #define R_BE_AON_WDT 0x3068 4375*6d67aabdSBjoern A. Zeeb #define B_BE_AON_WDT_TIMEOUT BIT(31) 4376*6d67aabdSBjoern A. Zeeb #define B_BE_AON_WDT_TIMER_CLEAR BIT(4) 4377*6d67aabdSBjoern A. Zeeb #define B_BE_AON_WDT_BYPASS BIT(1) 4378*6d67aabdSBjoern A. Zeeb #define B_BE_AON_WDT_ENABLE BIT(0) 4379*6d67aabdSBjoern A. Zeeb 4380*6d67aabdSBjoern A. Zeeb #define R_BE_AON_WDT_TMR 0x306C 4381*6d67aabdSBjoern A. Zeeb #define R_BE_MDIO_WDT_TMR 0x3090 4382*6d67aabdSBjoern A. Zeeb #define R_BE_LA_MODE_WDT_TMR 0x309C 4383*6d67aabdSBjoern A. Zeeb #define R_BE_WDT_AR_TMR 0x3144 4384*6d67aabdSBjoern A. Zeeb #define R_BE_WDT_AW_TMR 0x3150 4385*6d67aabdSBjoern A. Zeeb #define R_BE_WLAN_WDT_TMR 0x3054 4386*6d67aabdSBjoern A. Zeeb #define R_BE_WDT_W_TMR 0x315C 4387*6d67aabdSBjoern A. Zeeb #define R_BE_AXIDMA_WDT_TMR 0x3060 4388*6d67aabdSBjoern A. Zeeb #define R_BE_WDT_B_TMR 0x3164 4389*6d67aabdSBjoern A. Zeeb #define R_BE_WDT_R_TMR 0x316C 4390*6d67aabdSBjoern A. Zeeb #define R_BE_LOCAL_WDT_TMR 0x3084 4391*6d67aabdSBjoern A. Zeeb 4392*6d67aabdSBjoern A. Zeeb #define R_BE_LOCAL_WDT 0x3080 4393*6d67aabdSBjoern A. Zeeb #define B_BE_LOCAL_WDT_TIMEOUT BIT(31) 4394*6d67aabdSBjoern A. Zeeb #define B_BE_LOCAL_WDT_TIMER_CLEAR BIT(4) 4395*6d67aabdSBjoern A. Zeeb #define B_BE_LOCAL_WDT_BYPASS BIT(1) 4396*6d67aabdSBjoern A. Zeeb #define B_BE_LOCAL_WDT_ENABLE BIT(0) 4397*6d67aabdSBjoern A. Zeeb 4398*6d67aabdSBjoern A. Zeeb #define R_BE_MDIO_WDT 0x308C 4399*6d67aabdSBjoern A. Zeeb #define B_BE_MDIO_WDT_TIMEOUT BIT(31) 4400*6d67aabdSBjoern A. Zeeb #define B_BE_MDIO_WDT_TIMER_CLEAR BIT(4) 4401*6d67aabdSBjoern A. Zeeb #define B_BE_MDIO_WDT_BYPASS BIT(1) 4402*6d67aabdSBjoern A. Zeeb #define B_BE_MDIO_WDT_ENABLE BIT(0) 4403*6d67aabdSBjoern A. Zeeb 4404*6d67aabdSBjoern A. Zeeb #define R_BE_LA_MODE_WDT 0x3098 4405*6d67aabdSBjoern A. Zeeb #define B_BE_LA_MODE_WDT_TIMEOUT BIT(31) 4406*6d67aabdSBjoern A. Zeeb #define B_BE_LA_MODE_WDT_TIMER_CLEAR BIT(4) 4407*6d67aabdSBjoern A. Zeeb #define B_BE_LA_MODE_WDT_BYPASS BIT(1) 4408*6d67aabdSBjoern A. Zeeb #define B_BE_LA_MODE_WDT_ENABLE BIT(0) 4409*6d67aabdSBjoern A. Zeeb 4410*6d67aabdSBjoern A. Zeeb #define R_BE_WDT_AR 0x3140 4411*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_AR_TIMEOUT BIT(31) 4412*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_AR_TIMER_CLEAR BIT(4) 4413*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_AR_BYPASS BIT(1) 4414*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_AR_ENABLE BIT(0) 4415*6d67aabdSBjoern A. Zeeb 4416*6d67aabdSBjoern A. Zeeb #define R_BE_WDT_AW 0x314C 4417*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_AW_TIMEOUT BIT(31) 4418*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_AW_TIMER_CLEAR BIT(4) 4419*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_AW_BYPASS BIT(1) 4420*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_AW_ENABLE BIT(0) 4421*6d67aabdSBjoern A. Zeeb 4422*6d67aabdSBjoern A. Zeeb #define R_BE_WDT_W 0x3158 4423*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_W_TIMEOUT BIT(31) 4424*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_W_TIMER_CLEAR BIT(4) 4425*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_W_BYPASS BIT(1) 4426*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_W_ENABLE BIT(0) 4427*6d67aabdSBjoern A. Zeeb 4428*6d67aabdSBjoern A. Zeeb #define R_BE_WDT_B 0x3160 4429*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_B_TIMEOUT BIT(31) 4430*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_B_TIMER_CLEAR BIT(4) 4431*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_B_BYPASS BIT(1) 4432*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_B_ENABLE BIT(0) 4433*6d67aabdSBjoern A. Zeeb 4434*6d67aabdSBjoern A. Zeeb #define R_BE_WDT_R 0x3168 4435*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_R_TIMEOUT BIT(31) 4436*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_R_TIMER_CLEAR BIT(4) 4437*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_R_BYPASS BIT(1) 4438*6d67aabdSBjoern A. Zeeb #define B_BE_WDT_R_ENABLE BIT(0) 4439*6d67aabdSBjoern A. Zeeb 4440*6d67aabdSBjoern A. Zeeb #define R_BE_LTR_DECISION_CTRL_V1 0x3610 4441*6d67aabdSBjoern A. Zeeb #define B_BE_ENABLE_LTR_CTL_DECISION BIT(31) 4442*6d67aabdSBjoern A. Zeeb #define B_BE_LAT_LTR_IDX_DRV_VLD_V1 BIT(24) 4443*6d67aabdSBjoern A. Zeeb #define B_BE_LAT_LTR_IDX_DRV_V1_MASK GENMASK(23, 22) 4444*6d67aabdSBjoern A. Zeeb #define B_BE_LAT_LTR_IDX_FW_VLD_V1 BIT(21) 4445*6d67aabdSBjoern A. Zeeb #define B_BE_LAT_LTR_IDX_FW_V1_MASK GENMASK(20, 19) 4446*6d67aabdSBjoern A. Zeeb #define B_BE_LAT_LTR_IDX_HW_VLD_V1 BIT(18) 4447*6d67aabdSBjoern A. Zeeb #define B_BE_LAT_LTR_IDX_HW_V1_MASK GENMASK(17, 16) 4448*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_IDX_DRV_V1_MASK GENMASK(15, 14) 4449*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_REQ_DRV_V1 BIT(13) 4450*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_IDX_DISABLE_V1_MASK GENMASK(9, 8) 4451*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_EN_PORT_V1_MASK GENMASK(6, 4) 4452*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_DRV_DEC_EN_V1 BIT(6) 4453*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_FW_DEC_EN_V1 BIT(5) 4454*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_HW_DEC_EN_V1 BIT(4) 4455*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_SPACE_IDX_MASK GENMASK(1, 0) 4456*6d67aabdSBjoern A. Zeeb 4457*6d67aabdSBjoern A. Zeeb #define R_BE_LTR_LATENCY_IDX0_V1 0x3614 4458*6d67aabdSBjoern A. Zeeb #define R_BE_LTR_LATENCY_IDX1_V1 0x3618 4459*6d67aabdSBjoern A. Zeeb #define R_BE_LTR_LATENCY_IDX2_V1 0x361C 4460*6d67aabdSBjoern A. Zeeb #define R_BE_LTR_LATENCY_IDX3_V1 0x3620 4461*6d67aabdSBjoern A. Zeeb 4462*6d67aabdSBjoern A. Zeeb #define R_BE_H2CREG_DATA0 0x7140 4463*6d67aabdSBjoern A. Zeeb #define R_BE_H2CREG_DATA1 0x7144 4464*6d67aabdSBjoern A. Zeeb #define R_BE_H2CREG_DATA2 0x7148 4465*6d67aabdSBjoern A. Zeeb #define R_BE_H2CREG_DATA3 0x714C 4466*6d67aabdSBjoern A. Zeeb #define R_BE_C2HREG_DATA0 0x7150 4467*6d67aabdSBjoern A. Zeeb #define R_BE_C2HREG_DATA1 0x7154 4468*6d67aabdSBjoern A. Zeeb #define R_BE_C2HREG_DATA2 0x7158 4469*6d67aabdSBjoern A. Zeeb #define R_BE_C2HREG_DATA3 0x715C 4470*6d67aabdSBjoern A. Zeeb #define R_BE_H2CREG_CTRL 0x7160 4471*6d67aabdSBjoern A. Zeeb #define B_BE_H2CREG_TRIGGER BIT(0) 4472*6d67aabdSBjoern A. Zeeb #define R_BE_C2HREG_CTRL 0x7164 4473*6d67aabdSBjoern A. Zeeb #define B_BE_C2HREG_TRIGGER BIT(0) 4474*6d67aabdSBjoern A. Zeeb 4475*6d67aabdSBjoern A. Zeeb #define R_BE_HCI_FUNC_EN 0x7880 4476*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_CR_PROTECT BIT(31) 4477*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_TRXBUF_EN BIT(2) 4478*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_RXDMA_EN BIT(1) 4479*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_TXDMA_EN BIT(0) 4480*6d67aabdSBjoern A. Zeeb 4481*6d67aabdSBjoern A. Zeeb #define R_BE_DBG_WOW_READY 0x815E 4482*6d67aabdSBjoern A. Zeeb #define B_BE_DBG_WOW_READY GENMASK(7, 0) 4483*6d67aabdSBjoern A. Zeeb 4484*6d67aabdSBjoern A. Zeeb #define R_BE_DMAC_FUNC_EN 0x8400 4485*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_CRPRT BIT(31) 4486*6d67aabdSBjoern A. Zeeb #define B_BE_MAC_FUNC_EN BIT(30) 4487*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_FUNC_EN BIT(29) 4488*6d67aabdSBjoern A. Zeeb #define B_BE_MPDU_PROC_EN BIT(28) 4489*6d67aabdSBjoern A. Zeeb #define B_BE_WD_RLS_EN BIT(27) 4490*6d67aabdSBjoern A. Zeeb #define B_BE_DLE_WDE_EN BIT(26) 4491*6d67aabdSBjoern A. Zeeb #define B_BE_TXPKT_CTRL_EN BIT(25) 4492*6d67aabdSBjoern A. Zeeb #define B_BE_STA_SCH_EN BIT(24) 4493*6d67aabdSBjoern A. Zeeb #define B_BE_DLE_PLE_EN BIT(23) 4494*6d67aabdSBjoern A. Zeeb #define B_BE_PKT_BUF_EN BIT(22) 4495*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_TBL_EN BIT(21) 4496*6d67aabdSBjoern A. Zeeb #define B_BE_PKT_IN_EN BIT(20) 4497*6d67aabdSBjoern A. Zeeb #define B_BE_DLE_CPUIO_EN BIT(19) 4498*6d67aabdSBjoern A. Zeeb #define B_BE_DISPATCHER_EN BIT(18) 4499*6d67aabdSBjoern A. Zeeb #define B_BE_BBRPT_EN BIT(17) 4500*6d67aabdSBjoern A. Zeeb #define B_BE_MAC_SEC_EN BIT(16) 4501*6d67aabdSBjoern A. Zeeb #define B_BE_DMACREG_GCKEN BIT(15) 4502*6d67aabdSBjoern A. Zeeb #define B_BE_H_AXIDMA_EN BIT(14) 4503*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_MLO_EN BIT(11) 4504*6d67aabdSBjoern A. Zeeb #define B_BE_PLRLS_EN BIT(10) 4505*6d67aabdSBjoern A. Zeeb #define B_BE_P_AXIDMA_EN BIT(9) 4506*6d67aabdSBjoern A. Zeeb #define B_BE_DLE_DATACPUIO_EN BIT(8) 4507*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_CTL_EN BIT(7) 4508*6d67aabdSBjoern A. Zeeb 4509*6d67aabdSBjoern A. Zeeb #define R_BE_DMAC_CLK_EN 0x8404 4510*6d67aabdSBjoern A. Zeeb #define B_BE_MAC_CKEN BIT(30) 4511*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_CKEN BIT(29) 4512*6d67aabdSBjoern A. Zeeb #define B_BE_MPDU_CKEN BIT(28) 4513*6d67aabdSBjoern A. Zeeb #define B_BE_WD_RLS_CLK_EN BIT(27) 4514*6d67aabdSBjoern A. Zeeb #define B_BE_DLE_WDE_CLK_EN BIT(26) 4515*6d67aabdSBjoern A. Zeeb #define B_BE_TXPKT_CTRL_CLK_EN BIT(25) 4516*6d67aabdSBjoern A. Zeeb #define B_BE_STA_SCH_CLK_EN BIT(24) 4517*6d67aabdSBjoern A. Zeeb #define B_BE_DLE_PLE_CLK_EN BIT(23) 4518*6d67aabdSBjoern A. Zeeb #define B_BE_PKTBUF_CKEN BIT(22) 4519*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_TABLE_CLK_EN BIT(21) 4520*6d67aabdSBjoern A. Zeeb #define B_BE_PKT_IN_CLK_EN BIT(20) 4521*6d67aabdSBjoern A. Zeeb #define B_BE_DLE_CPUIO_CLK_EN BIT(19) 4522*6d67aabdSBjoern A. Zeeb #define B_BE_DISPATCHER_CLK_EN BIT(18) 4523*6d67aabdSBjoern A. Zeeb #define B_BE_BBRPT_CLK_EN BIT(17) 4524*6d67aabdSBjoern A. Zeeb #define B_BE_MAC_SEC_CLK_EN BIT(16) 4525*6d67aabdSBjoern A. Zeeb #define B_BE_H_AXIDMA_CKEN BIT(14) 4526*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_MLO_CKEN BIT(11) 4527*6d67aabdSBjoern A. Zeeb #define B_BE_PLRLS_CKEN BIT(10) 4528*6d67aabdSBjoern A. Zeeb #define B_BE_P_AXIDMA_CKEN BIT(9) 4529*6d67aabdSBjoern A. Zeeb #define B_BE_DLE_DATACPUIO_CKEN BIT(8) 4530*6d67aabdSBjoern A. Zeeb 4531*6d67aabdSBjoern A. Zeeb #define R_BE_LTR_CTRL_0 0x8410 4532*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_REQ_FW BIT(18) 4533*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_IDX_FW_MASK GENMASK(17, 16) 4534*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_IDLE_TIMER_IDX_MASK GENMASK(10, 8) 4535*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_WD_NOEMP_CHK BIT(1) 4536*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_HW_EN BIT(0) 4537*6d67aabdSBjoern A. Zeeb 4538*6d67aabdSBjoern A. Zeeb #define R_BE_LTR_CFG_0 0x8414 4539*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_IDX_DISABLE_MASK GENMASK(17, 16) 4540*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_IDX_IDLE_MASK GENMASK(15, 14) 4541*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_IDX_ACTIVE_MASK GENMASK(13, 12) 4542*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_IDLE_TIMER_IDX_MASK GENMASK(10, 8) 4543*6d67aabdSBjoern A. Zeeb #define B_BE_EN_LTR_CMAC_RX_USE_PG_CHK BIT(3) 4544*6d67aabdSBjoern A. Zeeb #define B_BE_EN_LTR_WD_NON_EMPTY_CHK BIT(2) 4545*6d67aabdSBjoern A. Zeeb #define B_BE_EN_LTR_HAXIDMA_TX_IDLE_CHK BIT(1) 4546*6d67aabdSBjoern A. Zeeb #define B_BE_EN_LTR_HAXIDMA_RX_IDLE_CHK BIT(0) 4547*6d67aabdSBjoern A. Zeeb 4548*6d67aabdSBjoern A. Zeeb #define R_BE_LTR_CFG_1 0x8418 4549*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_CMAC1_RX_USE_PG_TH_MASK GENMASK(27, 16) 4550*6d67aabdSBjoern A. Zeeb #define B_BE_LTR_CMAC0_RX_USE_PG_TH_MASK GENMASK(11, 0) 4551*6d67aabdSBjoern A. Zeeb 4552*6d67aabdSBjoern A. Zeeb #define R_BE_DMAC_TABLE_CTRL 0x8420 4553*6d67aabdSBjoern A. Zeeb #define B_BE_HWAMSDU_PADDING_MODE BIT(31) 4554*6d67aabdSBjoern A. Zeeb #define B_BE_MACID_MPDU_PROCESSOR_OFFSET_MASK GENMASK(26, 16) 4555*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_ADDR_MODE BIT(12) 4556*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_CTRL_INFO_SER_IO BIT(11) 4557*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_CTRL_INFO_OFFSET_MASK GENMASK(10, 0) 4558*6d67aabdSBjoern A. Zeeb 4559*6d67aabdSBjoern A. Zeeb #define R_BE_SER_DBG_INFO 0x8424 4560*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_PROMOTE_L1_EVENT_MASK GENMASK(31, 28) 4561*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_COUNTER_MASK GENMASK(27, 24) 4562*6d67aabdSBjoern A. Zeeb #define B_BE_RMAC_PPDU_HANG_CNT_MASK GENMASK(23, 16) 4563*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_COUNTER_MASK GENMASK(8, 0) 4564*6d67aabdSBjoern A. Zeeb 4565*6d67aabdSBjoern A. Zeeb #define R_BE_DMAC_SYS_CR32B 0x842C 4566*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_PHY1_MASK GENMASK(31, 16) 4567*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_PHY0_MASK GENMASK(15, 0) 4568*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_39 BIT(31) 4569*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_38 BIT(30) 4570*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_37 BIT(29) 4571*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_36 BIT(28) 4572*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_35 BIT(27) 4573*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_34 BIT(26) 4574*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_33 BIT(25) 4575*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_32 BIT(24) 4576*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_31 BIT(23) 4577*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_30 BIT(22) 4578*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_29 BIT(21) 4579*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_28 BIT(20) 4580*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_27 BIT(19) 4581*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_26 BIT(18) 4582*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_25 BIT(17) 4583*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_24 BIT(16) 4584*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_23 BIT(15) 4585*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_22 BIT(14) 4586*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_21 BIT(13) 4587*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_20 BIT(12) 4588*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_19 BIT(11) 4589*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_18 BIT(10) 4590*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_17 BIT(9) 4591*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_16 BIT(8) 4592*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_15 BIT(7) 4593*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_14 BIT(6) 4594*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_13 BIT(5) 4595*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_12 BIT(4) 4596*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_11 BIT(3) 4597*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_10 BIT(2) 4598*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_9 BIT(1) 4599*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_BB_CTRL_8 BIT(0) 4600*6d67aabdSBjoern A. Zeeb 4601*6d67aabdSBjoern A. Zeeb #define R_BE_DLE_EMPTY0 0x8430 4602*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QTA_DMAC_H2D BIT(27) 4603*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QTA_DMAC_CPUIO BIT(26) 4604*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QTA_DMAC_MPDU_TX BIT(25) 4605*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QTA_DMAC_WLAN_CPU BIT(24) 4606*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QTA_DMAC_H2C BIT(23) 4607*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QTA_DMAC_B1_TXPL BIT(22) 4608*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QTA_DMAC_B0_TXPL BIT(21) 4609*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QTA_DMAC_CPUIO BIT(20) 4610*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QTA_DMAC_PKTIN BIT(19) 4611*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QTA_DMAC_DATA_CPU BIT(18) 4612*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QTA_DMAC_WLAN_CPU BIT(17) 4613*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QTA_DMAC_HIF BIT(16) 4614*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QUE_CMAC_B1_HIQ BIT(15) 4615*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QUE_CMAC_B1_MBH BIT(14) 4616*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QUE_CMAC_B0_OTHERS BIT(13) 4617*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QUE_DMAC_MLO_ACQ BIT(12) 4618*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QUE_DMAC_MLO_MISC BIT(11) 4619*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QUE_DMAC_PKTIN BIT(10) 4620*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QUE_DMAC_SEC_TX BIT(9) 4621*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QUE_DMAC_MPDU_TX BIT(8) 4622*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QUE_OTHERS BIT(7) 4623*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QUE_CMAC_WMM3 BIT(6) 4624*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QUE_CMAC_WMM2 BIT(5) 4625*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QUE_CMAC0_WMM1 BIT(4) 4626*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QUE_CMAC0_WMM0 BIT(3) 4627*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QUE_CMAC1_MBH BIT(2) 4628*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QUE_CMAC0_MBH BIT(1) 4629*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QUE_CMAC0_ALL_AC BIT(0) 4630*6d67aabdSBjoern A. Zeeb 4631*6d67aabdSBjoern A. Zeeb #define R_BE_DLE_EMPTY1 0x8434 4632*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QTA_CMAC_DMA_TXRPT BIT(21) 4633*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QTA_DMAC_WDRLS BIT(20) 4634*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QTA_CMAC1_DMA_BBRPT BIT(19) 4635*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QTA_CMAC1_DMA_RX BIT(18) 4636*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QTA_CMAC0_DMA_RX BIT(17) 4637*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QTA_DMAC_C2H BIT(16) 4638*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QUE_DMAC_PLRLS BIT(5) 4639*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QUE_DMAC_CPUIO BIT(4) 4640*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QUE_DMAC_SEC_RX BIT(3) 4641*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QUE_DMAC_MPDU_RX BIT(2) 4642*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_EMPTY_QUE_DMAC_HDP BIT(1) 4643*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_EMPTY_QUE_DMAC_WDRLS BIT(0) 4644*6d67aabdSBjoern A. Zeeb 4645*6d67aabdSBjoern A. Zeeb #define R_BE_SER_L1_DBG_CNT_0 0x8440 4646*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_WDRLS_CNT_MASK GENMASK(31, 24) 4647*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_SEC_CNT_MASK GENMASK(23, 16) 4648*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_MPDU_CNT_MASK GENMASK(15, 8) 4649*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_STA_SCH_CNT_MASK GENMASK(7, 0) 4650*6d67aabdSBjoern A. Zeeb 4651*6d67aabdSBjoern A. Zeeb #define R_BE_SER_L1_DBG_CNT_1 0x8444 4652*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_WDE_CNT_MASK GENMASK(31, 24) 4653*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_TXPKTCTRL_CNT_MASK GENMASK(23, 16) 4654*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_PLE_CNT_MASK GENMASK(15, 8) 4655*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_PKTIN_CNT_MASK GENMASK(7, 0) 4656*6d67aabdSBjoern A. Zeeb 4657*6d67aabdSBjoern A. Zeeb #define R_BE_SER_L1_DBG_CNT_2 0x8448 4658*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_DISP_CNT_MASK GENMASK(31, 24) 4659*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_APB_BRIDGE_CNT_MASK GENMASK(23, 16) 4660*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_DLE_W_CPUIO_CNT_MASK GENMASK(15, 8) 4661*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_BBRPT_CNT_MASK GENMASK(7, 0) 4662*6d67aabdSBjoern A. Zeeb 4663*6d67aabdSBjoern A. Zeeb #define R_BE_SER_L1_DBG_CNT_3 0x844C 4664*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_HCI_BUF_CNT_MASK GENMASK(31, 24) 4665*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_P_AXIDMA_CNT_MASK GENMASK(23, 16) 4666*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_H_AXIDMA_CNT_MASK GENMASK(15, 8) 4667*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_MLO_ERR_CNT_MASK GENMASK(7, 0) 4668*6d67aabdSBjoern A. Zeeb 4669*6d67aabdSBjoern A. Zeeb #define R_BE_SER_L1_DBG_CNT_4 0x8450 4670*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_PLDRLS_ERR_CNT_MASK GENMASK(31, 24) 4671*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_DLE_D_CPUIO_CNT_MASK GENMASK(23, 16) 4672*6d67aabdSBjoern A. Zeeb 4673*6d67aabdSBjoern A. Zeeb #define R_BE_SER_L1_DBG_CNT_5 0x8454 4674*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_DBG_0_MASK GENMASK(31, 0) 4675*6d67aabdSBjoern A. Zeeb 4676*6d67aabdSBjoern A. Zeeb #define R_BE_SER_L1_DBG_CNT_6 0x8458 4677*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_DBG_1_MASK GENMASK(31, 0) 4678*6d67aabdSBjoern A. Zeeb 4679*6d67aabdSBjoern A. Zeeb #define R_BE_SER_L1_DBG_CNT_7 0x845C 4680*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L1_DBG_2_MASK GENMASK(31, 0) 4681*6d67aabdSBjoern A. Zeeb 4682*6d67aabdSBjoern A. Zeeb #define R_BE_DMAC_ERR_IMR 0x8520 4683*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_NOTX_ERR_INT_EN BIT(21) 4684*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_NORX_ERR_INT_EN BIT(20) 4685*6d67aabdSBjoern A. Zeeb #define B_BE_DLE_DATACPUIO_ERR_INT_EN BIT(19) 4686*6d67aabdSBjoern A. Zeeb #define B_BE_PLRSL_ERR_INT_EN BIT(18) 4687*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_ERR_INT_EN BIT(17) 4688*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_FW_ERR_INT_EN BIT(16) 4689*6d67aabdSBjoern A. Zeeb #define B_BE_H_AXIDMA_ERR_INT_EN BIT(14) 4690*6d67aabdSBjoern A. Zeeb #define B_BE_P_AXIDMA_ERR_INT_EN BIT(13) 4691*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_BUF_ERR_INT_EN BIT(12) 4692*6d67aabdSBjoern A. Zeeb #define B_BE_BBRPT_ERR_INT_EN BIT(11) 4693*6d67aabdSBjoern A. Zeeb #define B_BE_DLE_CPUIO_ERR_INT_EN BIT(10) 4694*6d67aabdSBjoern A. Zeeb #define B_BE_APB_BRIDGE_ERR_INT_EN BIT(9) 4695*6d67aabdSBjoern A. Zeeb #define B_BE_DISPATCH_ERR_INT_EN BIT(8) 4696*6d67aabdSBjoern A. Zeeb #define B_BE_PKTIN_ERR_INT_EN BIT(7) 4697*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_DLE_ERR_INT_EN BIT(6) 4698*6d67aabdSBjoern A. Zeeb #define B_BE_TXPKTCTRL_ERR_INT_EN BIT(5) 4699*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_DLE_ERR_INT_EN BIT(4) 4700*6d67aabdSBjoern A. Zeeb #define B_BE_STA_SCHEDULER_ERR_INT_EN BIT(3) 4701*6d67aabdSBjoern A. Zeeb #define B_BE_MPDU_ERR_INT_EN BIT(2) 4702*6d67aabdSBjoern A. Zeeb #define B_BE_WSEC_ERR_INT_EN BIT(1) 4703*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_ERR_INT_EN BIT(0) 4704*6d67aabdSBjoern A. Zeeb 4705*6d67aabdSBjoern A. Zeeb #define R_BE_DMAC_ERR_ISR 0x8524 4706*6d67aabdSBjoern A. Zeeb #define B_BE_DLE_DATACPUIO_ERR_INT BIT(19) 4707*6d67aabdSBjoern A. Zeeb #define B_BE_PLRLS_ERR_INT BIT(18) 4708*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_ERR_INT BIT(17) 4709*6d67aabdSBjoern A. Zeeb #define B_BE_DMAC_FW_ERR_IDCT BIT(16) 4710*6d67aabdSBjoern A. Zeeb #define B_BE_H_AXIDMA_ERR_INT BIT(14) 4711*6d67aabdSBjoern A. Zeeb #define B_BE_P_AXIDMA_ERR_INT BIT(13) 4712*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_BUF_ERR_FLAG BIT(12) 4713*6d67aabdSBjoern A. Zeeb #define B_BE_BBRPT_ERR_FLAG BIT(11) 4714*6d67aabdSBjoern A. Zeeb #define B_BE_DLE_CPUIO_ERR_FLAG BIT(10) 4715*6d67aabdSBjoern A. Zeeb #define B_BE_APB_BRIDGE_ERR_FLAG BIT(9) 4716*6d67aabdSBjoern A. Zeeb #define B_BE_DISPATCH_ERR_FLAG BIT(8) 4717*6d67aabdSBjoern A. Zeeb #define B_BE_PKTIN_ERR_FLAG BIT(7) 4718*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_DLE_ERR_FLAG BIT(6) 4719*6d67aabdSBjoern A. Zeeb #define B_BE_TXPKTCTRL_ERR_FLAG BIT(5) 4720*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_DLE_ERR_FLAG BIT(4) 4721*6d67aabdSBjoern A. Zeeb #define B_BE_STA_SCHEDULER_ERR_FLAG BIT(3) 4722*6d67aabdSBjoern A. Zeeb #define B_BE_MPDU_ERR_FLAG BIT(2) 4723*6d67aabdSBjoern A. Zeeb #define B_BE_WSEC_ERR_FLAG BIT(1) 4724*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_ERR_FLAG BIT(0) 4725*6d67aabdSBjoern A. Zeeb 4726*6d67aabdSBjoern A. Zeeb #define R_BE_DISP_ERROR_ISR0 0x8804 4727*6d67aabdSBjoern A. Zeeb #define B_BE_REUSE_SIZE_ERR BIT(31) 4728*6d67aabdSBjoern A. Zeeb #define B_BE_REUSE_EN_ERR BIT(30) 4729*6d67aabdSBjoern A. Zeeb #define B_BE_STF_OQT_UNDERFLOW_ERR BIT(29) 4730*6d67aabdSBjoern A. Zeeb #define B_BE_STF_OQT_OVERFLOW_ERR BIT(28) 4731*6d67aabdSBjoern A. Zeeb #define B_BE_STF_WRFF_UNDERFLOW_ERR BIT(27) 4732*6d67aabdSBjoern A. Zeeb #define B_BE_STF_WRFF_OVERFLOW_ERR BIT(26) 4733*6d67aabdSBjoern A. Zeeb #define B_BE_STF_CMD_UNDERFLOW_ERR BIT(25) 4734*6d67aabdSBjoern A. Zeeb #define B_BE_STF_CMD_OVERFLOW_ERR BIT(24) 4735*6d67aabdSBjoern A. Zeeb #define B_BE_REUSE_SIZE_ZERO_ERR BIT(23) 4736*6d67aabdSBjoern A. Zeeb #define B_BE_REUSE_PKT_CNT_ERR BIT(22) 4737*6d67aabdSBjoern A. Zeeb #define B_BE_CDT_PTR_TIMEOUT_ERR BIT(21) 4738*6d67aabdSBjoern A. Zeeb #define B_BE_CDT_HCI_TIMEOUT_ERR BIT(20) 4739*6d67aabdSBjoern A. Zeeb #define B_BE_HDT_PTR_TIMEOUT_ERR BIT(19) 4740*6d67aabdSBjoern A. Zeeb #define B_BE_HDT_HCI_TIMEOUT_ERR BIT(18) 4741*6d67aabdSBjoern A. Zeeb #define B_BE_CDT_ADDR_INFO_LEN_ERR BIT(17) 4742*6d67aabdSBjoern A. Zeeb #define B_BE_HDT_ADDR_INFO_LEN_ERR BIT(16) 4743*6d67aabdSBjoern A. Zeeb #define B_BE_CDR_DMA_TIMEOUT_ERR BIT(15) 4744*6d67aabdSBjoern A. Zeeb #define B_BE_CDR_RX_TIMEOUT_ERR BIT(14) 4745*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_OUTPUT_ERR BIT(12) 4746*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_RESPOSE_ERR BIT(11) 4747*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_BURST_NUM_ERR BIT(10) 4748*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_NULL_PKT_ERR BIT(9) 4749*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_FLOW_CTRL_ERR BIT(8) 4750*6d67aabdSBjoern A. Zeeb #define B_BE_HDR_DMA_TIMEOUT_ERR BIT(7) 4751*6d67aabdSBjoern A. Zeeb #define B_BE_HDR_RX_TIMEOUT_ERR BIT(6) 4752*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_OUTPUT_ERR BIT(4) 4753*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_RESPONSE_ERR BIT(3) 4754*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_BURST_NUM_ERR BIT(2) 4755*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_NULL_PKT_ERR BIT(1) 4756*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_FLOW_CTRL_ERR BIT(0) 4757*6d67aabdSBjoern A. Zeeb 4758*6d67aabdSBjoern A. Zeeb #define R_BE_DISP_ERROR_ISR1 0x8808 4759*6d67aabdSBjoern A. Zeeb #define B_BE_HR_WRFF_UNDERFLOW_ERR BIT(31) 4760*6d67aabdSBjoern A. Zeeb #define B_BE_HR_WRFF_OVERFLOW_ERR BIT(30) 4761*6d67aabdSBjoern A. Zeeb #define B_BE_HR_CHKSUM_FSM_ERR BIT(29) 4762*6d67aabdSBjoern A. Zeeb #define B_BE_HR_SHIFT_DMA_CFG_ERR BIT(28) 4763*6d67aabdSBjoern A. Zeeb #define B_BE_HR_DMA_PROCESS_ERR BIT(27) 4764*6d67aabdSBjoern A. Zeeb #define B_BE_HR_TOTAL_LEN_UNDER_ERR BIT(26) 4765*6d67aabdSBjoern A. Zeeb #define B_BE_HR_SHIFT_EN_ERR BIT(25) 4766*6d67aabdSBjoern A. Zeeb #define B_BE_HR_AGG_CFG_ERR BIT(24) 4767*6d67aabdSBjoern A. Zeeb #define B_BE_HR_PLD_LEN_ZERO_ERR BIT(22) 4768*6d67aabdSBjoern A. Zeeb #define B_BE_HT_ILL_CH_ERR BIT(20) 4769*6d67aabdSBjoern A. Zeeb #define B_BE_HT_ADDR_INFO_LEN_ERR BIT(18) 4770*6d67aabdSBjoern A. Zeeb #define B_BE_HT_WD_LEN_OVER_ERR BIT(17) 4771*6d67aabdSBjoern A. Zeeb #define B_BE_HT_PLD_CMD_UNDERFLOW_ERR BIT(16) 4772*6d67aabdSBjoern A. Zeeb #define B_BE_HT_PLD_CMD_OVERFLOW_ERR BIT(15) 4773*6d67aabdSBjoern A. Zeeb #define B_BE_HT_WRFF_UNDERFLOW_ERR BIT(14) 4774*6d67aabdSBjoern A. Zeeb #define B_BE_HT_WRFF_OVERFLOW_ERR BIT(13) 4775*6d67aabdSBjoern A. Zeeb #define B_BE_HT_CHKSUM_FSM_ERR BIT(12) 4776*6d67aabdSBjoern A. Zeeb #define B_BE_HT_NON_IDLE_PKT_STR_ERR BIT(11) 4777*6d67aabdSBjoern A. Zeeb #define B_BE_HT_PRE_SUB_BE_ERR BIT(10) 4778*6d67aabdSBjoern A. Zeeb #define B_BE_HT_WD_CHKSUM_ERR BIT(9) 4779*6d67aabdSBjoern A. Zeeb #define B_BE_HT_CHANNEL_DMA_ERR BIT(8) 4780*6d67aabdSBjoern A. Zeeb #define B_BE_HT_OFFSET_UNMATCH_ERR BIT(7) 4781*6d67aabdSBjoern A. Zeeb #define B_BE_HT_PAYLOAD_UNDER_ERR BIT(6) 4782*6d67aabdSBjoern A. Zeeb #define B_BE_HT_PAYLOAD_OVER_ERR BIT(5) 4783*6d67aabdSBjoern A. Zeeb #define B_BE_HT_PERMU_FF_UNDERFLOW_ERR BIT(4) 4784*6d67aabdSBjoern A. Zeeb #define B_BE_HT_PERMU_FF_OVERFLOW_ERR BIT(3) 4785*6d67aabdSBjoern A. Zeeb #define B_BE_HT_PKT_FAIL_ERR BIT(2) 4786*6d67aabdSBjoern A. Zeeb #define B_BE_HT_CH_ID_ERR BIT(1) 4787*6d67aabdSBjoern A. Zeeb #define B_BE_HT_EP_CH_DIFF_ERR BIT(0) 4788*6d67aabdSBjoern A. Zeeb 4789*6d67aabdSBjoern A. Zeeb #define R_BE_DISP_ERROR_ISR2 0x880C 4790*6d67aabdSBjoern A. Zeeb #define B_BE_CR_PLD_LEN_ERR BIT(30) 4791*6d67aabdSBjoern A. Zeeb #define B_BE_CR_WRFF_UNDERFLOW_ERR BIT(29) 4792*6d67aabdSBjoern A. Zeeb #define B_BE_CR_WRFF_OVERFLOW_ERR BIT(28) 4793*6d67aabdSBjoern A. Zeeb #define B_BE_CR_SHIFT_DMA_CFG_ERR BIT(27) 4794*6d67aabdSBjoern A. Zeeb #define B_BE_CR_DMA_PROCESS_ERR BIT(26) 4795*6d67aabdSBjoern A. Zeeb #define B_BE_CR_SHIFT_EN_ERR BIT(24) 4796*6d67aabdSBjoern A. Zeeb #define B_BE_REUSE_FIFO_B_UNDER_ERR BIT(22) 4797*6d67aabdSBjoern A. Zeeb #define B_BE_REUSE_FIFO_B_OVER_ERR BIT(21) 4798*6d67aabdSBjoern A. Zeeb #define B_BE_REUSE_FIFO_A_UNDER_ERR BIT(20) 4799*6d67aabdSBjoern A. Zeeb #define B_BE_REUSE_FIFO_A_OVER_ERR BIT(19) 4800*6d67aabdSBjoern A. Zeeb #define B_BE_CT_ADDR_INFO_LEN_MISS_ERR BIT(17) 4801*6d67aabdSBjoern A. Zeeb #define B_BE_CT_WD_LEN_OVER_ERR BIT(16) 4802*6d67aabdSBjoern A. Zeeb #define B_BE_CT_F2P_SEQ_ERR BIT(15) 4803*6d67aabdSBjoern A. Zeeb #define B_BE_CT_F2P_QSEL_ERR BIT(14) 4804*6d67aabdSBjoern A. Zeeb #define B_BE_CT_PLD_CMD_UNDERFLOW_ERR BIT(13) 4805*6d67aabdSBjoern A. Zeeb #define B_BE_CT_PLD_CMD_OVERFLOW_ERR BIT(12) 4806*6d67aabdSBjoern A. Zeeb #define B_BE_CT_PRE_SUB_ERR BIT(11) 4807*6d67aabdSBjoern A. Zeeb #define B_BE_CT_WD_CHKSUM_ERR BIT(10) 4808*6d67aabdSBjoern A. Zeeb #define B_BE_CT_CHANNEL_DMA_ERR BIT(9) 4809*6d67aabdSBjoern A. Zeeb #define B_BE_CT_OFFSET_UNMATCH_ERR BIT(8) 4810*6d67aabdSBjoern A. Zeeb #define B_BE_F2P_TOTAL_NUM_ERR BIT(7) 4811*6d67aabdSBjoern A. Zeeb #define B_BE_CT_PAYLOAD_UNDER_ERR BIT(6) 4812*6d67aabdSBjoern A. Zeeb #define B_BE_CT_PAYLOAD_OVER_ERR BIT(5) 4813*6d67aabdSBjoern A. Zeeb #define B_BE_CT_PERMU_FF_UNDERFLOW_ERR BIT(4) 4814*6d67aabdSBjoern A. Zeeb #define B_BE_CT_PERMU_FF_OVERFLOW_ERR BIT(3) 4815*6d67aabdSBjoern A. Zeeb #define B_BE_CT_CH_ID_ERR BIT(2) 4816*6d67aabdSBjoern A. Zeeb #define B_BE_CT_EP_CH_DIFF_ERR BIT(0) 4817*6d67aabdSBjoern A. Zeeb 4818*6d67aabdSBjoern A. Zeeb #define R_BE_DISP_OTHER_IMR 0x8870 4819*6d67aabdSBjoern A. Zeeb #define B_BE_REUSE_SIZE_ERR_INT_EN BIT(31) 4820*6d67aabdSBjoern A. Zeeb #define B_BE_REUSE_EN_ERR_INT_EN BIT(30) 4821*6d67aabdSBjoern A. Zeeb #define B_BE_STF_OQT_UNDERFLOW_ERR_INT_EN BIT(29) 4822*6d67aabdSBjoern A. Zeeb #define B_BE_STF_OQT_OVERFLOW_ERR_INT_EN BIT(28) 4823*6d67aabdSBjoern A. Zeeb #define B_BE_STF_WRFF_UNDERFLOW_ERR_INT_EN BIT(27) 4824*6d67aabdSBjoern A. Zeeb #define B_BE_STF_WRFF_OVERFLOW_ERR_INT_EN BIT(26) 4825*6d67aabdSBjoern A. Zeeb #define B_BE_STF_CMD_UNDERFLOW_ERR_INT_EN BIT(25) 4826*6d67aabdSBjoern A. Zeeb #define B_BE_STF_CMD_OVERFLOW_ERR_INT_EN BIT(24) 4827*6d67aabdSBjoern A. Zeeb #define B_BE_REUSE_SIZE_ZERO_ERR_INT_EN BIT(23) 4828*6d67aabdSBjoern A. Zeeb #define B_BE_REUSE_PKT_CNT_ERR_INT_EN BIT(22) 4829*6d67aabdSBjoern A. Zeeb #define B_BE_CDT_PTR_TIMEOUT_ERR_INT_EN BIT(21) 4830*6d67aabdSBjoern A. Zeeb #define B_BE_CDT_HCI_TIMEOUT_ERR_INT_EN BIT(20) 4831*6d67aabdSBjoern A. Zeeb #define B_BE_HDT_PTR_TIMEOUT_ERR_INT_EN BIT(19) 4832*6d67aabdSBjoern A. Zeeb #define B_BE_HDT_HCI_TIMEOUT_ERR_INT_EN BIT(18) 4833*6d67aabdSBjoern A. Zeeb #define B_BE_CDT_ADDR_INFO_LEN_ERR_INT_EN BIT(17) 4834*6d67aabdSBjoern A. Zeeb #define B_BE_HDT_ADDR_INFO_LEN_ERR_INT_EN BIT(16) 4835*6d67aabdSBjoern A. Zeeb #define B_BE_CDR_DMA_TIMEOUT_ERR_INT_EN BIT(15) 4836*6d67aabdSBjoern A. Zeeb #define B_BE_CDR_RX_TIMEOUT_ERR_INT_EN BIT(14) 4837*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_OUTPUT_ERR_INT_EN BIT(12) 4838*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_RESPOSE_ERR_INT_EN BIT(11) 4839*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_BURST_NUM_ERR_INT_EN BIT(10) 4840*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_NULL_PKT_ERR_INT_EN BIT(9) 4841*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_FLOW_CTRL_ERR_INT_EN BIT(8) 4842*6d67aabdSBjoern A. Zeeb #define B_BE_HDR_DMA_TIMEOUT_ERR_INT_EN BIT(7) 4843*6d67aabdSBjoern A. Zeeb #define B_BE_HDR_RX_TIMEOUT_ERR_INT_EN BIT(6) 4844*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_OUTPUT_ERR_INT_EN BIT(4) 4845*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_RESPONSE_ERR_INT_EN BIT(3) 4846*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_BURST_NUM_ERR_INT_EN BIT(2) 4847*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_NULL_PKT_ERR_INT_EN BIT(1) 4848*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_FLOW_CTRL_ERR_INT_EN BIT(0) 4849*6d67aabdSBjoern A. Zeeb #define B_BE_DISP_OTHER_IMR_CLR (B_BE_WDE_FLOW_CTRL_ERR_INT_EN | \ 4850*6d67aabdSBjoern A. Zeeb B_BE_WDE_NULL_PKT_ERR_INT_EN | \ 4851*6d67aabdSBjoern A. Zeeb B_BE_WDE_BURST_NUM_ERR_INT_EN | \ 4852*6d67aabdSBjoern A. Zeeb B_BE_WDE_RESPONSE_ERR_INT_EN | \ 4853*6d67aabdSBjoern A. Zeeb B_BE_WDE_OUTPUT_ERR_INT_EN | \ 4854*6d67aabdSBjoern A. Zeeb B_BE_HDR_RX_TIMEOUT_ERR_INT_EN | \ 4855*6d67aabdSBjoern A. Zeeb B_BE_HDR_DMA_TIMEOUT_ERR_INT_EN | \ 4856*6d67aabdSBjoern A. Zeeb B_BE_PLE_FLOW_CTRL_ERR_INT_EN | \ 4857*6d67aabdSBjoern A. Zeeb B_BE_PLE_NULL_PKT_ERR_INT_EN | \ 4858*6d67aabdSBjoern A. Zeeb B_BE_PLE_BURST_NUM_ERR_INT_EN | \ 4859*6d67aabdSBjoern A. Zeeb B_BE_PLE_RESPOSE_ERR_INT_EN | \ 4860*6d67aabdSBjoern A. Zeeb B_BE_PLE_OUTPUT_ERR_INT_EN | \ 4861*6d67aabdSBjoern A. Zeeb B_BE_CDR_RX_TIMEOUT_ERR_INT_EN | \ 4862*6d67aabdSBjoern A. Zeeb B_BE_CDR_DMA_TIMEOUT_ERR_INT_EN | \ 4863*6d67aabdSBjoern A. Zeeb B_BE_HDT_ADDR_INFO_LEN_ERR_INT_EN | \ 4864*6d67aabdSBjoern A. Zeeb B_BE_CDT_ADDR_INFO_LEN_ERR_INT_EN | \ 4865*6d67aabdSBjoern A. Zeeb B_BE_HDT_HCI_TIMEOUT_ERR_INT_EN | \ 4866*6d67aabdSBjoern A. Zeeb B_BE_HDT_PTR_TIMEOUT_ERR_INT_EN | \ 4867*6d67aabdSBjoern A. Zeeb B_BE_CDT_HCI_TIMEOUT_ERR_INT_EN | \ 4868*6d67aabdSBjoern A. Zeeb B_BE_CDT_PTR_TIMEOUT_ERR_INT_EN | \ 4869*6d67aabdSBjoern A. Zeeb B_BE_REUSE_PKT_CNT_ERR_INT_EN | \ 4870*6d67aabdSBjoern A. Zeeb B_BE_REUSE_SIZE_ZERO_ERR_INT_EN | \ 4871*6d67aabdSBjoern A. Zeeb B_BE_STF_CMD_OVERFLOW_ERR_INT_EN | \ 4872*6d67aabdSBjoern A. Zeeb B_BE_STF_CMD_UNDERFLOW_ERR_INT_EN | \ 4873*6d67aabdSBjoern A. Zeeb B_BE_STF_WRFF_OVERFLOW_ERR_INT_EN | \ 4874*6d67aabdSBjoern A. Zeeb B_BE_STF_WRFF_UNDERFLOW_ERR_INT_EN | \ 4875*6d67aabdSBjoern A. Zeeb B_BE_STF_OQT_OVERFLOW_ERR_INT_EN | \ 4876*6d67aabdSBjoern A. Zeeb B_BE_STF_OQT_UNDERFLOW_ERR_INT_EN | \ 4877*6d67aabdSBjoern A. Zeeb B_BE_REUSE_EN_ERR_INT_EN | \ 4878*6d67aabdSBjoern A. Zeeb B_BE_REUSE_SIZE_ERR_INT_EN) 4879*6d67aabdSBjoern A. Zeeb #define B_BE_DISP_OTHER_IMR_SET (B_BE_STF_CMD_OVERFLOW_ERR_INT_EN | \ 4880*6d67aabdSBjoern A. Zeeb B_BE_STF_CMD_UNDERFLOW_ERR_INT_EN | \ 4881*6d67aabdSBjoern A. Zeeb B_BE_STF_WRFF_OVERFLOW_ERR_INT_EN | \ 4882*6d67aabdSBjoern A. Zeeb B_BE_STF_WRFF_UNDERFLOW_ERR_INT_EN | \ 4883*6d67aabdSBjoern A. Zeeb B_BE_STF_OQT_OVERFLOW_ERR_INT_EN | \ 4884*6d67aabdSBjoern A. Zeeb B_BE_STF_OQT_UNDERFLOW_ERR_INT_EN) 4885*6d67aabdSBjoern A. Zeeb 4886*6d67aabdSBjoern A. Zeeb #define R_BE_DISP_HOST_IMR 0x8874 4887*6d67aabdSBjoern A. Zeeb #define B_BE_HR_WRFF_UNDERFLOW_ERR_INT_EN BIT(31) 4888*6d67aabdSBjoern A. Zeeb #define B_BE_HR_WRFF_OVERFLOW_ERR_INT_EN BIT(30) 4889*6d67aabdSBjoern A. Zeeb #define B_BE_HR_CHKSUM_FSM_ERR_INT_EN BIT(29) 4890*6d67aabdSBjoern A. Zeeb #define B_BE_HR_SHIFT_DMA_CFG_ERR_INT_EN BIT(28) 4891*6d67aabdSBjoern A. Zeeb #define B_BE_HR_DMA_PROCESS_ERR_INT_EN BIT(27) 4892*6d67aabdSBjoern A. Zeeb #define B_BE_HR_TOTAL_LEN_UNDER_ERR_INT_EN BIT(26) 4893*6d67aabdSBjoern A. Zeeb #define B_BE_HR_SHIFT_EN_ERR_INT_EN BIT(25) 4894*6d67aabdSBjoern A. Zeeb #define B_BE_HR_AGG_CFG_ERR_INT_EN BIT(24) 4895*6d67aabdSBjoern A. Zeeb #define B_BE_HR_PLD_LEN_ZERO_ERR_INT_EN BIT(22) 4896*6d67aabdSBjoern A. Zeeb #define B_BE_HT_ILL_CH_ERR_INT_EN BIT(20) 4897*6d67aabdSBjoern A. Zeeb #define B_BE_HT_ADDR_INFO_LEN_ERR_INT_EN BIT(18) 4898*6d67aabdSBjoern A. Zeeb #define B_BE_HT_WD_LEN_OVER_ERR_INT_EN BIT(17) 4899*6d67aabdSBjoern A. Zeeb #define B_BE_HT_PLD_CMD_UNDERFLOW_ERR_INT_EN BIT(16) 4900*6d67aabdSBjoern A. Zeeb #define B_BE_HT_PLD_CMD_OVERFLOW_ERR_INT_EN BIT(15) 4901*6d67aabdSBjoern A. Zeeb #define B_BE_HT_WRFF_UNDERFLOW_ERR_INT_EN BIT(14) 4902*6d67aabdSBjoern A. Zeeb #define B_BE_HT_WRFF_OVERFLOW_ERR_INT_EN BIT(13) 4903*6d67aabdSBjoern A. Zeeb #define B_BE_HT_CHKSUM_FSM_ERR_INT_EN BIT(12) 4904*6d67aabdSBjoern A. Zeeb #define B_BE_HT_NON_IDLE_PKT_STR_ERR_EN BIT(11) 4905*6d67aabdSBjoern A. Zeeb #define B_BE_HT_PRE_SUB_ERR_INT_EN BIT(10) 4906*6d67aabdSBjoern A. Zeeb #define B_BE_HT_WD_CHKSUM_ERR_INT_EN BIT(9) 4907*6d67aabdSBjoern A. Zeeb #define B_BE_HT_CHANNEL_DMA_ERR_INT_EN BIT(8) 4908*6d67aabdSBjoern A. Zeeb #define B_BE_HT_OFFSET_UNMATCH_ERR_INT_EN BIT(7) 4909*6d67aabdSBjoern A. Zeeb #define B_BE_HT_PAYLOAD_UNDER_ERR_INT_EN BIT(6) 4910*6d67aabdSBjoern A. Zeeb #define B_BE_HT_PAYLOAD_OVER_ERR_INT_EN BIT(5) 4911*6d67aabdSBjoern A. Zeeb #define B_BE_HT_PERMU_FF_UNDERFLOW_ERR_INT_EN BIT(4) 4912*6d67aabdSBjoern A. Zeeb #define B_BE_HT_PERMU_FF_OVERFLOW_ERR_INT_EN BIT(3) 4913*6d67aabdSBjoern A. Zeeb #define B_BE_HT_PKT_FAIL_ERR_INT_EN BIT(2) 4914*6d67aabdSBjoern A. Zeeb #define B_BE_HT_CH_ID_ERR_INT_EN BIT(1) 4915*6d67aabdSBjoern A. Zeeb #define B_BE_HT_EP_CH_DIFF_ERR_INT_EN BIT(0) 4916*6d67aabdSBjoern A. Zeeb #define B_BE_DISP_HOST_IMR_CLR (B_BE_HT_EP_CH_DIFF_ERR_INT_EN | \ 4917*6d67aabdSBjoern A. Zeeb B_BE_HT_CH_ID_ERR_INT_EN | \ 4918*6d67aabdSBjoern A. Zeeb B_BE_HT_PKT_FAIL_ERR_INT_EN | \ 4919*6d67aabdSBjoern A. Zeeb B_BE_HT_PERMU_FF_OVERFLOW_ERR_INT_EN | \ 4920*6d67aabdSBjoern A. Zeeb B_BE_HT_PERMU_FF_UNDERFLOW_ERR_INT_EN | \ 4921*6d67aabdSBjoern A. Zeeb B_BE_HT_PAYLOAD_OVER_ERR_INT_EN | \ 4922*6d67aabdSBjoern A. Zeeb B_BE_HT_PAYLOAD_UNDER_ERR_INT_EN | \ 4923*6d67aabdSBjoern A. Zeeb B_BE_HT_OFFSET_UNMATCH_ERR_INT_EN | \ 4924*6d67aabdSBjoern A. Zeeb B_BE_HT_CHANNEL_DMA_ERR_INT_EN | \ 4925*6d67aabdSBjoern A. Zeeb B_BE_HT_WD_CHKSUM_ERR_INT_EN | \ 4926*6d67aabdSBjoern A. Zeeb B_BE_HT_PRE_SUB_ERR_INT_EN | \ 4927*6d67aabdSBjoern A. Zeeb B_BE_HT_NON_IDLE_PKT_STR_ERR_EN | \ 4928*6d67aabdSBjoern A. Zeeb B_BE_HT_CHKSUM_FSM_ERR_INT_EN | \ 4929*6d67aabdSBjoern A. Zeeb B_BE_HT_WRFF_OVERFLOW_ERR_INT_EN | \ 4930*6d67aabdSBjoern A. Zeeb B_BE_HT_WRFF_UNDERFLOW_ERR_INT_EN | \ 4931*6d67aabdSBjoern A. Zeeb B_BE_HT_PLD_CMD_OVERFLOW_ERR_INT_EN | \ 4932*6d67aabdSBjoern A. Zeeb B_BE_HT_PLD_CMD_UNDERFLOW_ERR_INT_EN | \ 4933*6d67aabdSBjoern A. Zeeb B_BE_HT_WD_LEN_OVER_ERR_INT_EN | \ 4934*6d67aabdSBjoern A. Zeeb B_BE_HT_ADDR_INFO_LEN_ERR_INT_EN | \ 4935*6d67aabdSBjoern A. Zeeb B_BE_HT_ILL_CH_ERR_INT_EN | \ 4936*6d67aabdSBjoern A. Zeeb B_BE_HR_PLD_LEN_ZERO_ERR_INT_EN | \ 4937*6d67aabdSBjoern A. Zeeb B_BE_HR_AGG_CFG_ERR_INT_EN | \ 4938*6d67aabdSBjoern A. Zeeb B_BE_HR_SHIFT_EN_ERR_INT_EN | \ 4939*6d67aabdSBjoern A. Zeeb B_BE_HR_TOTAL_LEN_UNDER_ERR_INT_EN | \ 4940*6d67aabdSBjoern A. Zeeb B_BE_HR_DMA_PROCESS_ERR_INT_EN | \ 4941*6d67aabdSBjoern A. Zeeb B_BE_HR_SHIFT_DMA_CFG_ERR_INT_EN | \ 4942*6d67aabdSBjoern A. Zeeb B_BE_HR_CHKSUM_FSM_ERR_INT_EN | \ 4943*6d67aabdSBjoern A. Zeeb B_BE_HR_WRFF_OVERFLOW_ERR_INT_EN | \ 4944*6d67aabdSBjoern A. Zeeb B_BE_HR_WRFF_UNDERFLOW_ERR_INT_EN) 4945*6d67aabdSBjoern A. Zeeb #define B_BE_DISP_HOST_IMR_SET (B_BE_HT_EP_CH_DIFF_ERR_INT_EN | \ 4946*6d67aabdSBjoern A. Zeeb B_BE_HT_PERMU_FF_OVERFLOW_ERR_INT_EN | \ 4947*6d67aabdSBjoern A. Zeeb B_BE_HT_PERMU_FF_UNDERFLOW_ERR_INT_EN | \ 4948*6d67aabdSBjoern A. Zeeb B_BE_HT_PAYLOAD_OVER_ERR_INT_EN | \ 4949*6d67aabdSBjoern A. Zeeb B_BE_HT_PAYLOAD_UNDER_ERR_INT_EN | \ 4950*6d67aabdSBjoern A. Zeeb B_BE_HT_CHANNEL_DMA_ERR_INT_EN | \ 4951*6d67aabdSBjoern A. Zeeb B_BE_HT_PRE_SUB_ERR_INT_EN | \ 4952*6d67aabdSBjoern A. Zeeb B_BE_HT_WRFF_OVERFLOW_ERR_INT_EN | \ 4953*6d67aabdSBjoern A. Zeeb B_BE_HT_WRFF_UNDERFLOW_ERR_INT_EN | \ 4954*6d67aabdSBjoern A. Zeeb B_BE_HT_PLD_CMD_OVERFLOW_ERR_INT_EN | \ 4955*6d67aabdSBjoern A. Zeeb B_BE_HT_PLD_CMD_UNDERFLOW_ERR_INT_EN | \ 4956*6d67aabdSBjoern A. Zeeb B_BE_HT_WD_LEN_OVER_ERR_INT_EN | \ 4957*6d67aabdSBjoern A. Zeeb B_BE_HT_ILL_CH_ERR_INT_EN | \ 4958*6d67aabdSBjoern A. Zeeb B_BE_HR_TOTAL_LEN_UNDER_ERR_INT_EN | \ 4959*6d67aabdSBjoern A. Zeeb B_BE_HR_DMA_PROCESS_ERR_INT_EN | \ 4960*6d67aabdSBjoern A. Zeeb B_BE_HR_WRFF_OVERFLOW_ERR_INT_EN | \ 4961*6d67aabdSBjoern A. Zeeb B_BE_HR_WRFF_UNDERFLOW_ERR_INT_EN) 4962*6d67aabdSBjoern A. Zeeb 4963*6d67aabdSBjoern A. Zeeb #define R_BE_DISP_CPU_IMR 0x8878 4964*6d67aabdSBjoern A. Zeeb #define B_BE_CR_PLD_LEN_ERR_INT_EN BIT(30) 4965*6d67aabdSBjoern A. Zeeb #define B_BE_CR_WRFF_UNDERFLOW_ERR_INT_EN BIT(29) 4966*6d67aabdSBjoern A. Zeeb #define B_BE_CR_WRFF_OVERFLOW_ERR_INT_EN BIT(28) 4967*6d67aabdSBjoern A. Zeeb #define B_BE_CR_SHIFT_DMA_CFG_ERR_INT_EN BIT(27) 4968*6d67aabdSBjoern A. Zeeb #define B_BE_CR_DMA_PROCESS_ERR_INT_EN BIT(26) 4969*6d67aabdSBjoern A. Zeeb #define B_BE_CR_TOTAL_LEN_UNDER_ERR_INT_EN BIT(25) 4970*6d67aabdSBjoern A. Zeeb #define B_BE_CR_SHIFT_EN_ERR_INT_EN BIT(24) 4971*6d67aabdSBjoern A. Zeeb #define B_BE_REUSE_FIFO_B_UNDER_ERR_INT_EN BIT(22) 4972*6d67aabdSBjoern A. Zeeb #define B_BE_REUSE_FIFO_B_OVER_ERR_INT_EN BIT(21) 4973*6d67aabdSBjoern A. Zeeb #define B_BE_REUSE_FIFO_A_UNDER_ERR_INT_EN BIT(20) 4974*6d67aabdSBjoern A. Zeeb #define B_BE_REUSE_FIFO_A_OVER_ERR_INT_EN BIT(19) 4975*6d67aabdSBjoern A. Zeeb #define B_BE_CT_ADDR_INFO_LEN_MISS_ERR_INT_EN BIT(17) 4976*6d67aabdSBjoern A. Zeeb #define B_BE_CT_WD_LEN_OVER_ERR_INT_EN BIT(16) 4977*6d67aabdSBjoern A. Zeeb #define B_BE_CT_F2P_SEQ_ERR_INT_EN BIT(15) 4978*6d67aabdSBjoern A. Zeeb #define B_BE_CT_F2P_QSEL_ERR_INT_EN BIT(14) 4979*6d67aabdSBjoern A. Zeeb #define B_BE_CT_PLD_CMD_UNDERFLOW_ERR_INT_EN BIT(13) 4980*6d67aabdSBjoern A. Zeeb #define B_BE_CT_PLD_CMD_OVERFLOW_ERR_INT_EN BIT(12) 4981*6d67aabdSBjoern A. Zeeb #define B_BE_CT_PRE_SUB_ERR_INT_EN BIT(11) 4982*6d67aabdSBjoern A. Zeeb #define B_BE_CT_WD_CHKSUM_ERR_INT_EN BIT(10) 4983*6d67aabdSBjoern A. Zeeb #define B_BE_CT_CHANNEL_DMA_ERR_INT_EN BIT(9) 4984*6d67aabdSBjoern A. Zeeb #define B_BE_CT_OFFSET_UNMATCH_ERR_INT_EN BIT(8) 4985*6d67aabdSBjoern A. Zeeb #define B_BE_CT_PAYLOAD_CHKSUM_ERR_INT_EN BIT(7) 4986*6d67aabdSBjoern A. Zeeb #define B_BE_CT_PAYLOAD_UNDER_ERR_INT_EN BIT(6) 4987*6d67aabdSBjoern A. Zeeb #define B_BE_CT_PAYLOAD_OVER_ERR_INT_EN BIT(5) 4988*6d67aabdSBjoern A. Zeeb #define B_BE_CT_PERMU_FF_UNDERFLOW_ERR_INT_EN BIT(4) 4989*6d67aabdSBjoern A. Zeeb #define B_BE_CT_PERMU_FF_OVERFLOW_ERR_INT_EN BIT(3) 4990*6d67aabdSBjoern A. Zeeb #define B_BE_CT_CH_ID_ERR_INT_EN BIT(2) 4991*6d67aabdSBjoern A. Zeeb #define B_BE_CT_PKT_FAIL_ERR_INT_EN BIT(1) 4992*6d67aabdSBjoern A. Zeeb #define B_BE_CT_EP_CH_DIFF_ERR_INT_EN BIT(0) 4993*6d67aabdSBjoern A. Zeeb #define B_BE_DISP_CPU_IMR_CLR (B_BE_CT_EP_CH_DIFF_ERR_INT_EN | \ 4994*6d67aabdSBjoern A. Zeeb B_BE_CT_CH_ID_ERR_INT_EN | \ 4995*6d67aabdSBjoern A. Zeeb B_BE_CT_PERMU_FF_OVERFLOW_ERR_INT_EN | \ 4996*6d67aabdSBjoern A. Zeeb B_BE_CT_PERMU_FF_UNDERFLOW_ERR_INT_EN | \ 4997*6d67aabdSBjoern A. Zeeb B_BE_CT_PAYLOAD_OVER_ERR_INT_EN | \ 4998*6d67aabdSBjoern A. Zeeb B_BE_CT_PAYLOAD_UNDER_ERR_INT_EN | \ 4999*6d67aabdSBjoern A. Zeeb B_BE_CT_OFFSET_UNMATCH_ERR_INT_EN | \ 5000*6d67aabdSBjoern A. Zeeb B_BE_CT_CHANNEL_DMA_ERR_INT_EN | \ 5001*6d67aabdSBjoern A. Zeeb B_BE_CT_WD_CHKSUM_ERR_INT_EN | \ 5002*6d67aabdSBjoern A. Zeeb B_BE_CT_PRE_SUB_ERR_INT_EN | \ 5003*6d67aabdSBjoern A. Zeeb B_BE_CT_PLD_CMD_OVERFLOW_ERR_INT_EN | \ 5004*6d67aabdSBjoern A. Zeeb B_BE_CT_PLD_CMD_UNDERFLOW_ERR_INT_EN | \ 5005*6d67aabdSBjoern A. Zeeb B_BE_CT_F2P_QSEL_ERR_INT_EN | \ 5006*6d67aabdSBjoern A. Zeeb B_BE_CT_F2P_SEQ_ERR_INT_EN | \ 5007*6d67aabdSBjoern A. Zeeb B_BE_CT_WD_LEN_OVER_ERR_INT_EN | \ 5008*6d67aabdSBjoern A. Zeeb B_BE_CT_ADDR_INFO_LEN_MISS_ERR_INT_EN | \ 5009*6d67aabdSBjoern A. Zeeb B_BE_REUSE_FIFO_A_OVER_ERR_INT_EN | \ 5010*6d67aabdSBjoern A. Zeeb B_BE_REUSE_FIFO_A_UNDER_ERR_INT_EN | \ 5011*6d67aabdSBjoern A. Zeeb B_BE_REUSE_FIFO_B_OVER_ERR_INT_EN | \ 5012*6d67aabdSBjoern A. Zeeb B_BE_REUSE_FIFO_B_UNDER_ERR_INT_EN | \ 5013*6d67aabdSBjoern A. Zeeb B_BE_CR_SHIFT_EN_ERR_INT_EN | \ 5014*6d67aabdSBjoern A. Zeeb B_BE_CR_DMA_PROCESS_ERR_INT_EN | \ 5015*6d67aabdSBjoern A. Zeeb B_BE_CR_SHIFT_DMA_CFG_ERR_INT_EN | \ 5016*6d67aabdSBjoern A. Zeeb B_BE_CR_WRFF_OVERFLOW_ERR_INT_EN | \ 5017*6d67aabdSBjoern A. Zeeb B_BE_CR_WRFF_UNDERFLOW_ERR_INT_EN | \ 5018*6d67aabdSBjoern A. Zeeb B_BE_CR_PLD_LEN_ERR_INT_EN) 5019*6d67aabdSBjoern A. Zeeb #define B_BE_DISP_CPU_IMR_SET (B_BE_CT_EP_CH_DIFF_ERR_INT_EN | \ 5020*6d67aabdSBjoern A. Zeeb B_BE_CT_CH_ID_ERR_INT_EN | \ 5021*6d67aabdSBjoern A. Zeeb B_BE_CT_PERMU_FF_OVERFLOW_ERR_INT_EN | \ 5022*6d67aabdSBjoern A. Zeeb B_BE_CT_PERMU_FF_UNDERFLOW_ERR_INT_EN | \ 5023*6d67aabdSBjoern A. Zeeb B_BE_CT_PAYLOAD_OVER_ERR_INT_EN | \ 5024*6d67aabdSBjoern A. Zeeb B_BE_CT_PAYLOAD_UNDER_ERR_INT_EN | \ 5025*6d67aabdSBjoern A. Zeeb B_BE_CT_PRE_SUB_ERR_INT_EN | \ 5026*6d67aabdSBjoern A. Zeeb B_BE_CT_PLD_CMD_OVERFLOW_ERR_INT_EN | \ 5027*6d67aabdSBjoern A. Zeeb B_BE_CT_PLD_CMD_UNDERFLOW_ERR_INT_EN | \ 5028*6d67aabdSBjoern A. Zeeb B_BE_CT_WD_LEN_OVER_ERR_INT_EN | \ 5029*6d67aabdSBjoern A. Zeeb B_BE_REUSE_FIFO_A_OVER_ERR_INT_EN | \ 5030*6d67aabdSBjoern A. Zeeb B_BE_REUSE_FIFO_A_UNDER_ERR_INT_EN | \ 5031*6d67aabdSBjoern A. Zeeb B_BE_REUSE_FIFO_B_OVER_ERR_INT_EN | \ 5032*6d67aabdSBjoern A. Zeeb B_BE_REUSE_FIFO_B_UNDER_ERR_INT_EN | \ 5033*6d67aabdSBjoern A. Zeeb B_BE_CR_DMA_PROCESS_ERR_INT_EN | \ 5034*6d67aabdSBjoern A. Zeeb B_BE_CR_WRFF_OVERFLOW_ERR_INT_EN | \ 5035*6d67aabdSBjoern A. Zeeb B_BE_CR_WRFF_UNDERFLOW_ERR_INT_EN) 5036*6d67aabdSBjoern A. Zeeb 5037*6d67aabdSBjoern A. Zeeb #define R_BE_RX_STOP 0x8914 5038*6d67aabdSBjoern A. Zeeb #define B_BE_CPU_RX_STOP BIT(17) 5039*6d67aabdSBjoern A. Zeeb #define B_BE_HOST_RX_STOP BIT(16) 5040*6d67aabdSBjoern A. Zeeb #define B_BE_CPU_RX_CH_STOP_MSK GENMASK(15, 8) 5041*6d67aabdSBjoern A. Zeeb #define B_BE_HOST_RX_CH_STOP_MSK GENMASK(5, 0) 5042*6d67aabdSBjoern A. Zeeb 5043*6d67aabdSBjoern A. Zeeb #define R_BE_DISP_FWD_WLAN_0 0x8938 5044*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WLAN_CPU_TYPE_13_MASK GENMASK(31, 30) 5045*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WLAN_CPU_TYPE_12_MASK GENMASK(29, 28) 5046*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WLAN_CPU_TYPE_11_MASK GENMASK(27, 26) 5047*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WLAN_CPU_TYPE_10_MASK GENMASK(25, 24) 5048*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WLAN_CPU_TYPE_9_MASK GENMASK(23, 22) 5049*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WLAN_CPU_TYPE_8_MASK GENMASK(21, 20) 5050*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WLAN_CPU_TYPE_7_MASK GENMASK(19, 18) 5051*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WLAN_CPU_TYPE_6_MASK GENMASK(17, 16) 5052*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WLAN_CPU_TYPE_5_MASK GENMASK(15, 14) 5053*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WLAN_CPU_TYPE_4_MASK GENMASK(13, 12) 5054*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WLAN_CPU_TYPE_3_MASK GENMASK(11, 10) 5055*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WLAN_CPU_TYPE_2_MASK GENMASK(9, 8) 5056*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WLAN_CPU_TYPE_1_MASK GENMASK(7, 6) 5057*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WLAN_CPU_TYPE_0_CTL_MASK GENMASK(5, 4) 5058*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WLAN_CPU_TYPE_0_MNG_MASK GENMASK(3, 2) 5059*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WLAN_CPU_TYPE_0_DATA_MASK GENMASK(1, 0) 5060*6d67aabdSBjoern A. Zeeb 5061*6d67aabdSBjoern A. Zeeb #define R_BE_WDE_PKTBUF_CFG 0x8C08 5062*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_FREE_PAGE_NUM_MASK GENMASK(28, 16) 5063*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_START_BOUND_MASK GENMASK(14, 8) 5064*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_PAGE_SEL_MASK GENMASK(1, 0) 5065*6d67aabdSBjoern A. Zeeb 5066*6d67aabdSBjoern A. Zeeb #define R_BE_WDE_BUFMGN_CTL 0x8C10 5067*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_AVAL_UPD_REQ BIT(29) 5068*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_AVAL_UPD_QTAID_MASK GENMASK(27, 24) 5069*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_BUFMGN_FRZTMR_MODE BIT(0) 5070*6d67aabdSBjoern A. Zeeb 5071*6d67aabdSBjoern A. Zeeb #define R_BE_WDE_ERR_IMR 0x8C38 5072*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_DATCHN_CAMREQ_ERR_INT_EN BIT(29) 5073*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_DATCHN_ADRERR_ERR_INT_EN BIT(28) 5074*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_DATCHN_RRDY_ERR_INT_EN BIT(27) 5075*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_DATCHN_FRZTO_ERR_INT_EN BIT(26) 5076*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_DATCHN_NULLPG_ERR_INT_EN BIT(25) 5077*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_DATCHN_ARBT_ERR_INT_EN BIT(24) 5078*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_QUEMGN_FRZTO_ERR_INT_EN BIT(23) 5079*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_NXTPKTLL_AD_ERR_INT_EN BIT(22) 5080*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_PREPKTLLT_AD_ERR_INT_EN BIT(21) 5081*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_ENQ_PKTCNT_NVAL_ERR_INT_EN BIT(20) 5082*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_ENQ_PKTCNT_OVRF_ERR_INT_EN BIT(19) 5083*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_QUE_SRCQUEID_ERR_INT_EN BIT(18) 5084*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_QUE_DSTQUEID_ERR_INT_EN BIT(17) 5085*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_QUE_CMDTYPE_ERR_INT_EN BIT(16) 5086*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_BUFMGN_MRG_SZLMT_ERR_INT_EN BIT(13) 5087*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_BUFMGN_MRG_QTAID_ERR_INT_EN BIT(12) 5088*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_BUFMGN_MRG_ENDPKTID_ERR_INT_EN BIT(11) 5089*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_ERR_BUFMGN_MRG_STRPKTID_ERR_INT_EN BIT(10) 5090*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_BUFMGN_FRZTO_ERR_INT_EN BIT(9) 5091*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_GETNPG_PGOFST_ERR_INT_EN BIT(8) 5092*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_GETNPG_STRPG_ERR_INT_EN BIT(7) 5093*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_BUFREQ_SRCHTAILPG_ERR_INT_EN BIT(6) 5094*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_BUFRTN_SIZE_ERR_INT_EN BIT(5) 5095*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_BUFRTN_INVLD_PKTID_ERR_INT_EN BIT(4) 5096*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_BUFREQ_UNAVAL_ERR_INT_EN BIT(3) 5097*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_BUFREQ_SIZELMT_INT_EN BIT(2) 5098*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_BUFREQ_SIZE0_INT_EN BIT(1) 5099*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_BUFREQ_QTAID_ERR_INT_EN BIT(0) 5100*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_ERR_IMR_CLR (B_BE_WDE_BUFREQ_QTAID_ERR_INT_EN | \ 5101*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFREQ_SIZE0_INT_EN | \ 5102*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFREQ_SIZELMT_INT_EN | \ 5103*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFREQ_UNAVAL_ERR_INT_EN | \ 5104*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFRTN_INVLD_PKTID_ERR_INT_EN | \ 5105*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFRTN_SIZE_ERR_INT_EN | \ 5106*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFREQ_SRCHTAILPG_ERR_INT_EN | \ 5107*6d67aabdSBjoern A. Zeeb B_BE_WDE_GETNPG_STRPG_ERR_INT_EN | \ 5108*6d67aabdSBjoern A. Zeeb B_BE_WDE_GETNPG_PGOFST_ERR_INT_EN | \ 5109*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFMGN_FRZTO_ERR_INT_EN | \ 5110*6d67aabdSBjoern A. Zeeb B_BE_WDE_ERR_BUFMGN_MRG_STRPKTID_ERR_INT_EN | \ 5111*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFMGN_MRG_ENDPKTID_ERR_INT_EN | \ 5112*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFMGN_MRG_QTAID_ERR_INT_EN | \ 5113*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFMGN_MRG_SZLMT_ERR_INT_EN | \ 5114*6d67aabdSBjoern A. Zeeb B_BE_WDE_QUE_CMDTYPE_ERR_INT_EN | \ 5115*6d67aabdSBjoern A. Zeeb B_BE_WDE_QUE_DSTQUEID_ERR_INT_EN | \ 5116*6d67aabdSBjoern A. Zeeb B_BE_WDE_QUE_SRCQUEID_ERR_INT_EN | \ 5117*6d67aabdSBjoern A. Zeeb B_BE_WDE_ENQ_PKTCNT_OVRF_ERR_INT_EN | \ 5118*6d67aabdSBjoern A. Zeeb B_BE_WDE_ENQ_PKTCNT_NVAL_ERR_INT_EN | \ 5119*6d67aabdSBjoern A. Zeeb B_BE_WDE_PREPKTLLT_AD_ERR_INT_EN | \ 5120*6d67aabdSBjoern A. Zeeb B_BE_WDE_NXTPKTLL_AD_ERR_INT_EN | \ 5121*6d67aabdSBjoern A. Zeeb B_BE_WDE_QUEMGN_FRZTO_ERR_INT_EN | \ 5122*6d67aabdSBjoern A. Zeeb B_BE_WDE_DATCHN_ARBT_ERR_INT_EN | \ 5123*6d67aabdSBjoern A. Zeeb B_BE_WDE_DATCHN_NULLPG_ERR_INT_EN | \ 5124*6d67aabdSBjoern A. Zeeb B_BE_WDE_DATCHN_FRZTO_ERR_INT_EN | \ 5125*6d67aabdSBjoern A. Zeeb B_BE_WDE_DATCHN_RRDY_ERR_INT_EN | \ 5126*6d67aabdSBjoern A. Zeeb B_BE_WDE_DATCHN_ADRERR_ERR_INT_EN | \ 5127*6d67aabdSBjoern A. Zeeb B_BE_WDE_DATCHN_CAMREQ_ERR_INT_EN) 5128*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_ERR_IMR_SET (B_BE_WDE_BUFREQ_QTAID_ERR_INT_EN | \ 5129*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFREQ_SIZE0_INT_EN | \ 5130*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFREQ_SIZELMT_INT_EN | \ 5131*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFREQ_UNAVAL_ERR_INT_EN | \ 5132*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFRTN_INVLD_PKTID_ERR_INT_EN | \ 5133*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFRTN_SIZE_ERR_INT_EN | \ 5134*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFREQ_SRCHTAILPG_ERR_INT_EN | \ 5135*6d67aabdSBjoern A. Zeeb B_BE_WDE_GETNPG_STRPG_ERR_INT_EN | \ 5136*6d67aabdSBjoern A. Zeeb B_BE_WDE_GETNPG_PGOFST_ERR_INT_EN | \ 5137*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFMGN_FRZTO_ERR_INT_EN | \ 5138*6d67aabdSBjoern A. Zeeb B_BE_WDE_ERR_BUFMGN_MRG_STRPKTID_ERR_INT_EN | \ 5139*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFMGN_MRG_ENDPKTID_ERR_INT_EN | \ 5140*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFMGN_MRG_QTAID_ERR_INT_EN | \ 5141*6d67aabdSBjoern A. Zeeb B_BE_WDE_BUFMGN_MRG_SZLMT_ERR_INT_EN | \ 5142*6d67aabdSBjoern A. Zeeb B_BE_WDE_QUE_CMDTYPE_ERR_INT_EN | \ 5143*6d67aabdSBjoern A. Zeeb B_BE_WDE_QUE_DSTQUEID_ERR_INT_EN | \ 5144*6d67aabdSBjoern A. Zeeb B_BE_WDE_QUE_SRCQUEID_ERR_INT_EN | \ 5145*6d67aabdSBjoern A. Zeeb B_BE_WDE_ENQ_PKTCNT_OVRF_ERR_INT_EN | \ 5146*6d67aabdSBjoern A. Zeeb B_BE_WDE_ENQ_PKTCNT_NVAL_ERR_INT_EN | \ 5147*6d67aabdSBjoern A. Zeeb B_BE_WDE_PREPKTLLT_AD_ERR_INT_EN | \ 5148*6d67aabdSBjoern A. Zeeb B_BE_WDE_NXTPKTLL_AD_ERR_INT_EN | \ 5149*6d67aabdSBjoern A. Zeeb B_BE_WDE_QUEMGN_FRZTO_ERR_INT_EN | \ 5150*6d67aabdSBjoern A. Zeeb B_BE_WDE_DATCHN_ARBT_ERR_INT_EN | \ 5151*6d67aabdSBjoern A. Zeeb B_BE_WDE_DATCHN_NULLPG_ERR_INT_EN | \ 5152*6d67aabdSBjoern A. Zeeb B_BE_WDE_DATCHN_FRZTO_ERR_INT_EN | \ 5153*6d67aabdSBjoern A. Zeeb B_BE_WDE_DATCHN_RRDY_ERR_INT_EN | \ 5154*6d67aabdSBjoern A. Zeeb B_BE_WDE_DATCHN_ADRERR_ERR_INT_EN | \ 5155*6d67aabdSBjoern A. Zeeb B_BE_WDE_DATCHN_CAMREQ_ERR_INT_EN) 5156*6d67aabdSBjoern A. Zeeb 5157*6d67aabdSBjoern A. Zeeb #define R_BE_WDE_QTA0_CFG 0x8C40 5158*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_Q0_MAX_SIZE_MASK GENMASK(27, 16) 5159*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_Q0_MIN_SIZE_MASK GENMASK(11, 0) 5160*6d67aabdSBjoern A. Zeeb 5161*6d67aabdSBjoern A. Zeeb #define R_BE_WDE_QTA1_CFG 0x8C44 5162*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_Q1_MAX_SIZE_MASK GENMASK(27, 16) 5163*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_Q1_MIN_SIZE_MASK GENMASK(11, 0) 5164*6d67aabdSBjoern A. Zeeb 5165*6d67aabdSBjoern A. Zeeb #define R_BE_WDE_QTA2_CFG 0x8C48 5166*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_Q2_MAX_SIZE_MASK GENMASK(27, 16) 5167*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_Q2_MIN_SIZE_MASK GENMASK(11, 0) 5168*6d67aabdSBjoern A. Zeeb 5169*6d67aabdSBjoern A. Zeeb #define R_BE_WDE_QTA3_CFG 0x8C4C 5170*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_Q3_MAX_SIZE_MASK GENMASK(27, 16) 5171*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_Q3_MIN_SIZE_MASK GENMASK(11, 0) 5172*6d67aabdSBjoern A. Zeeb 5173*6d67aabdSBjoern A. Zeeb #define R_BE_WDE_QTA4_CFG 0x8C50 5174*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_Q4_MAX_SIZE_MASK GENMASK(27, 16) 5175*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_Q4_MIN_SIZE_MASK GENMASK(11, 0) 5176*6d67aabdSBjoern A. Zeeb 5177*6d67aabdSBjoern A. Zeeb #define R_BE_WDE_ERR1_IMR 0x8CC0 5178*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_QUEMGN_CMACACQ_DEQNTFY_INT_EN BIT(8) 5179*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_ERR1_IMR_CLR B_BE_WDE_QUEMGN_CMACACQ_DEQNTFY_INT_EN 5180*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_ERR1_IMR_SET B_BE_WDE_QUEMGN_CMACACQ_DEQNTFY_INT_EN 5181*6d67aabdSBjoern A. Zeeb 5182*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_PKTBUF_CFG 0x9008 5183*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_FREE_PAGE_NUM_MASK GENMASK(28, 16) 5184*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_START_BOUND_MASK GENMASK(14, 8) 5185*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_PAGE_SEL_MASK GENMASK(1, 0) 5186*6d67aabdSBjoern A. Zeeb 5187*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_BUFMGN_CTL 0x9010 5188*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_AVAL_UPD_REQ BIT(29) 5189*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_AVAL_UPD_QTAID_MASK GENMASK(27, 24) 5190*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_BUFMGN_FRZTMR_MODE BIT(0) 5191*6d67aabdSBjoern A. Zeeb 5192*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_ERR_IMR 0x9038 5193*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_DATCHN_CAMREQ_ERR_INT_EN BIT(29) 5194*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_DATCHN_ADRERR_ERR_INT_EN BIT(28) 5195*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_DATCHN_RRDY_ERR_INT_EN BIT(27) 5196*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_DATCHN_FRZTO_ERR_INT_EN BIT(26) 5197*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_DATCHN_NULLPG_ERR_INT_EN BIT(25) 5198*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_DATCHN_ARBT_ERR_INT_EN BIT(24) 5199*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_QUEMGN_FRZTO_ERR_INT_EN BIT(23) 5200*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_NXTPKTLL_AD_ERR_INT_EN BIT(22) 5201*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_PREPKTLLT_AD_ERR_INT_EN BIT(21) 5202*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_ENQ_PKTCNT_NVAL_ERR_INT_EN BIT(20) 5203*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_ENQ_PKTCNT_OVRF_ERR_INT_EN BIT(19) 5204*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_QUE_SRCQUEID_ERR_INT_EN BIT(18) 5205*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_QUE_DSTQUEID_ERR_INT_EN BIT(17) 5206*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_QUE_CMDTYPE_ERR_INT_EN BIT(16) 5207*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_BUFMGN_MRG_SZLMT_ERR_INT_EN BIT(13) 5208*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_BUFMGN_MRG_QTAID_ERR_INT_EN BIT(12) 5209*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_BUFMGN_MRG_ENDPKTID_ERR_INT_EN BIT(11) 5210*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_BUFMGN_MRG_STRPKTID_ERR_INT_EN BIT(10) 5211*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_BUFMGN_FRZTO_ERR_INT_EN BIT(9) 5212*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_GETNPG_PGOFST_ERR_INT_EN BIT(8) 5213*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_GETNPG_STRPG_ERR_INT_EN BIT(7) 5214*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_BUFREQ_SRCHTAILPG_ERR_INT_EN BIT(6) 5215*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_BUFRTN_SIZE_ERR_INT_EN BIT(5) 5216*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_BUFRTN_INVLD_PKTID_ERR_INT_EN BIT(4) 5217*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_BUFREQ_UNAVAL_ERR_INT_EN BIT(3) 5218*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_BUFREQ_SIZELMT_INT_EN BIT(2) 5219*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_BUFREQ_SIZE0_INT_EN BIT(1) 5220*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_BUFREQ_QTAID_ERR_INT_EN BIT(0) 5221*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_ERR_IMR_CLR (B_BE_PLE_BUFREQ_QTAID_ERR_INT_EN | \ 5222*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFREQ_SIZE0_INT_EN | \ 5223*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFREQ_SIZELMT_INT_EN | \ 5224*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFREQ_UNAVAL_ERR_INT_EN | \ 5225*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFRTN_INVLD_PKTID_ERR_INT_EN | \ 5226*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFRTN_SIZE_ERR_INT_EN | \ 5227*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFREQ_SRCHTAILPG_ERR_INT_EN | \ 5228*6d67aabdSBjoern A. Zeeb B_BE_PLE_GETNPG_STRPG_ERR_INT_EN | \ 5229*6d67aabdSBjoern A. Zeeb B_BE_PLE_GETNPG_PGOFST_ERR_INT_EN | \ 5230*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFMGN_FRZTO_ERR_INT_EN | \ 5231*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFMGN_MRG_STRPKTID_ERR_INT_EN | \ 5232*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFMGN_MRG_ENDPKTID_ERR_INT_EN | \ 5233*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFMGN_MRG_QTAID_ERR_INT_EN | \ 5234*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFMGN_MRG_SZLMT_ERR_INT_EN | \ 5235*6d67aabdSBjoern A. Zeeb B_BE_PLE_QUE_CMDTYPE_ERR_INT_EN | \ 5236*6d67aabdSBjoern A. Zeeb B_BE_PLE_QUE_DSTQUEID_ERR_INT_EN | \ 5237*6d67aabdSBjoern A. Zeeb B_BE_PLE_QUE_SRCQUEID_ERR_INT_EN | \ 5238*6d67aabdSBjoern A. Zeeb B_BE_PLE_ENQ_PKTCNT_OVRF_ERR_INT_EN | \ 5239*6d67aabdSBjoern A. Zeeb B_BE_PLE_ENQ_PKTCNT_NVAL_ERR_INT_EN | \ 5240*6d67aabdSBjoern A. Zeeb B_BE_PLE_PREPKTLLT_AD_ERR_INT_EN | \ 5241*6d67aabdSBjoern A. Zeeb B_BE_PLE_NXTPKTLL_AD_ERR_INT_EN | \ 5242*6d67aabdSBjoern A. Zeeb B_BE_PLE_QUEMGN_FRZTO_ERR_INT_EN | \ 5243*6d67aabdSBjoern A. Zeeb B_BE_PLE_DATCHN_ARBT_ERR_INT_EN | \ 5244*6d67aabdSBjoern A. Zeeb B_BE_PLE_DATCHN_NULLPG_ERR_INT_EN | \ 5245*6d67aabdSBjoern A. Zeeb B_BE_PLE_DATCHN_FRZTO_ERR_INT_EN | \ 5246*6d67aabdSBjoern A. Zeeb B_BE_PLE_DATCHN_RRDY_ERR_INT_EN | \ 5247*6d67aabdSBjoern A. Zeeb B_BE_PLE_DATCHN_ADRERR_ERR_INT_EN | \ 5248*6d67aabdSBjoern A. Zeeb B_BE_PLE_DATCHN_CAMREQ_ERR_INT_EN) 5249*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_ERR_IMR_SET (B_BE_PLE_BUFREQ_QTAID_ERR_INT_EN | \ 5250*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFREQ_SIZE0_INT_EN | \ 5251*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFREQ_SIZELMT_INT_EN | \ 5252*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFREQ_UNAVAL_ERR_INT_EN | \ 5253*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFRTN_INVLD_PKTID_ERR_INT_EN | \ 5254*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFRTN_SIZE_ERR_INT_EN | \ 5255*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFREQ_SRCHTAILPG_ERR_INT_EN | \ 5256*6d67aabdSBjoern A. Zeeb B_BE_PLE_GETNPG_STRPG_ERR_INT_EN | \ 5257*6d67aabdSBjoern A. Zeeb B_BE_PLE_GETNPG_PGOFST_ERR_INT_EN | \ 5258*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFMGN_FRZTO_ERR_INT_EN | \ 5259*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFMGN_MRG_STRPKTID_ERR_INT_EN | \ 5260*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFMGN_MRG_ENDPKTID_ERR_INT_EN | \ 5261*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFMGN_MRG_QTAID_ERR_INT_EN | \ 5262*6d67aabdSBjoern A. Zeeb B_BE_PLE_BUFMGN_MRG_SZLMT_ERR_INT_EN | \ 5263*6d67aabdSBjoern A. Zeeb B_BE_PLE_QUE_CMDTYPE_ERR_INT_EN | \ 5264*6d67aabdSBjoern A. Zeeb B_BE_PLE_QUE_DSTQUEID_ERR_INT_EN | \ 5265*6d67aabdSBjoern A. Zeeb B_BE_PLE_QUE_SRCQUEID_ERR_INT_EN | \ 5266*6d67aabdSBjoern A. Zeeb B_BE_PLE_ENQ_PKTCNT_OVRF_ERR_INT_EN | \ 5267*6d67aabdSBjoern A. Zeeb B_BE_PLE_ENQ_PKTCNT_NVAL_ERR_INT_EN | \ 5268*6d67aabdSBjoern A. Zeeb B_BE_PLE_PREPKTLLT_AD_ERR_INT_EN | \ 5269*6d67aabdSBjoern A. Zeeb B_BE_PLE_NXTPKTLL_AD_ERR_INT_EN | \ 5270*6d67aabdSBjoern A. Zeeb B_BE_PLE_QUEMGN_FRZTO_ERR_INT_EN | \ 5271*6d67aabdSBjoern A. Zeeb B_BE_PLE_DATCHN_ARBT_ERR_INT_EN | \ 5272*6d67aabdSBjoern A. Zeeb B_BE_PLE_DATCHN_NULLPG_ERR_INT_EN | \ 5273*6d67aabdSBjoern A. Zeeb B_BE_PLE_DATCHN_FRZTO_ERR_INT_EN | \ 5274*6d67aabdSBjoern A. Zeeb B_BE_PLE_DATCHN_RRDY_ERR_INT_EN | \ 5275*6d67aabdSBjoern A. Zeeb B_BE_PLE_DATCHN_ADRERR_ERR_INT_EN | \ 5276*6d67aabdSBjoern A. Zeeb B_BE_PLE_DATCHN_CAMREQ_ERR_INT_EN) 5277*6d67aabdSBjoern A. Zeeb 5278*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_QTA0_CFG 0x9040 5279*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q0_MAX_SIZE_MASK GENMASK(27, 16) 5280*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q0_MIN_SIZE_MASK GENMASK(11, 0) 5281*6d67aabdSBjoern A. Zeeb 5282*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_QTA1_CFG 0x9044 5283*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q1_MAX_SIZE_MASK GENMASK(27, 16) 5284*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q1_MIN_SIZE_MASK GENMASK(11, 0) 5285*6d67aabdSBjoern A. Zeeb 5286*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_QTA2_CFG 0x9048 5287*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q2_MAX_SIZE_MASK GENMASK(27, 16) 5288*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q2_MIN_SIZE_MASK GENMASK(11, 0) 5289*6d67aabdSBjoern A. Zeeb 5290*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_QTA3_CFG 0x904C 5291*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q3_MAX_SIZE_MASK GENMASK(27, 16) 5292*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q3_MIN_SIZE_MASK GENMASK(11, 0) 5293*6d67aabdSBjoern A. Zeeb 5294*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_QTA4_CFG 0x9050 5295*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q4_MAX_SIZE_MASK GENMASK(27, 16) 5296*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q4_MIN_SIZE_MASK GENMASK(11, 0) 5297*6d67aabdSBjoern A. Zeeb 5298*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_QTA5_CFG 0x9054 5299*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q5_MAX_SIZE_MASK GENMASK(27, 16) 5300*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q5_MIN_SIZE_MASK GENMASK(11, 0) 5301*6d67aabdSBjoern A. Zeeb 5302*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_QTA6_CFG 0x9058 5303*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q6_MAX_SIZE_MASK GENMASK(27, 16) 5304*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q6_MIN_SIZE_MASK GENMASK(11, 0) 5305*6d67aabdSBjoern A. Zeeb 5306*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_QTA7_CFG 0x905C 5307*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q7_MAX_SIZE_MASK GENMASK(27, 16) 5308*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q7_MIN_SIZE_MASK GENMASK(11, 0) 5309*6d67aabdSBjoern A. Zeeb 5310*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_QTA8_CFG 0x9060 5311*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q8_MAX_SIZE_MASK GENMASK(27, 16) 5312*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q8_MIN_SIZE_MASK GENMASK(11, 0) 5313*6d67aabdSBjoern A. Zeeb 5314*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_QTA9_CFG 0x9064 5315*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q9_MAX_SIZE_MASK GENMASK(27, 16) 5316*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q9_MIN_SIZE_MASK GENMASK(11, 0) 5317*6d67aabdSBjoern A. Zeeb 5318*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_QTA10_CFG 0x9068 5319*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q10_MAX_SIZE_MASK GENMASK(27, 16) 5320*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q10_MIN_SIZE_MASK GENMASK(11, 0) 5321*6d67aabdSBjoern A. Zeeb 5322*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_QTA11_CFG 0x906C 5323*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q11_MAX_SIZE_MASK GENMASK(27, 16) 5324*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q11_MIN_SIZE_MASK GENMASK(11, 0) 5325*6d67aabdSBjoern A. Zeeb 5326*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_QTA12_CFG 0x9070 5327*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q12_MAX_SIZE_MASK GENMASK(27, 16) 5328*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_Q12_MIN_SIZE_MASK GENMASK(11, 0) 5329*6d67aabdSBjoern A. Zeeb 5330*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_ERRFLAG1_IMR 0x90C0 5331*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_SRCHPG_PGOFST_IMR BIT(26) 5332*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_SRCHPG_STRPG_IMR BIT(25) 5333*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_SRCHPG_FRZTO_IMR BIT(24) 5334*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_ERRFLAG1_IMR_CLR (B_BE_PLE_SRCHPG_FRZTO_IMR | \ 5335*6d67aabdSBjoern A. Zeeb B_BE_PLE_SRCHPG_STRPG_IMR | \ 5336*6d67aabdSBjoern A. Zeeb B_BE_PLE_SRCHPG_PGOFST_IMR) 5337*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_ERRFLAG1_IMR_SET (B_BE_PLE_SRCHPG_FRZTO_IMR | \ 5338*6d67aabdSBjoern A. Zeeb B_BE_PLE_SRCHPG_STRPG_IMR | \ 5339*6d67aabdSBjoern A. Zeeb B_BE_PLE_SRCHPG_PGOFST_IMR) 5340*6d67aabdSBjoern A. Zeeb 5341*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_DBG_FUN_INTF_CTL 0x9110 5342*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_DFI_ACTIVE BIT(31) 5343*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_DFI_TRGSEL_MASK GENMASK(19, 16) 5344*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_DFI_ADDR_MASK GENMASK(15, 0) 5345*6d67aabdSBjoern A. Zeeb 5346*6d67aabdSBjoern A. Zeeb #define R_BE_PLE_DBG_FUN_INTF_DATA 0x9114 5347*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_DFI_DATA_MASK GENMASK(31, 0) 5348*6d67aabdSBjoern A. Zeeb 5349*6d67aabdSBjoern A. Zeeb #define R_BE_WDRLS_CFG 0x9408 5350*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_DIS_AGAC BIT(31) 5351*6d67aabdSBjoern A. Zeeb #define B_BE_RLSRPT_BUFREQ_TO_MASK GENMASK(15, 8) 5352*6d67aabdSBjoern A. Zeeb #define B_BE_RLSRPT_BUFREQ_TO_SEL_MASK GENMASK(7, 6) 5353*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_MODE_MASK GENMASK(1, 0) 5354*6d67aabdSBjoern A. Zeeb 5355*6d67aabdSBjoern A. Zeeb #define R_BE_WDRLS_ERR_IMR 0x9430 5356*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_RPT3_FRZTO_ERR_INT_EN BIT(21) 5357*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_RPT3_AGGNUM0_ERR_INT_EN BIT(20) 5358*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_RPT2_FRZTO_ERR_INT_EN BIT(17) 5359*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_RPT2_AGGNUM0_ERR_INT_EN BIT(16) 5360*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_RPT1_FRZTO_ERR_INT_EN BIT(13) 5361*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_RPT1_AGGNUM0_ERR_INT_EN BIT(12) 5362*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_RPT0_FRZTO_ERR_INT_EN BIT(9) 5363*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_RPT0_AGGNUM0_ERR_INT_EN BIT(8) 5364*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_PLEBREQ_PKTID_ISNULL_ERR_INT_EN BIT(5) 5365*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_PLEBREQ_TO_ERR_INT_EN BIT(4) 5366*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_CTL_FRZTO_ERR_INT_EN BIT(2) 5367*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_CTL_PLPKTID_ISNULL_ERR_INT_EN BIT(1) 5368*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_CTL_WDPKTID_ISNULL_ERR_INT_EN BIT(0) 5369*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_ERR_IMR_CLR (B_BE_WDRLS_CTL_WDPKTID_ISNULL_ERR_INT_EN | \ 5370*6d67aabdSBjoern A. Zeeb B_BE_WDRLS_CTL_PLPKTID_ISNULL_ERR_INT_EN | \ 5371*6d67aabdSBjoern A. Zeeb B_BE_WDRLS_CTL_FRZTO_ERR_INT_EN | \ 5372*6d67aabdSBjoern A. Zeeb B_BE_WDRLS_PLEBREQ_TO_ERR_INT_EN | \ 5373*6d67aabdSBjoern A. Zeeb B_BE_WDRLS_PLEBREQ_PKTID_ISNULL_ERR_INT_EN | \ 5374*6d67aabdSBjoern A. Zeeb B_BE_WDRLS_RPT0_AGGNUM0_ERR_INT_EN | \ 5375*6d67aabdSBjoern A. Zeeb B_BE_WDRLS_RPT0_FRZTO_ERR_INT_EN | \ 5376*6d67aabdSBjoern A. Zeeb B_BE_WDRLS_RPT1_AGGNUM0_ERR_INT_EN | \ 5377*6d67aabdSBjoern A. Zeeb B_BE_WDRLS_RPT1_FRZTO_ERR_INT_EN) 5378*6d67aabdSBjoern A. Zeeb #define B_BE_WDRLS_ERR_IMR_SET (B_BE_WDRLS_CTL_WDPKTID_ISNULL_ERR_INT_EN | \ 5379*6d67aabdSBjoern A. Zeeb B_BE_WDRLS_CTL_PLPKTID_ISNULL_ERR_INT_EN | \ 5380*6d67aabdSBjoern A. Zeeb B_BE_WDRLS_CTL_FRZTO_ERR_INT_EN | \ 5381*6d67aabdSBjoern A. Zeeb B_BE_WDRLS_PLEBREQ_PKTID_ISNULL_ERR_INT_EN | \ 5382*6d67aabdSBjoern A. Zeeb B_BE_WDRLS_RPT0_AGGNUM0_ERR_INT_EN | \ 5383*6d67aabdSBjoern A. Zeeb B_BE_WDRLS_RPT0_FRZTO_ERR_INT_EN | \ 5384*6d67aabdSBjoern A. Zeeb B_BE_WDRLS_RPT1_AGGNUM0_ERR_INT_EN | \ 5385*6d67aabdSBjoern A. Zeeb B_BE_WDRLS_RPT1_FRZTO_ERR_INT_EN) 5386*6d67aabdSBjoern A. Zeeb 5387*6d67aabdSBjoern A. Zeeb #define R_BE_RLSRPT0_CFG1 0x9444 5388*6d67aabdSBjoern A. Zeeb #define B_BE_RLSRPT0_FLTR_MAP_MASK GENMASK(27, 24) 5389*6d67aabdSBjoern A. Zeeb #define S_BE_WDRLS_FLTR_TXOK 1 5390*6d67aabdSBjoern A. Zeeb #define S_BE_WDRLS_FLTR_RTYLMT 2 5391*6d67aabdSBjoern A. Zeeb #define S_BE_WDRLS_FLTR_LIFTIM 4 5392*6d67aabdSBjoern A. Zeeb #define S_BE_WDRLS_FLTR_MACID 8 5393*6d67aabdSBjoern A. Zeeb #define B_BE_RLSRPT0_TO_MASK GENMASK(23, 16) 5394*6d67aabdSBjoern A. Zeeb #define B_BE_RLSRPT0_AGGNUM_MASK GENMASK(7, 0) 5395*6d67aabdSBjoern A. Zeeb 5396*6d67aabdSBjoern A. Zeeb #define R_BE_BBRPT_COM_ERR_IMR 0x9608 5397*6d67aabdSBjoern A. Zeeb #define B_BE_BBRPT_COM_EVT01_ISR_EN BIT(1) 5398*6d67aabdSBjoern A. Zeeb #define B_BE_BBRPT_COM_NULL_PLPKTID_ISR_EN BIT(0) 5399*6d67aabdSBjoern A. Zeeb #define B_BE_BBRPT_COM_ERR_IMR_CLR (B_BE_BBRPT_COM_NULL_PLPKTID_ISR_EN | \ 5400*6d67aabdSBjoern A. Zeeb B_BE_BBRPT_COM_EVT01_ISR_EN) 5401*6d67aabdSBjoern A. Zeeb #define B_BE_BBRPT_COM_ERR_IMR_SET B_BE_BBRPT_COM_NULL_PLPKTID_ISR_EN 5402*6d67aabdSBjoern A. Zeeb 5403*6d67aabdSBjoern A. Zeeb #define R_BE_BBRPT_CHINFO_ERR_IMR 0x9628 5404*6d67aabdSBjoern A. Zeeb #define B_BE_ERR_BB_ONETEN_INT_EN BIT(1) 5405*6d67aabdSBjoern A. Zeeb #define B_BE_ERR_GEN_FRZTO_INT_EN BIT(0) 5406*6d67aabdSBjoern A. Zeeb #define B_BE_BBRPT_CHINFO_ERR_IMR_CLR (B_BE_ERR_GEN_FRZTO_INT_EN | \ 5407*6d67aabdSBjoern A. Zeeb B_BE_ERR_BB_ONETEN_INT_EN) 5408*6d67aabdSBjoern A. Zeeb #define B_BE_BBRPT_CHINFO_ERR_IMR_SET (B_BE_ERR_GEN_FRZTO_INT_EN | \ 5409*6d67aabdSBjoern A. Zeeb B_BE_ERR_BB_ONETEN_INT_EN) 5410*6d67aabdSBjoern A. Zeeb 5411*6d67aabdSBjoern A. Zeeb #define R_BE_BBRPT_DFS_ERR_IMR 0x9638 5412*6d67aabdSBjoern A. Zeeb #define B_BE_BBRPT_DFS_TO_ERR_INT_EN BIT(0) 5413*6d67aabdSBjoern A. Zeeb #define B_BE_BBRPT_DFS_ERR_IMR_CLR B_BE_BBRPT_DFS_TO_ERR_INT_EN 5414*6d67aabdSBjoern A. Zeeb #define B_BE_BBRPT_DFS_ERR_IMR_SET B_BE_BBRPT_DFS_TO_ERR_INT_EN 5415*6d67aabdSBjoern A. Zeeb 5416*6d67aabdSBjoern A. Zeeb #define R_BE_LA_ERRFLAG_IMR 0x9668 5417*6d67aabdSBjoern A. Zeeb #define B_BE_LA_IMR_DATA_LOSS BIT(0) 5418*6d67aabdSBjoern A. Zeeb #define B_BE_LA_ERRFLAG_IMR_CLR B_BE_LA_IMR_DATA_LOSS 5419*6d67aabdSBjoern A. Zeeb #define B_BE_LA_ERRFLAG_IMR_SET B_BE_LA_IMR_DATA_LOSS 5420*6d67aabdSBjoern A. Zeeb 5421*6d67aabdSBjoern A. Zeeb #define R_BE_LA_ERRFLAG_ISR 0x966C 5422*6d67aabdSBjoern A. Zeeb #define B_BE_LA_ISR_DATA_LOSS BIT(0) 5423*6d67aabdSBjoern A. Zeeb 5424*6d67aabdSBjoern A. Zeeb #define R_BE_CH_INFO_DBGFLAG_IMR 0x9688 5425*6d67aabdSBjoern A. Zeeb #define B_BE_BCHN_EVT01_ISR_EN BIT(29) 5426*6d67aabdSBjoern A. Zeeb #define B_BE_BCHN_REQTO_ISR_EN BIT(28) 5427*6d67aabdSBjoern A. Zeeb #define B_BE_CHIF_RXDATA_AFACT_ISR_EN BIT(11) 5428*6d67aabdSBjoern A. Zeeb #define B_BE_CHIF_RXDATA_BFACT_ISR_EN BIT(10) 5429*6d67aabdSBjoern A. Zeeb #define B_BE_CHIF_HDR_SEGLEN_ISR_EN BIT(9) 5430*6d67aabdSBjoern A. Zeeb #define B_BE_CHIF_HDR_INVLD_ISR_EN BIT(8) 5431*6d67aabdSBjoern A. Zeeb #define B_BE_CHIF_BBONL_BFACT_ISR_EN BIT(4) 5432*6d67aabdSBjoern A. Zeeb #define B_BE_CHIF_RPT_OVF_ISR_EN BIT(3) 5433*6d67aabdSBjoern A. Zeeb #define B_BE_DBG_CHIF_DATA_LOSS_ISR_EN BIT(2) 5434*6d67aabdSBjoern A. Zeeb #define B_BE_CHIF_DATA_WTOUT_ISR_EN BIT(1) 5435*6d67aabdSBjoern A. Zeeb #define B_BE_CHIF_RPT_WTOUT_ISR_EN BIT(0) 5436*6d67aabdSBjoern A. Zeeb #define B_BE_CH_INFO_DBGFLAG_IMR_CLR (B_BE_CHIF_RPT_WTOUT_ISR_EN | \ 5437*6d67aabdSBjoern A. Zeeb B_BE_CHIF_DATA_WTOUT_ISR_EN | \ 5438*6d67aabdSBjoern A. Zeeb B_BE_DBG_CHIF_DATA_LOSS_ISR_EN | \ 5439*6d67aabdSBjoern A. Zeeb B_BE_CHIF_RPT_OVF_ISR_EN | \ 5440*6d67aabdSBjoern A. Zeeb B_BE_CHIF_HDR_INVLD_ISR_EN | \ 5441*6d67aabdSBjoern A. Zeeb B_BE_CHIF_HDR_SEGLEN_ISR_EN | \ 5442*6d67aabdSBjoern A. Zeeb B_BE_CHIF_RXDATA_BFACT_ISR_EN | \ 5443*6d67aabdSBjoern A. Zeeb B_BE_CHIF_RXDATA_AFACT_ISR_EN) 5444*6d67aabdSBjoern A. Zeeb #define B_BE_CH_INFO_DBGFLAG_IMR_SET 0 5445*6d67aabdSBjoern A. Zeeb 5446*6d67aabdSBjoern A. Zeeb #define R_BE_WD_BUF_REQ 0x9800 5447*6d67aabdSBjoern A. Zeeb #define B_BE_WD_BUF_REQ_EXEC BIT(31) 5448*6d67aabdSBjoern A. Zeeb #define B_BE_WD_BUF_REQ_QUOTA_ID_MASK GENMASK(23, 16) 5449*6d67aabdSBjoern A. Zeeb #define B_BE_WD_BUF_REQ_LEN_MASK GENMASK(15, 0) 5450*6d67aabdSBjoern A. Zeeb 5451*6d67aabdSBjoern A. Zeeb #define R_BE_WD_BUF_STATUS 0x9804 5452*6d67aabdSBjoern A. Zeeb #define B_BE_WD_BUF_STAT_DONE BIT(31) 5453*6d67aabdSBjoern A. Zeeb #define B_BE_WD_BUF_STAT_PKTID_MASK GENMASK(11, 0) 5454*6d67aabdSBjoern A. Zeeb 5455*6d67aabdSBjoern A. Zeeb #define R_BE_WD_CPUQ_OP_0 0x9810 5456*6d67aabdSBjoern A. Zeeb #define B_BE_WD_CPUQ_OP_EXEC BIT(31) 5457*6d67aabdSBjoern A. Zeeb #define B_BE_WD_CPUQ_OP_CMD_TYPE_MASK GENMASK(27, 24) 5458*6d67aabdSBjoern A. Zeeb #define B_BE_WD_CPUQ_OP_PKTNUM_MASK GENMASK(7, 0) 5459*6d67aabdSBjoern A. Zeeb 5460*6d67aabdSBjoern A. Zeeb #define R_BE_WD_CPUQ_OP_1 0x9814 5461*6d67aabdSBjoern A. Zeeb #define B_BE_WD_CPUQ_OP_SRC_MACID_MASK GENMASK(19, 12) 5462*6d67aabdSBjoern A. Zeeb #define B_BE_WD_CPUQ_OP_SRC_QID_MASK GENMASK(9, 4) 5463*6d67aabdSBjoern A. Zeeb #define B_BE_WD_CPUQ_OP_SRC_PID_MASK GENMASK(2, 0) 5464*6d67aabdSBjoern A. Zeeb 5465*6d67aabdSBjoern A. Zeeb #define R_BE_WD_CPUQ_OP_2 0x9818 5466*6d67aabdSBjoern A. Zeeb #define B_BE_WD_CPUQ_OP_DST_MACID_MASK GENMASK(19, 12) 5467*6d67aabdSBjoern A. Zeeb #define B_BE_WD_CPUQ_OP_DST_QID_MASK GENMASK(9, 4) 5468*6d67aabdSBjoern A. Zeeb #define B_BE_WD_CPUQ_OP_DST_PID_MASK GENMASK(2, 0) 5469*6d67aabdSBjoern A. Zeeb 5470*6d67aabdSBjoern A. Zeeb #define R_BE_WD_CPUQ_OP_3 0x981C 5471*6d67aabdSBjoern A. Zeeb #define B_BE_WD_CPUQ_OP_STRT_PKTID_MASK GENMASK(27, 16) 5472*6d67aabdSBjoern A. Zeeb #define B_BE_WD_CPUQ_OP_END_PKTID_MASK GENMASK(11, 0) 5473*6d67aabdSBjoern A. Zeeb 5474*6d67aabdSBjoern A. Zeeb #define R_BE_WD_CPUQ_OP_STATUS 0x9820 5475*6d67aabdSBjoern A. Zeeb #define B_BE_WD_CPUQ_OP_STAT_DONE BIT(31) 5476*6d67aabdSBjoern A. Zeeb #define B_BE_WD_CPUQ_OP_PKTCNT_MASK GENMASK(27, 16) 5477*6d67aabdSBjoern A. Zeeb #define B_BE_WD_CPUQ_OP_PKTID_MASK GENMASK(11, 0) 5478*6d67aabdSBjoern A. Zeeb 5479*6d67aabdSBjoern A. Zeeb #define R_BE_PL_BUF_REQ 0x9840 5480*6d67aabdSBjoern A. Zeeb #define B_BE_PL_BUF_REQ_EXEC BIT(31) 5481*6d67aabdSBjoern A. Zeeb #define B_BE_PL_BUF_REQ_QUOTA_ID_MASK GENMASK(19, 16) 5482*6d67aabdSBjoern A. Zeeb #define B_BE_PL_BUF_REQ_LEN_MASK GENMASK(15, 0) 5483*6d67aabdSBjoern A. Zeeb 5484*6d67aabdSBjoern A. Zeeb #define R_BE_PL_BUF_STATUS 0x9844 5485*6d67aabdSBjoern A. Zeeb #define B_BE_PL_BUF_STAT_DONE BIT(31) 5486*6d67aabdSBjoern A. Zeeb #define B_BE_PL_BUF_STAT_PKTID_MASK GENMASK(11, 0) 5487*6d67aabdSBjoern A. Zeeb 5488*6d67aabdSBjoern A. Zeeb #define R_BE_PL_CPUQ_OP_0 0x9850 5489*6d67aabdSBjoern A. Zeeb #define B_BE_PL_CPUQ_OP_EXEC BIT(31) 5490*6d67aabdSBjoern A. Zeeb #define B_BE_PL_CPUQ_OP_CMD_TYPE_MASK GENMASK(27, 24) 5491*6d67aabdSBjoern A. Zeeb #define B_BE_PL_CPUQ_OP_PKTNUM_MASK GENMASK(7, 0) 5492*6d67aabdSBjoern A. Zeeb 5493*6d67aabdSBjoern A. Zeeb #define R_BE_PL_CPUQ_OP_1 0x9854 5494*6d67aabdSBjoern A. Zeeb #define B_BE_PL_CPUQ_OP_SRC_MACID_MASK GENMASK(19, 12) 5495*6d67aabdSBjoern A. Zeeb #define B_BE_PL_CPUQ_OP_SRC_QID_MASK GENMASK(9, 4) 5496*6d67aabdSBjoern A. Zeeb #define B_BE_PL_CPUQ_OP_SRC_PID_MASK GENMASK(2, 0) 5497*6d67aabdSBjoern A. Zeeb 5498*6d67aabdSBjoern A. Zeeb #define R_BE_PL_CPUQ_OP_2 0x9858 5499*6d67aabdSBjoern A. Zeeb #define B_BE_PL_CPUQ_OP_DST_MACID_MASK GENMASK(19, 12) 5500*6d67aabdSBjoern A. Zeeb #define B_BE_PL_CPUQ_OP_DST_QID_MASK GENMASK(9, 4) 5501*6d67aabdSBjoern A. Zeeb #define B_BE_PL_CPUQ_OP_DST_PID_MASK GENMASK(2, 0) 5502*6d67aabdSBjoern A. Zeeb 5503*6d67aabdSBjoern A. Zeeb #define R_BE_PL_CPUQ_OP_3 0x985C 5504*6d67aabdSBjoern A. Zeeb #define B_BE_PL_CPUQ_OP_STRT_PKTID_MASK GENMASK(27, 16) 5505*6d67aabdSBjoern A. Zeeb #define B_BE_PL_CPUQ_OP_END_PKTID_MASK GENMASK(11, 0) 5506*6d67aabdSBjoern A. Zeeb 5507*6d67aabdSBjoern A. Zeeb #define R_BE_PL_CPUQ_OP_STATUS 0x9860 5508*6d67aabdSBjoern A. Zeeb #define B_BE_PL_CPUQ_OP_STAT_DONE BIT(31) 5509*6d67aabdSBjoern A. Zeeb #define B_BE_PL_CPUQ_OP_PKTCNT_MASK GENMASK(27, 16) 5510*6d67aabdSBjoern A. Zeeb #define B_BE_PL_CPUQ_OP_PKTID_MASK GENMASK(11, 0) 5511*6d67aabdSBjoern A. Zeeb 5512*6d67aabdSBjoern A. Zeeb #define R_BE_CPUIO_ERR_IMR 0x9888 5513*6d67aabdSBjoern A. Zeeb #define B_BE_PLEQUE_OP_ERR_INT_EN BIT(12) 5514*6d67aabdSBjoern A. Zeeb #define B_BE_PLEBUF_OP_ERR_INT_EN BIT(8) 5515*6d67aabdSBjoern A. Zeeb #define B_BE_WDEQUE_OP_ERR_INT_EN BIT(4) 5516*6d67aabdSBjoern A. Zeeb #define B_BE_WDEBUF_OP_ERR_INT_EN BIT(0) 5517*6d67aabdSBjoern A. Zeeb #define B_BE_CPUIO_ERR_IMR_CLR (B_BE_WDEBUF_OP_ERR_INT_EN | \ 5518*6d67aabdSBjoern A. Zeeb B_BE_WDEQUE_OP_ERR_INT_EN | \ 5519*6d67aabdSBjoern A. Zeeb B_BE_PLEBUF_OP_ERR_INT_EN | \ 5520*6d67aabdSBjoern A. Zeeb B_BE_PLEQUE_OP_ERR_INT_EN) 5521*6d67aabdSBjoern A. Zeeb #define B_BE_CPUIO_ERR_IMR_SET (B_BE_WDEBUF_OP_ERR_INT_EN | \ 5522*6d67aabdSBjoern A. Zeeb B_BE_WDEQUE_OP_ERR_INT_EN | \ 5523*6d67aabdSBjoern A. Zeeb B_BE_PLEBUF_OP_ERR_INT_EN | \ 5524*6d67aabdSBjoern A. Zeeb B_BE_PLEQUE_OP_ERR_INT_EN) 5525*6d67aabdSBjoern A. Zeeb 5526*6d67aabdSBjoern A. Zeeb #define R_BE_PKTIN_ERR_IMR 0x9A20 5527*6d67aabdSBjoern A. Zeeb #define B_BE_SW_MERGE_ERR_INT_EN BIT(1) 5528*6d67aabdSBjoern A. Zeeb #define B_BE_GET_NULL_PKTID_ERR_INT_EN BIT(0) 5529*6d67aabdSBjoern A. Zeeb #define B_BE_PKTIN_ERR_IMR_CLR (B_BE_SW_MERGE_ERR_INT_EN | \ 5530*6d67aabdSBjoern A. Zeeb B_BE_GET_NULL_PKTID_ERR_INT_EN) 5531*6d67aabdSBjoern A. Zeeb #define B_BE_PKTIN_ERR_IMR_SET (B_BE_SW_MERGE_ERR_INT_EN | \ 5532*6d67aabdSBjoern A. Zeeb B_BE_GET_NULL_PKTID_ERR_INT_EN) 5533*6d67aabdSBjoern A. Zeeb 5534*6d67aabdSBjoern A. Zeeb #define R_BE_HDR_SHCUT_SETTING 0x9B00 5535*6d67aabdSBjoern A. Zeeb #define B_BE_TX_ADDR_MLD_TO_LIK BIT(4) 5536*6d67aabdSBjoern A. Zeeb #define B_BE_TX_HW_SEC_HDR_EN BIT(3) 5537*6d67aabdSBjoern A. Zeeb #define B_BE_TX_MAC_MPDU_PROC_EN BIT(2) 5538*6d67aabdSBjoern A. Zeeb #define B_BE_TX_HW_ACK_POLICY_EN BIT(1) 5539*6d67aabdSBjoern A. Zeeb #define B_BE_TX_HW_SEQ_EN BIT(0) 5540*6d67aabdSBjoern A. Zeeb 5541*6d67aabdSBjoern A. Zeeb #define R_BE_MPDU_TX_ERR_IMR 0x9BF4 5542*6d67aabdSBjoern A. Zeeb #define B_BE_TX_TIMEOUT_ERR_EN BIT(0) 5543*6d67aabdSBjoern A. Zeeb #define B_BE_MPDU_TX_ERR_IMR_CLR B_BE_TX_TIMEOUT_ERR_EN 5544*6d67aabdSBjoern A. Zeeb #define B_BE_MPDU_TX_ERR_IMR_SET 0 5545*6d67aabdSBjoern A. Zeeb 5546*6d67aabdSBjoern A. Zeeb #define R_BE_MPDU_PROC 0x9C00 5547*6d67aabdSBjoern A. Zeeb #define B_BE_PORT_SEL BIT(29) 5548*6d67aabdSBjoern A. Zeeb #define B_BE_WPKT_WLANCPU_QSEL_MASK GENMASK(28, 27) 5549*6d67aabdSBjoern A. Zeeb #define B_BE_WPKT_DATACPU_QSEL_MASK GENMASK(26, 25) 5550*6d67aabdSBjoern A. Zeeb #define B_BE_WPKT_FW_RLS BIT(24) 5551*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_RPKT_MASK GENMASK(23, 16) 5552*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_WPKT_MASK GENMASK(15, 8) 5553*6d67aabdSBjoern A. Zeeb #define B_BE_RXFWD_PRIO_MASK GENMASK(5, 4) 5554*6d67aabdSBjoern A. Zeeb #define B_BE_RXFWD_EN BIT(3) 5555*6d67aabdSBjoern A. Zeeb #define B_BE_DROP_NONDMA_PPDU BIT(2) 5556*6d67aabdSBjoern A. Zeeb #define B_BE_APPEND_FCS BIT(0) 5557*6d67aabdSBjoern A. Zeeb 5558*6d67aabdSBjoern A. Zeeb #define R_BE_FWD_ERR 0x9C10 5559*6d67aabdSBjoern A. Zeeb #define R_BE_FWD_ACTN0 0x9C14 5560*6d67aabdSBjoern A. Zeeb #define R_BE_FWD_ACTN1 0x9C18 5561*6d67aabdSBjoern A. Zeeb #define R_BE_FWD_ACTN2 0x9C1C 5562*6d67aabdSBjoern A. Zeeb #define R_BE_FWD_TF0 0x9C20 5563*6d67aabdSBjoern A. Zeeb #define R_BE_FWD_TF1 0x9C24 5564*6d67aabdSBjoern A. Zeeb 5565*6d67aabdSBjoern A. Zeeb #define R_BE_HW_PPDU_STATUS 0x9C30 5566*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_RPKTTYPE_MASK GENMASK(31, 26) 5567*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_PPDU_PRTID_MASK GENMASK(25, 23) 5568*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_PPDU_FW_RLS BIT(22) 5569*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_PPDU_QUEID_MASK GENMASK(21, 16) 5570*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_OTHER_RPKT_MASK GENMASK(15, 8) 5571*6d67aabdSBjoern A. Zeeb #define B_BE_FWD_PPDU_STAT_MASK GENMASK(7, 0) 5572*6d67aabdSBjoern A. Zeeb 5573*6d67aabdSBjoern A. Zeeb #define R_BE_CUT_AMSDU_CTRL 0x9C94 5574*6d67aabdSBjoern A. Zeeb #define B_BE_EN_CUT_AMSDU BIT(31) 5575*6d67aabdSBjoern A. Zeeb #define B_BE_CUT_AMSDU_CHKLEN_EN BIT(30) 5576*6d67aabdSBjoern A. Zeeb #define B_BE_CA_CHK_ADDRCAM_EN BIT(29) 5577*6d67aabdSBjoern A. Zeeb #define B_BE_MPDU_CUT_CTRL_EN BIT(24) 5578*6d67aabdSBjoern A. Zeeb #define B_BE_CUT_AMSDU_CHKLEN_L_TH_MASK GENMASK(23, 16) 5579*6d67aabdSBjoern A. Zeeb #define B_BE_CUT_AMSDU_CHKLEN_H_TH_MASK GENMASK(15, 0) 5580*6d67aabdSBjoern A. Zeeb 5581*6d67aabdSBjoern A. Zeeb #define R_BE_WOW_CTRL 0x9CB8 5582*6d67aabdSBjoern A. Zeeb #define B_BE_WOW_HCI BIT(5) 5583*6d67aabdSBjoern A. Zeeb #define B_BE_WOW_DROP BIT(2) 5584*6d67aabdSBjoern A. Zeeb #define B_BE_WOW_WOWEN BIT(1) 5585*6d67aabdSBjoern A. Zeeb #define B_BE_WOW_FORCE_WAKEUP BIT(0) 5586*6d67aabdSBjoern A. Zeeb 5587*6d67aabdSBjoern A. Zeeb #define R_BE_RX_HDRTRNS 0x9CC0 5588*6d67aabdSBjoern A. Zeeb #define B_BE_RX_MGN_MLD_ADDR_EN BIT(6) 5589*6d67aabdSBjoern A. Zeeb #define B_BE_HDR_INFO_MASK GENMASK(5, 4) 5590*6d67aabdSBjoern A. Zeeb #define B_BE_HC_ADDR_HIT_EN BIT(3) 5591*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ADDR_LINK_TO_MLO BIT(2) 5592*6d67aabdSBjoern A. Zeeb #define B_BE_HDR_CNV BIT(1) 5593*6d67aabdSBjoern A. Zeeb #define B_BE_RX_HDR_CNV_EN BIT(0) 5594*6d67aabdSBjoern A. Zeeb #define TRXCFG_MPDU_PROC_RX_HDR_CONV 0x00000000 5595*6d67aabdSBjoern A. Zeeb 5596*6d67aabdSBjoern A. Zeeb #define R_BE_MPDU_RX_ERR_IMR 0x9CF4 5597*6d67aabdSBjoern A. Zeeb #define B_BE_LEN_ERR_IMR BIT(3) 5598*6d67aabdSBjoern A. Zeeb #define B_BE_TIMEOUT_ERR_IMR BIT(1) 5599*6d67aabdSBjoern A. Zeeb #define B_BE_MPDU_RX_ERR_IMR_CLR B_BE_TIMEOUT_ERR_IMR 5600*6d67aabdSBjoern A. Zeeb #define B_BE_MPDU_RX_ERR_IMR_SET 0 5601*6d67aabdSBjoern A. Zeeb 5602*6d67aabdSBjoern A. Zeeb #define R_BE_SEC_ENG_CTRL 0x9D00 5603*6d67aabdSBjoern A. Zeeb #define B_BE_SEC_ENG_EN BIT(31) 5604*6d67aabdSBjoern A. Zeeb #define B_BE_CCMP_SPP_MIC BIT(30) 5605*6d67aabdSBjoern A. Zeeb #define B_BE_CCMP_SPP_CTR BIT(29) 5606*6d67aabdSBjoern A. Zeeb #define B_BE_SEC_CAM_ACC BIT(28) 5607*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_SEC_PN_SEL_MASK GENMASK(27, 26) 5608*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_SEC_MASKIV BIT(25) 5609*6d67aabdSBjoern A. Zeeb #define B_BE_WAPI_SPEC BIT(24) 5610*6d67aabdSBjoern A. Zeeb #define B_BE_REVERT_TA_RA_MLD_EN BIT(23) 5611*6d67aabdSBjoern A. Zeeb #define B_BE_SEC_DBG_SEL_MASK GENMASK(19, 16) 5612*6d67aabdSBjoern A. Zeeb #define B_BE_CAM_FORCE_CLK BIT(15) 5613*6d67aabdSBjoern A. Zeeb #define B_BE_SEC_FORCE_CLK BIT(14) 5614*6d67aabdSBjoern A. Zeeb #define B_BE_SEC_RX_SHORT_ADD_ICVERR BIT(13) 5615*6d67aabdSBjoern A. Zeeb #define B_BE_SRAM_IO_PROT BIT(12) 5616*6d67aabdSBjoern A. Zeeb #define B_BE_SEC_PRE_ENQUE_TX BIT(11) 5617*6d67aabdSBjoern A. Zeeb #define B_BE_CLK_EN_CGCMP BIT(10) 5618*6d67aabdSBjoern A. Zeeb #define B_BE_CLK_EN_WAPI BIT(9) 5619*6d67aabdSBjoern A. Zeeb #define B_BE_CLK_EN_WEP_TKIP BIT(8) 5620*6d67aabdSBjoern A. Zeeb #define B_BE_BMC_MGNT_DEC BIT(5) 5621*6d67aabdSBjoern A. Zeeb #define B_BE_UC_MGNT_DEC BIT(4) 5622*6d67aabdSBjoern A. Zeeb #define B_BE_MC_DEC BIT(3) 5623*6d67aabdSBjoern A. Zeeb #define B_BE_BC_DEC BIT(2) 5624*6d67aabdSBjoern A. Zeeb #define B_BE_SEC_RX_DEC BIT(1) 5625*6d67aabdSBjoern A. Zeeb #define B_BE_SEC_TX_ENC BIT(0) 5626*6d67aabdSBjoern A. Zeeb 5627*6d67aabdSBjoern A. Zeeb #define R_BE_SEC_MPDU_PROC 0x9D04 5628*6d67aabdSBjoern A. Zeeb #define B_BE_DBG_ENGINE_SEL BIT(8) 5629*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_RX_PKT_HANDLE BIT(7) 5630*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_TX_PKT_HANDLE BIT(6) 5631*6d67aabdSBjoern A. Zeeb #define B_BE_QUEUE_FOWARD_SEL BIT(5) 5632*6d67aabdSBjoern A. Zeeb #define B_BE_RESP1_PROTECT BIT(4) 5633*6d67aabdSBjoern A. Zeeb #define B_BE_RESP0_PROTECT BIT(3) 5634*6d67aabdSBjoern A. Zeeb #define B_BE_TX_ACTIVE_PROTECT BIT(2) 5635*6d67aabdSBjoern A. Zeeb #define B_BE_APPEND_ICV BIT(1) 5636*6d67aabdSBjoern A. Zeeb #define B_BE_APPEND_MIC BIT(0) 5637*6d67aabdSBjoern A. Zeeb 5638*6d67aabdSBjoern A. Zeeb #define R_BE_SEC_CAM_ACCESS 0x9D10 5639*6d67aabdSBjoern A. Zeeb #define B_BE_SEC_TIME_OUT_MASK GENMASK(31, 16) 5640*6d67aabdSBjoern A. Zeeb #define B_BE_SEC_CAM_POLL BIT(15) 5641*6d67aabdSBjoern A. Zeeb #define B_BE_SEC_CAM_RW BIT(14) 5642*6d67aabdSBjoern A. Zeeb #define B_BE_SEC_CAM_ACC_FAIL BIT(13) 5643*6d67aabdSBjoern A. Zeeb #define B_BE_SEC_CAM_OFFSET_MASK GENMASK(10, 0) 5644*6d67aabdSBjoern A. Zeeb 5645*6d67aabdSBjoern A. Zeeb #define R_BE_SEC_CAM_RDATA 0x9D14 5646*6d67aabdSBjoern A. Zeeb #define B_BE_SEC_CAM_RDATA_MASK GENMASK(31, 0) 5647*6d67aabdSBjoern A. Zeeb 5648*6d67aabdSBjoern A. Zeeb #define R_BE_SEC_DEBUG2 0x9D28 5649*6d67aabdSBjoern A. Zeeb #define B_BE_DBG_READ_MASK GENMASK(31, 0) 5650*6d67aabdSBjoern A. Zeeb 5651*6d67aabdSBjoern A. Zeeb #define R_BE_SEC_ERROR_IMR 0x9D2C 5652*6d67aabdSBjoern A. Zeeb #define B_BE_QUEUE_OPERATION_HANG_IMR BIT(4) 5653*6d67aabdSBjoern A. Zeeb #define B_BE_SEC1_RX_HANG_IMR BIT(3) 5654*6d67aabdSBjoern A. Zeeb #define B_BE_SEC1_TX_HANG_IMR BIT(2) 5655*6d67aabdSBjoern A. Zeeb #define B_BE_RX_HANG_IMR BIT(1) 5656*6d67aabdSBjoern A. Zeeb #define B_BE_TX_HANG_IMR BIT(0) 5657*6d67aabdSBjoern A. Zeeb #define B_BE_SEC_ERROR_IMR_CLR (B_BE_TX_HANG_IMR | \ 5658*6d67aabdSBjoern A. Zeeb B_BE_RX_HANG_IMR | \ 5659*6d67aabdSBjoern A. Zeeb B_BE_SEC1_TX_HANG_IMR | \ 5660*6d67aabdSBjoern A. Zeeb B_BE_SEC1_RX_HANG_IMR | \ 5661*6d67aabdSBjoern A. Zeeb B_BE_QUEUE_OPERATION_HANG_IMR) 5662*6d67aabdSBjoern A. Zeeb #define B_BE_SEC_ERROR_IMR_SET (B_BE_TX_HANG_IMR | \ 5663*6d67aabdSBjoern A. Zeeb B_BE_RX_HANG_IMR | \ 5664*6d67aabdSBjoern A. Zeeb B_BE_SEC1_TX_HANG_IMR | \ 5665*6d67aabdSBjoern A. Zeeb B_BE_SEC1_RX_HANG_IMR | \ 5666*6d67aabdSBjoern A. Zeeb B_BE_QUEUE_OPERATION_HANG_IMR) 5667*6d67aabdSBjoern A. Zeeb 5668*6d67aabdSBjoern A. Zeeb #define R_BE_SEC_ERROR_FLAG 0x9D30 5669*6d67aabdSBjoern A. Zeeb #define B_BE_TXD_DIFF_KEYCAM_TYPE_ERROR BIT(5) 5670*6d67aabdSBjoern A. Zeeb #define B_BE_QUEUE_OPERATION_HANG_ERROR BIT(4) 5671*6d67aabdSBjoern A. Zeeb #define B_BE_SEC1_RX_HANG_ERROR BIT(3) 5672*6d67aabdSBjoern A. Zeeb #define B_BE_SEC1_TX_HANG_ERROR BIT(2) 5673*6d67aabdSBjoern A. Zeeb #define B_BE_RX_HANG_ERROR BIT(1) 5674*6d67aabdSBjoern A. Zeeb #define B_BE_TX_HANG_ERROR BIT(0) 5675*6d67aabdSBjoern A. Zeeb 5676*6d67aabdSBjoern A. Zeeb #define R_BE_TXPKTCTL_MPDUINFO_CFG 0x9F10 5677*6d67aabdSBjoern A. Zeeb #define B_BE_MPDUINFO_FEN BIT(31) 5678*6d67aabdSBjoern A. Zeeb #define B_BE_MPDUINFO_PKTID_MASK GENMASK(27, 16) 5679*6d67aabdSBjoern A. Zeeb #define B_BE_MPDUINFO_B1_BADDR_MASK GENMASK(5, 0) 5680*6d67aabdSBjoern A. Zeeb #define MPDU_INFO_B1_OFST 18 5681*6d67aabdSBjoern A. Zeeb 5682*6d67aabdSBjoern A. Zeeb #define R_BE_TXPKTCTL_B0_PRELD_CFG0 0x9F48 5683*6d67aabdSBjoern A. Zeeb #define B_BE_B0_PRELD_FEN BIT(31) 5684*6d67aabdSBjoern A. Zeeb #define B_BE_B0_PRELD_USEMAXSZ_MASK GENMASK(25, 16) 5685*6d67aabdSBjoern A. Zeeb #define B_BE_B0_PRELD_CAM_G1ENTNUM_MASK GENMASK(12, 8) 5686*6d67aabdSBjoern A. Zeeb #define B_BE_B0_PRELD_CAM_G0ENTNUM_MASK GENMASK(4, 0) 5687*6d67aabdSBjoern A. Zeeb 5688*6d67aabdSBjoern A. Zeeb #define R_BE_TXPKTCTL_B0_PRELD_CFG1 0x9F4C 5689*6d67aabdSBjoern A. Zeeb #define B_BE_B0_PRELD_NXT_TXENDWIN_MASK GENMASK(11, 8) 5690*6d67aabdSBjoern A. Zeeb #define B_BE_B0_PRELD_NXT_RSVMINSZ_MASK GENMASK(7, 0) 5691*6d67aabdSBjoern A. Zeeb 5692*6d67aabdSBjoern A. Zeeb #define R_BE_TXPKTCTL_B0_ERRFLAG_IMR 0x9F78 5693*6d67aabdSBjoern A. Zeeb #define B_BE_B0_IMR_DBG_USRCTL_RLSBMPLEN BIT(25) 5694*6d67aabdSBjoern A. Zeeb #define B_BE_B0_IMR_DBG_USRCTL_RDNRLSCMD BIT(24) 5695*6d67aabdSBjoern A. Zeeb #define B_BE_B0_IMR_ERR_PRELD_ENTNUMCFG BIT(17) 5696*6d67aabdSBjoern A. Zeeb #define B_BE_B0_IMR_ERR_PRELD_RLSPKTSZERR BIT(16) 5697*6d67aabdSBjoern A. Zeeb #define B_BE_B0_IMR_ERR_CMDPSR_TBLSZ BIT(11) 5698*6d67aabdSBjoern A. Zeeb #define B_BE_B0_IMR_ERR_CMDPSR_FRZTO BIT(10) 5699*6d67aabdSBjoern A. Zeeb #define B_BE_B0_IMR_ERR_CMDPSR_CMDTYPE BIT(9) 5700*6d67aabdSBjoern A. Zeeb #define B_BE_B0_IMR_ERR_CMDPSR_1STCMDERR BIT(8) 5701*6d67aabdSBjoern A. Zeeb #define B_BE_B0_IMR_ERR_USRCTL_NOINIT BIT(1) 5702*6d67aabdSBjoern A. Zeeb #define B_BE_B0_IMR_ERR_USRCTL_REINIT BIT(0) 5703*6d67aabdSBjoern A. Zeeb #define B_BE_TXPKTCTL_B0_ERRFLAG_IMR_CLR (B_BE_B0_IMR_ERR_USRCTL_REINIT | \ 5704*6d67aabdSBjoern A. Zeeb B_BE_B0_IMR_ERR_USRCTL_NOINIT | \ 5705*6d67aabdSBjoern A. Zeeb B_BE_B0_IMR_DBG_USRCTL_RDNRLSCMD | \ 5706*6d67aabdSBjoern A. Zeeb B_BE_B0_IMR_DBG_USRCTL_RLSBMPLEN | \ 5707*6d67aabdSBjoern A. Zeeb B_BE_B0_IMR_ERR_CMDPSR_1STCMDERR | \ 5708*6d67aabdSBjoern A. Zeeb B_BE_B0_IMR_ERR_CMDPSR_CMDTYPE | \ 5709*6d67aabdSBjoern A. Zeeb B_BE_B0_IMR_ERR_CMDPSR_FRZTO | \ 5710*6d67aabdSBjoern A. Zeeb B_BE_B0_IMR_ERR_CMDPSR_TBLSZ | \ 5711*6d67aabdSBjoern A. Zeeb B_BE_B0_IMR_ERR_PRELD_RLSPKTSZERR | \ 5712*6d67aabdSBjoern A. Zeeb B_BE_B0_IMR_ERR_PRELD_ENTNUMCFG) 5713*6d67aabdSBjoern A. Zeeb #define B_BE_TXPKTCTL_B0_ERRFLAG_IMR_SET (B_BE_B0_IMR_ERR_USRCTL_REINIT | \ 5714*6d67aabdSBjoern A. Zeeb B_BE_B0_IMR_ERR_USRCTL_NOINIT | \ 5715*6d67aabdSBjoern A. Zeeb B_BE_B0_IMR_ERR_CMDPSR_1STCMDERR | \ 5716*6d67aabdSBjoern A. Zeeb B_BE_B0_IMR_ERR_CMDPSR_CMDTYPE | \ 5717*6d67aabdSBjoern A. Zeeb B_BE_B0_IMR_ERR_CMDPSR_FRZTO | \ 5718*6d67aabdSBjoern A. Zeeb B_BE_B0_IMR_ERR_CMDPSR_TBLSZ | \ 5719*6d67aabdSBjoern A. Zeeb B_BE_B0_IMR_ERR_PRELD_RLSPKTSZERR | \ 5720*6d67aabdSBjoern A. Zeeb B_BE_B0_IMR_ERR_PRELD_ENTNUMCFG) 5721*6d67aabdSBjoern A. Zeeb 5722*6d67aabdSBjoern A. Zeeb #define R_BE_TXPKTCTL_B1_PRELD_CFG0 0x9F88 5723*6d67aabdSBjoern A. Zeeb #define B_BE_B1_PRELD_FEN BIT(31) 5724*6d67aabdSBjoern A. Zeeb #define B_BE_B1_PRELD_USEMAXSZ_MASK GENMASK(25, 16) 5725*6d67aabdSBjoern A. Zeeb #define B_BE_B1_PRELD_CAM_G1ENTNUM_MASK GENMASK(12, 8) 5726*6d67aabdSBjoern A. Zeeb #define B_BE_B1_PRELD_CAM_G0ENTNUM_MASK GENMASK(4, 0) 5727*6d67aabdSBjoern A. Zeeb 5728*6d67aabdSBjoern A. Zeeb #define R_BE_TXPKTCTL_B1_PRELD_CFG1 0x9F8C 5729*6d67aabdSBjoern A. Zeeb #define B_BE_B1_PRELD_NXT_TXENDWIN_MASK GENMASK(11, 8) 5730*6d67aabdSBjoern A. Zeeb #define B_BE_B1_PRELD_NXT_RSVMINSZ_MASK GENMASK(7, 0) 5731*6d67aabdSBjoern A. Zeeb 5732*6d67aabdSBjoern A. Zeeb #define R_BE_TXPKTCTL_B1_ERRFLAG_IMR 0x9FB8 5733*6d67aabdSBjoern A. Zeeb #define B_BE_B1_IMR_DBG_USRCTL_RLSBMPLEN BIT(25) 5734*6d67aabdSBjoern A. Zeeb #define B_BE_B1_IMR_DBG_USRCTL_RDNRLSCMD BIT(24) 5735*6d67aabdSBjoern A. Zeeb #define B_BE_B1_IMR_ERR_PRELD_ENTNUMCFG BIT(17) 5736*6d67aabdSBjoern A. Zeeb #define B_BE_B1_IMR_ERR_PRELD_RLSPKTSZERR BIT(16) 5737*6d67aabdSBjoern A. Zeeb #define B_BE_B1_IMR_ERR_CMDPSR_TBLSZ BIT(11) 5738*6d67aabdSBjoern A. Zeeb #define B_BE_B1_IMR_ERR_CMDPSR_FRZTO BIT(10) 5739*6d67aabdSBjoern A. Zeeb #define B_BE_B1_IMR_ERR_CMDPSR_CMDTYPE BIT(9) 5740*6d67aabdSBjoern A. Zeeb #define B_BE_B1_IMR_ERR_CMDPSR_1STCMDERR BIT(8) 5741*6d67aabdSBjoern A. Zeeb #define B_BE_B1_IMR_ERR_USRCTL_NOINIT BIT(1) 5742*6d67aabdSBjoern A. Zeeb #define B_BE_B1_IMR_ERR_USRCTL_REINIT BIT(0) 5743*6d67aabdSBjoern A. Zeeb #define B_BE_TXPKTCTL_B1_ERRFLAG_IMR_CLR (B_BE_B1_IMR_ERR_USRCTL_REINIT | \ 5744*6d67aabdSBjoern A. Zeeb B_BE_B1_IMR_ERR_USRCTL_NOINIT | \ 5745*6d67aabdSBjoern A. Zeeb B_BE_B1_IMR_DBG_USRCTL_RDNRLSCMD | \ 5746*6d67aabdSBjoern A. Zeeb B_BE_B1_IMR_DBG_USRCTL_RLSBMPLEN | \ 5747*6d67aabdSBjoern A. Zeeb B_BE_B1_IMR_ERR_CMDPSR_1STCMDERR | \ 5748*6d67aabdSBjoern A. Zeeb B_BE_B1_IMR_ERR_CMDPSR_CMDTYPE | \ 5749*6d67aabdSBjoern A. Zeeb B_BE_B1_IMR_ERR_CMDPSR_FRZTO | \ 5750*6d67aabdSBjoern A. Zeeb B_BE_B1_IMR_ERR_CMDPSR_TBLSZ | \ 5751*6d67aabdSBjoern A. Zeeb B_BE_B1_IMR_ERR_PRELD_RLSPKTSZERR | \ 5752*6d67aabdSBjoern A. Zeeb B_BE_B1_IMR_ERR_PRELD_ENTNUMCFG) 5753*6d67aabdSBjoern A. Zeeb #define B_BE_TXPKTCTL_B1_ERRFLAG_IMR_SET (B_BE_B1_IMR_ERR_USRCTL_REINIT | \ 5754*6d67aabdSBjoern A. Zeeb B_BE_B1_IMR_ERR_USRCTL_NOINIT | \ 5755*6d67aabdSBjoern A. Zeeb B_BE_B1_IMR_ERR_CMDPSR_1STCMDERR | \ 5756*6d67aabdSBjoern A. Zeeb B_BE_B1_IMR_ERR_CMDPSR_CMDTYPE | \ 5757*6d67aabdSBjoern A. Zeeb B_BE_B1_IMR_ERR_CMDPSR_FRZTO | \ 5758*6d67aabdSBjoern A. Zeeb B_BE_B1_IMR_ERR_CMDPSR_TBLSZ | \ 5759*6d67aabdSBjoern A. Zeeb B_BE_B1_IMR_ERR_PRELD_RLSPKTSZERR | \ 5760*6d67aabdSBjoern A. Zeeb B_BE_B1_IMR_ERR_PRELD_ENTNUMCFG) 5761*6d67aabdSBjoern A. Zeeb 5762*6d67aabdSBjoern A. Zeeb #define R_BE_MLO_INIT_CTL 0xA114 5763*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_TABLE_INIT_DONE BIT(31) 5764*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_TABLE_CLR_DONE BIT(30) 5765*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_TABLE_REINIT BIT(23) 5766*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_TABLE_HW_FLAG_CLR BIT(22) 5767*6d67aabdSBjoern A. Zeeb 5768*6d67aabdSBjoern A. Zeeb #define R_BE_MLO_ERR_IDCT_IMR 0xA128 5769*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_ERR_IDCT_IMR_0 BIT(31) 5770*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_ERR_IDCT_IMR_1 BIT(30) 5771*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_ERR_IDCT_IMR_2 BIT(29) 5772*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_ERR_IDCT_IMR_3 BIT(28) 5773*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_ERR_IDCT_IMR_CLR (B_BE_MLO_ERR_IDCT_IMR_2 | \ 5774*6d67aabdSBjoern A. Zeeb B_BE_MLO_ERR_IDCT_IMR_1 | \ 5775*6d67aabdSBjoern A. Zeeb B_BE_MLO_ERR_IDCT_IMR_0) 5776*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_ERR_IDCT_IMR_SET (B_BE_MLO_ERR_IDCT_IMR_2 | \ 5777*6d67aabdSBjoern A. Zeeb B_BE_MLO_ERR_IDCT_IMR_1 | \ 5778*6d67aabdSBjoern A. Zeeb B_BE_MLO_ERR_IDCT_IMR_0) 5779*6d67aabdSBjoern A. Zeeb 5780*6d67aabdSBjoern A. Zeeb #define R_BE_MLO_ERR_IDCT_ISR 0xA12C 5781*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_ISR_IDCT_0 BIT(31) 5782*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_ISR_IDCT_1 BIT(30) 5783*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_ISR_IDCT_2 BIT(29) 5784*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_ISR_IDCT_3 BIT(28) 5785*6d67aabdSBjoern A. Zeeb 5786*6d67aabdSBjoern A. Zeeb #define R_BE_PLRLS_ERR_IMR 0xA218 5787*6d67aabdSBjoern A. Zeeb #define B_BE_PLRLS_CTL_FRZTO_IMR BIT(0) 5788*6d67aabdSBjoern A. Zeeb #define B_BE_PLRLS_ERR_IMR_CLR B_BE_PLRLS_CTL_FRZTO_IMR 5789*6d67aabdSBjoern A. Zeeb #define B_BE_PLRLS_ERR_IMR_SET B_BE_PLRLS_CTL_FRZTO_IMR 5790*6d67aabdSBjoern A. Zeeb 5791*6d67aabdSBjoern A. Zeeb #define R_BE_PLRLS_ERR_ISR 0xA21C 5792*6d67aabdSBjoern A. Zeeb #define B_BE_PLRLS_CTL_EVT03_ISR BIT(3) 5793*6d67aabdSBjoern A. Zeeb #define B_BE_PLRLS_CTL_EVT02_ISR BIT(2) 5794*6d67aabdSBjoern A. Zeeb #define B_BE_PLRLS_CTL_EVT01_ISR BIT(1) 5795*6d67aabdSBjoern A. Zeeb #define B_BE_PLRLS_CTL_FRZTO_ISR BIT(0) 5796*6d67aabdSBjoern A. Zeeb 5797*6d67aabdSBjoern A. Zeeb #define R_BE_SS_CTRL 0xA310 5798*6d67aabdSBjoern A. Zeeb #define B_BE_SS_INIT_DONE BIT(31) 5799*6d67aabdSBjoern A. Zeeb #define B_BE_WDE_STA_DIS BIT(30) 5800*6d67aabdSBjoern A. Zeeb #define B_BE_WARM_INIT BIT(29) 5801*6d67aabdSBjoern A. Zeeb #define B_BE_BAND_TRIG_EN BIT(28) 5802*6d67aabdSBjoern A. Zeeb #define B_BE_RMAC_REQ_DIS BIT(27) 5803*6d67aabdSBjoern A. Zeeb #define B_BE_DLYTX_SEL_MASK GENMASK(25, 24) 5804*6d67aabdSBjoern A. Zeeb #define B_BE_WMM3_SWITCH_MASK GENMASK(23, 22) 5805*6d67aabdSBjoern A. Zeeb #define B_BE_WMM2_SWITCH_MASK GENMASK(21, 20) 5806*6d67aabdSBjoern A. Zeeb #define B_BE_WMM1_SWITCH_MASK GENMASK(19, 18) 5807*6d67aabdSBjoern A. Zeeb #define B_BE_WMM0_SWITCH_MASK GENMASK(17, 16) 5808*6d67aabdSBjoern A. Zeeb #define B_BE_STA_OPTION_CR BIT(15) 5809*6d67aabdSBjoern A. Zeeb #define B_BE_EMLSR_STA_EMPTY_EN BIT(11) 5810*6d67aabdSBjoern A. Zeeb #define B_BE_MLO_HW_CHGLINK_EN BIT(10) 5811*6d67aabdSBjoern A. Zeeb #define B_BE_BAND1_TRIG_EN BIT(9) 5812*6d67aabdSBjoern A. Zeeb #define B_BE_RMAC1_REQ_DIS BIT(8) 5813*6d67aabdSBjoern A. Zeeb #define B_BE_MRT_SRAM_EN BIT(7) 5814*6d67aabdSBjoern A. Zeeb #define B_BE_MRT_INIT_EN BIT(6) 5815*6d67aabdSBjoern A. Zeeb #define B_BE_AVG_LENG_EN BIT(5) 5816*6d67aabdSBjoern A. Zeeb #define B_BE_AVG_INIT_EN BIT(4) 5817*6d67aabdSBjoern A. Zeeb #define B_BE_LENG_INIT_EN BIT(2) 5818*6d67aabdSBjoern A. Zeeb #define B_BE_PMPA_INIT_EN BIT(1) 5819*6d67aabdSBjoern A. Zeeb #define B_BE_SS_EN BIT(0) 5820*6d67aabdSBjoern A. Zeeb 5821*6d67aabdSBjoern A. Zeeb #define R_BE_INTERRUPT_MASK_REG 0xA3F0 5822*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_B_PKTID_ERR_IMR BIT(2) 5823*6d67aabdSBjoern A. Zeeb #define B_BE_RPT_TIMEOUT_IMR BIT(1) 5824*6d67aabdSBjoern A. Zeeb #define B_BE_SEARCH_TIMEOUT_IMR BIT(0) 5825*6d67aabdSBjoern A. Zeeb #define B_BE_INTERRUPT_MASK_REG_CLR (B_BE_SEARCH_TIMEOUT_IMR | \ 5826*6d67aabdSBjoern A. Zeeb B_BE_RPT_TIMEOUT_IMR | \ 5827*6d67aabdSBjoern A. Zeeb B_BE_PLE_B_PKTID_ERR_IMR) 5828*6d67aabdSBjoern A. Zeeb #define B_BE_INTERRUPT_MASK_REG_SET (B_BE_SEARCH_TIMEOUT_IMR | \ 5829*6d67aabdSBjoern A. Zeeb B_BE_RPT_TIMEOUT_IMR | \ 5830*6d67aabdSBjoern A. Zeeb B_BE_PLE_B_PKTID_ERR_IMR) 5831*6d67aabdSBjoern A. Zeeb 5832*6d67aabdSBjoern A. Zeeb #define R_BE_INTERRUPT_STS_REG 0xA3F4 5833*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_B_PKTID_ERR_ISR BIT(2) 5834*6d67aabdSBjoern A. Zeeb #define B_BE_RPT_TIMEOUT_ISR BIT(1) 5835*6d67aabdSBjoern A. Zeeb #define B_BE_SEARCH_TIMEOUT_ISR BIT(0) 5836*6d67aabdSBjoern A. Zeeb 5837*6d67aabdSBjoern A. Zeeb #define R_BE_HAXI_INIT_CFG1 0xB000 5838*6d67aabdSBjoern A. Zeeb #define B_BE_CFG_WD_PERIOD_IDLE_MASK GENMASK(31, 28) 5839*6d67aabdSBjoern A. Zeeb #define B_BE_CFG_WD_PERIOD_ACTIVE_MASK GENMASK(27, 24) 5840*6d67aabdSBjoern A. Zeeb #define B_BE_EN_RO_IDX_UPD_BY_IO BIT(19) 5841*6d67aabdSBjoern A. Zeeb #define B_BE_RST_KEEP_REG BIT(18) 5842*6d67aabdSBjoern A. Zeeb #define B_BE_FLUSH_HAXI_MST BIT(17) 5843*6d67aabdSBjoern A. Zeeb #define B_BE_SET_BDRAM_BOUND BIT(16) 5844*6d67aabdSBjoern A. Zeeb #define B_BE_ADDRINFO_ALIGN4B_EN BIT(15) 5845*6d67aabdSBjoern A. Zeeb #define B_BE_RXBD_DONE_MODE_MASK GENMASK(14, 13) 5846*6d67aabdSBjoern A. Zeeb #define B_BE_RXQ_RXBD_MODE_MASK GENMASK(12, 11) 5847*6d67aabdSBjoern A. Zeeb #define B_BE_DMA_MODE_MASK GENMASK(10, 8) 5848*6d67aabdSBjoern A. Zeeb #define S_BE_DMA_MOD_PCIE_NO_DATA_CPU 0x0 5849*6d67aabdSBjoern A. Zeeb #define S_BE_DMA_MOD_PCIE_DATA_CPU 0x1 5850*6d67aabdSBjoern A. Zeeb #define S_BE_DMA_MOD_USB 0x4 5851*6d67aabdSBjoern A. Zeeb #define S_BE_DMA_MOD_SDIO 0x6 5852*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_AXI_MST BIT(7) 5853*6d67aabdSBjoern A. Zeeb #define B_BE_RXDMA_ALIGN64B_EN BIT(6) 5854*6d67aabdSBjoern A. Zeeb #define B_BE_RXDMA_EN BIT(5) 5855*6d67aabdSBjoern A. Zeeb #define B_BE_TXDMA_EN BIT(4) 5856*6d67aabdSBjoern A. Zeeb #define B_BE_MAX_RXDMA_MASK GENMASK(3, 2) 5857*6d67aabdSBjoern A. Zeeb #define B_BE_MAX_TXDMA_MASK GENMASK(1, 0) 5858*6d67aabdSBjoern A. Zeeb 5859*6d67aabdSBjoern A. Zeeb #define R_BE_HAXI_DMA_STOP1 0xB010 5860*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_WPDMA BIT(31) 5861*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_CH14 BIT(14) 5862*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_CH13 BIT(13) 5863*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_CH12 BIT(12) 5864*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_CH11 BIT(11) 5865*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_CH10 BIT(10) 5866*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_CH9 BIT(9) 5867*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_CH8 BIT(8) 5868*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_CH7 BIT(7) 5869*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_CH6 BIT(6) 5870*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_CH5 BIT(5) 5871*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_CH4 BIT(4) 5872*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_CH3 BIT(3) 5873*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_CH2 BIT(2) 5874*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_CH1 BIT(1) 5875*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_CH0 BIT(0) 5876*6d67aabdSBjoern A. Zeeb 5877*6d67aabdSBjoern A. Zeeb #define R_BE_HAXI_MST_WDT_TIMEOUT_SEL_V1 0xB02C 5878*6d67aabdSBjoern A. Zeeb #define B_BE_HAXI_MST_WDT_TIMEOUT_SEL_MASK GENMASK(4, 0) 5879*6d67aabdSBjoern A. Zeeb 5880*6d67aabdSBjoern A. Zeeb #define R_BE_HAXI_IDCT_MSK 0xB0B8 5881*6d67aabdSBjoern A. Zeeb #define B_BE_HAXI_RRESP_ERR_IDCT_MSK BIT(7) 5882*6d67aabdSBjoern A. Zeeb #define B_BE_HAXI_BRESP_ERR_IDCT_MSK BIT(6) 5883*6d67aabdSBjoern A. Zeeb #define B_BE_RXDMA_ERR_FLAG_IDCT_MSK BIT(5) 5884*6d67aabdSBjoern A. Zeeb #define B_BE_SET_FC_ERROR_FLAG_IDCT_MSK BIT(4) 5885*6d67aabdSBjoern A. Zeeb #define B_BE_TXBD_LEN0_ERR_IDCT_MSK BIT(3) 5886*6d67aabdSBjoern A. Zeeb #define B_BE_TXBD_4KBOUND_ERR_IDCT_MSK BIT(2) 5887*6d67aabdSBjoern A. Zeeb #define B_BE_RXMDA_STUCK_IDCT_MSK BIT(1) 5888*6d67aabdSBjoern A. Zeeb #define B_BE_TXMDA_STUCK_IDCT_MSK BIT(0) 5889*6d67aabdSBjoern A. Zeeb #define B_BE_HAXI_IDCT_MSK_CLR (B_BE_TXMDA_STUCK_IDCT_MSK | \ 5890*6d67aabdSBjoern A. Zeeb B_BE_RXMDA_STUCK_IDCT_MSK | \ 5891*6d67aabdSBjoern A. Zeeb B_BE_TXBD_LEN0_ERR_IDCT_MSK | \ 5892*6d67aabdSBjoern A. Zeeb B_BE_SET_FC_ERROR_FLAG_IDCT_MSK | \ 5893*6d67aabdSBjoern A. Zeeb B_BE_RXDMA_ERR_FLAG_IDCT_MSK | \ 5894*6d67aabdSBjoern A. Zeeb B_BE_HAXI_BRESP_ERR_IDCT_MSK | \ 5895*6d67aabdSBjoern A. Zeeb B_BE_HAXI_RRESP_ERR_IDCT_MSK) 5896*6d67aabdSBjoern A. Zeeb #define B_BE_HAXI_IDCT_MSK_SET (B_BE_TXMDA_STUCK_IDCT_MSK | \ 5897*6d67aabdSBjoern A. Zeeb B_BE_RXMDA_STUCK_IDCT_MSK | \ 5898*6d67aabdSBjoern A. Zeeb B_BE_TXBD_LEN0_ERR_IDCT_MSK | \ 5899*6d67aabdSBjoern A. Zeeb B_BE_SET_FC_ERROR_FLAG_IDCT_MSK | \ 5900*6d67aabdSBjoern A. Zeeb B_BE_RXDMA_ERR_FLAG_IDCT_MSK | \ 5901*6d67aabdSBjoern A. Zeeb B_BE_HAXI_BRESP_ERR_IDCT_MSK | \ 5902*6d67aabdSBjoern A. Zeeb B_BE_HAXI_RRESP_ERR_IDCT_MSK) 5903*6d67aabdSBjoern A. Zeeb 5904*6d67aabdSBjoern A. Zeeb #define R_BE_HAXI_IDCT 0xB0BC 5905*6d67aabdSBjoern A. Zeeb #define B_BE_HAXI_RRESP_ERR_IDCT BIT(7) 5906*6d67aabdSBjoern A. Zeeb #define B_BE_HAXI_BRESP_ERR_IDCT BIT(6) 5907*6d67aabdSBjoern A. Zeeb #define B_BE_RXDMA_ERR_FLAG_IDCT BIT(5) 5908*6d67aabdSBjoern A. Zeeb #define B_BE_SET_FC_ERROR_FLAG_IDCT BIT(4) 5909*6d67aabdSBjoern A. Zeeb #define B_BE__TXBD_LEN0_ERR_IDCT BIT(3) 5910*6d67aabdSBjoern A. Zeeb #define B_BE__TXBD_4KBOUND_ERR_IDCT BIT(2) 5911*6d67aabdSBjoern A. Zeeb #define B_BE_RXMDA_STUCK_IDCT BIT(1) 5912*6d67aabdSBjoern A. Zeeb #define B_BE_TXMDA_STUCK_IDCT BIT(0) 5913*6d67aabdSBjoern A. Zeeb 5914*6d67aabdSBjoern A. Zeeb #define R_BE_HCI_FC_CTRL 0xB700 5915*6d67aabdSBjoern A. Zeeb #define B_BE_WD_PAGE_MODE_MASK GENMASK(17, 16) 5916*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_FC_CH14_FULL_COND_MASK GENMASK(15, 14) 5917*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_FC_TWD_FULL_COND_MASK GENMASK(13, 12) 5918*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_FC_CH12_FULL_COND_MASK GENMASK(11, 10) 5919*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_FC_WP_CH811_FULL_COND_MASK GENMASK(9, 8) 5920*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_FC_WP_CH07_FULL_COND_MASK GENMASK(7, 6) 5921*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_FC_WD_FULL_COND_MASK GENMASK(5, 4) 5922*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_FC_CH12_EN BIT(3) 5923*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_FC_MODE_MASK GENMASK(2, 1) 5924*6d67aabdSBjoern A. Zeeb #define B_BE_HCI_FC_EN BIT(0) 5925*6d67aabdSBjoern A. Zeeb 5926*6d67aabdSBjoern A. Zeeb #define R_BE_CH_PAGE_CTRL 0xB704 5927*6d67aabdSBjoern A. Zeeb #define B_BE_PREC_PAGE_CH12_V1_MASK GENMASK(21, 16) 5928*6d67aabdSBjoern A. Zeeb #define B_BE_PREC_PAGE_CH011_V1_MASK GENMASK(5, 0) 5929*6d67aabdSBjoern A. Zeeb 5930*6d67aabdSBjoern A. Zeeb #define R_BE_CH0_PAGE_CTRL 0xB718 5931*6d67aabdSBjoern A. Zeeb #define B_BE_CH0_GRP BIT(31) 5932*6d67aabdSBjoern A. Zeeb #define B_BE_CH0_MAX_PG_MASK GENMASK(28, 16) 5933*6d67aabdSBjoern A. Zeeb #define B_BE_CH0_MIN_PG_MASK GENMASK(12, 0) 5934*6d67aabdSBjoern A. Zeeb 5935*6d67aabdSBjoern A. Zeeb #define R_BE_CH0_PAGE_INFO 0xB750 5936*6d67aabdSBjoern A. Zeeb #define B_BE_CH0_AVAL_PG_MASK GENMASK(28, 16) 5937*6d67aabdSBjoern A. Zeeb #define B_BE_CH0_USE_PG_MASK GENMASK(12, 0) 5938*6d67aabdSBjoern A. Zeeb 5939*6d67aabdSBjoern A. Zeeb #define R_BE_PUB_PAGE_INFO3 0xB78C 5940*6d67aabdSBjoern A. Zeeb #define B_BE_G1_AVAL_PG_MASK GENMASK(28, 16) 5941*6d67aabdSBjoern A. Zeeb #define B_BE_G0_AVAL_PG_MASK GENMASK(12, 0) 5942*6d67aabdSBjoern A. Zeeb 5943*6d67aabdSBjoern A. Zeeb #define R_BE_PUB_PAGE_CTRL1 0xB790 5944*6d67aabdSBjoern A. Zeeb #define B_BE_PUBPG_G1_MASK GENMASK(28, 16) 5945*6d67aabdSBjoern A. Zeeb #define B_BE_PUBPG_G0_MASK GENMASK(12, 0) 5946*6d67aabdSBjoern A. Zeeb 5947*6d67aabdSBjoern A. Zeeb #define R_BE_PUB_PAGE_CTRL2 0xB794 5948*6d67aabdSBjoern A. Zeeb #define B_BE_PUBPG_ALL_MASK GENMASK(12, 0) 5949*6d67aabdSBjoern A. Zeeb 5950*6d67aabdSBjoern A. Zeeb #define R_BE_PUB_PAGE_INFO1 0xB79C 5951*6d67aabdSBjoern A. Zeeb #define B_BE_G1_USE_PG_MASK GENMASK(28, 16) 5952*6d67aabdSBjoern A. Zeeb #define B_BE_G0_USE_PG_MASK GENMASK(12, 0) 5953*6d67aabdSBjoern A. Zeeb 5954*6d67aabdSBjoern A. Zeeb #define R_BE_PUB_PAGE_INFO2 0xB7A0 5955*6d67aabdSBjoern A. Zeeb #define B_BE_PUB_AVAL_PG_MASK GENMASK(12, 0) 5956*6d67aabdSBjoern A. Zeeb 5957*6d67aabdSBjoern A. Zeeb #define R_BE_WP_PAGE_CTRL1 0xB7A4 5958*6d67aabdSBjoern A. Zeeb #define B_BE_PREC_PAGE_WP_CH811_MASK GENMASK(24, 16) 5959*6d67aabdSBjoern A. Zeeb #define B_BE_PREC_PAGE_WP_CH07_MASK GENMASK(8, 0) 5960*6d67aabdSBjoern A. Zeeb 5961*6d67aabdSBjoern A. Zeeb #define R_BE_WP_PAGE_CTRL2 0xB7A8 5962*6d67aabdSBjoern A. Zeeb #define B_BE_WP_THRD_MASK GENMASK(12, 0) 5963*6d67aabdSBjoern A. Zeeb 5964*6d67aabdSBjoern A. Zeeb #define R_BE_WP_PAGE_INFO1 0xB7AC 5965*6d67aabdSBjoern A. Zeeb #define B_BE_WP_AVAL_PG_MASK GENMASK(28, 16) 5966*6d67aabdSBjoern A. Zeeb 5967*6d67aabdSBjoern A. Zeeb #define R_BE_CMAC_SHARE_FUNC_EN 0x0E000 5968*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC_SHARE_CRPRT BIT(31) 5969*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC_SHARE_EN BIT(30) 5970*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_BTCOEX_REG_GCKEN BIT(24) 5971*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_CMAC_SHARE_COMMON_REG_GCKEN BIT(16) 5972*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_CMAC_SHARE_REG_GCKEN BIT(15) 5973*6d67aabdSBjoern A. Zeeb #define B_BE_RESPBA_EN BIT(2) 5974*6d67aabdSBjoern A. Zeeb #define B_BE_ADDRSRCH_EN BIT(1) 5975*6d67aabdSBjoern A. Zeeb #define B_BE_BTCOEX_EN BIT(0) 5976*6d67aabdSBjoern A. Zeeb 5977*6d67aabdSBjoern A. Zeeb #define R_BE_CMAC_SHARE_ACQCHK_CFG_0 0x0E010 5978*6d67aabdSBjoern A. Zeeb #define B_BE_ACQCHK_ERR_FLAG_MASK GENMASK(31, 24) 5979*6d67aabdSBjoern A. Zeeb #define B_BE_R_ACQCHK_ENTRY_IDX_SEL_MASK GENMASK(7, 4) 5980*6d67aabdSBjoern A. Zeeb #define B_BE_MACID_ACQ_GRP1_CLR_P BIT(3) 5981*6d67aabdSBjoern A. Zeeb #define B_BE_MACID_ACQ_GRP0_CLR_P BIT(2) 5982*6d67aabdSBjoern A. Zeeb #define B_BE_R_MACID_ACQ_CHK_EN BIT(0) 5983*6d67aabdSBjoern A. Zeeb 5984*6d67aabdSBjoern A. Zeeb #define R_BE_BT_BREAK_TABLE 0x0E344 5985*6d67aabdSBjoern A. Zeeb 5986*6d67aabdSBjoern A. Zeeb #define R_BE_GNT_SW_CTRL 0x0E348 5987*6d67aabdSBjoern A. Zeeb #define B_BE_WL_ACT2_VAL BIT(25) 5988*6d67aabdSBjoern A. Zeeb #define B_BE_WL_ACT2_SWCTRL BIT(24) 5989*6d67aabdSBjoern A. Zeeb #define B_BE_WL_ACT_VAL BIT(23) 5990*6d67aabdSBjoern A. Zeeb #define B_BE_WL_ACT_SWCTRL BIT(22) 5991*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_BT_RX_BB1_VAL BIT(21) 5992*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_BT_RX_BB1_SWCTRL BIT(20) 5993*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_BT_TX_BB1_VAL BIT(19) 5994*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_BT_TX_BB1_SWCTRL BIT(18) 5995*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_BT_RX_BB0_VAL BIT(17) 5996*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_BT_RX_BB0_SWCTRL BIT(16) 5997*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_BT_TX_BB0_VAL BIT(15) 5998*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_BT_TX_BB0_SWCTRL BIT(14) 5999*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_WL_RX_VAL BIT(13) 6000*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_WL_RX_SWCTRL BIT(12) 6001*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_WL_TX_VAL BIT(11) 6002*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_WL_TX_SWCTRL BIT(10) 6003*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_BT_BB1_VAL BIT(9) 6004*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_BT_BB1_SWCTRL BIT(8) 6005*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_WL_BB1_VAL BIT(7) 6006*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_WL_BB1_SWCTRL BIT(6) 6007*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_BT_BB0_VAL BIT(5) 6008*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_BT_BB0_SWCTRL BIT(4) 6009*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_WL_BB0_VAL BIT(3) 6010*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_WL_BB0_SWCTRL BIT(2) 6011*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_WL_BB_PWR_VAL BIT(1) 6012*6d67aabdSBjoern A. Zeeb #define B_BE_GNT_WL_BB_PWR_SWCTRL BIT(0) 6013*6d67aabdSBjoern A. Zeeb 6014*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_MACID_PATH_BASE 0x0E500 6015*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_MACID_LMT_BASE 0x0ED00 6016*6d67aabdSBjoern A. Zeeb 6017*6d67aabdSBjoern A. Zeeb #define R_BE_CMAC_FUNC_EN 0x10000 6018*6d67aabdSBjoern A. Zeeb #define R_BE_CMAC_FUNC_EN_C1 0x14000 6019*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC_CRPRT BIT(31) 6020*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC_EN BIT(30) 6021*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC_TXEN BIT(29) 6022*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC_RXEN BIT(28) 6023*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_RESP_PKTCTL_GCKEN BIT(26) 6024*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_SIGB_REG_GCKEN BIT(25) 6025*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_POWER_REG_GCKEN BIT(23) 6026*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_RMAC_REG_GCKEN BIT(22) 6027*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_TRXPTCL_REG_GCKEN BIT(21) 6028*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_TMAC_REG_GCKEN BIT(20) 6029*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_CMAC_DMA_REG_GCKEN BIT(19) 6030*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_PTCL_REG_GCKEN BIT(18) 6031*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_SCHEDULER_RREG_GCKEN BIT(17) 6032*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_CMAC_COMMON_REG_GCKEN BIT(16) 6033*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_CMACREG_GCKEN BIT(15) 6034*6d67aabdSBjoern A. Zeeb #define B_BE_TXTIME_EN BIT(8) 6035*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_PKTCTL_EN BIT(7) 6036*6d67aabdSBjoern A. Zeeb #define B_BE_SIGB_EN BIT(6) 6037*6d67aabdSBjoern A. Zeeb #define B_BE_PHYINTF_EN BIT(5) 6038*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC_DMA_EN BIT(4) 6039*6d67aabdSBjoern A. Zeeb #define B_BE_PTCLTOP_EN BIT(3) 6040*6d67aabdSBjoern A. Zeeb #define B_BE_SCHEDULER_EN BIT(2) 6041*6d67aabdSBjoern A. Zeeb #define B_BE_TMAC_EN BIT(1) 6042*6d67aabdSBjoern A. Zeeb #define B_BE_RMAC_EN BIT(0) 6043*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC_FUNC_EN_SET (B_BE_CMAC_EN | B_BE_CMAC_TXEN | B_BE_CMAC_RXEN | \ 6044*6d67aabdSBjoern A. Zeeb B_BE_PHYINTF_EN | B_BE_CMAC_DMA_EN | B_BE_PTCLTOP_EN | \ 6045*6d67aabdSBjoern A. Zeeb B_BE_SCHEDULER_EN | B_BE_TMAC_EN | B_BE_RMAC_EN | \ 6046*6d67aabdSBjoern A. Zeeb B_BE_CMAC_CRPRT | B_BE_TXTIME_EN | B_BE_RESP_PKTCTL_EN | \ 6047*6d67aabdSBjoern A. Zeeb B_BE_SIGB_EN) 6048*6d67aabdSBjoern A. Zeeb 6049*6d67aabdSBjoern A. Zeeb #define R_BE_CK_EN 0x10004 6050*6d67aabdSBjoern A. Zeeb #define R_BE_CK_EN_C1 0x14004 6051*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC_CKEN BIT(30) 6052*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_P1_P4_CKEN BIT(15) 6053*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_P0MB1_15_CKEN BIT(14) 6054*6d67aabdSBjoern A. Zeeb #define B_BE_TXTIME_CKEN BIT(8) 6055*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_PKTCTL_CKEN BIT(7) 6056*6d67aabdSBjoern A. Zeeb #define B_BE_SIGB_CKEN BIT(6) 6057*6d67aabdSBjoern A. Zeeb #define B_BE_PHYINTF_CKEN BIT(5) 6058*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC_DMA_CKEN BIT(4) 6059*6d67aabdSBjoern A. Zeeb #define B_BE_PTCLTOP_CKEN BIT(3) 6060*6d67aabdSBjoern A. Zeeb #define B_BE_SCHEDULER_CKEN BIT(2) 6061*6d67aabdSBjoern A. Zeeb #define B_BE_TMAC_CKEN BIT(1) 6062*6d67aabdSBjoern A. Zeeb #define B_BE_RMAC_CKEN BIT(0) 6063*6d67aabdSBjoern A. Zeeb #define B_BE_CK_EN_SET (B_BE_CMAC_CKEN | B_BE_PHYINTF_CKEN | B_BE_CMAC_DMA_CKEN | \ 6064*6d67aabdSBjoern A. Zeeb B_BE_PTCLTOP_CKEN | B_BE_SCHEDULER_CKEN | B_BE_TMAC_CKEN | \ 6065*6d67aabdSBjoern A. Zeeb B_BE_RMAC_CKEN | B_BE_TXTIME_CKEN | B_BE_RESP_PKTCTL_CKEN | \ 6066*6d67aabdSBjoern A. Zeeb B_BE_SIGB_CKEN) 6067*6d67aabdSBjoern A. Zeeb 6068*6d67aabdSBjoern A. Zeeb #define R_BE_WMAC_RFMOD 0x10010 6069*6d67aabdSBjoern A. Zeeb #define R_BE_WMAC_RFMOD_C1 0x14010 6070*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC_ASSERTION BIT(31) 6071*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_RFMOD_MASK GENMASK(2, 0) 6072*6d67aabdSBjoern A. Zeeb #define BE_WMAC_RFMOD_20M 0 6073*6d67aabdSBjoern A. Zeeb #define BE_WMAC_RFMOD_40M 1 6074*6d67aabdSBjoern A. Zeeb #define BE_WMAC_RFMOD_80M 2 6075*6d67aabdSBjoern A. Zeeb #define BE_WMAC_RFMOD_160M 3 6076*6d67aabdSBjoern A. Zeeb #define BE_WMAC_RFMOD_320M 4 6077*6d67aabdSBjoern A. Zeeb 6078*6d67aabdSBjoern A. Zeeb #define R_BE_TX_SUB_BAND_VALUE 0x10088 6079*6d67aabdSBjoern A. Zeeb #define R_BE_TX_SUB_BAND_VALUE_C1 0x14088 6080*6d67aabdSBjoern A. Zeeb #define B_BE_PRI20_BITMAP_MASK GENMASK(31, 16) 6081*6d67aabdSBjoern A. Zeeb #define BE_PRI20_BITMAP_MAX 15 6082*6d67aabdSBjoern A. Zeeb #define B_BE_TXSB_160M_MASK GENMASK(15, 12) 6083*6d67aabdSBjoern A. Zeeb #define S_BE_TXSB_160M_0 0 6084*6d67aabdSBjoern A. Zeeb #define S_BE_TXSB_160M_1 1 6085*6d67aabdSBjoern A. Zeeb #define B_BE_TXSB_80M_MASK GENMASK(11, 8) 6086*6d67aabdSBjoern A. Zeeb #define S_BE_TXSB_80M_0 0 6087*6d67aabdSBjoern A. Zeeb #define S_BE_TXSB_80M_2 2 6088*6d67aabdSBjoern A. Zeeb #define S_BE_TXSB_80M_4 4 6089*6d67aabdSBjoern A. Zeeb #define B_BE_TXSB_40M_MASK GENMASK(7, 4) 6090*6d67aabdSBjoern A. Zeeb #define S_BE_TXSB_40M_0 0 6091*6d67aabdSBjoern A. Zeeb #define S_BE_TXSB_40M_1 1 6092*6d67aabdSBjoern A. Zeeb #define S_BE_TXSB_40M_4 4 6093*6d67aabdSBjoern A. Zeeb #define B_BE_TXSB_20M_MASK GENMASK(3, 0) 6094*6d67aabdSBjoern A. Zeeb #define S_BE_TXSB_20M_8 8 6095*6d67aabdSBjoern A. Zeeb #define S_BE_TXSB_20M_4 4 6096*6d67aabdSBjoern A. Zeeb #define S_BE_TXSB_20M_2 2 6097*6d67aabdSBjoern A. Zeeb 6098*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_RRSR0 0x1008C 6099*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_RRSR0_C1 0x1408C 6100*6d67aabdSBjoern A. Zeeb #define B_BE_RRSR_HE_MASK GENMASK(31, 24) 6101*6d67aabdSBjoern A. Zeeb #define B_BE_RRSR_VHT_MASK GENMASK(23, 16) 6102*6d67aabdSBjoern A. Zeeb #define B_BE_RRSR_HT_MASK GENMASK(15, 8) 6103*6d67aabdSBjoern A. Zeeb #define B_BE_RRSR_OFDM_MASK GENMASK(7, 0) 6104*6d67aabdSBjoern A. Zeeb 6105*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_RRSR1 0x10090 6106*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_RRSR1_C1 0x14090 6107*6d67aabdSBjoern A. Zeeb #define B_BE_RRSR_EHT_MASK GENMASK(23, 16) 6108*6d67aabdSBjoern A. Zeeb #define B_BE_RRSR_RATE_EN_MASK GENMASK(12, 8) 6109*6d67aabdSBjoern A. Zeeb #define B_BE_RSC_MASK GENMASK(7, 6) 6110*6d67aabdSBjoern A. Zeeb #define B_BE_RRSR_CCK_MASK GENMASK(3, 0) 6111*6d67aabdSBjoern A. Zeeb 6112*6d67aabdSBjoern A. Zeeb #define R_BE_CMAC_ERR_IMR 0x10160 6113*6d67aabdSBjoern A. Zeeb #define R_BE_CMAC_ERR_IMR_C1 0x14160 6114*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC_FW_ERR_IDCT_EN BIT(16) 6115*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_TX_IDLETO_IDCT_EN BIT(9) 6116*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_RX_IDLETO_IDCT_EN BIT(8) 6117*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_TX_ERR_IND_EN BIT(7) 6118*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_RX_ERR_IND_EN BIT(6) 6119*6d67aabdSBjoern A. Zeeb #define B_BE_TXPWR_CTRL_ERR_IND_EN BIT(5) 6120*6d67aabdSBjoern A. Zeeb #define B_BE_PHYINTF_ERR_IND_EN BIT(4) 6121*6d67aabdSBjoern A. Zeeb #define B_BE_DMA_TOP_ERR_IND_EN BIT(3) 6122*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_PKTCTL_ERR_IND_EN BIT(2) 6123*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_TOP_ERR_IND_EN BIT(1) 6124*6d67aabdSBjoern A. Zeeb #define B_BE_SCHEDULE_TOP_ERR_IND_EN BIT(0) 6125*6d67aabdSBjoern A. Zeeb 6126*6d67aabdSBjoern A. Zeeb #define R_BE_CMAC_ERR_ISR 0x10164 6127*6d67aabdSBjoern A. Zeeb #define R_BE_CMAC_ERR_ISR_C1 0x14164 6128*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC_FW_ERR_IDCT BIT(16) 6129*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_TX_IDLETO_IDCT BIT(9) 6130*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_RX_IDLETO_IDCT BIT(8) 6131*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_TX_ERR_IND BIT(7) 6132*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_RX_ERR_IND BIT(6) 6133*6d67aabdSBjoern A. Zeeb #define B_BE_TXPWR_CTRL_ERR_IND BIT(5) 6134*6d67aabdSBjoern A. Zeeb #define B_BE_PHYINTF_ERR_IND BIT(4) 6135*6d67aabdSBjoern A. Zeeb #define B_BE_DMA_TOP_ERR_IND BIT(3) 6136*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_PKTCTL_ERR_IDCT BIT(2) 6137*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_TOP_ERR_IND BIT(1) 6138*6d67aabdSBjoern A. Zeeb #define B_BE_SCHEDULE_TOP_ERR_IND BIT(0) 6139*6d67aabdSBjoern A. Zeeb 6140*6d67aabdSBjoern A. Zeeb #define R_BE_SER_L0_DBG_CNT 0x10170 6141*6d67aabdSBjoern A. Zeeb #define R_BE_SER_L0_DBG_CNT_C1 0x14170 6142*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_PHYINTF_CNT_MASK GENMASK(31, 24) 6143*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_DMA_CNT_MASK GENMASK(23, 16) 6144*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_PTCL_CNT_MASK GENMASK(15, 8) 6145*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SCH_CNT_MASK GENMASK(7, 0) 6146*6d67aabdSBjoern A. Zeeb 6147*6d67aabdSBjoern A. Zeeb #define R_BE_SER_L0_DBG_CNT1 0x10174 6148*6d67aabdSBjoern A. Zeeb #define R_BE_SER_L0_DBG_CNT1_C1 0x14174 6149*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_TMAC_COUNTER_MASK GENMASK(23, 16) 6150*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_RMAC_COUNTER_MASK GENMASK(15, 8) 6151*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_TXPWR_COUNTER_MASK GENMASK(7, 0) 6152*6d67aabdSBjoern A. Zeeb 6153*6d67aabdSBjoern A. Zeeb #define R_BE_SER_L0_DBG_CNT2 0x10178 6154*6d67aabdSBjoern A. Zeeb #define R_BE_SER_L0_DBG_CNT2_C1 0x14178 6155*6d67aabdSBjoern A. Zeeb 6156*6d67aabdSBjoern A. Zeeb #define R_BE_SER_L0_DBG_CNT3 0x1017C 6157*6d67aabdSBjoern A. Zeeb #define R_BE_SER_L0_DBG_CNT3_C1 0x1417C 6158*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT31_CNT BIT(31) 6159*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT30_CNT BIT(30) 6160*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT29_CNT BIT(29) 6161*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT28_CNT BIT(28) 6162*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT27_CNT BIT(27) 6163*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT26_CNT BIT(26) 6164*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT25_CNT BIT(25) 6165*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT24_CNT BIT(24) 6166*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT23_CNT BIT(23) 6167*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT22_CNT BIT(22) 6168*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT21_CNT BIT(21) 6169*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT20_CNT BIT(20) 6170*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT19_CNT BIT(19) 6171*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT18_CNT BIT(18) 6172*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT17_CNT BIT(17) 6173*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT16_CNT BIT(16) 6174*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT15_CNT BIT(15) 6175*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT14_CNT BIT(14) 6176*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT13_CNT BIT(13) 6177*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT12_CNT BIT(12) 6178*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT11_CNT BIT(11) 6179*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT10_CNT BIT(10) 6180*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT9_CNT BIT(9) 6181*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT8_CNT BIT(8) 6182*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT7_CNT BIT(7) 6183*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT6_CNT BIT(6) 6184*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT5_CNT BIT(5) 6185*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT4_CNT BIT(4) 6186*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT3_CNT BIT(3) 6187*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT2_CNT BIT(2) 6188*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT1_CNT BIT(1) 6189*6d67aabdSBjoern A. Zeeb #define B_BE_SER_L0_SUBMODULE_BIT0_CNT BIT(0) 6190*6d67aabdSBjoern A. Zeeb 6191*6d67aabdSBjoern A. Zeeb #define R_BE_PORT_0_TSF_SYNC 0x102A0 6192*6d67aabdSBjoern A. Zeeb #define R_BE_PORT_0_TSF_SYNC_C1 0x142A0 6193*6d67aabdSBjoern A. Zeeb #define B_BE_P0_SYNC_NOW_P BIT(30) 6194*6d67aabdSBjoern A. Zeeb #define B_BE_P0_SYNC_ONCE_P BIT(29) 6195*6d67aabdSBjoern A. Zeeb #define B_BE_P0_AUTO_SYNC BIT(28) 6196*6d67aabdSBjoern A. Zeeb #define B_BE_P0_SYNC_PORT_SRC_SEL_MASK GENMASK(26, 24) 6197*6d67aabdSBjoern A. Zeeb #define B_BE_P0_TSFTR_SYNC_OFFSET_MASK GENMASK(18, 0) 6198*6d67aabdSBjoern A. Zeeb 6199*6d67aabdSBjoern A. Zeeb #define R_BE_EDCA_BCNQ_PARAM 0x10324 6200*6d67aabdSBjoern A. Zeeb #define R_BE_EDCA_BCNQ_PARAM_C1 0x14324 6201*6d67aabdSBjoern A. Zeeb #define B_BE_BCNQ_CW_MASK GENMASK(31, 24) 6202*6d67aabdSBjoern A. Zeeb #define B_BE_BCNQ_AIFS_MASK GENMASK(23, 16) 6203*6d67aabdSBjoern A. Zeeb #define BCN_IFS_25US 0x19 6204*6d67aabdSBjoern A. Zeeb #define B_BE_PIFS_MASK GENMASK(15, 8) 6205*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_BCN_IFS_MASK GENMASK(7, 0) 6206*6d67aabdSBjoern A. Zeeb 6207*6d67aabdSBjoern A. Zeeb #define R_BE_PREBKF_CFG_0 0x10338 6208*6d67aabdSBjoern A. Zeeb #define R_BE_PREBKF_CFG_0_C1 0x14338 6209*6d67aabdSBjoern A. Zeeb #define B_BE_100NS_TIME_MASK GENMASK(28, 24) 6210*6d67aabdSBjoern A. Zeeb #define B_BE_RX_AIR_END_TIME_MASK GENMASK(22, 16) 6211*6d67aabdSBjoern A. Zeeb #define B_BE_MACTX_LATENCY_MASK GENMASK(10, 8) 6212*6d67aabdSBjoern A. Zeeb #define B_BE_PREBKF_TIME_MASK GENMASK(4, 0) 6213*6d67aabdSBjoern A. Zeeb 6214*6d67aabdSBjoern A. Zeeb #define R_BE_PREBKF_CFG_1 0x1033C 6215*6d67aabdSBjoern A. Zeeb #define R_BE_PREBKF_CFG_1_C1 0x1433C 6216*6d67aabdSBjoern A. Zeeb #define B_BE_SIFS_TIMEOUT_TB_AGGR_MASK GENMASK(31, 24) 6217*6d67aabdSBjoern A. Zeeb #define B_BE_SIFS_PREBKF_MASK GENMASK(23, 16) 6218*6d67aabdSBjoern A. Zeeb #define B_BE_SIFS_TIMEOUT_T2_MASK GENMASK(14, 8) 6219*6d67aabdSBjoern A. Zeeb #define B_BE_SIFS_MACTXEN_T1_MASK GENMASK(6, 0) 6220*6d67aabdSBjoern A. Zeeb 6221*6d67aabdSBjoern A. Zeeb #define R_BE_CCA_CFG_0 0x10340 6222*6d67aabdSBjoern A. Zeeb #define R_BE_CCA_CFG_0_C1 0x14340 6223*6d67aabdSBjoern A. Zeeb #define B_BE_R_SIFS_AGGR_TIME_V1_MASK GENMASK(31, 24) 6224*6d67aabdSBjoern A. Zeeb #define B_BE_EDCCA_SEC160_EN BIT(23) 6225*6d67aabdSBjoern A. Zeeb #define B_BE_EDCCA_SEC80_EN BIT(22) 6226*6d67aabdSBjoern A. Zeeb #define B_BE_EDCCA_SEC40_EN BIT(21) 6227*6d67aabdSBjoern A. Zeeb #define B_BE_EDCCA_SEC20_EN BIT(20) 6228*6d67aabdSBjoern A. Zeeb #define B_BE_SEC160_EN BIT(19) 6229*6d67aabdSBjoern A. Zeeb #define B_BE_CCA_BITMAP_EN BIT(18) 6230*6d67aabdSBjoern A. Zeeb #define B_BE_TXPKTCTL_RST_EDCA_EN BIT(17) 6231*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_RST_EDCA_EN BIT(16) 6232*6d67aabdSBjoern A. Zeeb #define B_BE_TXFAIL_BRK_TXOP_EN BIT(11) 6233*6d67aabdSBjoern A. Zeeb #define B_BE_EDCCA_PER20_BITMAP_SIFS_EN BIT(10) 6234*6d67aabdSBjoern A. Zeeb #define B_BE_NO_GNT_WL_BRK_TXOP_EN BIT(9) 6235*6d67aabdSBjoern A. Zeeb #define B_BE_NAV_BRK_TXOP_EN BIT(8) 6236*6d67aabdSBjoern A. Zeeb #define B_BE_TX_NAV_EN BIT(7) 6237*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_IGNORE_EDCCA BIT(6) 6238*6d67aabdSBjoern A. Zeeb #define B_BE_NO_GNT_WL_EN BIT(5) 6239*6d67aabdSBjoern A. Zeeb #define B_BE_EDCCA_EN BIT(4) 6240*6d67aabdSBjoern A. Zeeb #define B_BE_SEC80_EN BIT(3) 6241*6d67aabdSBjoern A. Zeeb #define B_BE_SEC40_EN BIT(2) 6242*6d67aabdSBjoern A. Zeeb #define B_BE_SEC20_EN BIT(1) 6243*6d67aabdSBjoern A. Zeeb #define B_BE_CCA_EN BIT(0) 6244*6d67aabdSBjoern A. Zeeb 6245*6d67aabdSBjoern A. Zeeb #define R_BE_CTN_CFG_0 0x1034C 6246*6d67aabdSBjoern A. Zeeb #define R_BE_CTN_CFG_0_C1 0x1434C 6247*6d67aabdSBjoern A. Zeeb #define B_BE_OTHER_LINK_BKF_BLK_TX_THD_MASK GENMASK(30, 24) 6248*6d67aabdSBjoern A. Zeeb #define B_BE_CCK_SIFS_COMP_MASK GENMASK(22, 16) 6249*6d67aabdSBjoern A. Zeeb #define B_BE_PIFS_TIMEUNIT_MASK GENMASK(15, 14) 6250*6d67aabdSBjoern A. Zeeb #define B_BE_PREBKF_TIME_NONAC_MASK GENMASK(12, 8) 6251*6d67aabdSBjoern A. Zeeb #define B_BE_SR_TX_EN BIT(2) 6252*6d67aabdSBjoern A. Zeeb #define B_BE_NAV_BLK_MGQ BIT(1) 6253*6d67aabdSBjoern A. Zeeb #define B_BE_NAV_BLK_HGQ BIT(0) 6254*6d67aabdSBjoern A. Zeeb 6255*6d67aabdSBjoern A. Zeeb #define R_BE_MUEDCA_BE_PARAM_0 0x10350 6256*6d67aabdSBjoern A. Zeeb #define R_BE_MUEDCA_BK_PARAM_0 0x10354 6257*6d67aabdSBjoern A. Zeeb #define R_BE_MUEDCA_VI_PARAM_0 0x10358 6258*6d67aabdSBjoern A. Zeeb #define R_BE_MUEDCA_VO_PARAM_0 0x1035C 6259*6d67aabdSBjoern A. Zeeb 6260*6d67aabdSBjoern A. Zeeb #define R_BE_MUEDCA_EN 0x10370 6261*6d67aabdSBjoern A. Zeeb #define R_BE_MUEDCA_EN_C1 0x14370 6262*6d67aabdSBjoern A. Zeeb #define B_BE_SIFS_TIMEOUT_TB_T2_MASK GENMASK(30, 24) 6263*6d67aabdSBjoern A. Zeeb #define B_BE_SIFS_MACTXEN_TB_T1_MASK GENMASK(22, 16) 6264*6d67aabdSBjoern A. Zeeb #define B_BE_MUEDCA_WMM_SEL BIT(8) 6265*6d67aabdSBjoern A. Zeeb #define B_BE_SET_MUEDCATIMER_TF_MASK GENMASK(5, 4) 6266*6d67aabdSBjoern A. Zeeb #define B_BE_SET_MUEDCATIMER_TF_0 BIT(4) 6267*6d67aabdSBjoern A. Zeeb #define B_BE_MUEDCA_EN_MASK GENMASK(1, 0) 6268*6d67aabdSBjoern A. Zeeb #define B_BE_MUEDCA_EN_0 BIT(0) 6269*6d67aabdSBjoern A. Zeeb 6270*6d67aabdSBjoern A. Zeeb #define R_BE_CTN_DRV_TXEN 0x10398 6271*6d67aabdSBjoern A. Zeeb #define R_BE_CTN_DRV_TXEN_C1 0x14398 6272*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_TWT_3 BIT(17) 6273*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_TWT_2 BIT(16) 6274*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_TWT_1 BIT(15) 6275*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_TWT_0 BIT(14) 6276*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_ULQ BIT(13) 6277*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_BCNQ BIT(12) 6278*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_HGQ BIT(11) 6279*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_CPUMGQ BIT(10) 6280*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_MGQ1 BIT(9) 6281*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_MGQ BIT(8) 6282*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_VO_1 BIT(7) 6283*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_VI_1 BIT(6) 6284*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_BK_1 BIT(5) 6285*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_BE_1 BIT(4) 6286*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_VO_0 BIT(3) 6287*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_VI_0 BIT(2) 6288*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_BK_0 BIT(1) 6289*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_BE_0 BIT(0) 6290*6d67aabdSBjoern A. Zeeb #define B_BE_CTN_TXEN_ALL_MASK GENMASK(17, 0) 6291*6d67aabdSBjoern A. Zeeb 6292*6d67aabdSBjoern A. Zeeb #define R_BE_TB_CHK_CCA_NAV 0x103AC 6293*6d67aabdSBjoern A. Zeeb #define R_BE_TB_CHK_CCA_NAV_C1 0x143AC 6294*6d67aabdSBjoern A. Zeeb #define B_BE_TB_CHK_TX_NAV BIT(15) 6295*6d67aabdSBjoern A. Zeeb #define B_BE_TB_CHK_INTRA_NAV BIT(14) 6296*6d67aabdSBjoern A. Zeeb #define B_BE_TB_CHK_BASIC_NAV BIT(13) 6297*6d67aabdSBjoern A. Zeeb #define B_BE_TB_CHK_NO_GNT_WL BIT(12) 6298*6d67aabdSBjoern A. Zeeb #define B_BE_TB_CHK_EDCCA_S160 BIT(11) 6299*6d67aabdSBjoern A. Zeeb #define B_BE_TB_CHK_EDCCA_S80 BIT(10) 6300*6d67aabdSBjoern A. Zeeb #define B_BE_TB_CHK_EDCCA_S40 BIT(9) 6301*6d67aabdSBjoern A. Zeeb #define B_BE_TB_CHK_EDCCA_S20 BIT(8) 6302*6d67aabdSBjoern A. Zeeb #define B_BE_TB_CHK_CCA_S160 BIT(7) 6303*6d67aabdSBjoern A. Zeeb #define B_BE_TB_CHK_CCA_S80 BIT(6) 6304*6d67aabdSBjoern A. Zeeb #define B_BE_TB_CHK_CCA_S40 BIT(5) 6305*6d67aabdSBjoern A. Zeeb #define B_BE_TB_CHK_CCA_S20 BIT(4) 6306*6d67aabdSBjoern A. Zeeb #define B_BE_TB_CHK_EDCCA_BITMAP BIT(3) 6307*6d67aabdSBjoern A. Zeeb #define B_BE_TB_CHK_CCA_BITMAP BIT(2) 6308*6d67aabdSBjoern A. Zeeb #define B_BE_TB_CHK_EDCCA_P20 BIT(1) 6309*6d67aabdSBjoern A. Zeeb #define B_BE_TB_CHK_CCA_P20 BIT(0) 6310*6d67aabdSBjoern A. Zeeb 6311*6d67aabdSBjoern A. Zeeb #define R_BE_HE_SIFS_CHK_CCA_NAV 0x103B4 6312*6d67aabdSBjoern A. Zeeb #define R_BE_HE_SIFS_CHK_CCA_NAV_C1 0x143B4 6313*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIFS_CHK_TX_NAV BIT(15) 6314*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIFS_CHK_INTRA_NAV BIT(14) 6315*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIFS_CHK_BASIC_NAV BIT(13) 6316*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIFS_CHK_NO_GNT_WL BIT(12) 6317*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIFS_CHK_EDCCA_S160 BIT(11) 6318*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIFS_CHK_EDCCA_S80 BIT(10) 6319*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIFS_CHK_EDCCA_S40 BIT(9) 6320*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIFS_CHK_EDCCA_S20 BIT(8) 6321*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIFS_CHK_CCA_S160 BIT(7) 6322*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIFS_CHK_CCA_S80 BIT(6) 6323*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIFS_CHK_CCA_S40 BIT(5) 6324*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIFS_CHK_CCA_S20 BIT(4) 6325*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIFS_CHK_EDCCA_BITMAP BIT(3) 6326*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIFS_CHK_CCA_BITMAP BIT(2) 6327*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIFS_CHK_EDCCA_P20 BIT(1) 6328*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIFS_CHK_CCA_P20 BIT(0) 6329*6d67aabdSBjoern A. Zeeb 6330*6d67aabdSBjoern A. Zeeb #define R_BE_HE_CTN_CHK_CCA_NAV 0x103C4 6331*6d67aabdSBjoern A. Zeeb #define R_BE_HE_CTN_CHK_CCA_NAV_C1 0x143C4 6332*6d67aabdSBjoern A. Zeeb #define B_BE_HE_CTN_CHK_TX_NAV BIT(15) 6333*6d67aabdSBjoern A. Zeeb #define B_BE_HE_CTN_CHK_INTRA_NAV BIT(14) 6334*6d67aabdSBjoern A. Zeeb #define B_BE_HE_CTN_CHK_BASIC_NAV BIT(13) 6335*6d67aabdSBjoern A. Zeeb #define B_BE_HE_CTN_CHK_NO_GNT_WL BIT(12) 6336*6d67aabdSBjoern A. Zeeb #define B_BE_HE_CTN_CHK_EDCCA_S160 BIT(11) 6337*6d67aabdSBjoern A. Zeeb #define B_BE_HE_CTN_CHK_EDCCA_S80 BIT(10) 6338*6d67aabdSBjoern A. Zeeb #define B_BE_HE_CTN_CHK_EDCCA_S40 BIT(9) 6339*6d67aabdSBjoern A. Zeeb #define B_BE_HE_CTN_CHK_EDCCA_S20 BIT(8) 6340*6d67aabdSBjoern A. Zeeb #define B_BE_HE_CTN_CHK_CCA_S160 BIT(7) 6341*6d67aabdSBjoern A. Zeeb #define B_BE_HE_CTN_CHK_CCA_S80 BIT(6) 6342*6d67aabdSBjoern A. Zeeb #define B_BE_HE_CTN_CHK_CCA_S40 BIT(5) 6343*6d67aabdSBjoern A. Zeeb #define B_BE_HE_CTN_CHK_CCA_S20 BIT(4) 6344*6d67aabdSBjoern A. Zeeb #define B_BE_HE_CTN_CHK_EDCCA_BITMAP BIT(3) 6345*6d67aabdSBjoern A. Zeeb #define B_BE_HE_CTN_CHK_CCA_BITMAP BIT(2) 6346*6d67aabdSBjoern A. Zeeb #define B_BE_HE_CTN_CHK_EDCCA_P20 BIT(1) 6347*6d67aabdSBjoern A. Zeeb #define B_BE_HE_CTN_CHK_CCA_P20 BIT(0) 6348*6d67aabdSBjoern A. Zeeb 6349*6d67aabdSBjoern A. Zeeb #define R_BE_SCHEDULE_ERR_IMR 0x103E8 6350*6d67aabdSBjoern A. Zeeb #define R_BE_SCHEDULE_ERR_IMR_C1 0x143E8 6351*6d67aabdSBjoern A. Zeeb #define B_BE_FSM_TIMEOUT_ERR_INT_EN BIT(0) 6352*6d67aabdSBjoern A. Zeeb #define B_BE_SCHEDULE_ERR_IMR_CLR B_BE_FSM_TIMEOUT_ERR_INT_EN 6353*6d67aabdSBjoern A. Zeeb #define B_BE_SCHEDULE_ERR_IMR_SET B_BE_FSM_TIMEOUT_ERR_INT_EN 6354*6d67aabdSBjoern A. Zeeb 6355*6d67aabdSBjoern A. Zeeb #define R_BE_SCHEDULE_ERR_ISR 0x103EC 6356*6d67aabdSBjoern A. Zeeb #define R_BE_SCHEDULE_ERR_ISR_C1 0x143EC 6357*6d67aabdSBjoern A. Zeeb #define B_BE_SORT_NON_IDLE_ERR_INT BIT(1) 6358*6d67aabdSBjoern A. Zeeb #define B_BE_FSM_TIMEOUT_ERR_INT BIT(0) 6359*6d67aabdSBjoern A. Zeeb 6360*6d67aabdSBjoern A. Zeeb #define R_BE_PORT_CFG_P0 0x10400 6361*6d67aabdSBjoern A. Zeeb #define R_BE_PORT_CFG_P0_C1 0x14400 6362*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_ERLY_SORT_EN_P0 BIT(18) 6363*6d67aabdSBjoern A. Zeeb #define B_BE_PROHIB_END_CAL_EN_P0 BIT(17) 6364*6d67aabdSBjoern A. Zeeb #define B_BE_BRK_SETUP_P0 BIT(16) 6365*6d67aabdSBjoern A. Zeeb #define B_BE_TBTT_UPD_SHIFT_SEL_P0 BIT(15) 6366*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_DROP_ALLOW_P0 BIT(14) 6367*6d67aabdSBjoern A. Zeeb #define B_BE_TBTT_PROHIB_EN_P0 BIT(13) 6368*6d67aabdSBjoern A. Zeeb #define B_BE_BCNTX_EN_P0 BIT(12) 6369*6d67aabdSBjoern A. Zeeb #define B_BE_NET_TYPE_P0_MASK GENMASK(11, 10) 6370*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_FORCETX_EN_P0 BIT(9) 6371*6d67aabdSBjoern A. Zeeb #define B_BE_TXBCN_BTCCA_EN_P0 BIT(8) 6372*6d67aabdSBjoern A. Zeeb #define B_BE_BCNERR_CNT_EN_P0 BIT(7) 6373*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_AGRES_P0 BIT(6) 6374*6d67aabdSBjoern A. Zeeb #define B_BE_TSFTR_RST_P0 BIT(5) 6375*6d67aabdSBjoern A. Zeeb #define B_BE_RX_BSSID_FIT_EN_P0 BIT(4) 6376*6d67aabdSBjoern A. Zeeb #define B_BE_TSF_UDT_EN_P0 BIT(3) 6377*6d67aabdSBjoern A. Zeeb #define B_BE_PORT_FUNC_EN_P0 BIT(2) 6378*6d67aabdSBjoern A. Zeeb #define B_BE_TXBCN_RPT_EN_P0 BIT(1) 6379*6d67aabdSBjoern A. Zeeb #define B_BE_RXBCN_RPT_EN_P0 BIT(0) 6380*6d67aabdSBjoern A. Zeeb 6381*6d67aabdSBjoern A. Zeeb #define R_BE_TBTT_PROHIB_P0 0x10404 6382*6d67aabdSBjoern A. Zeeb #define R_BE_TBTT_PROHIB_P0_C1 0x14404 6383*6d67aabdSBjoern A. Zeeb #define B_BE_TBTT_HOLD_P0_MASK GENMASK(27, 16) 6384*6d67aabdSBjoern A. Zeeb #define B_BE_TBTT_SETUP_P0_MASK GENMASK(7, 0) 6385*6d67aabdSBjoern A. Zeeb 6386*6d67aabdSBjoern A. Zeeb #define R_BE_BCN_AREA_P0 0x10408 6387*6d67aabdSBjoern A. Zeeb #define R_BE_BCN_AREA_P0_C1 0x14408 6388*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_MSK_AREA_P0_MSK 0xfff 6389*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_CTN_AREA_P0_MASK GENMASK(11, 0) 6390*6d67aabdSBjoern A. Zeeb 6391*6d67aabdSBjoern A. Zeeb #define R_BE_BCNERLYINT_CFG_P0 0x1040C 6392*6d67aabdSBjoern A. Zeeb #define R_BE_BCNERLYINT_CFG_P0_C1 0x1440C 6393*6d67aabdSBjoern A. Zeeb #define B_BE_BCNERLY_P0_MASK GENMASK(11, 0) 6394*6d67aabdSBjoern A. Zeeb 6395*6d67aabdSBjoern A. Zeeb #define R_BE_TBTTERLYINT_CFG_P0 0x1040E 6396*6d67aabdSBjoern A. Zeeb #define R_BE_TBTTERLYINT_CFG_P0_C1 0x1440E 6397*6d67aabdSBjoern A. Zeeb #define B_BE_TBTTERLY_P0_MASK GENMASK(11, 0) 6398*6d67aabdSBjoern A. Zeeb 6399*6d67aabdSBjoern A. Zeeb #define R_BE_TBTT_AGG_P0 0x10412 6400*6d67aabdSBjoern A. Zeeb #define R_BE_TBTT_AGG_P0_C1 0x14412 6401*6d67aabdSBjoern A. Zeeb #define B_BE_TBTT_AGG_NUM_P0_MASK GENMASK(15, 8) 6402*6d67aabdSBjoern A. Zeeb 6403*6d67aabdSBjoern A. Zeeb #define R_BE_BCN_SPACE_CFG_P0 0x10414 6404*6d67aabdSBjoern A. Zeeb #define R_BE_BCN_SPACE_CFG_P0_C1 0x14414 6405*6d67aabdSBjoern A. Zeeb #define B_BE_SUB_BCN_SPACE_P0_MASK GENMASK(23, 16) 6406*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_SPACE_P0_MASK GENMASK(15, 0) 6407*6d67aabdSBjoern A. Zeeb 6408*6d67aabdSBjoern A. Zeeb #define R_BE_BCN_FORCETX_P0 0x10418 6409*6d67aabdSBjoern A. Zeeb #define R_BE_BCN_FORCETX_P0_C1 0x14418 6410*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_BCN_NUM_P0_MASK GENMASK(15, 8) 6411*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_MAX_ERR_P0_MASK GENMASK(7, 0) 6412*6d67aabdSBjoern A. Zeeb 6413*6d67aabdSBjoern A. Zeeb #define R_BE_BCN_ERR_CNT_P0 0x10420 6414*6d67aabdSBjoern A. Zeeb #define R_BE_BCN_ERR_CNT_P0_C1 0x14420 6415*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_ERR_CNT_SUM_P0_MASK GENMASK(31, 24) 6416*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_ERR_CNT_NAV_P0_MASK GENMASK(23, 16) 6417*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_ERR_CNT_EDCCA_P0_MASK GENMASK(15, 8) 6418*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_ERR_CNT_CCA_P0_MASK GENMASK(7, 0) 6419*6d67aabdSBjoern A. Zeeb 6420*6d67aabdSBjoern A. Zeeb #define R_BE_BCN_ERR_FLAG_P0 0x10424 6421*6d67aabdSBjoern A. Zeeb #define R_BE_BCN_ERR_FLAG_P0_C1 0x14424 6422*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_ERR_FLAG_SRCHEND_P0 BIT(3) 6423*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_ERR_FLAG_INVALID_P0 BIT(2) 6424*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_ERR_FLAG_CMP_P0 BIT(1) 6425*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_ERR_FLAG_LOCK_P0 BIT(0) 6426*6d67aabdSBjoern A. Zeeb 6427*6d67aabdSBjoern A. Zeeb #define R_BE_DTIM_CTRL_P0 0x10426 6428*6d67aabdSBjoern A. Zeeb #define R_BE_DTIM_CTRL_P0_C1 0x14426 6429*6d67aabdSBjoern A. Zeeb #define B_BE_DTIM_NUM_P0_MASK GENMASK(15, 8) 6430*6d67aabdSBjoern A. Zeeb #define B_BE_DTIM_CURRCNT_P0_MASK GENMASK(7, 0) 6431*6d67aabdSBjoern A. Zeeb 6432*6d67aabdSBjoern A. Zeeb #define R_BE_TBTT_SHIFT_P0 0x10428 6433*6d67aabdSBjoern A. Zeeb #define R_BE_TBTT_SHIFT_P0_C1 0x14428 6434*6d67aabdSBjoern A. Zeeb #define B_BE_TBTT_SHIFT_OFST_P0_SH 0 6435*6d67aabdSBjoern A. Zeeb #define B_BE_TBTT_SHIFT_OFST_P0_MSK 0xfff 6436*6d67aabdSBjoern A. Zeeb 6437*6d67aabdSBjoern A. Zeeb #define R_BE_BCN_CNT_TMR_P0 0x10434 6438*6d67aabdSBjoern A. Zeeb #define R_BE_BCN_CNT_TMR_P0_C1 0x14434 6439*6d67aabdSBjoern A. Zeeb #define B_BE_BCN_CNT_TMR_P0_MASK GENMASK(31, 0) 6440*6d67aabdSBjoern A. Zeeb 6441*6d67aabdSBjoern A. Zeeb #define R_BE_TSFTR_LOW_P0 0x10438 6442*6d67aabdSBjoern A. Zeeb #define R_BE_TSFTR_LOW_P0_C1 0x14438 6443*6d67aabdSBjoern A. Zeeb #define B_BE_TSFTR_LOW_P0_MASK GENMASK(31, 0) 6444*6d67aabdSBjoern A. Zeeb 6445*6d67aabdSBjoern A. Zeeb #define R_BE_TSFTR_HIGH_P0 0x1043C 6446*6d67aabdSBjoern A. Zeeb #define R_BE_TSFTR_HIGH_P0_C1 0x1443C 6447*6d67aabdSBjoern A. Zeeb #define B_BE_TSFTR_HIGH_P0_MASK GENMASK(31, 0) 6448*6d67aabdSBjoern A. Zeeb 6449*6d67aabdSBjoern A. Zeeb #define R_BE_BCN_DROP_ALL0 0x10560 6450*6d67aabdSBjoern A. Zeeb 6451*6d67aabdSBjoern A. Zeeb #define R_BE_MBSSID_CTRL 0x10568 6452*6d67aabdSBjoern A. Zeeb #define R_BE_MBSSID_CTRL_C1 0x14568 6453*6d67aabdSBjoern A. Zeeb #define B_BE_MBSSID_MODE_SEL BIT(20) 6454*6d67aabdSBjoern A. Zeeb #define B_BE_P0MB_NUM_MASK GENMASK(19, 16) 6455*6d67aabdSBjoern A. Zeeb #define B_BE_P0MB15_EN BIT(15) 6456*6d67aabdSBjoern A. Zeeb #define B_BE_P0MB14_EN BIT(14) 6457*6d67aabdSBjoern A. Zeeb #define B_BE_P0MB13_EN BIT(13) 6458*6d67aabdSBjoern A. Zeeb #define B_BE_P0MB12_EN BIT(12) 6459*6d67aabdSBjoern A. Zeeb #define B_BE_P0MB11_EN BIT(11) 6460*6d67aabdSBjoern A. Zeeb #define B_BE_P0MB10_EN BIT(10) 6461*6d67aabdSBjoern A. Zeeb #define B_BE_P0MB9_EN BIT(9) 6462*6d67aabdSBjoern A. Zeeb #define B_BE_P0MB8_EN BIT(8) 6463*6d67aabdSBjoern A. Zeeb #define B_BE_P0MB7_EN BIT(7) 6464*6d67aabdSBjoern A. Zeeb #define B_BE_P0MB6_EN BIT(6) 6465*6d67aabdSBjoern A. Zeeb #define B_BE_P0MB5_EN BIT(5) 6466*6d67aabdSBjoern A. Zeeb #define B_BE_P0MB4_EN BIT(4) 6467*6d67aabdSBjoern A. Zeeb #define B_BE_P0MB3_EN BIT(3) 6468*6d67aabdSBjoern A. Zeeb #define B_BE_P0MB2_EN BIT(2) 6469*6d67aabdSBjoern A. Zeeb #define B_BE_P0MB1_EN BIT(1) 6470*6d67aabdSBjoern A. Zeeb 6471*6d67aabdSBjoern A. Zeeb #define R_BE_P0MB_HGQ_WINDOW_CFG_0 0x10590 6472*6d67aabdSBjoern A. Zeeb #define R_BE_P0MB_HGQ_WINDOW_CFG_0_C1 0x14590 6473*6d67aabdSBjoern A. Zeeb #define R_BE_PORT_HGQ_WINDOW_CFG 0x105A0 6474*6d67aabdSBjoern A. Zeeb #define R_BE_PORT_HGQ_WINDOW_CFG_C1 0x145A0 6475*6d67aabdSBjoern A. Zeeb 6476*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_COMMON_SETTING_0 0x10800 6477*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_COMMON_SETTING_0_C1 0x14800 6478*6d67aabdSBjoern A. Zeeb #define B_BE_PCIE_MODE_MASK GENMASK(15, 14) 6479*6d67aabdSBjoern A. Zeeb #define B_BE_CPUMGQ_LIFETIME_EN BIT(8) 6480*6d67aabdSBjoern A. Zeeb #define B_BE_MGQ_LIFETIME_EN BIT(7) 6481*6d67aabdSBjoern A. Zeeb #define B_BE_LIFETIME_EN BIT(6) 6482*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_PTCL_CLK_GATING BIT(5) 6483*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_TRIGGER_SS_EN_UL BIT(4) 6484*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_TRIGGER_SS_EN_1 BIT(3) 6485*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_TRIGGER_SS_EN_0 BIT(2) 6486*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC_TX_MODE_1 BIT(1) 6487*6d67aabdSBjoern A. Zeeb #define B_BE_CMAC_TX_MODE_0 BIT(0) 6488*6d67aabdSBjoern A. Zeeb 6489*6d67aabdSBjoern A. Zeeb #define R_BE_TB_PPDU_CTRL 0x1080C 6490*6d67aabdSBjoern A. Zeeb #define R_BE_TB_PPDU_CTRL_C1 0x1480C 6491*6d67aabdSBjoern A. Zeeb #define B_BE_TB_PPDU_BK_DIS BIT(15) 6492*6d67aabdSBjoern A. Zeeb #define B_BE_TB_PPDU_BE_DIS BIT(14) 6493*6d67aabdSBjoern A. Zeeb #define B_BE_TB_PPDU_VI_DIS BIT(13) 6494*6d67aabdSBjoern A. Zeeb #define B_BE_TB_PPDU_VO_DIS BIT(12) 6495*6d67aabdSBjoern A. Zeeb #define B_BE_QOSNULL_UPD_MUEDCA_EN BIT(3) 6496*6d67aabdSBjoern A. Zeeb #define B_BE_TB_BYPASS_TXPWR BIT(2) 6497*6d67aabdSBjoern A. Zeeb #define B_BE_SW_PREFER_AC_MASK GENMASK(1, 0) 6498*6d67aabdSBjoern A. Zeeb 6499*6d67aabdSBjoern A. Zeeb #define R_BE_AMPDU_AGG_LIMIT 0x10810 6500*6d67aabdSBjoern A. Zeeb #define R_BE_AMPDU_AGG_LIMIT_C1 0x14810 6501*6d67aabdSBjoern A. Zeeb #define B_BE_AMPDU_MAX_TIME_MASK GENMASK(31, 24) 6502*6d67aabdSBjoern A. Zeeb #define AMPDU_MAX_TIME 0x9E 6503*6d67aabdSBjoern A. Zeeb #define B_BE_RA_TRY_RATE_AGG_LMT_MASK GENMASK(23, 16) 6504*6d67aabdSBjoern A. Zeeb #define B_BE_RTS_MAX_AGG_NUM_MASK GENMASK(15, 8) 6505*6d67aabdSBjoern A. Zeeb #define B_BE_MAX_AGG_NUM_MASK GENMASK(7, 0) 6506*6d67aabdSBjoern A. Zeeb 6507*6d67aabdSBjoern A. Zeeb #define R_BE_AGG_LEN_HT_0 0x10814 6508*6d67aabdSBjoern A. Zeeb #define R_BE_AGG_LEN_HT_0_C1 0x14814 6509*6d67aabdSBjoern A. Zeeb #define B_BE_AMPDU_MAX_LEN_HT_MASK GENMASK(31, 16) 6510*6d67aabdSBjoern A. Zeeb #define B_BE_RTS_TXTIME_TH_MASK GENMASK(15, 8) 6511*6d67aabdSBjoern A. Zeeb #define B_BE_RTS_LEN_TH_MASK GENMASK(7, 0) 6512*6d67aabdSBjoern A. Zeeb 6513*6d67aabdSBjoern A. Zeeb #define R_BE_SIFS_SETTING 0x10824 6514*6d67aabdSBjoern A. Zeeb #define R_BE_SIFS_SETTING_C1 0x14824 6515*6d67aabdSBjoern A. Zeeb #define B_BE_HW_CTS2SELF_PKT_LEN_TH_MASK GENMASK(31, 24) 6516*6d67aabdSBjoern A. Zeeb #define B_BE_HW_CTS2SELF_PKT_LEN_TH_TWW_MASK GENMASK(23, 18) 6517*6d67aabdSBjoern A. Zeeb #define B_BE_HW_CTS2SELF_EN BIT(16) 6518*6d67aabdSBjoern A. Zeeb #define B_BE_SPEC_SIFS_OFDM_PTCL_MASK GENMASK(15, 8) 6519*6d67aabdSBjoern A. Zeeb #define B_BE_SPEC_SIFS_CCK_PTCL_MASK GENMASK(7, 0) 6520*6d67aabdSBjoern A. Zeeb 6521*6d67aabdSBjoern A. Zeeb #define R_BE_TXRATE_CHK 0x10828 6522*6d67aabdSBjoern A. Zeeb #define R_BE_TXRATE_CHK_C1 0x14828 6523*6d67aabdSBjoern A. Zeeb #define B_BE_LATENCY_PADDING_PKT_TH_MASK GENMASK(31, 24) 6524*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_FETCH_BUFF_MASK GENMASK(23, 16) 6525*6d67aabdSBjoern A. Zeeb #define B_BE_OFDM_CCK_ERR_PROC BIT(6) 6526*6d67aabdSBjoern A. Zeeb #define B_BE_PKT_LAST_TX BIT(5) 6527*6d67aabdSBjoern A. Zeeb #define B_BE_BAND_MODE BIT(4) 6528*6d67aabdSBjoern A. Zeeb #define B_BE_MAX_TXNSS_MASK GENMASK(3, 2) 6529*6d67aabdSBjoern A. Zeeb #define B_BE_RTS_LIMIT_IN_OFDM6 BIT(1) 6530*6d67aabdSBjoern A. Zeeb #define B_BE_CHECK_CCK_EN BIT(0) 6531*6d67aabdSBjoern A. Zeeb 6532*6d67aabdSBjoern A. Zeeb #define R_BE_MBSSID_DROP_0 0x1083C 6533*6d67aabdSBjoern A. Zeeb #define R_BE_MBSSID_DROP_0_C1 0x1483C 6534*6d67aabdSBjoern A. Zeeb #define B_BE_GI_LTF_FB_SEL BIT(30) 6535*6d67aabdSBjoern A. Zeeb #define B_BE_RATE_SEL_MASK GENMASK(29, 24) 6536*6d67aabdSBjoern A. Zeeb #define B_BE_PORT_DROP_4_0_MASK GENMASK(20, 16) 6537*6d67aabdSBjoern A. Zeeb #define B_BE_MBSSID_DROP_15_0_MASK GENMASK(15, 0) 6538*6d67aabdSBjoern A. Zeeb 6539*6d67aabdSBjoern A. Zeeb #define R_BE_BT_PLT 0x1087C 6540*6d67aabdSBjoern A. Zeeb #define R_BE_BT_PLT_C1 0x1487C 6541*6d67aabdSBjoern A. Zeeb #define B_BE_BT_PLT_PKT_CNT_MASK GENMASK(31, 16) 6542*6d67aabdSBjoern A. Zeeb #define B_BE_BT_PLT_RST BIT(9) 6543*6d67aabdSBjoern A. Zeeb #define B_BE_PLT_EN BIT(8) 6544*6d67aabdSBjoern A. Zeeb #define B_BE_RX_PLT_GNT_LTE_RX BIT(7) 6545*6d67aabdSBjoern A. Zeeb #define B_BE_RX_PLT_GNT_BT_RX BIT(6) 6546*6d67aabdSBjoern A. Zeeb #define B_BE_RX_PLT_GNT_BT_TX BIT(5) 6547*6d67aabdSBjoern A. Zeeb #define B_BE_RX_PLT_GNT_WL BIT(4) 6548*6d67aabdSBjoern A. Zeeb #define B_BE_TX_PLT_GNT_LTE_RX BIT(3) 6549*6d67aabdSBjoern A. Zeeb #define B_BE_TX_PLT_GNT_BT_RX BIT(2) 6550*6d67aabdSBjoern A. Zeeb #define B_BE_TX_PLT_GNT_BT_TX BIT(1) 6551*6d67aabdSBjoern A. Zeeb #define B_BE_TX_PLT_GNT_WL BIT(0) 6552*6d67aabdSBjoern A. Zeeb 6553*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_BSS_COLOR_0 0x108A0 6554*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_BSS_COLOR_0_C1 0x148A0 6555*6d67aabdSBjoern A. Zeeb #define B_BE_BSS_COLOB_BE_PORT_3_MASK GENMASK(29, 24) 6556*6d67aabdSBjoern A. Zeeb #define B_BE_BSS_COLOB_BE_PORT_2_MASK GENMASK(21, 16) 6557*6d67aabdSBjoern A. Zeeb #define B_BE_BSS_COLOB_BE_PORT_1_MASK GENMASK(13, 8) 6558*6d67aabdSBjoern A. Zeeb #define B_BE_BSS_COLOB_BE_PORT_0_MASK GENMASK(5, 0) 6559*6d67aabdSBjoern A. Zeeb 6560*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_BSS_COLOR_1 0x108A4 6561*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_BSS_COLOR_1_C1 0x148A4 6562*6d67aabdSBjoern A. Zeeb #define B_BE_BSS_COLOB_BE_PORT_4_MASK GENMASK(5, 0) 6563*6d67aabdSBjoern A. Zeeb 6564*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_IMR_2 0x108B8 6565*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_IMR_2_C1 0x148B8 6566*6d67aabdSBjoern A. Zeeb #define B_BE_NO_TRX_TIMEOUT_IMR BIT(1) 6567*6d67aabdSBjoern A. Zeeb #define B_BE_TX_IDLE_TIMEOUT_IMR BIT(0) 6568*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_IMR_2_CLR B_BE_TX_IDLE_TIMEOUT_IMR 6569*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_IMR_2_SET 0 6570*6d67aabdSBjoern A. Zeeb 6571*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_IMR0 0x108C0 6572*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_IMR0_C1 0x148C0 6573*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_ERROR_FLAG_IMR BIT(31) 6574*6d67aabdSBjoern A. Zeeb #define B_BE_FSM1_TIMEOUT_ERR_INT_EN BIT(1) 6575*6d67aabdSBjoern A. Zeeb #define B_BE_FSM_TIMEOUT_ERR_INT_EN BIT(0) 6576*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_IMR0_CLR (B_BE_FSM_TIMEOUT_ERR_INT_EN | \ 6577*6d67aabdSBjoern A. Zeeb B_BE_FSM1_TIMEOUT_ERR_INT_EN | \ 6578*6d67aabdSBjoern A. Zeeb B_BE_PTCL_ERROR_FLAG_IMR) 6579*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_IMR0_SET (B_BE_FSM_TIMEOUT_ERR_INT_EN | \ 6580*6d67aabdSBjoern A. Zeeb B_BE_FSM1_TIMEOUT_ERR_INT_EN | \ 6581*6d67aabdSBjoern A. Zeeb B_BE_PTCL_ERROR_FLAG_IMR) 6582*6d67aabdSBjoern A. Zeeb 6583*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_ISR0 0x108C4 6584*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_ISR0_C1 0x148C4 6585*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_ERROR_FLAG_ISR BIT(31) 6586*6d67aabdSBjoern A. Zeeb #define B_BE_FSM1_TIMEOUT_ERR BIT(1) 6587*6d67aabdSBjoern A. Zeeb #define B_BE_FSM_TIMEOUT_ERR BIT(0) 6588*6d67aabdSBjoern A. Zeeb 6589*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_IMR1 0x108C8 6590*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_IMR1_C1 0x148C8 6591*6d67aabdSBjoern A. Zeeb #define B_BE_F2PCMD_PKTID_IMR BIT(30) 6592*6d67aabdSBjoern A. Zeeb #define B_BE_F2PCMD_RD_PKTID_IMR BIT(29) 6593*6d67aabdSBjoern A. Zeeb #define B_BE_F2PCMD_ASSIGN_PKTID_IMR BIT(28) 6594*6d67aabdSBjoern A. Zeeb #define B_BE_F2PCMD_USER_ALLC_IMR BIT(27) 6595*6d67aabdSBjoern A. Zeeb #define B_BE_RX_SPF_U0_PKTID_IMR BIT(26) 6596*6d67aabdSBjoern A. Zeeb #define B_BE_TX_SPF_U1_PKTID_IMR BIT(25) 6597*6d67aabdSBjoern A. Zeeb #define B_BE_TX_SPF_U2_PKTID_IMR BIT(24) 6598*6d67aabdSBjoern A. Zeeb #define B_BE_TX_SPF_U3_PKTID_IMR BIT(23) 6599*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RECORD_PKTID_IMR BIT(22) 6600*6d67aabdSBjoern A. Zeeb #define B_BE_TWTSP_QSEL_IMR BIT(14) 6601*6d67aabdSBjoern A. Zeeb #define B_BE_F2P_RLS_CTN_SEL_IMR BIT(13) 6602*6d67aabdSBjoern A. Zeeb #define B_BE_BCNQ_ORDER_IMR BIT(12) 6603*6d67aabdSBjoern A. Zeeb #define B_BE_Q_PKTID_IMR BIT(11) 6604*6d67aabdSBjoern A. Zeeb #define B_BE_D_PKTID_IMR BIT(10) 6605*6d67aabdSBjoern A. Zeeb #define B_BE_TXPRT_FULL_DROP_IMR BIT(9) 6606*6d67aabdSBjoern A. Zeeb #define B_BE_F2PCMDRPT_FULL_DROP_IMR BIT(8) 6607*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_IMR1_CLR (B_BE_F2PCMDRPT_FULL_DROP_IMR | \ 6608*6d67aabdSBjoern A. Zeeb B_BE_TXPRT_FULL_DROP_IMR | \ 6609*6d67aabdSBjoern A. Zeeb B_BE_D_PKTID_IMR | \ 6610*6d67aabdSBjoern A. Zeeb B_BE_Q_PKTID_IMR | \ 6611*6d67aabdSBjoern A. Zeeb B_BE_BCNQ_ORDER_IMR | \ 6612*6d67aabdSBjoern A. Zeeb B_BE_F2P_RLS_CTN_SEL_IMR | \ 6613*6d67aabdSBjoern A. Zeeb B_BE_TWTSP_QSEL_IMR | \ 6614*6d67aabdSBjoern A. Zeeb B_BE_TX_RECORD_PKTID_IMR | \ 6615*6d67aabdSBjoern A. Zeeb B_BE_TX_SPF_U3_PKTID_IMR | \ 6616*6d67aabdSBjoern A. Zeeb B_BE_TX_SPF_U2_PKTID_IMR | \ 6617*6d67aabdSBjoern A. Zeeb B_BE_TX_SPF_U1_PKTID_IMR | \ 6618*6d67aabdSBjoern A. Zeeb B_BE_RX_SPF_U0_PKTID_IMR | \ 6619*6d67aabdSBjoern A. Zeeb B_BE_F2PCMD_USER_ALLC_IMR | \ 6620*6d67aabdSBjoern A. Zeeb B_BE_F2PCMD_ASSIGN_PKTID_IMR | \ 6621*6d67aabdSBjoern A. Zeeb B_BE_F2PCMD_RD_PKTID_IMR | \ 6622*6d67aabdSBjoern A. Zeeb B_BE_F2PCMD_PKTID_IMR) 6623*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_IMR1_SET B_BE_F2PCMD_USER_ALLC_IMR 6624*6d67aabdSBjoern A. Zeeb 6625*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_ISR1 0x108CC 6626*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_ISR1_C1 0x148CC 6627*6d67aabdSBjoern A. Zeeb #define B_BE_F2PCMD_PKTID_ERR BIT(30) 6628*6d67aabdSBjoern A. Zeeb #define B_BE_F2PCMD_RD_PKTID_ERR BIT(29) 6629*6d67aabdSBjoern A. Zeeb #define B_BE_F2PCMD_ASSIGN_PKTID_ERR BIT(28) 6630*6d67aabdSBjoern A. Zeeb #define B_BE_F2PCMD_USER_ALLC_ERR BIT(27) 6631*6d67aabdSBjoern A. Zeeb #define B_BE_RX_SPF_U0_PKTID_ERR BIT(26) 6632*6d67aabdSBjoern A. Zeeb #define B_BE_TX_SPF_U1_PKTID_ERR BIT(25) 6633*6d67aabdSBjoern A. Zeeb #define B_BE_TX_SPF_U2_PKTID_ERR BIT(24) 6634*6d67aabdSBjoern A. Zeeb #define B_BE_TX_SPF_U3_PKTID_ERR BIT(23) 6635*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RECORD_PKTID_ERR BIT(22) 6636*6d67aabdSBjoern A. Zeeb #define B_BE_TWTSP_QSEL_ERR BIT(14) 6637*6d67aabdSBjoern A. Zeeb #define B_BE_F2P_RLS_CTN_SEL_ERR BIT(13) 6638*6d67aabdSBjoern A. Zeeb #define B_BE_BCNQ_ORDER_ERR BIT(12) 6639*6d67aabdSBjoern A. Zeeb #define B_BE_Q_PKTID_ERR BIT(11) 6640*6d67aabdSBjoern A. Zeeb #define B_BE_D_PKTID_ERR BIT(10) 6641*6d67aabdSBjoern A. Zeeb #define B_BE_TXPRT_FULL_DROP_ERR BIT(9) 6642*6d67aabdSBjoern A. Zeeb #define B_BE_F2PCMDRPT_FULL_DROP_ERR BIT(8) 6643*6d67aabdSBjoern A. Zeeb 6644*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_FSM_MON 0x108E8 6645*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_FSM_MON_C1 0x148E8 6646*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_FSM2_TO_MODE BIT(30) 6647*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_FSM2_TO_THR_MASK GENMASK(29, 24) 6648*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_FSM1_TO_MODE BIT(22) 6649*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_FSM1_TO_THR_MASK GENMASK(21, 16) 6650*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_FSM0_TO_MODE BIT(14) 6651*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_FSM0_TO_THR_MASK GENMASK(13, 8) 6652*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_TX_ARB_TO_MODE BIT(6) 6653*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_TX_ARB_TO_THR_MASK GENMASK(5, 0) 6654*6d67aabdSBjoern A. Zeeb 6655*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_TX_CTN_SEL 0x108EC 6656*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_TX_CTN_SEL_C1 0x148EC 6657*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_TXOP_STAT BIT(8) 6658*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_BUSY BIT(7) 6659*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_DROP BIT(5) 6660*6d67aabdSBjoern A. Zeeb #define B_BE_PTCL_TX_QUEUE_IDX_MASK GENMASK(4, 0) 6661*6d67aabdSBjoern A. Zeeb 6662*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_DBG_INFO 0x108F0 6663*6d67aabdSBjoern A. Zeeb 6664*6d67aabdSBjoern A. Zeeb #define R_BE_PTCL_DBG 0x108F4 6665*6d67aabdSBjoern A. Zeeb 6666*6d67aabdSBjoern A. Zeeb #define R_BE_RX_ERROR_FLAG 0x10C00 6667*6d67aabdSBjoern A. Zeeb #define R_BE_RX_ERROR_FLAG_C1 0x14C00 6668*6d67aabdSBjoern A. Zeeb #define B_BE_RX_CSI_NOT_RELEASE_ERROR BIT(31) 6669*6d67aabdSBjoern A. Zeeb #define B_BE_RX_GET_NULL_PKT_ERROR BIT(30) 6670*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU0_FSM_HANG_ERROR BIT(29) 6671*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU1_FSM_HANG_ERROR BIT(28) 6672*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU2_FSM_HANG_ERROR BIT(27) 6673*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU3_FSM_HANG_ERROR BIT(26) 6674*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU4_FSM_HANG_ERROR BIT(25) 6675*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU5_FSM_HANG_ERROR BIT(24) 6676*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU6_FSM_HANG_ERROR BIT(23) 6677*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU7_FSM_HANG_ERROR BIT(22) 6678*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RXSTS_FSM_HANG_ERROR BIT(21) 6679*6d67aabdSBjoern A. Zeeb #define B_BE_RX_CSI_FSM_HANG_ERROR BIT(20) 6680*6d67aabdSBjoern A. Zeeb #define B_BE_RX_TXRPT_FSM_HANG_ERROR BIT(19) 6681*6d67aabdSBjoern A. Zeeb #define B_BE_RX_F2PCMD_FSM_HANG_ERROR BIT(18) 6682*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU0_ZERO_LENGTH_ERROR BIT(17) 6683*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU1_ZERO_LENGTH_ERROR BIT(16) 6684*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU2_ZERO_LENGTH_ERROR BIT(15) 6685*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU3_ZERO_LENGTH_ERROR BIT(14) 6686*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU4_ZERO_LENGTH_ERROR BIT(13) 6687*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU5_ZERO_LENGTH_ERROR BIT(12) 6688*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU6_ZERO_LENGTH_ERROR BIT(11) 6689*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU7_ZERO_LENGTH_ERROR BIT(10) 6690*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RXSTS_ZERO_LENGTH_ERROR BIT(9) 6691*6d67aabdSBjoern A. Zeeb #define B_BE_RX_CSI_ZERO_LENGTH_ERROR BIT(8) 6692*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_DATA_OPT_FSM_HANG BIT(7) 6693*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_RXDATA_REQUEST_BUFFER_FSM_HANG BIT(6) 6694*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_TXRPT_REQUEST_BUFFER_FSM_HANG BIT(5) 6695*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_WD_OPT_FSM_HANG BIT(4) 6696*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_ENQ_FSM_HANG BIT(3) 6697*6d67aabdSBjoern A. Zeeb #define B_BE_RXDATA_ENQUE_ORDER_ERROR BIT(2) 6698*6d67aabdSBjoern A. Zeeb #define B_BE_RXSTS_ENQUE_ORDER_ERROR BIT(1) 6699*6d67aabdSBjoern A. Zeeb #define B_BE_RX_CSI_PKT_NUM_ERROR BIT(0) 6700*6d67aabdSBjoern A. Zeeb 6701*6d67aabdSBjoern A. Zeeb #define R_BE_RX_ERROR_FLAG_IMR 0x10C04 6702*6d67aabdSBjoern A. Zeeb #define R_BE_RX_ERROR_FLAG_IMR_C1 0x14C04 6703*6d67aabdSBjoern A. Zeeb #define B_BE_RX_CSI_NOT_RELEASE_ERROR_IMR BIT(31) 6704*6d67aabdSBjoern A. Zeeb #define B_BE_RX_GET_NULL_PKT_ERROR_IMR BIT(30) 6705*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU0_FSM_HANG_ERROR_IMR BIT(29) 6706*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU1_FSM_HANG_ERROR_IMR BIT(28) 6707*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU2_FSM_HANG_ERROR_IMR BIT(27) 6708*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU3_FSM_HANG_ERROR_IMR BIT(26) 6709*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU4_FSM_HANG_ERROR_IMR BIT(25) 6710*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU5_FSM_HANG_ERROR_IMR BIT(24) 6711*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU6_FSM_HANG_ERROR_IMR BIT(23) 6712*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU7_FSM_HANG_ERROR_IMR BIT(22) 6713*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RXSTS_FSM_HANG_ERROR_IMR BIT(21) 6714*6d67aabdSBjoern A. Zeeb #define B_BE_RX_CSI_FSM_HANG_ERROR_IMR BIT(20) 6715*6d67aabdSBjoern A. Zeeb #define B_BE_RX_TXRPT_FSM_HANG_ERROR_IMR BIT(19) 6716*6d67aabdSBjoern A. Zeeb #define B_BE_RX_F2PCMD_FSM_HANG_ERROR_IMR BIT(18) 6717*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU0_ZERO_LENGTH_ERROR_IMR BIT(17) 6718*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU1_ZERO_LENGTH_ERROR_IMR BIT(16) 6719*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU2_ZERO_LENGTH_ERROR_IMR BIT(15) 6720*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU3_ZERO_LENGTH_ERROR_IMR BIT(14) 6721*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU4_ZERO_LENGTH_ERROR_IMR BIT(13) 6722*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU5_ZERO_LENGTH_ERROR_IMR BIT(12) 6723*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU6_ZERO_LENGTH_ERROR_IMR BIT(11) 6724*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU7_ZERO_LENGTH_ERROR_IMR BIT(10) 6725*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RXSTS_ZERO_LENGTH_ERROR_IMR BIT(9) 6726*6d67aabdSBjoern A. Zeeb #define B_BE_RX_CSI_ZERO_LENGTH_ERROR_IMR BIT(8) 6727*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_DATA_OPT_FSM_HANG_IMR BIT(7) 6728*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_RXDATA_REQUEST_BUFFER_FSM_HANG_IMR BIT(6) 6729*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_TXRPT_REQUEST_BUFFER_FSM_HANG_IMR BIT(5) 6730*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_WD_OPT_FSM_HANG_IMR BIT(4) 6731*6d67aabdSBjoern A. Zeeb #define B_BE_PLE_ENQ_FSM_HANG_IMR BIT(3) 6732*6d67aabdSBjoern A. Zeeb #define B_BE_RXDATA_ENQUE_ORDER_ERROR_IMR BIT(2) 6733*6d67aabdSBjoern A. Zeeb #define B_BE_RXSTS_ENQUE_ORDER_ERROR_IMR BIT(1) 6734*6d67aabdSBjoern A. Zeeb #define B_BE_RX_CSI_PKT_NUM_ERROR_IMR BIT(0) 6735*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERROR_FLAG_IMR_CLR (B_BE_RX_RXSTS_ZERO_LENGTH_ERROR_IMR | \ 6736*6d67aabdSBjoern A. Zeeb B_BE_RX_RU7_ZERO_LENGTH_ERROR_IMR | \ 6737*6d67aabdSBjoern A. Zeeb B_BE_RX_RU6_ZERO_LENGTH_ERROR_IMR | \ 6738*6d67aabdSBjoern A. Zeeb B_BE_RX_RU5_ZERO_LENGTH_ERROR_IMR | \ 6739*6d67aabdSBjoern A. Zeeb B_BE_RX_RU4_ZERO_LENGTH_ERROR_IMR | \ 6740*6d67aabdSBjoern A. Zeeb B_BE_RX_RU3_ZERO_LENGTH_ERROR_IMR | \ 6741*6d67aabdSBjoern A. Zeeb B_BE_RX_RU2_ZERO_LENGTH_ERROR_IMR | \ 6742*6d67aabdSBjoern A. Zeeb B_BE_RX_RU1_ZERO_LENGTH_ERROR_IMR | \ 6743*6d67aabdSBjoern A. Zeeb B_BE_RX_RU0_ZERO_LENGTH_ERROR_IMR | \ 6744*6d67aabdSBjoern A. Zeeb B_BE_RX_F2PCMD_FSM_HANG_ERROR_IMR | \ 6745*6d67aabdSBjoern A. Zeeb B_BE_RX_TXRPT_FSM_HANG_ERROR_IMR | \ 6746*6d67aabdSBjoern A. Zeeb B_BE_RX_CSI_FSM_HANG_ERROR_IMR | \ 6747*6d67aabdSBjoern A. Zeeb B_BE_RX_RXSTS_FSM_HANG_ERROR_IMR | \ 6748*6d67aabdSBjoern A. Zeeb B_BE_RX_RU7_FSM_HANG_ERROR_IMR | \ 6749*6d67aabdSBjoern A. Zeeb B_BE_RX_RU6_FSM_HANG_ERROR_IMR | \ 6750*6d67aabdSBjoern A. Zeeb B_BE_RX_RU5_FSM_HANG_ERROR_IMR | \ 6751*6d67aabdSBjoern A. Zeeb B_BE_RX_RU4_FSM_HANG_ERROR_IMR | \ 6752*6d67aabdSBjoern A. Zeeb B_BE_RX_RU3_FSM_HANG_ERROR_IMR | \ 6753*6d67aabdSBjoern A. Zeeb B_BE_RX_RU2_FSM_HANG_ERROR_IMR | \ 6754*6d67aabdSBjoern A. Zeeb B_BE_RX_RU1_FSM_HANG_ERROR_IMR | \ 6755*6d67aabdSBjoern A. Zeeb B_BE_RX_RU0_FSM_HANG_ERROR_IMR | \ 6756*6d67aabdSBjoern A. Zeeb B_BE_RX_GET_NULL_PKT_ERROR_IMR) 6757*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERROR_FLAG_IMR_SET (B_BE_RX_RXSTS_ZERO_LENGTH_ERROR_IMR | \ 6758*6d67aabdSBjoern A. Zeeb B_BE_RX_RU7_ZERO_LENGTH_ERROR_IMR | \ 6759*6d67aabdSBjoern A. Zeeb B_BE_RX_RU6_ZERO_LENGTH_ERROR_IMR | \ 6760*6d67aabdSBjoern A. Zeeb B_BE_RX_RU5_ZERO_LENGTH_ERROR_IMR | \ 6761*6d67aabdSBjoern A. Zeeb B_BE_RX_RU4_ZERO_LENGTH_ERROR_IMR | \ 6762*6d67aabdSBjoern A. Zeeb B_BE_RX_RU3_ZERO_LENGTH_ERROR_IMR | \ 6763*6d67aabdSBjoern A. Zeeb B_BE_RX_RU2_ZERO_LENGTH_ERROR_IMR | \ 6764*6d67aabdSBjoern A. Zeeb B_BE_RX_RU1_ZERO_LENGTH_ERROR_IMR | \ 6765*6d67aabdSBjoern A. Zeeb B_BE_RX_RU0_ZERO_LENGTH_ERROR_IMR | \ 6766*6d67aabdSBjoern A. Zeeb B_BE_RX_F2PCMD_FSM_HANG_ERROR_IMR | \ 6767*6d67aabdSBjoern A. Zeeb B_BE_RX_TXRPT_FSM_HANG_ERROR_IMR | \ 6768*6d67aabdSBjoern A. Zeeb B_BE_RX_CSI_FSM_HANG_ERROR_IMR | \ 6769*6d67aabdSBjoern A. Zeeb B_BE_RX_RXSTS_FSM_HANG_ERROR_IMR | \ 6770*6d67aabdSBjoern A. Zeeb B_BE_RX_RU7_FSM_HANG_ERROR_IMR | \ 6771*6d67aabdSBjoern A. Zeeb B_BE_RX_RU6_FSM_HANG_ERROR_IMR | \ 6772*6d67aabdSBjoern A. Zeeb B_BE_RX_RU5_FSM_HANG_ERROR_IMR | \ 6773*6d67aabdSBjoern A. Zeeb B_BE_RX_RU4_FSM_HANG_ERROR_IMR | \ 6774*6d67aabdSBjoern A. Zeeb B_BE_RX_RU3_FSM_HANG_ERROR_IMR | \ 6775*6d67aabdSBjoern A. Zeeb B_BE_RX_RU2_FSM_HANG_ERROR_IMR | \ 6776*6d67aabdSBjoern A. Zeeb B_BE_RX_RU1_FSM_HANG_ERROR_IMR | \ 6777*6d67aabdSBjoern A. Zeeb B_BE_RX_RU0_FSM_HANG_ERROR_IMR | \ 6778*6d67aabdSBjoern A. Zeeb B_BE_RX_GET_NULL_PKT_ERROR_IMR) 6779*6d67aabdSBjoern A. Zeeb 6780*6d67aabdSBjoern A. Zeeb #define R_BE_RX_CTRL_1 0x10C0C 6781*6d67aabdSBjoern A. Zeeb #define R_BE_RX_CTRL_1_C1 0x14C0C 6782*6d67aabdSBjoern A. Zeeb #define B_BE_RXDMA_TXRPT_QUEUE_ID_SW_MASK GENMASK(30, 25) 6783*6d67aabdSBjoern A. Zeeb #define B_BE_RXDMA_F2PCMDRPT_QUEUE_ID_SW_MASK GENMASK(23, 18) 6784*6d67aabdSBjoern A. Zeeb #define B_BE_RXDMA_TXRPT_PORT_ID_SW_MASK GENMASK(17, 14) 6785*6d67aabdSBjoern A. Zeeb #define B_BE_RXDMA_F2PCMDRPT_PORT_ID_SW_MASK GENMASK(13, 10) 6786*6d67aabdSBjoern A. Zeeb #define B_BE_DBG_SEL_MASK GENMASK(1, 0) 6787*6d67aabdSBjoern A. Zeeb #define WLCPU_RXCH2_QID 0xA 6788*6d67aabdSBjoern A. Zeeb 6789*6d67aabdSBjoern A. Zeeb #define R_BE_TX_ERROR_FLAG 0x10C6C 6790*6d67aabdSBjoern A. Zeeb #define R_BE_TX_ERROR_FLAG_C1 0x14C6C 6791*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU0_FSM_HANG_ERROR BIT(31) 6792*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU1_FSM_HANG_ERROR BIT(30) 6793*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU2_FSM_HANG_ERROR BIT(29) 6794*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU3_FSM_HANG_ERROR BIT(28) 6795*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU4_FSM_HANG_ERROR BIT(27) 6796*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU5_FSM_HANG_ERROR BIT(26) 6797*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU6_FSM_HANG_ERROR BIT(25) 6798*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU7_FSM_HANG_ERROR BIT(24) 6799*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU8_FSM_HANG_ERROR BIT(23) 6800*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU9_FSM_HANG_ERROR BIT(22) 6801*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU10_FSM_HANG_ERROR BIT(21) 6802*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU11_FSM_HANG_ERROR BIT(20) 6803*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU12_FSM_HANG_ERROR BIT(19) 6804*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU13_FSM_HANG_ERROR BIT(18) 6805*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU14_FSM_HANG_ERROR BIT(17) 6806*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU15_FSM_HANG_ERROR BIT(16) 6807*6d67aabdSBjoern A. Zeeb #define B_BE_TX_CSI_FSM_HANG_ERROR BIT(15) 6808*6d67aabdSBjoern A. Zeeb #define B_BE_TX_WD_PLD_ID_FSM_HANG_ERROR BIT(14) 6809*6d67aabdSBjoern A. Zeeb 6810*6d67aabdSBjoern A. Zeeb #define R_BE_TX_ERROR_FLAG_IMR 0x10C70 6811*6d67aabdSBjoern A. Zeeb #define R_BE_TX_ERROR_FLAG_IMR_C1 0x14C70 6812*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU0_FSM_HANG_ERROR_IMR BIT(31) 6813*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU1_FSM_HANG_ERROR_IMR BIT(30) 6814*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU2_FSM_HANG_ERROR_IMR BIT(29) 6815*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU3_FSM_HANG_ERROR_IMR BIT(28) 6816*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU4_FSM_HANG_ERROR_IMR BIT(27) 6817*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU5_FSM_HANG_ERROR_IMR BIT(26) 6818*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU6_FSM_HANG_ERROR_IMR BIT(25) 6819*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU7_FSM_HANG_ERROR_IMR BIT(24) 6820*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU8_FSM_HANG_ERROR_IMR BIT(23) 6821*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU9_FSM_HANG_ERROR_IMR BIT(22) 6822*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU10_FSM_HANG_ERROR_IMR BIT(21) 6823*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU11_FSM_HANG_ERROR_IMR BIT(20) 6824*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU12_FSM_HANG_ERROR_IMR BIT(19) 6825*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU13_FSM_HANG_ERROR_IMR BIT(18) 6826*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU14_FSM_HANG_ERROR_IMR BIT(17) 6827*6d67aabdSBjoern A. Zeeb #define B_BE_TX_RU15_FSM_HANG_ERROR_IMR BIT(16) 6828*6d67aabdSBjoern A. Zeeb #define B_BE_TX_CSI_FSM_HANG_ERROR_IMR BIT(15) 6829*6d67aabdSBjoern A. Zeeb #define B_BE_TX_WD_PLD_ID_FSM_HANG_ERROR_IMR BIT(14) 6830*6d67aabdSBjoern A. Zeeb #define B_BE_TX_ERROR_FLAG_IMR_CLR (B_BE_TX_WD_PLD_ID_FSM_HANG_ERROR_IMR | \ 6831*6d67aabdSBjoern A. Zeeb B_BE_TX_CSI_FSM_HANG_ERROR_IMR | \ 6832*6d67aabdSBjoern A. Zeeb B_BE_TX_RU15_FSM_HANG_ERROR_IMR | \ 6833*6d67aabdSBjoern A. Zeeb B_BE_TX_RU14_FSM_HANG_ERROR_IMR | \ 6834*6d67aabdSBjoern A. Zeeb B_BE_TX_RU13_FSM_HANG_ERROR_IMR | \ 6835*6d67aabdSBjoern A. Zeeb B_BE_TX_RU12_FSM_HANG_ERROR_IMR | \ 6836*6d67aabdSBjoern A. Zeeb B_BE_TX_RU11_FSM_HANG_ERROR_IMR | \ 6837*6d67aabdSBjoern A. Zeeb B_BE_TX_RU10_FSM_HANG_ERROR_IMR | \ 6838*6d67aabdSBjoern A. Zeeb B_BE_TX_RU9_FSM_HANG_ERROR_IMR | \ 6839*6d67aabdSBjoern A. Zeeb B_BE_TX_RU8_FSM_HANG_ERROR_IMR | \ 6840*6d67aabdSBjoern A. Zeeb B_BE_TX_RU7_FSM_HANG_ERROR_IMR | \ 6841*6d67aabdSBjoern A. Zeeb B_BE_TX_RU6_FSM_HANG_ERROR_IMR | \ 6842*6d67aabdSBjoern A. Zeeb B_BE_TX_RU5_FSM_HANG_ERROR_IMR | \ 6843*6d67aabdSBjoern A. Zeeb B_BE_TX_RU4_FSM_HANG_ERROR_IMR | \ 6844*6d67aabdSBjoern A. Zeeb B_BE_TX_RU3_FSM_HANG_ERROR_IMR | \ 6845*6d67aabdSBjoern A. Zeeb B_BE_TX_RU2_FSM_HANG_ERROR_IMR | \ 6846*6d67aabdSBjoern A. Zeeb B_BE_TX_RU1_FSM_HANG_ERROR_IMR | \ 6847*6d67aabdSBjoern A. Zeeb B_BE_TX_RU0_FSM_HANG_ERROR_IMR) 6848*6d67aabdSBjoern A. Zeeb #define B_BE_TX_ERROR_FLAG_IMR_SET (B_BE_TX_WD_PLD_ID_FSM_HANG_ERROR_IMR | \ 6849*6d67aabdSBjoern A. Zeeb B_BE_TX_CSI_FSM_HANG_ERROR_IMR | \ 6850*6d67aabdSBjoern A. Zeeb B_BE_TX_RU15_FSM_HANG_ERROR_IMR | \ 6851*6d67aabdSBjoern A. Zeeb B_BE_TX_RU14_FSM_HANG_ERROR_IMR | \ 6852*6d67aabdSBjoern A. Zeeb B_BE_TX_RU13_FSM_HANG_ERROR_IMR | \ 6853*6d67aabdSBjoern A. Zeeb B_BE_TX_RU12_FSM_HANG_ERROR_IMR | \ 6854*6d67aabdSBjoern A. Zeeb B_BE_TX_RU11_FSM_HANG_ERROR_IMR | \ 6855*6d67aabdSBjoern A. Zeeb B_BE_TX_RU10_FSM_HANG_ERROR_IMR | \ 6856*6d67aabdSBjoern A. Zeeb B_BE_TX_RU9_FSM_HANG_ERROR_IMR | \ 6857*6d67aabdSBjoern A. Zeeb B_BE_TX_RU8_FSM_HANG_ERROR_IMR | \ 6858*6d67aabdSBjoern A. Zeeb B_BE_TX_RU7_FSM_HANG_ERROR_IMR | \ 6859*6d67aabdSBjoern A. Zeeb B_BE_TX_RU6_FSM_HANG_ERROR_IMR | \ 6860*6d67aabdSBjoern A. Zeeb B_BE_TX_RU5_FSM_HANG_ERROR_IMR | \ 6861*6d67aabdSBjoern A. Zeeb B_BE_TX_RU4_FSM_HANG_ERROR_IMR | \ 6862*6d67aabdSBjoern A. Zeeb B_BE_TX_RU3_FSM_HANG_ERROR_IMR | \ 6863*6d67aabdSBjoern A. Zeeb B_BE_TX_RU2_FSM_HANG_ERROR_IMR | \ 6864*6d67aabdSBjoern A. Zeeb B_BE_TX_RU1_FSM_HANG_ERROR_IMR | \ 6865*6d67aabdSBjoern A. Zeeb B_BE_TX_RU0_FSM_HANG_ERROR_IMR) 6866*6d67aabdSBjoern A. Zeeb 6867*6d67aabdSBjoern A. Zeeb #define R_BE_RX_ERROR_FLAG_1 0x10C84 6868*6d67aabdSBjoern A. Zeeb #define R_BE_RX_ERROR_FLAG_1_C1 0x14C84 6869*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU8_FSM_HANG_ERROR BIT(29) 6870*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU9_FSM_HANG_ERROR BIT(28) 6871*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU10_FSM_HANG_ERROR BIT(27) 6872*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU11_FSM_HANG_ERROR BIT(26) 6873*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU12_FSM_HANG_ERROR BIT(25) 6874*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU13_FSM_HANG_ERROR BIT(24) 6875*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU14_FSM_HANG_ERROR BIT(23) 6876*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU15_FSM_HANG_ERROR BIT(22) 6877*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU8_ZERO_LENGTH_ERROR BIT(17) 6878*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU9_ZERO_LENGTH_ERROR BIT(16) 6879*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU10_ZERO_LENGTH_ERROR BIT(15) 6880*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU11_ZERO_LENGTH_ERROR BIT(14) 6881*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU12_ZERO_LENGTH_ERROR BIT(13) 6882*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU13_ZERO_LENGTH_ERROR BIT(12) 6883*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU14_ZERO_LENGTH_ERROR BIT(11) 6884*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU15_ZERO_LENGTH_ERROR BIT(10) 6885*6d67aabdSBjoern A. Zeeb 6886*6d67aabdSBjoern A. Zeeb #define R_BE_RX_ERROR_FLAG_IMR_1 0x10C88 6887*6d67aabdSBjoern A. Zeeb #define R_BE_RX_ERROR_FLAG_IMR_1_C1 0x14C88 6888*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU8_FSM_HANG_ERROR_IMR BIT(29) 6889*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU9_FSM_HANG_ERROR_IMR BIT(28) 6890*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU10_FSM_HANG_ERROR_IMR BIT(27) 6891*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU11_FSM_HANG_ERROR_IMR BIT(26) 6892*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU12_FSM_HANG_ERROR_IMR BIT(25) 6893*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU13_FSM_HANG_ERROR_IMR BIT(24) 6894*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU14_FSM_HANG_ERROR_IMR BIT(23) 6895*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU15_FSM_HANG_ERROR_IMR BIT(22) 6896*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU8_ZERO_LENGTH_ERROR_IMR BIT(17) 6897*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU9_ZERO_LENGTH_ERROR_IMR BIT(16) 6898*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU10_ZERO_LENGTH_ERROR_IMR BIT(15) 6899*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU11_ZERO_LENGTH_ERROR_IMR BIT(14) 6900*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU12_ZERO_LENGTH_ERROR_IMR BIT(13) 6901*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU13_ZERO_LENGTH_ERROR_IMR BIT(12) 6902*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU14_ZERO_LENGTH_ERROR_IMR BIT(11) 6903*6d67aabdSBjoern A. Zeeb #define B_BE_RX_RU15_ZERO_LENGTH_ERROR_IMR BIT(10) 6904*6d67aabdSBjoern A. Zeeb #define B_BE_TX_ERROR_FLAG_IMR_1_CLR (B_BE_RX_RU8_FSM_HANG_ERROR_IMR | \ 6905*6d67aabdSBjoern A. Zeeb B_BE_RX_RU9_FSM_HANG_ERROR_IMR | \ 6906*6d67aabdSBjoern A. Zeeb B_BE_RX_RU10_FSM_HANG_ERROR_IMR | \ 6907*6d67aabdSBjoern A. Zeeb B_BE_RX_RU11_FSM_HANG_ERROR_IMR | \ 6908*6d67aabdSBjoern A. Zeeb B_BE_RX_RU12_FSM_HANG_ERROR_IMR | \ 6909*6d67aabdSBjoern A. Zeeb B_BE_RX_RU13_FSM_HANG_ERROR_IMR | \ 6910*6d67aabdSBjoern A. Zeeb B_BE_RX_RU14_FSM_HANG_ERROR_IMR | \ 6911*6d67aabdSBjoern A. Zeeb B_BE_RX_RU15_FSM_HANG_ERROR_IMR | \ 6912*6d67aabdSBjoern A. Zeeb B_BE_RX_RU8_ZERO_LENGTH_ERROR_IMR | \ 6913*6d67aabdSBjoern A. Zeeb B_BE_RX_RU9_ZERO_LENGTH_ERROR_IMR | \ 6914*6d67aabdSBjoern A. Zeeb B_BE_RX_RU10_ZERO_LENGTH_ERROR_IMR | \ 6915*6d67aabdSBjoern A. Zeeb B_BE_RX_RU11_ZERO_LENGTH_ERROR_IMR | \ 6916*6d67aabdSBjoern A. Zeeb B_BE_RX_RU12_ZERO_LENGTH_ERROR_IMR | \ 6917*6d67aabdSBjoern A. Zeeb B_BE_RX_RU13_ZERO_LENGTH_ERROR_IMR | \ 6918*6d67aabdSBjoern A. Zeeb B_BE_RX_RU14_ZERO_LENGTH_ERROR_IMR | \ 6919*6d67aabdSBjoern A. Zeeb B_BE_RX_RU15_ZERO_LENGTH_ERROR_IMR) 6920*6d67aabdSBjoern A. Zeeb #define B_BE_TX_ERROR_FLAG_IMR_1_SET (B_BE_RX_RU8_FSM_HANG_ERROR_IMR | \ 6921*6d67aabdSBjoern A. Zeeb B_BE_RX_RU9_FSM_HANG_ERROR_IMR | \ 6922*6d67aabdSBjoern A. Zeeb B_BE_RX_RU10_FSM_HANG_ERROR_IMR | \ 6923*6d67aabdSBjoern A. Zeeb B_BE_RX_RU11_FSM_HANG_ERROR_IMR | \ 6924*6d67aabdSBjoern A. Zeeb B_BE_RX_RU12_FSM_HANG_ERROR_IMR | \ 6925*6d67aabdSBjoern A. Zeeb B_BE_RX_RU13_FSM_HANG_ERROR_IMR | \ 6926*6d67aabdSBjoern A. Zeeb B_BE_RX_RU14_FSM_HANG_ERROR_IMR | \ 6927*6d67aabdSBjoern A. Zeeb B_BE_RX_RU15_FSM_HANG_ERROR_IMR | \ 6928*6d67aabdSBjoern A. Zeeb B_BE_RX_RU8_ZERO_LENGTH_ERROR_IMR | \ 6929*6d67aabdSBjoern A. Zeeb B_BE_RX_RU9_ZERO_LENGTH_ERROR_IMR | \ 6930*6d67aabdSBjoern A. Zeeb B_BE_RX_RU10_ZERO_LENGTH_ERROR_IMR | \ 6931*6d67aabdSBjoern A. Zeeb B_BE_RX_RU11_ZERO_LENGTH_ERROR_IMR | \ 6932*6d67aabdSBjoern A. Zeeb B_BE_RX_RU12_ZERO_LENGTH_ERROR_IMR | \ 6933*6d67aabdSBjoern A. Zeeb B_BE_RX_RU13_ZERO_LENGTH_ERROR_IMR | \ 6934*6d67aabdSBjoern A. Zeeb B_BE_RX_RU14_ZERO_LENGTH_ERROR_IMR | \ 6935*6d67aabdSBjoern A. Zeeb B_BE_RX_RU15_ZERO_LENGTH_ERROR_IMR) 6936*6d67aabdSBjoern A. Zeeb 6937*6d67aabdSBjoern A. Zeeb #define R_BE_WMTX_MOREDATA_TSFT_STMP_CTL 0x10E08 6938*6d67aabdSBjoern A. Zeeb #define R_BE_WMTX_MOREDATA_TSFT_STMP_CTL_C1 0x14E08 6939*6d67aabdSBjoern A. Zeeb #define B_BE_TSFT_OFS_MASK GENMASK(31, 16) 6940*6d67aabdSBjoern A. Zeeb #define B_BE_STMP_THSD_MASK GENMASK(15, 8) 6941*6d67aabdSBjoern A. Zeeb #define B_BE_UPD_HGQMD BIT(1) 6942*6d67aabdSBjoern A. Zeeb #define B_BE_UPD_TIMIE BIT(0) 6943*6d67aabdSBjoern A. Zeeb 6944*6d67aabdSBjoern A. Zeeb #define R_BE_WMTX_POWER_BE_BIT_CTL 0x10E0C 6945*6d67aabdSBjoern A. Zeeb #define R_BE_WMTX_POWER_BE_BIT_CTL_C1 0x14E0C 6946*6d67aabdSBjoern A. Zeeb 6947*6d67aabdSBjoern A. Zeeb #define R_BE_WMTX_TCR_BE_4 0x10E2C 6948*6d67aabdSBjoern A. Zeeb #define R_BE_WMTX_TCR_BE_4_C1 0x14E2C 6949*6d67aabdSBjoern A. Zeeb #define B_BE_UL_EHT_MUMIMO_LTF_MODE BIT(30) 6950*6d67aabdSBjoern A. Zeeb #define B_BE_UL_HE_MUMIMO_LTF_MODE BIT(29) 6951*6d67aabdSBjoern A. Zeeb #define B_BE_EHT_HE_PPDU_4XLTF_ZLD_USTIMER_MASK GENMASK(28, 24) 6952*6d67aabdSBjoern A. Zeeb #define B_BE_EHT_HE_PPDU_2XLTF_ZLD_USTIMER_MASK GENMASK(20, 16) 6953*6d67aabdSBjoern A. Zeeb #define B_BE_NON_LEGACY_PPDU_ZLD_USTIMER_MASK GENMASK(12, 8) 6954*6d67aabdSBjoern A. Zeeb #define B_BE_LEGACY_PPDU_ZLD_USTIMER_MASK GENMASK(4, 0) 6955*6d67aabdSBjoern A. Zeeb 6956*6d67aabdSBjoern A. Zeeb #define R_BE_RSP_CHK_SIG 0x11000 6957*6d67aabdSBjoern A. Zeeb #define R_BE_RSP_CHK_SIG_C1 0x15000 6958*6d67aabdSBjoern A. Zeeb #define B_BE_RSP_STATIC_RTS_CHK_SERV_BW_EN BIT(30) 6959*6d67aabdSBjoern A. Zeeb #define B_BE_RSP_TBPPDU_CHK_PWR BIT(29) 6960*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_PAIR_MACID_LEN_EN BIT(25) 6961*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_TX_ABORT_TEST_EN BIT(24) 6962*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_ER_SU_RU106_EN BIT(23) 6963*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_ER_SU_EN BIT(22) 6964*6d67aabdSBjoern A. Zeeb #define B_BE_TXDATA_END_PS_OPT BIT(18) 6965*6d67aabdSBjoern A. Zeeb #define B_BE_CHECK_SOUNDING_SEQ BIT(17) 6966*6d67aabdSBjoern A. Zeeb #define B_BE_RXBA_IGNOREA2 BIT(16) 6967*6d67aabdSBjoern A. Zeeb #define B_BE_ACKTO_CCK_MASK GENMASK(15, 8) 6968*6d67aabdSBjoern A. Zeeb #define B_BE_ACKTO_MASK GENMASK(8, 0) 6969*6d67aabdSBjoern A. Zeeb 6970*6d67aabdSBjoern A. Zeeb #define R_BE_TRXPTCL_RESP_0 0x11004 6971*6d67aabdSBjoern A. Zeeb #define R_BE_TRXPTCL_RESP_0_C1 0x15004 6972*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_RESP_STBC_EN BIT(31) 6973*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_RXFTM_TXACK_SB BIT(30) 6974*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_RXFTM_TXACKBWEQ BIT(29) 6975*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_TB_CHK_TXTIME BIT(24) 6976*6d67aabdSBjoern A. Zeeb #define B_BE_RSP_CHK_CCA BIT(23) 6977*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_LDPC_EN BIT(22) 6978*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_SGIEN BIT(21) 6979*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_SPLCPEN BIT(20) 6980*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_EHT_MCS15_REF BIT(19) 6981*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_EHT_MCS14_REF BIT(18) 6982*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_BESP_EARLY_TXBA BIT(17) 6983*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_MBA_DUR_FORCE BIT(16) 6984*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_SPEC_SIFS_OFDM_MASK GENMASK(15, 8) 6985*6d67aabdSBjoern A. Zeeb #define WMAC_SPEC_SIFS_OFDM_1115E 0x11 6986*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_SPEC_SIFS_CCK_MASK GENMASK(7, 0) 6987*6d67aabdSBjoern A. Zeeb 6988*6d67aabdSBjoern A. Zeeb #define R_BE_TRXPTCL_RESP_1 0x11008 6989*6d67aabdSBjoern A. Zeeb #define R_BE_TRXPTCL_RESP_1_C1 0x15008 6990*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_RESP_SR_MODE_EN BIT(31) 6991*6d67aabdSBjoern A. Zeeb #define B_BE_FTM_RRSR_RATE_EN_MASK GENMASK(28, 24) 6992*6d67aabdSBjoern A. Zeeb #define B_BE_NESS_MASK GENMASK(23, 22) 6993*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_RESP_DOPPLEB_BE_EN BIT(21) 6994*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_RESP_DCM_EN BIT(20) 6995*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_CLR_ABORT_RESP_TX_CNT BIT(15) 6996*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_RESP_REF_RATE_SEL BIT(12) 6997*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_RESP_REF_RATE_MASK GENMASK(11, 0) 6998*6d67aabdSBjoern A. Zeeb 6999*6d67aabdSBjoern A. Zeeb #define R_BE_MAC_LOOPBACK 0x11020 7000*6d67aabdSBjoern A. Zeeb #define R_BE_MAC_LOOPBACK_C1 0x15020 7001*6d67aabdSBjoern A. Zeeb #define B_BE_MACLBK_DIS_GCLK BIT(30) 7002*6d67aabdSBjoern A. Zeeb #define B_BE_MACLBK_STS_EN BIT(29) 7003*6d67aabdSBjoern A. Zeeb #define B_BE_MACLBK_RDY_PERIOD_MASK GENMASK(28, 17) 7004*6d67aabdSBjoern A. Zeeb #define B_BE_MACLBK_PLCP_DLY_MASK GENMASK(16, 8) 7005*6d67aabdSBjoern A. Zeeb #define S_BE_MACLBK_PLCP_DLY_DEF 0x28 7006*6d67aabdSBjoern A. Zeeb #define B_BE_MACLBK_RDY_NUM_MASK GENMASK(7, 3) 7007*6d67aabdSBjoern A. Zeeb #define B_BE_MACLBK_EN BIT(0) 7008*6d67aabdSBjoern A. Zeeb 7009*6d67aabdSBjoern A. Zeeb #define R_BE_WMAC_NAV_CTL 0x11080 7010*6d67aabdSBjoern A. Zeeb #define R_BE_WMAC_NAV_CTL_C1 0x15080 7011*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_NAV_UPPER_EN BIT(26) 7012*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_0P125US_TIMER_MASK GENMASK(25, 18) 7013*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_PLCP_UP_NAV_EN BIT(17) 7014*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_TF_UP_NAV_EN BIT(16) 7015*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_NAV_UPPER_MASK GENMASK(15, 8) 7016*6d67aabdSBjoern A. Zeeb #define NAV_25MS 0xC4 7017*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_RTS_RST_DUR_MASK GENMASK(7, 0) 7018*6d67aabdSBjoern A. Zeeb 7019*6d67aabdSBjoern A. Zeeb #define R_BE_RXTRIG_TEST_USER_2 0x110B0 7020*6d67aabdSBjoern A. Zeeb #define R_BE_RXTRIG_TEST_USER_2_C1 0x150B0 7021*6d67aabdSBjoern A. Zeeb #define B_BE_RXTRIG_MACID_MASK GENMASK(31, 24) 7022*6d67aabdSBjoern A. Zeeb #define B_BE_RXTRIG_RU26_DIS BIT(21) 7023*6d67aabdSBjoern A. Zeeb #define B_BE_RXTRIG_FCSCHK_EN BIT(20) 7024*6d67aabdSBjoern A. Zeeb #define B_BE_RXTRIG_PORT_SEL_MASK GENMASK(19, 17) 7025*6d67aabdSBjoern A. Zeeb #define B_BE_RXTRIG_EN BIT(16) 7026*6d67aabdSBjoern A. Zeeb #define B_BE_RXTRIG_USERINFO_2_MASK GENMASK(15, 0) 7027*6d67aabdSBjoern A. Zeeb 7028*6d67aabdSBjoern A. Zeeb #define R_BE_TRXPTCL_ERROR_INDICA_MASK 0x110BC 7029*6d67aabdSBjoern A. Zeeb #define R_BE_TRXPTCL_ERROR_INDICA_MASK_C1 0x150BC 7030*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_FTM_TIMEOUT_MODE BIT(30) 7031*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_FTM_TIMEOUT_THR_MASK GENMASK(29, 24) 7032*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_MODE BIT(22) 7033*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_TIMETOUT_THR_MASK GENMASK(21, 16) 7034*6d67aabdSBjoern A. Zeeb #define B_BE_RMAC_BFMER BIT(9) 7035*6d67aabdSBjoern A. Zeeb #define B_BE_RMAC_FTM BIT(8) 7036*6d67aabdSBjoern A. Zeeb #define B_BE_RMAC_CSI BIT(7) 7037*6d67aabdSBjoern A. Zeeb #define B_BE_TMAC_MIMO_CTRL BIT(6) 7038*6d67aabdSBjoern A. Zeeb #define B_BE_TMAC_RXTB BIT(5) 7039*6d67aabdSBjoern A. Zeeb #define B_BE_TMAC_HWSIGB_GEN BIT(4) 7040*6d67aabdSBjoern A. Zeeb #define B_BE_TMAC_TXPLCP BIT(3) 7041*6d67aabdSBjoern A. Zeeb #define B_BE_TMAC_RESP BIT(2) 7042*6d67aabdSBjoern A. Zeeb #define B_BE_TMAC_TXCTL BIT(1) 7043*6d67aabdSBjoern A. Zeeb #define B_BE_TMAC_MACTX BIT(0) 7044*6d67aabdSBjoern A. Zeeb #define B_BE_TRXPTCL_ERROR_INDICA_MASK_CLR (B_BE_TMAC_MACTX | \ 7045*6d67aabdSBjoern A. Zeeb B_BE_TMAC_TXCTL | \ 7046*6d67aabdSBjoern A. Zeeb B_BE_TMAC_RESP | \ 7047*6d67aabdSBjoern A. Zeeb B_BE_TMAC_TXPLCP | \ 7048*6d67aabdSBjoern A. Zeeb B_BE_TMAC_HWSIGB_GEN | \ 7049*6d67aabdSBjoern A. Zeeb B_BE_TMAC_RXTB | \ 7050*6d67aabdSBjoern A. Zeeb B_BE_TMAC_MIMO_CTRL | \ 7051*6d67aabdSBjoern A. Zeeb B_BE_RMAC_CSI | \ 7052*6d67aabdSBjoern A. Zeeb B_BE_RMAC_FTM | \ 7053*6d67aabdSBjoern A. Zeeb B_BE_RMAC_BFMER) 7054*6d67aabdSBjoern A. Zeeb #define B_BE_TRXPTCL_ERROR_INDICA_MASK_SET (B_BE_TMAC_MACTX | \ 7055*6d67aabdSBjoern A. Zeeb B_BE_TMAC_TXCTL | \ 7056*6d67aabdSBjoern A. Zeeb B_BE_TMAC_RESP | \ 7057*6d67aabdSBjoern A. Zeeb B_BE_TMAC_TXPLCP | \ 7058*6d67aabdSBjoern A. Zeeb B_BE_TMAC_HWSIGB_GEN | \ 7059*6d67aabdSBjoern A. Zeeb B_BE_TMAC_RXTB | \ 7060*6d67aabdSBjoern A. Zeeb B_BE_TMAC_MIMO_CTRL | \ 7061*6d67aabdSBjoern A. Zeeb B_BE_RMAC_CSI | \ 7062*6d67aabdSBjoern A. Zeeb B_BE_RMAC_FTM | \ 7063*6d67aabdSBjoern A. Zeeb B_BE_RMAC_BFMER) 7064*6d67aabdSBjoern A. Zeeb 7065*6d67aabdSBjoern A. Zeeb #define R_BE_TRXPTCL_ERROR_INDICA 0x110C0 7066*6d67aabdSBjoern A. Zeeb #define R_BE_TRXPTCL_ERROR_INDICA_C1 0x150C0 7067*6d67aabdSBjoern A. Zeeb #define B_BE_BFMER_ERR_FLAG BIT(9) 7068*6d67aabdSBjoern A. Zeeb #define B_BE_FTM_ERROR_FLAG_CLR BIT(8) 7069*6d67aabdSBjoern A. Zeeb #define B_BE_CSI_ERROR_FLAG_CLR BIT(7) 7070*6d67aabdSBjoern A. Zeeb #define B_BE_MIMOCTRL_ERROR_FLAG_CLR BIT(6) 7071*6d67aabdSBjoern A. Zeeb #define B_BE_RXTB_ERROR_FLAG_CLR BIT(5) 7072*6d67aabdSBjoern A. Zeeb #define B_BE_HWSIGB_GEN_ERROR_FLAG_CLR BIT(4) 7073*6d67aabdSBjoern A. Zeeb #define B_BE_TXPLCP_ERROR_FLAG_CLR BIT(3) 7074*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_ERROR_FLAG_CLR BIT(2) 7075*6d67aabdSBjoern A. Zeeb #define B_BE_TXCTL_ERROR_FLAG_CLR BIT(1) 7076*6d67aabdSBjoern A. Zeeb #define B_BE_MACTX_ERROR_FLAG_CLR BIT(0) 7077*6d67aabdSBjoern A. Zeeb 7078*6d67aabdSBjoern A. Zeeb #define R_BE_DBGSEL_TRXPTCL 0x110F4 7079*6d67aabdSBjoern A. Zeeb #define R_BE_DBGSEL_TRXPTCL_C1 0x150F4 7080*6d67aabdSBjoern A. Zeeb #define B_BE_WMAC_CHNSTS_STATE_MASK GENMASK(19, 16) 7081*6d67aabdSBjoern A. Zeeb #define B_BE_DBGSEL_TRIGCMD_SEL_MASK GENMASK(11, 8) 7082*6d67aabdSBjoern A. Zeeb #define B_BE_DBGSEL_TRXPTCL_MASK GENMASK(7, 0) 7083*6d67aabdSBjoern A. Zeeb 7084*6d67aabdSBjoern A. Zeeb #define R_BE_PHYINFO_ERR_IMR_V1 0x110F8 7085*6d67aabdSBjoern A. Zeeb #define R_BE_PHYINFO_ERR_IMR_V1_C1 0x150F8 7086*6d67aabdSBjoern A. Zeeb #define B_BE_PHYINTF_RXTB_WIDTH_MASK GENMASK(31, 30) 7087*6d67aabdSBjoern A. Zeeb #define B_BE_PHYINTF_RXTB_EN_PHASE_MASK GENMASK(29, 28) 7088*6d67aabdSBjoern A. Zeeb #define B_BE_PHYINTF_MIMO_WIDTH_MASK GENMASK(27, 26) 7089*6d67aabdSBjoern A. Zeeb #define B_BE_PHYINTF_MIMO_EN_PHASE_MASK GENMASK(25, 24) 7090*6d67aabdSBjoern A. Zeeb #define B_BE_PHYINTF_TIMEOUT_THR_V1_MASK GENMASK(21, 16) 7091*6d67aabdSBjoern A. Zeeb #define B_BE_CSI_ON_TIMEOUT_EN BIT(5) 7092*6d67aabdSBjoern A. Zeeb #define B_BE_STS_ON_TIMEOUT_EN BIT(4) 7093*6d67aabdSBjoern A. Zeeb #define B_BE_DATA_ON_TIMEOUT_EN BIT(3) 7094*6d67aabdSBjoern A. Zeeb #define B_BE_OFDM_CCA_TIMEOUT_EN BIT(2) 7095*6d67aabdSBjoern A. Zeeb #define B_BE_CCK_CCA_TIMEOUT_EN BIT(1) 7096*6d67aabdSBjoern A. Zeeb #define B_BE_PHY_TXON_TIMEOUT_EN BIT(0) 7097*6d67aabdSBjoern A. Zeeb #define B_BE_PHYINFO_ERR_IMR_V1_CLR (B_BE_PHY_TXON_TIMEOUT_EN | \ 7098*6d67aabdSBjoern A. Zeeb B_BE_CCK_CCA_TIMEOUT_EN | \ 7099*6d67aabdSBjoern A. Zeeb B_BE_OFDM_CCA_TIMEOUT_EN | \ 7100*6d67aabdSBjoern A. Zeeb B_BE_DATA_ON_TIMEOUT_EN | \ 7101*6d67aabdSBjoern A. Zeeb B_BE_STS_ON_TIMEOUT_EN | \ 7102*6d67aabdSBjoern A. Zeeb B_BE_CSI_ON_TIMEOUT_EN) 7103*6d67aabdSBjoern A. Zeeb #define B_BE_PHYINFO_ERR_IMR_V1_SET 0 7104*6d67aabdSBjoern A. Zeeb 7105*6d67aabdSBjoern A. Zeeb #define R_BE_PHYINFO_ERR_ISR 0x110FC 7106*6d67aabdSBjoern A. Zeeb #define R_BE_PHYINFO_ERR_ISR_C1 0x150FC 7107*6d67aabdSBjoern A. Zeeb #define B_BE_CSI_ON_TIMEOUT_ERR BIT(5) 7108*6d67aabdSBjoern A. Zeeb #define B_BE_STS_ON_TIMEOUT_ERR BIT(4) 7109*6d67aabdSBjoern A. Zeeb #define B_BE_DATA_ON_TIMEOUT_ERR BIT(3) 7110*6d67aabdSBjoern A. Zeeb #define B_BE_OFDM_CCA_TIMEOUT_ERR BIT(2) 7111*6d67aabdSBjoern A. Zeeb #define B_BE_CCK_CCA_TIMEOUT_ERR BIT(1) 7112*6d67aabdSBjoern A. Zeeb #define B_BE_PHY_TXON_TIMEOUT_ERR BIT(0) 7113*6d67aabdSBjoern A. Zeeb 7114*6d67aabdSBjoern A. Zeeb #define R_BE_BFMEE_RESP_OPTION 0x11180 7115*6d67aabdSBjoern A. Zeeb #define R_BE_BFMEE_RESP_OPTION_C1 0x15180 7116*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSI_SEC_TYPE_SH 20 7117*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSI_SEC_TYPE_MSK 0xf 7118*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_BFRPT_SEG_SIZE_SH 16 7119*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_BFRPT_SEG_SIZE_MSK 0x3 7120*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_MIMO_EN_SEL BIT(8) 7121*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_MU_BFEE_DIS BIT(7) 7122*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CHECK_RPTPOLL_MACID_DIS BIT(6) 7123*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_NOCHK_BFPOLL_BMP BIT(5) 7124*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_VHTBFRPT_CHK BIT(4) 7125*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_EHT_NDPA_EN BIT(3) 7126*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_HE_NDPA_EN BIT(2) 7127*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_VHT_NDPA_EN BIT(1) 7128*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_HT_NDPA_EN BIT(0) 7129*6d67aabdSBjoern A. Zeeb 7130*6d67aabdSBjoern A. Zeeb #define R_BE_TRXPTCL_RESP_CSI_CTRL_0 0x11188 7131*6d67aabdSBjoern A. Zeeb #define R_BE_TRXPTCL_RESP_CSI_CTRL_0_C1 0x15188 7132*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSISEQ_SEL BIT(29) 7133*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_BFPARAM_SEL BIT(28) 7134*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_OFDM_LEN_TH_MASK GENMASK(27, 24) 7135*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_BF_PORT_SEL BIT(23) 7136*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_USE_NSTS BIT(22) 7137*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSI_RATE_FB_EN BIT(21) 7138*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSI_GID_SEL BIT(20) 7139*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSI_RSC_MASK GENMASK(19, 18) 7140*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSI_FORCE_RETE_EN BIT(17) 7141*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSI_USE_NDPARATE BIT(16) 7142*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSI_WITHHTC_EN BIT(15) 7143*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSIINFO0_BF_EN BIT(14) 7144*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSIINFO0_STBC_EN BIT(13) 7145*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSIINFO0_LDPC_EN BIT(12) 7146*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSIINFO0_CS_MASK GENMASK(11, 10) 7147*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSIINFO0_CB_MASK GENMASK(9, 8) 7148*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSIINFO0_NG_MASK GENMASK(7, 6) 7149*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSIINFO0_NR_MASK GENMASK(5, 3) 7150*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_CSIINFO0_NC_MASK GENMASK(2, 0) 7151*6d67aabdSBjoern A. Zeeb #define CSI_RX_BW_CFG 0x1 7152*6d67aabdSBjoern A. Zeeb #define R_BE_TRXPTCL_RESP_CSI_CTRL_1 0x11194 7153*6d67aabdSBjoern A. Zeeb #define R_BE_TRXPTCL_RESP_CSI_CTRL_1_C1 0x15194 7154*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_BE_CSI_RRSC_BITMAP_MASK GENMASK(31, 24) 7155*6d67aabdSBjoern A. Zeeb #define CSI_RRSC_BITMAP_CFG 0x2A 7156*6d67aabdSBjoern A. Zeeb 7157*6d67aabdSBjoern A. Zeeb #define R_BE_TRXPTCL_RESP_CSI_RRSC 0x1118C 7158*6d67aabdSBjoern A. Zeeb #define R_BE_TRXPTCL_RESP_CSI_RRSC_C1 0x1518C 7159*6d67aabdSBjoern A. Zeeb #define CSI_RRSC_BMAP_BE 0x2A2AFF 7160*6d67aabdSBjoern A. Zeeb 7161*6d67aabdSBjoern A. Zeeb #define R_BE_TRXPTCL_RESP_CSI_RATE 0x11190 7162*6d67aabdSBjoern A. Zeeb #define R_BE_TRXPTCL_RESP_CSI_RATE_C1 0x15190 7163*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_EHT_CSI_RATE_MASK GENMASK(31, 24) 7164*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_HE_CSI_RATE_MASK GENMASK(23, 16) 7165*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_VHT_CSI_RATE_MASK GENMASK(15, 8) 7166*6d67aabdSBjoern A. Zeeb #define B_BE_BFMEE_HT_CSI_RATE_MASK GENMASK(7, 0) 7167*6d67aabdSBjoern A. Zeeb #define CSI_INIT_RATE_EHT 0x3 7168*6d67aabdSBjoern A. Zeeb 7169*6d67aabdSBjoern A. Zeeb #define R_BE_WMAC_ACK_BA_RESP_LEGACY 0x11200 7170*6d67aabdSBjoern A. Zeeb #define R_BE_WMAC_ACK_BA_RESP_LEGACY_C1 0x15200 7171*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_NSTR BIT(16) 7172*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_TX_NAV BIT(15) 7173*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_INTRA_NAV BIT(14) 7174*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_BASIC_NAV BIT(13) 7175*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_BTCCA BIT(12) 7176*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_SEC_EDCCA160 BIT(11) 7177*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_SEC_EDCCA80 BIT(10) 7178*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_SEC_EDCCA40 BIT(9) 7179*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_SEC_EDCCA20 BIT(8) 7180*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_EDCCA_PER20_BMP BIT(7) 7181*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_CCA_PER20_BMP BIT(6) 7182*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_SEC_CCA160 BIT(5) 7183*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_SEC_CCA80 BIT(4) 7184*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_SEC_CCA40 BIT(3) 7185*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_SEC_CCA20 BIT(2) 7186*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_EDCCA BIT(1) 7187*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_LEGACY_CHK_CCA BIT(0) 7188*6d67aabdSBjoern A. Zeeb 7189*6d67aabdSBjoern A. Zeeb #define R_BE_WMAC_ACK_BA_RESP_HE 0x11204 7190*6d67aabdSBjoern A. Zeeb #define R_BE_WMAC_ACK_BA_RESP_HE_C1 0x15204 7191*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_NSTR BIT(16) 7192*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_TX_NAV BIT(15) 7193*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_INTRA_NAV BIT(14) 7194*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_BASIC_NAV BIT(13) 7195*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_BTCCA BIT(12) 7196*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_SEC_EDCCA160 BIT(11) 7197*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_SEC_EDCCA80 BIT(10) 7198*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_SEC_EDCCA40 BIT(9) 7199*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_SEC_EDCCA20 BIT(8) 7200*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_EDCCA_PER20_BMP BIT(7) 7201*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_CCA_PER20_BMP BIT(6) 7202*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_SEC_CCA160 BIT(5) 7203*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_SEC_CCA80 BIT(4) 7204*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_SEC_CCA40 BIT(3) 7205*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_SEC_CCA20 BIT(2) 7206*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_EDCCA BIT(1) 7207*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_RESP_HE_CHK_CCA BIT(0) 7208*6d67aabdSBjoern A. Zeeb 7209*6d67aabdSBjoern A. Zeeb #define R_BE_WMAC_ACK_BA_RESP_EHT_LEG_PUNC 0x11208 7210*6d67aabdSBjoern A. Zeeb #define R_BE_WMAC_ACK_BA_RESP_EHT_LEG_PUNC_C1 0x15208 7211*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_NSTR BIT(16) 7212*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_TX_NAV BIT(15) 7213*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_INTRA_NAV BIT(14) 7214*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_BASIC_NAV BIT(13) 7215*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_BTCCA BIT(12) 7216*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_SEC_EDCCA160 BIT(11) 7217*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_SEC_EDCCA80 BIT(10) 7218*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_SEC_EDCCA40 BIT(9) 7219*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_SEC_EDCCA20 BIT(8) 7220*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_EDCCA_PER20_BMP BIT(7) 7221*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_CCA_PER20_BMP BIT(6) 7222*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_SEC_CCA160 BIT(5) 7223*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_SEC_CCA80 BIT(4) 7224*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_SEC_CCA40 BIT(3) 7225*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_SEC_CCA20 BIT(2) 7226*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_EDCCA BIT(1) 7227*6d67aabdSBjoern A. Zeeb #define B_BE_ACK_BA_EHT_LEG_PUNC_CHK_CCA BIT(0) 7228*6d67aabdSBjoern A. Zeeb 7229*6d67aabdSBjoern A. Zeeb #define R_BE_RCR 0x11400 7230*6d67aabdSBjoern A. Zeeb #define R_BE_RCR_C1 0x15400 7231*6d67aabdSBjoern A. Zeeb #define B_BE_BUSY_CHKSN BIT(15) 7232*6d67aabdSBjoern A. Zeeb #define B_BE_DYN_CHEN BIT(14) 7233*6d67aabdSBjoern A. Zeeb #define B_BE_AUTO_RST BIT(13) 7234*6d67aabdSBjoern A. Zeeb #define B_BE_TIMER_SEL BIT(12) 7235*6d67aabdSBjoern A. Zeeb #define B_BE_STOP_RX_IN BIT(11) 7236*6d67aabdSBjoern A. Zeeb #define B_BE_PSR_RDY_CHKDIS BIT(10) 7237*6d67aabdSBjoern A. Zeeb #define B_BE_DRV_INFO_SZ_MASK GENMASK(9, 8) 7238*6d67aabdSBjoern A. Zeeb #define B_BE_HDR_CNV_SZ_MASK GENMASK(7, 6) 7239*6d67aabdSBjoern A. Zeeb #define B_BE_PHY_RPT_SZ_MASK GENMASK(5, 4) 7240*6d67aabdSBjoern A. Zeeb #define B_BE_CH_EN BIT(0) 7241*6d67aabdSBjoern A. Zeeb 7242*6d67aabdSBjoern A. Zeeb #define R_BE_DLK_PROTECT_CTL 0x11402 7243*6d67aabdSBjoern A. Zeeb #define R_BE_DLK_PROTECT_CTL_C1 0x15402 7244*6d67aabdSBjoern A. Zeeb #define B_BE_RX_DLK_CCA_TIME_MASK GENMASK(15, 8) 7245*6d67aabdSBjoern A. Zeeb #define TRXCFG_RMAC_CCA_TO 32 7246*6d67aabdSBjoern A. Zeeb #define B_BE_RX_DLK_DATA_TIME_MASK GENMASK(7, 4) 7247*6d67aabdSBjoern A. Zeeb #define TRXCFG_RMAC_DATA_TO 15 7248*6d67aabdSBjoern A. Zeeb #define B_BE_RX_DLK_RST_FSM BIT(3) 7249*6d67aabdSBjoern A. Zeeb #define B_BE_RX_DLK_RST_SKIPDMA BIT(2) 7250*6d67aabdSBjoern A. Zeeb #define B_BE_RX_DLK_RST_EN BIT(1) 7251*6d67aabdSBjoern A. Zeeb #define B_BE_RX_DLK_INT_EN BIT(0) 7252*6d67aabdSBjoern A. Zeeb 7253*6d67aabdSBjoern A. Zeeb #define R_BE_PLCP_HDR_FLTR 0x11404 7254*6d67aabdSBjoern A. Zeeb #define R_BE_PLCP_HDR_FLTR_C1 0x15404 7255*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_RXFA_RESET_TYPE_MASK GENMASK(15, 12) 7256*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_RXFA_RESET_EN BIT(11) 7257*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_CHK_MIN_LEN BIT(8) 7258*6d67aabdSBjoern A. Zeeb #define B_BE_HE_SIGB_CRC_CHK BIT(6) 7259*6d67aabdSBjoern A. Zeeb #define B_BE_VHT_MU_SIGB_CRC_CHK BIT(5) 7260*6d67aabdSBjoern A. Zeeb #define B_BE_VHT_SU_SIGB_CRC_CHK BIT(4) 7261*6d67aabdSBjoern A. Zeeb #define B_BE_SIGA_CRC_CHK BIT(3) 7262*6d67aabdSBjoern A. Zeeb #define B_BE_LSIG_PARITY_CHK_EN BIT(2) 7263*6d67aabdSBjoern A. Zeeb #define B_BE_CCK_SIG_CHK BIT(1) 7264*6d67aabdSBjoern A. Zeeb #define B_BE_CCK_CRC_CHK BIT(0) 7265*6d67aabdSBjoern A. Zeeb 7266*6d67aabdSBjoern A. Zeeb #define R_BE_RX_FLTR_OPT 0x11420 7267*6d67aabdSBjoern A. Zeeb #define R_BE_RX_FLTR_OPT_C1 0x15420 7268*6d67aabdSBjoern A. Zeeb #define B_BE_UID_FILTER_MASK GENMASK(31, 24) 7269*6d67aabdSBjoern A. Zeeb #define B_BE_UNSPT_TYPE BIT(22) 7270*6d67aabdSBjoern A. Zeeb #define B_BE_RX_MPDU_MAX_LEN_MASK GENMASK(21, 16) 7271*6d67aabdSBjoern A. Zeeb #define B_BE_A_FTM_REQ BIT(14) 7272*6d67aabdSBjoern A. Zeeb #define B_BE_A_ERR_PKT BIT(13) 7273*6d67aabdSBjoern A. Zeeb #define B_BE_A_UNSUP_PKT BIT(12) 7274*6d67aabdSBjoern A. Zeeb #define B_BE_A_CRC32_ERR BIT(11) 7275*6d67aabdSBjoern A. Zeeb #define B_BE_A_BCN_CHK_RULE_MASK GENMASK(9, 8) 7276*6d67aabdSBjoern A. Zeeb #define B_BE_A_BCN_CHK_EN BIT(7) 7277*6d67aabdSBjoern A. Zeeb #define B_BE_A_MC_LIST_CAM_MATCH BIT(6) 7278*6d67aabdSBjoern A. Zeeb #define B_BE_A_BC_CAM_MATCH BIT(5) 7279*6d67aabdSBjoern A. Zeeb #define B_BE_A_UC_CAM_MATCH BIT(4) 7280*6d67aabdSBjoern A. Zeeb #define B_BE_A_MC BIT(3) 7281*6d67aabdSBjoern A. Zeeb #define B_BE_A_BC BIT(2) 7282*6d67aabdSBjoern A. Zeeb #define B_BE_A_A1_MATCH BIT(1) 7283*6d67aabdSBjoern A. Zeeb #define B_BE_SNIFFER_MODE BIT(0) 7284*6d67aabdSBjoern A. Zeeb 7285*6d67aabdSBjoern A. Zeeb #define R_BE_CTRL_FLTR 0x11424 7286*6d67aabdSBjoern A. Zeeb #define R_BE_CTRL_FLTR_C1 0x15424 7287*6d67aabdSBjoern A. Zeeb #define B_BE_CTRL_STYPE_MASK GENMASK(15, 0) 7288*6d67aabdSBjoern A. Zeeb #define RX_FLTR_FRAME_DROP_BE 0x0000 7289*6d67aabdSBjoern A. Zeeb #define RX_FLTR_FRAME_ACCEPT_BE 0xFFFF 7290*6d67aabdSBjoern A. Zeeb 7291*6d67aabdSBjoern A. Zeeb #define R_BE_MGNT_FLTR 0x11428 7292*6d67aabdSBjoern A. Zeeb #define R_BE_MGNT_FLTR_C1 0x15428 7293*6d67aabdSBjoern A. Zeeb #define B_BE_MGNT_STYPE_MASK GENMASK(15, 0) 7294*6d67aabdSBjoern A. Zeeb 7295*6d67aabdSBjoern A. Zeeb #define R_BE_DATA_FLTR 0x1142C 7296*6d67aabdSBjoern A. Zeeb #define R_BE_DATA_FLTR_C1 0x1542C 7297*6d67aabdSBjoern A. Zeeb #define B_BE_DATA_STYPE_MASK GENMASK(15, 0) 7298*6d67aabdSBjoern A. Zeeb 7299*6d67aabdSBjoern A. Zeeb #define R_BE_ADDR_CAM_CTRL 0x11434 7300*6d67aabdSBjoern A. Zeeb #define R_BE_ADDR_CAM_CTRL_C1 0x15434 7301*6d67aabdSBjoern A. Zeeb #define B_BE_ADDR_CAM_RANGE_MASK GENMASK(23, 16) 7302*6d67aabdSBjoern A. Zeeb #define ADDR_CAM_SERCH_RANGE 0x7f 7303*6d67aabdSBjoern A. Zeeb #define B_BE_ADDR_CAM_CMPLIMT_MASK GENMASK(15, 12) 7304*6d67aabdSBjoern A. Zeeb #define B_BE_ADDR_CAM_IORST BIT(10) 7305*6d67aabdSBjoern A. Zeeb #define B_BE_DIS_ADDR_CLK_GATED BIT(9) 7306*6d67aabdSBjoern A. Zeeb #define B_BE_ADDR_CAM_CLR BIT(8) 7307*6d67aabdSBjoern A. Zeeb #define B_BE_ADDR_CAM_A2_B0_CHK BIT(2) 7308*6d67aabdSBjoern A. Zeeb #define B_BE_ADDR_CAM_SRCH_PERPKT BIT(1) 7309*6d67aabdSBjoern A. Zeeb #define B_BE_ADDR_CAM_EN BIT(0) 7310*6d67aabdSBjoern A. Zeeb 7311*6d67aabdSBjoern A. Zeeb #define R_BE_RESPBA_CAM_CTRL 0x1143C 7312*6d67aabdSBjoern A. Zeeb #define R_BE_RESPBA_CAM_CTRL_C1 0x1543C 7313*6d67aabdSBjoern A. Zeeb #define B_BE_BACAM_SKIP_ALL_QOSNULL BIT(24) 7314*6d67aabdSBjoern A. Zeeb #define B_BE_BACAM_STD_SSN_SEL BIT(20) 7315*6d67aabdSBjoern A. Zeeb #define B_BE_BACAM_TEMP_SZ_MASK GENMASK(17, 16) 7316*6d67aabdSBjoern A. Zeeb #define B_BE_BACAM_RST_IDX_MASK GENMASK(15, 8) 7317*6d67aabdSBjoern A. Zeeb #define B_BE_BACAM_SHIFT_POLL BIT(7) 7318*6d67aabdSBjoern A. Zeeb #define B_BE_BACAM_IORST BIT(6) 7319*6d67aabdSBjoern A. Zeeb #define B_BE_BACAM_GCK_DIS BIT(5) 7320*6d67aabdSBjoern A. Zeeb #define B_BE_COMPL_VAL BIT(3) 7321*6d67aabdSBjoern A. Zeeb #define B_BE_SSN_SEL BIT(2) 7322*6d67aabdSBjoern A. Zeeb #define B_BE_BACAM_RST_MASK GENMASK(1, 0) 7323*6d67aabdSBjoern A. Zeeb #define S_BE_BACAM_RST_DONE 0 7324*6d67aabdSBjoern A. Zeeb #define S_BE_BACAM_RST_ENT 1 7325*6d67aabdSBjoern A. Zeeb #define S_BE_BACAM_RST_ALL 2 7326*6d67aabdSBjoern A. Zeeb 7327*6d67aabdSBjoern A. Zeeb #define R_BE_PPDU_STAT 0x11440 7328*6d67aabdSBjoern A. Zeeb #define R_BE_PPDU_STAT_C1 0x15440 7329*6d67aabdSBjoern A. Zeeb #define B_BE_STAT_IORST BIT(13) 7330*6d67aabdSBjoern A. Zeeb #define B_BE_STAT_GCKDIS BIT(12) 7331*6d67aabdSBjoern A. Zeeb #define B_BE_PPDU_STAT_WR_BW_MASK GENMASK(11, 10) 7332*6d67aabdSBjoern A. Zeeb #define B_BE_PPDU_STAT_RPT_TRIG BIT(8) 7333*6d67aabdSBjoern A. Zeeb #define B_BE_PPDU_STAT_RPT_DMA BIT(6) 7334*6d67aabdSBjoern A. Zeeb #define B_BE_PPDU_STAT_RPT_CRC32 BIT(5) 7335*6d67aabdSBjoern A. Zeeb #define B_BE_PPDU_STAT_RPT_ADDR BIT(4) 7336*6d67aabdSBjoern A. Zeeb #define B_BE_APP_PLCP_HDR_RPT BIT(3) 7337*6d67aabdSBjoern A. Zeeb #define B_BE_APP_RX_CNT_RPT BIT(2) 7338*6d67aabdSBjoern A. Zeeb #define B_BE_PPDU_MAC_INFO BIT(1) 7339*6d67aabdSBjoern A. Zeeb #define B_BE_PPDU_STAT_RPT_EN BIT(0) 7340*6d67aabdSBjoern A. Zeeb 7341*6d67aabdSBjoern A. Zeeb #define R_BE_RX_SR_CTRL 0x1144A 7342*6d67aabdSBjoern A. Zeeb #define R_BE_RX_SR_CTRL_C1 0x1544A 7343*6d67aabdSBjoern A. Zeeb #define B_BE_SR_OP_MODE_MASK GENMASK(5, 4) 7344*6d67aabdSBjoern A. Zeeb #define B_BE_SRG_CHK_EN BIT(2) 7345*6d67aabdSBjoern A. Zeeb #define B_BE_SR_CTRL_PLCP_EN BIT(1) 7346*6d67aabdSBjoern A. Zeeb #define B_BE_SR_EN BIT(0) 7347*6d67aabdSBjoern A. Zeeb 7348*6d67aabdSBjoern A. Zeeb #define R_BE_BSSID_SRC_CTRL 0x1144B 7349*6d67aabdSBjoern A. Zeeb #define R_BE_BSSID_SRC_CTRL_C1 0x1544B 7350*6d67aabdSBjoern A. Zeeb #define B_BE_BSSID_MATCH BIT(3) 7351*6d67aabdSBjoern A. Zeeb #define B_BE_PARTIAL_AID_MATCH BIT(2) 7352*6d67aabdSBjoern A. Zeeb #define B_BE_BSSCOLOR_MATCH BIT(1) 7353*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_SRC_EN BIT(0) 7354*6d67aabdSBjoern A. Zeeb 7355*6d67aabdSBjoern A. Zeeb #define R_BE_CSIRPT_OPTION 0x11464 7356*6d67aabdSBjoern A. Zeeb #define R_BE_CSIRPT_OPTION_C1 0x15464 7357*6d67aabdSBjoern A. Zeeb #define B_BE_CSIPRT_EHTSU_AID_EN BIT(26) 7358*6d67aabdSBjoern A. Zeeb #define B_BE_CSIPRT_HESU_AID_EN BIT(25) 7359*6d67aabdSBjoern A. Zeeb #define B_BE_CSIPRT_VHTSU_AID_EN BIT(24) 7360*6d67aabdSBjoern A. Zeeb 7361*6d67aabdSBjoern A. Zeeb #define R_BE_RX_ERR_ISR 0x114F4 7362*6d67aabdSBjoern A. Zeeb #define R_BE_RX_ERR_ISR_C1 0x154F4 7363*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERR_TRIG_ACT_TO BIT(9) 7364*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERR_STS_ACT_TO BIT(8) 7365*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERR_CSI_ACT_TO BIT(7) 7366*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERR_ACT_TO BIT(6) 7367*6d67aabdSBjoern A. Zeeb #define B_BE_CSI_DATAON_ASSERT_TO BIT(5) 7368*6d67aabdSBjoern A. Zeeb #define B_BE_DATAON_ASSERT_TO BIT(4) 7369*6d67aabdSBjoern A. Zeeb #define B_BE_CCA_ASSERT_TO BIT(3) 7370*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERR_DMA_TO BIT(2) 7371*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERR_DATA_TO BIT(1) 7372*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERR_CCA_TO BIT(0) 7373*6d67aabdSBjoern A. Zeeb 7374*6d67aabdSBjoern A. Zeeb #define R_BE_RX_ERR_IMR 0x114F8 7375*6d67aabdSBjoern A. Zeeb #define R_BE_RX_ERR_IMR_C1 0x154F8 7376*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERR_TRIG_ACT_TO_MSK BIT(9) 7377*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERR_STS_ACT_TO_MSK BIT(8) 7378*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERR_CSI_ACT_TO_MSK BIT(7) 7379*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERR_ACT_TO_MSK BIT(6) 7380*6d67aabdSBjoern A. Zeeb #define B_BE_CSI_DATAON_ASSERT_TO_MSK BIT(5) 7381*6d67aabdSBjoern A. Zeeb #define B_BE_DATAON_ASSERT_TO_MSK BIT(4) 7382*6d67aabdSBjoern A. Zeeb #define B_BE_CCA_ASSERT_TO_MSK BIT(3) 7383*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERR_DMA_TO_MSK BIT(2) 7384*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERR_DATA_TO_MSK BIT(1) 7385*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERR_CCA_TO_MSK BIT(0) 7386*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERR_IMR_CLR (B_BE_RX_ERR_CCA_TO_MSK | \ 7387*6d67aabdSBjoern A. Zeeb B_BE_RX_ERR_DATA_TO_MSK | \ 7388*6d67aabdSBjoern A. Zeeb B_BE_RX_ERR_DMA_TO_MSK | \ 7389*6d67aabdSBjoern A. Zeeb B_BE_CCA_ASSERT_TO_MSK | \ 7390*6d67aabdSBjoern A. Zeeb B_BE_DATAON_ASSERT_TO_MSK | \ 7391*6d67aabdSBjoern A. Zeeb B_BE_CSI_DATAON_ASSERT_TO_MSK | \ 7392*6d67aabdSBjoern A. Zeeb B_BE_RX_ERR_ACT_TO_MSK | \ 7393*6d67aabdSBjoern A. Zeeb B_BE_RX_ERR_CSI_ACT_TO_MSK | \ 7394*6d67aabdSBjoern A. Zeeb B_BE_RX_ERR_STS_ACT_TO_MSK | \ 7395*6d67aabdSBjoern A. Zeeb B_BE_RX_ERR_TRIG_ACT_TO_MSK) 7396*6d67aabdSBjoern A. Zeeb #define B_BE_RX_ERR_IMR_SET (B_BE_RX_ERR_ACT_TO_MSK | \ 7397*6d67aabdSBjoern A. Zeeb B_BE_RX_ERR_STS_ACT_TO_MSK | \ 7398*6d67aabdSBjoern A. Zeeb B_BE_RX_ERR_TRIG_ACT_TO_MSK) 7399*6d67aabdSBjoern A. Zeeb 7400*6d67aabdSBjoern A. Zeeb #define R_BE_RX_PLCP_EXT_OPTION_1 0x11514 7401*6d67aabdSBjoern A. Zeeb #define R_BE_RX_PLCP_EXT_OPTION_1_C1 0x15514 7402*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_CLOSE_RX_UNSPUUORT BIT(19) 7403*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_CLOSE_RX_BB_BRK BIT(18) 7404*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_CLOSE_RX_PSDU_PRES BIT(17) 7405*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_CLOSE_RX_NDP BIT(16) 7406*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_NSS_SRC BIT(11) 7407*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_DOPPLEB_BE_SRC BIT(10) 7408*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_STBC_SRC BIT(9) 7409*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_SU_PSDU_LEN_SRC BIT(8) 7410*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_RXSB_SRC BIT(7) 7411*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_BW_SRC_MASK GENMASK(6, 5) 7412*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_GILTF_SRC BIT(4) 7413*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_NSTS_SRC BIT(3) 7414*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_MCS_SRC BIT(2) 7415*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_CH20_WIDATA_SRC BIT(1) 7416*6d67aabdSBjoern A. Zeeb #define B_BE_PLCP_PPDU_TYPE_SRC BIT(0) 7417*6d67aabdSBjoern A. Zeeb 7418*6d67aabdSBjoern A. Zeeb #define R_BE_RESP_CSI_RESERVED_PAGE 0x11810 7419*6d67aabdSBjoern A. Zeeb #define R_BE_RESP_CSI_RESERVED_PAGE_C1 0x15810 7420*6d67aabdSBjoern A. Zeeb #define B_BE_CSI_RESERVED_PAGE_NUM_MASK GENMASK(27, 16) 7421*6d67aabdSBjoern A. Zeeb #define B_BE_CSI_RESERVED_START_PAGE_MASK GENMASK(11, 0) 7422*6d67aabdSBjoern A. Zeeb 7423*6d67aabdSBjoern A. Zeeb #define R_BE_RESP_IMR 0x11884 7424*6d67aabdSBjoern A. Zeeb #define R_BE_RESP_IMR_C1 0x15884 7425*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_TBL_FLAG_ERR_ISR_EN BIT(17) 7426*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_SEC_DOUBLE_HIT_ERR_ISR_EN BIT(16) 7427*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_WRPTR_CROSS_ERR_ISR_EN BIT(15) 7428*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_TOO_MANY_PLD_ERR_ISR_EN BIT(14) 7429*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_TXDMA_READ_DATA_ERR_ISR_EN BIT(13) 7430*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_PLDID_RDY_ERR_ISR_EN BIT(12) 7431*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_RX_OVERWRITE_ERR_ISR_EN BIT(11) 7432*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_RXDMA_WRPTR_INVLD_ERR_ISR_EN BIT(10) 7433*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_RXDMA_REQ_INVLD_ERR_ISR_EN BIT(9) 7434*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_RXDMA_REQ_MACID_ERR_ISR_EN BIT(8) 7435*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_TXCMD_TX_ST_ABORT_ERR_ISR_EN BIT(6) 7436*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_TXCMD_DMAC_PROC_ERR_ISR_EN BIT(5) 7437*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_TXCMD_TBL_ERR_ISR_EN BIT(4) 7438*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_INITCMD_RX_ST_ABORT_ERR_ISR_EN BIT(3) 7439*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_INITCMD_RESERVD_PAGE_ABORT_ERR_ISR_EN BIT(2) 7440*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_INITCMD_TX_ST_ABORT_ERR_ISR_EN BIT(1) 7441*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_DMAC_PROC_ERR_ISR_EN BIT(0) 7442*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_IMR_CLR (B_BE_RESP_DMAC_PROC_ERR_ISR_EN | \ 7443*6d67aabdSBjoern A. Zeeb B_BE_RESP_INITCMD_TX_ST_ABORT_ERR_ISR_EN | \ 7444*6d67aabdSBjoern A. Zeeb B_BE_RESP_INITCMD_RX_ST_ABORT_ERR_ISR_EN | \ 7445*6d67aabdSBjoern A. Zeeb B_BE_RESP_TXCMD_TBL_ERR_ISR_EN | \ 7446*6d67aabdSBjoern A. Zeeb B_BE_RESP_TXCMD_DMAC_PROC_ERR_ISR_EN | \ 7447*6d67aabdSBjoern A. Zeeb B_BE_RESP_TXCMD_TX_ST_ABORT_ERR_ISR_EN | \ 7448*6d67aabdSBjoern A. Zeeb B_BE_RESP_RXDMA_REQ_MACID_ERR_ISR_EN | \ 7449*6d67aabdSBjoern A. Zeeb B_BE_RESP_RXDMA_REQ_INVLD_ERR_ISR_EN | \ 7450*6d67aabdSBjoern A. Zeeb B_BE_RESP_RXDMA_WRPTR_INVLD_ERR_ISR_EN | \ 7451*6d67aabdSBjoern A. Zeeb B_BE_RESP_RX_OVERWRITE_ERR_ISR_EN | \ 7452*6d67aabdSBjoern A. Zeeb B_BE_RESP_PLDID_RDY_ERR_ISR_EN | \ 7453*6d67aabdSBjoern A. Zeeb B_BE_RESP_TXDMA_READ_DATA_ERR_ISR_EN | \ 7454*6d67aabdSBjoern A. Zeeb B_BE_RESP_TOO_MANY_PLD_ERR_ISR_EN | \ 7455*6d67aabdSBjoern A. Zeeb B_BE_RESP_WRPTR_CROSS_ERR_ISR_EN | \ 7456*6d67aabdSBjoern A. Zeeb B_BE_RESP_SEC_DOUBLE_HIT_ERR_ISR_EN) 7457*6d67aabdSBjoern A. Zeeb #define B_BE_RESP_IMR_SET (B_BE_RESP_DMAC_PROC_ERR_ISR_EN | \ 7458*6d67aabdSBjoern A. Zeeb B_BE_RESP_INITCMD_TX_ST_ABORT_ERR_ISR_EN | \ 7459*6d67aabdSBjoern A. Zeeb B_BE_RESP_INITCMD_RX_ST_ABORT_ERR_ISR_EN | \ 7460*6d67aabdSBjoern A. Zeeb B_BE_RESP_TXCMD_TBL_ERR_ISR_EN | \ 7461*6d67aabdSBjoern A. Zeeb B_BE_RESP_TXCMD_DMAC_PROC_ERR_ISR_EN | \ 7462*6d67aabdSBjoern A. Zeeb B_BE_RESP_TXCMD_TX_ST_ABORT_ERR_ISR_EN | \ 7463*6d67aabdSBjoern A. Zeeb B_BE_RESP_RX_OVERWRITE_ERR_ISR_EN | \ 7464*6d67aabdSBjoern A. Zeeb B_BE_RESP_PLDID_RDY_ERR_ISR_EN | \ 7465*6d67aabdSBjoern A. Zeeb B_BE_RESP_WRPTR_CROSS_ERR_ISR_EN | \ 7466*6d67aabdSBjoern A. Zeeb B_BE_RESP_SEC_DOUBLE_HIT_ERR_ISR_EN) 7467*6d67aabdSBjoern A. Zeeb 7468*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_MODULE 0x11900 7469*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_MODULE_C1 0x15900 7470*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_LISTEN_PATH 0x11988 7471*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_LISTEN_PATH_EN GENMASK(31, 28) 7472*6d67aabdSBjoern A. Zeeb 7473*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_REF_CTRL 0x11A20 7474*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_REF_CTRL_OFDM GENMASK(9, 1) 7475*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_REF_CTRL_CCK GENMASK(18, 10) 7476*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_OFST_LMT_DB GENMASK(27, 19) 7477*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_OFST_LMTBF 0x11A24 7478*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_OFST_LMTBF_DB GENMASK(8, 0) 7479*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_FORCE_LMT 0x11A28 7480*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_FORCE_LMT_ON BIT(6) 7481*6d67aabdSBjoern A. Zeeb 7482*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_RATE_CTRL 0x11A2C 7483*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_OFST_BYRATE_DB GENMASK(8, 0) 7484*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_PWR_BY_RATE_EN BIT(19) 7485*6d67aabdSBjoern A. Zeeb #define B_BE_FORCE_PWR_BY_RATE_VAL GENMASK(28, 20) 7486*6d67aabdSBjoern A. Zeeb 7487*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_RATE_OFST_CTRL 0x11A30 7488*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_RATE_OFST_END 0x11A38 7489*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_RULMT_START 0x12048 7490*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_RULMT_END 0x120e4 7491*6d67aabdSBjoern A. Zeeb 7492*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_BOOST 0x11A40 7493*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_CTRL_SEL BIT(16) 7494*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_FORCE_RATE_ON BIT(29) 7495*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_OFST_RULMT 0x11A44 7496*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_OFST_RULMT_DB GENMASK(17, 9) 7497*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_FORCE_RU_ON BIT(18) 7498*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_FORCE_RU_ENON BIT(28) 7499*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_FORCE_MACID 0x11A48 7500*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_FORCE_MACID_ON BIT(9) 7501*6d67aabdSBjoern A. Zeeb 7502*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_REG_CTRL 0x11A50 7503*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_BT_EN BIT(23) 7504*6d67aabdSBjoern A. Zeeb 7505*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_COEX_CTRL 0x11A54 7506*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_BT_VAL GENMASK(8, 0) 7507*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_FORCE_COEX_ON GENMASK(29, 27) 7508*6d67aabdSBjoern A. Zeeb 7509*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_TH 0x11A78 7510*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_RSSI_TARGET_LMT 0x11A84 7511*6d67aabdSBjoern A. Zeeb 7512*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_OFST_SW 0x11AE8 7513*6d67aabdSBjoern A. Zeeb #define B_BE_PWR_OFST_SW_DB GENMASK(27, 24) 7514*6d67aabdSBjoern A. Zeeb 7515*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_FTM 0x11B00 7516*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_FTM_SS 0x11B04 7517*6d67aabdSBjoern A. Zeeb 7518*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_BY_RATE 0x11E00 7519*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_BY_RATE_MAX 0x11FA8 7520*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_LMT 0x11FAC 7521*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_LMT_MAX 0x12040 7522*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_BY_RATE_END 0x12044 7523*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_RU_LMT 0x12048 7524*6d67aabdSBjoern A. Zeeb #define R_BE_PWR_RU_LMT_MAX 0x120E4 7525*6d67aabdSBjoern A. Zeeb 7526*6d67aabdSBjoern A. Zeeb #define R_BE_C0_TXPWR_IMR 0x128E0 7527*6d67aabdSBjoern A. Zeeb #define R_BE_C0_TXPWR_IMR_C1 0x168E0 7528*6d67aabdSBjoern A. Zeeb #define B_BE_FSM_TIMEOUT_ERR_INT_EN BIT(0) 7529*6d67aabdSBjoern A. Zeeb #define B_BE_C0_TXPWR_IMR_CLR B_BE_FSM_TIMEOUT_ERR_INT_EN 7530*6d67aabdSBjoern A. Zeeb #define B_BE_C0_TXPWR_IMR_SET B_BE_FSM_TIMEOUT_ERR_INT_EN 7531*6d67aabdSBjoern A. Zeeb 7532*6d67aabdSBjoern A. Zeeb #define R_BE_TXPWR_ERR_FLAG 0x128E4 7533*6d67aabdSBjoern A. Zeeb #define R_BE_TXPWR_ERR_IMR 0x128E0 7534*6d67aabdSBjoern A. Zeeb #define R_BE_TXPWR_ERR_FLAG_C1 0x158E4 7535*6d67aabdSBjoern A. Zeeb #define R_BE_TXPWR_ERR_IMR_C1 0x158E0 7536*6d67aabdSBjoern A. Zeeb 7537*6d67aabdSBjoern A. Zeeb #define CMAC1_START_ADDR_BE 0x14000 7538*6d67aabdSBjoern A. Zeeb #define CMAC1_END_ADDR_BE 0x17FFF 7539*6d67aabdSBjoern A. Zeeb 75408e93258fSBjoern A. Zeeb #define RR_MOD 0x00 75418e93258fSBjoern A. Zeeb #define RR_MOD_V1 0x10000 75428e93258fSBjoern A. Zeeb #define RR_MOD_IQK GENMASK(19, 4) 75438e93258fSBjoern A. Zeeb #define RR_MOD_DPK GENMASK(19, 5) 75448e93258fSBjoern A. Zeeb #define RR_MOD_MASK GENMASK(19, 16) 7545e2340276SBjoern A. Zeeb #define RR_MOD_DCK GENMASK(14, 10) 7546e2340276SBjoern A. Zeeb #define RR_MOD_RGM GENMASK(13, 4) 7547e2340276SBjoern A. Zeeb #define RR_MOD_RXB GENMASK(9, 5) 75488e93258fSBjoern A. Zeeb #define RR_MOD_V_DOWN 0x0 75498e93258fSBjoern A. Zeeb #define RR_MOD_V_STANDBY 0x1 7550e2340276SBjoern A. Zeeb #define RR_TXAGC 0x10001 75518e93258fSBjoern A. Zeeb #define RR_MOD_V_TX 0x2 75528e93258fSBjoern A. Zeeb #define RR_MOD_V_RX 0x3 75538e93258fSBjoern A. Zeeb #define RR_MOD_V_TXIQK 0x4 75548e93258fSBjoern A. Zeeb #define RR_MOD_V_DPK 0x5 75558e93258fSBjoern A. Zeeb #define RR_MOD_V_RXK1 0x6 75568e93258fSBjoern A. Zeeb #define RR_MOD_V_RXK2 0x7 75578e93258fSBjoern A. Zeeb #define RR_MOD_NBW GENMASK(15, 14) 75588e93258fSBjoern A. Zeeb #define RR_MOD_M_RXG GENMASK(13, 4) 75598e93258fSBjoern A. Zeeb #define RR_MOD_M_RXBB GENMASK(9, 5) 7560e2340276SBjoern A. Zeeb #define RR_MOD_LO_SEL BIT(1) 75618e93258fSBjoern A. Zeeb #define RR_MODOPT 0x01 7562*6d67aabdSBjoern A. Zeeb #define RR_TXG_SEL GENMASK(19, 17) 75638e93258fSBjoern A. Zeeb #define RR_MODOPT_M_TXPWR GENMASK(5, 0) 75648e93258fSBjoern A. Zeeb #define RR_WLSEL 0x02 75658e93258fSBjoern A. Zeeb #define RR_WLSEL_AG GENMASK(18, 16) 75668e93258fSBjoern A. Zeeb #define RR_RSV1 0x05 75678e93258fSBjoern A. Zeeb #define RR_RSV1_RST BIT(0) 75688e93258fSBjoern A. Zeeb #define RR_BBDC 0x10005 75698e93258fSBjoern A. Zeeb #define RR_BBDC_SEL BIT(0) 75708e93258fSBjoern A. Zeeb #define RR_DTXLOK 0x08 75718e93258fSBjoern A. Zeeb #define RR_RSV2 0x09 75728e93258fSBjoern A. Zeeb #define RR_LOKVB 0x0a 75738e93258fSBjoern A. Zeeb #define RR_LOKVB_COI GENMASK(19, 14) 75748e93258fSBjoern A. Zeeb #define RR_LOKVB_COQ GENMASK(9, 4) 75758e93258fSBjoern A. Zeeb #define RR_TXIG 0x11 75768e93258fSBjoern A. Zeeb #define RR_TXIG_TG GENMASK(16, 12) 75778e93258fSBjoern A. Zeeb #define RR_TXIG_GR1 GENMASK(6, 4) 75788e93258fSBjoern A. Zeeb #define RR_TXIG_GR0 GENMASK(1, 0) 75798e93258fSBjoern A. Zeeb #define RR_CHTR 0x17 75808e93258fSBjoern A. Zeeb #define RR_CHTR_MOD GENMASK(11, 10) 75818e93258fSBjoern A. Zeeb #define RR_CHTR_TXRX GENMASK(9, 0) 75828e93258fSBjoern A. Zeeb #define RR_CFGCH 0x18 75838e93258fSBjoern A. Zeeb #define RR_CFGCH_V1 0x10018 75848e93258fSBjoern A. Zeeb #define RR_CFGCH_BAND1 GENMASK(17, 16) 75858e93258fSBjoern A. Zeeb #define CFGCH_BAND1_2G 0 75868e93258fSBjoern A. Zeeb #define CFGCH_BAND1_5G 1 75878e93258fSBjoern A. Zeeb #define CFGCH_BAND1_6G 3 7588e2340276SBjoern A. Zeeb #define RR_CFGCH_POW_LCK BIT(15) 7589e2340276SBjoern A. Zeeb #define RR_CFGCH_TRX_AH BIT(14) 7590e2340276SBjoern A. Zeeb #define RR_CFGCH_BCN BIT(13) 7591e2340276SBjoern A. Zeeb #define RR_CFGCH_BW2 BIT(12) 75928e93258fSBjoern A. Zeeb #define RR_CFGCH_BAND0 GENMASK(9, 8) 75938e93258fSBjoern A. Zeeb #define CFGCH_BAND0_2G 0 75948e93258fSBjoern A. Zeeb #define CFGCH_BAND0_5G 1 75958e93258fSBjoern A. Zeeb #define CFGCH_BAND0_6G 0 7596*6d67aabdSBjoern A. Zeeb #define RR_CFGCH_BW_V2 GENMASK(12, 10) 7597*6d67aabdSBjoern A. Zeeb #define CFGCH_BW_V2_20M 0 7598*6d67aabdSBjoern A. Zeeb #define CFGCH_BW_V2_40M 1 7599*6d67aabdSBjoern A. Zeeb #define CFGCH_BW_V2_80M 2 7600*6d67aabdSBjoern A. Zeeb #define CFGCH_BW_V2_160M 3 7601*6d67aabdSBjoern A. Zeeb #define CFGCH_BW_V2_320M 4 76028e93258fSBjoern A. Zeeb #define RR_CFGCH_BW GENMASK(11, 10) 76038e93258fSBjoern A. Zeeb #define RR_CFGCH_CH GENMASK(7, 0) 76048e93258fSBjoern A. Zeeb #define CFGCH_BW_20M 3 76058e93258fSBjoern A. Zeeb #define CFGCH_BW_40M 2 76068e93258fSBjoern A. Zeeb #define CFGCH_BW_80M 1 76078e93258fSBjoern A. Zeeb #define CFGCH_BW_160M 0 76088e93258fSBjoern A. Zeeb #define RR_APK 0x19 76098e93258fSBjoern A. Zeeb #define RR_APK_MOD GENMASK(5, 4) 76108e93258fSBjoern A. Zeeb #define RR_BTC 0x1a 76118e93258fSBjoern A. Zeeb #define RR_BTC_TXBB GENMASK(14, 12) 76128e93258fSBjoern A. Zeeb #define RR_BTC_RXBB GENMASK(11, 10) 76138e93258fSBjoern A. Zeeb #define RR_RCKC 0x1b 76148e93258fSBjoern A. Zeeb #define RR_RCKC_CA GENMASK(14, 10) 76158e93258fSBjoern A. Zeeb #define RR_RCKS 0x1c 76168e93258fSBjoern A. Zeeb #define RR_RCKO 0x1d 76178e93258fSBjoern A. Zeeb #define RR_RCKO_OFF GENMASK(13, 9) 76188e93258fSBjoern A. Zeeb #define RR_RXKPLL 0x1e 76198e93258fSBjoern A. Zeeb #define RR_RXKPLL_OFF GENMASK(5, 0) 76208e93258fSBjoern A. Zeeb #define RR_RXKPLL_POW BIT(19) 76218e93258fSBjoern A. Zeeb #define RR_RSV4 0x1f 76228e93258fSBjoern A. Zeeb #define RR_RSV4_AGH GENMASK(17, 16) 76238e93258fSBjoern A. Zeeb #define RR_RSV4_PLLCH GENMASK(9, 0) 76248e93258fSBjoern A. Zeeb #define RR_RXK 0x20 76258e93258fSBjoern A. Zeeb #define RR_RXK_SEL2G BIT(8) 76268e93258fSBjoern A. Zeeb #define RR_RXK_SEL5G BIT(7) 76278e93258fSBjoern A. Zeeb #define RR_RXK_PLLEN BIT(5) 76288e93258fSBjoern A. Zeeb #define RR_LUTWA 0x33 76298e93258fSBjoern A. Zeeb #define RR_LUTWA_MASK GENMASK(9, 0) 7630e2340276SBjoern A. Zeeb #define RR_LUTWA_M1 GENMASK(7, 0) 76318e93258fSBjoern A. Zeeb #define RR_LUTWA_M2 GENMASK(4, 0) 76328e93258fSBjoern A. Zeeb #define RR_LUTWD1 0x3e 76338e93258fSBjoern A. Zeeb #define RR_LUTWD0 0x3f 7634e2340276SBjoern A. Zeeb #define RR_LUTWD0_MB GENMASK(11, 6) 76358e93258fSBjoern A. Zeeb #define RR_LUTWD0_LB GENMASK(5, 0) 76368e93258fSBjoern A. Zeeb #define RR_TM 0x42 76378e93258fSBjoern A. Zeeb #define RR_TM_TRI BIT(19) 7638*6d67aabdSBjoern A. Zeeb #define RR_TM_VAL_V1 GENMASK(7, 0) 76398e93258fSBjoern A. Zeeb #define RR_TM_VAL GENMASK(6, 1) 76408e93258fSBjoern A. Zeeb #define RR_TM2 0x43 76418e93258fSBjoern A. Zeeb #define RR_TM2_OFF GENMASK(19, 16) 76428e93258fSBjoern A. Zeeb #define RR_TXG1 0x51 76438e93258fSBjoern A. Zeeb #define RR_TXG1_ATT2 BIT(19) 76448e93258fSBjoern A. Zeeb #define RR_TXG1_ATT1 BIT(11) 76458e93258fSBjoern A. Zeeb #define RR_TXG2 0x52 76468e93258fSBjoern A. Zeeb #define RR_TXG2_ATT0 BIT(11) 76478e93258fSBjoern A. Zeeb #define RR_BSPAD 0x54 76488e93258fSBjoern A. Zeeb #define RR_TXGA 0x55 76498e93258fSBjoern A. Zeeb #define RR_TXGA_TRK_EN BIT(7) 76508e93258fSBjoern A. Zeeb #define RR_TXGA_LOK_EXT GENMASK(4, 0) 76518e93258fSBjoern A. Zeeb #define RR_TXGA_LOK_EN BIT(0) 7652e2340276SBjoern A. Zeeb #define RR_TXGA_V1 0x10055 7653e2340276SBjoern A. Zeeb #define RR_TXGA_V1_TRK_EN BIT(7) 76548e93258fSBjoern A. Zeeb #define RR_GAINTX 0x56 76558e93258fSBjoern A. Zeeb #define RR_GAINTX_ALL GENMASK(15, 0) 76568e93258fSBjoern A. Zeeb #define RR_GAINTX_PAD GENMASK(9, 5) 76578e93258fSBjoern A. Zeeb #define RR_GAINTX_BB GENMASK(4, 0) 76588e93258fSBjoern A. Zeeb #define RR_TXMO 0x58 76598e93258fSBjoern A. Zeeb #define RR_TXMO_COI GENMASK(19, 15) 76608e93258fSBjoern A. Zeeb #define RR_TXMO_COQ GENMASK(14, 10) 76618e93258fSBjoern A. Zeeb #define RR_TXMO_FII GENMASK(9, 6) 76628e93258fSBjoern A. Zeeb #define RR_TXMO_FIQ GENMASK(5, 2) 76638e93258fSBjoern A. Zeeb #define RR_TXA 0x5d 76648e93258fSBjoern A. Zeeb #define RR_TXA_TRK GENMASK(19, 14) 76658e93258fSBjoern A. Zeeb #define RR_TXRSV 0x5c 76668e93258fSBjoern A. Zeeb #define RR_TXRSV_GAPK BIT(19) 76678e93258fSBjoern A. Zeeb #define RR_BIAS 0x5e 76688e93258fSBjoern A. Zeeb #define RR_BIAS_GAPK BIT(19) 7669e2340276SBjoern A. Zeeb #define RR_TXAC 0x5f 7670e2340276SBjoern A. Zeeb #define RR_TXAC_IQG GENMASK(3, 0) 76718e93258fSBjoern A. Zeeb #define RR_BIASA 0x60 76728e93258fSBjoern A. Zeeb #define RR_BIASA_TXA GENMASK(19, 16) 7673*6d67aabdSBjoern A. Zeeb #define RR_BIASA_TXG GENMASK(15, 12) 7674*6d67aabdSBjoern A. Zeeb #define RR_BIASD_TXA_V1 GENMASK(15, 12) 7675*6d67aabdSBjoern A. Zeeb #define RR_BIASA_TXA_V1 GENMASK(11, 8) 7676*6d67aabdSBjoern A. Zeeb #define RR_BIASD_TXG_V1 GENMASK(7, 4) 7677*6d67aabdSBjoern A. Zeeb #define RR_BIASA_TXG_V1 GENMASK(3, 0) 76788e93258fSBjoern A. Zeeb #define RR_BIASA_A GENMASK(2, 0) 76798e93258fSBjoern A. Zeeb #define RR_BIASA2 0x63 76808e93258fSBjoern A. Zeeb #define RR_BIASA2_LB GENMASK(4, 2) 76818e93258fSBjoern A. Zeeb #define RR_TXATANK 0x64 76828e93258fSBjoern A. Zeeb #define RR_TXATANK_LBSW2 GENMASK(17, 15) 76838e93258fSBjoern A. Zeeb #define RR_TXATANK_LBSW GENMASK(16, 15) 76848e93258fSBjoern A. Zeeb #define RR_TXA2 0x65 76858e93258fSBjoern A. Zeeb #define RR_TXA2_LDO GENMASK(19, 16) 76868e93258fSBjoern A. Zeeb #define RR_TRXIQ 0x66 76878e93258fSBjoern A. Zeeb #define RR_RSV6 0x6d 7688e2340276SBjoern A. Zeeb #define RR_TXVBUF 0x7c 7689e2340276SBjoern A. Zeeb #define RR_TXVBUF_DACEN BIT(5) 76908e93258fSBjoern A. Zeeb #define RR_TXPOW 0x7f 76918e93258fSBjoern A. Zeeb #define RR_TXPOW_TXA BIT(8) 76928e93258fSBjoern A. Zeeb #define RR_TXPOW_TXAS BIT(7) 76938e93258fSBjoern A. Zeeb #define RR_TXPOW_TXG BIT(1) 76948e93258fSBjoern A. Zeeb #define RR_RXPOW 0x80 76958e93258fSBjoern A. Zeeb #define RR_RXPOW_IQK GENMASK(17, 16) 76968e93258fSBjoern A. Zeeb #define RR_RXBB 0x83 76978e93258fSBjoern A. Zeeb #define RR_RXBB_VOBUF GENMASK(15, 12) 76988e93258fSBjoern A. Zeeb #define RR_RXBB_C2G GENMASK(16, 10) 7699e2340276SBjoern A. Zeeb #define RR_RXBB_C2 GENMASK(11, 8) 77008e93258fSBjoern A. Zeeb #define RR_RXBB_C1G GENMASK(9, 8) 7701e2340276SBjoern A. Zeeb #define RR_RXBB_FATT GENMASK(7, 0) 77028e93258fSBjoern A. Zeeb #define RR_RXBB_ATTR GENMASK(7, 4) 77038e93258fSBjoern A. Zeeb #define RR_RXBB_ATTC GENMASK(2, 0) 77048e93258fSBjoern A. Zeeb #define RR_RXG 0x84 77058e93258fSBjoern A. Zeeb #define RR_RXG_IQKMOD GENMASK(19, 16) 77068e93258fSBjoern A. Zeeb #define RR_XGLNA2 0x85 77078e93258fSBjoern A. Zeeb #define RR_XGLNA2_SW GENMASK(1, 0) 77088e93258fSBjoern A. Zeeb #define RR_RXAE 0x89 77098e93258fSBjoern A. Zeeb #define RR_RXAE_IQKMOD GENMASK(3, 0) 77108e93258fSBjoern A. Zeeb #define RR_RXA 0x8a 77118e93258fSBjoern A. Zeeb #define RR_RXA_DPK GENMASK(9, 8) 7712e2340276SBjoern A. Zeeb #define RR_RXA_LNA 0x8b 77138e93258fSBjoern A. Zeeb #define RR_RXA2 0x8c 7714e2340276SBjoern A. Zeeb #define RR_RAA2_SATT GENMASK(15, 13) 7715e2340276SBjoern A. Zeeb #define RR_RAA2_SWATT GENMASK(15, 9) 77168e93258fSBjoern A. Zeeb #define RR_RXA2_C1 GENMASK(12, 10) 77178e93258fSBjoern A. Zeeb #define RR_RXA2_C2 GENMASK(9, 3) 7718e2340276SBjoern A. Zeeb #define RR_RXA2_CC2 GENMASK(8, 7) 77198e93258fSBjoern A. Zeeb #define RR_RXA2_IATT GENMASK(7, 4) 7720e2340276SBjoern A. Zeeb #define RR_RXA2_HATT GENMASK(6, 0) 77218e93258fSBjoern A. Zeeb #define RR_RXA2_ATT GENMASK(3, 0) 77228e93258fSBjoern A. Zeeb #define RR_RXIQGEN 0x8d 77238e93258fSBjoern A. Zeeb #define RR_RXIQGEN_ATTL GENMASK(12, 8) 77248e93258fSBjoern A. Zeeb #define RR_RXIQGEN_ATTH GENMASK(14, 13) 77258e93258fSBjoern A. Zeeb #define RR_RXBB2 0x8f 77268e93258fSBjoern A. Zeeb #define RR_RXBB2_DAC_EN BIT(13) 77278e93258fSBjoern A. Zeeb #define RR_RXBB2_CKT BIT(12) 77288e93258fSBjoern A. Zeeb #define RR_EN_TIA_IDA GENMASK(11, 10) 77298e93258fSBjoern A. Zeeb #define RR_RXBB2_IDAC GENMASK(11, 9) 77308e93258fSBjoern A. Zeeb #define RR_RXBB2_EBW GENMASK(6, 5) 77318e93258fSBjoern A. Zeeb #define RR_XALNA2 0x90 7732e2340276SBjoern A. Zeeb #define RR_XALNA2_SW2 GENMASK(9, 8) 77338e93258fSBjoern A. Zeeb #define RR_XALNA2_SW GENMASK(1, 0) 77348e93258fSBjoern A. Zeeb #define RR_DCK 0x92 7735e2340276SBjoern A. Zeeb #define RR_DCK_S1 GENMASK(19, 16) 7736e2340276SBjoern A. Zeeb #define RR_DCK_TIA GENMASK(15, 9) 77378e93258fSBjoern A. Zeeb #define RR_DCK_DONE GENMASK(7, 5) 77388e93258fSBjoern A. Zeeb #define RR_DCK_FINE BIT(1) 77398e93258fSBjoern A. Zeeb #define RR_DCK_LV BIT(0) 77408e93258fSBjoern A. Zeeb #define RR_DCK1 0x93 7741e2340276SBjoern A. Zeeb #define RR_DCK1_S1 GENMASK(19, 16) 7742e2340276SBjoern A. Zeeb #define RR_DCK1_TIA GENMASK(15, 9) 7743e2340276SBjoern A. Zeeb #define RR_DCK1_DONE BIT(5) 77448e93258fSBjoern A. Zeeb #define RR_DCK1_CLR GENMASK(3, 0) 77458e93258fSBjoern A. Zeeb #define RR_DCK1_SEL BIT(3) 77468e93258fSBjoern A. Zeeb #define RR_DCK2 0x94 77478e93258fSBjoern A. Zeeb #define RR_DCK2_CYCLE GENMASK(7, 2) 77488e93258fSBjoern A. Zeeb #define RR_DCKC 0x95 77498e93258fSBjoern A. Zeeb #define RR_DCKC_CHK BIT(3) 77508e93258fSBjoern A. Zeeb #define RR_IQGEN 0x97 77518e93258fSBjoern A. Zeeb #define RR_IQGEN_BIAS GENMASK(11, 8) 77528e93258fSBjoern A. Zeeb #define RR_TXIQK 0x98 77538e93258fSBjoern A. Zeeb #define RR_TXIQK_ATT2 GENMASK(15, 12) 7754e2340276SBjoern A. Zeeb #define RR_TXIQK_ATT1 GENMASK(6, 0) 77558e93258fSBjoern A. Zeeb #define RR_TIA 0x9e 77568e93258fSBjoern A. Zeeb #define RR_TIA_N6 BIT(8) 77578e93258fSBjoern A. Zeeb #define RR_MIXER 0x9f 77588e93258fSBjoern A. Zeeb #define RR_MIXER_GN GENMASK(4, 3) 7759e2340276SBjoern A. Zeeb #define RR_POW 0xa0 7760e2340276SBjoern A. Zeeb #define RR_POW_SYN GENMASK(3, 2) 7761*6d67aabdSBjoern A. Zeeb #define RR_POW_SYN_V1 GENMASK(3, 0) 77628e93258fSBjoern A. Zeeb #define RR_LOGEN 0xa3 77638e93258fSBjoern A. Zeeb #define RR_LOGEN_RPT GENMASK(19, 16) 7764e2340276SBjoern A. Zeeb #define RR_SX 0xaf 7765e2340276SBjoern A. Zeeb #define RR_IBD 0xc9 7766e2340276SBjoern A. Zeeb #define RR_IBD_VAL GENMASK(4, 0) 7767e2340276SBjoern A. Zeeb #define RR_LDO 0xb1 7768e2340276SBjoern A. Zeeb #define RR_LDO_SEL GENMASK(8, 6) 7769e2340276SBjoern A. Zeeb #define RR_VCO 0xb2 7770e2340276SBjoern A. Zeeb #define RR_VCO_SEL GENMASK(9, 8) 7771e2340276SBjoern A. Zeeb #define RR_VCI 0xb3 7772e2340276SBjoern A. Zeeb #define RR_VCI_ON BIT(7) 7773e2340276SBjoern A. Zeeb #define RR_LPF 0xb7 7774e2340276SBjoern A. Zeeb #define RR_LPF_BUSY BIT(8) 77758e93258fSBjoern A. Zeeb #define RR_XTALX2 0xb8 77768e93258fSBjoern A. Zeeb #define RR_MALSEL 0xbe 7777e2340276SBjoern A. Zeeb #define RR_SYNFB 0xc5 7778e2340276SBjoern A. Zeeb #define RR_SYNFB_LK BIT(15) 7779e2340276SBjoern A. Zeeb #define RR_AACK 0xca 7780e2340276SBjoern A. Zeeb #define RR_LCKST 0xcf 7781e2340276SBjoern A. Zeeb #define RR_LCKST_BIN BIT(0) 77828e93258fSBjoern A. Zeeb #define RR_LCK_TRG 0xd3 77838e93258fSBjoern A. Zeeb #define RR_LCK_TRGSEL BIT(8) 7784e2340276SBjoern A. Zeeb #define RR_LCK_ST BIT(4) 7785e2340276SBjoern A. Zeeb #define RR_MMD 0xd5 7786e2340276SBjoern A. Zeeb #define RR_MMD_RST_EN BIT(8) 7787e2340276SBjoern A. Zeeb #define RR_MMD_RST_SYN BIT(6) 7788*6d67aabdSBjoern A. Zeeb #define RR_SMD 0xd6 7789*6d67aabdSBjoern A. Zeeb #define RR_VCO2 BIT(19) 77908e93258fSBjoern A. Zeeb #define RR_IQKPLL 0xdc 77918e93258fSBjoern A. Zeeb #define RR_IQKPLL_MOD GENMASK(9, 8) 7792e2340276SBjoern A. Zeeb #define RR_SYNLUT 0xdd 7793e2340276SBjoern A. Zeeb #define RR_SYNLUT_MOD BIT(4) 77948e93258fSBjoern A. Zeeb #define RR_RCKD 0xde 77958e93258fSBjoern A. Zeeb #define RR_RCKD_POW GENMASK(19, 13) 77968e93258fSBjoern A. Zeeb #define RR_RCKD_BW BIT(2) 77978e93258fSBjoern A. Zeeb #define RR_TXADBG 0xde 77988e93258fSBjoern A. Zeeb #define RR_LUTDBG 0xdf 77998e93258fSBjoern A. Zeeb #define RR_LUTDBG_TIA BIT(12) 78008e93258fSBjoern A. Zeeb #define RR_LUTDBG_LOK BIT(2) 7801e2340276SBjoern A. Zeeb #define RR_LUTPLL 0xec 7802e2340276SBjoern A. Zeeb #define RR_CAL_RW BIT(19) 78038e93258fSBjoern A. Zeeb #define RR_LUTWE2 0xee 78048e93258fSBjoern A. Zeeb #define RR_LUTWE2_RTXBW BIT(2) 7805e2340276SBjoern A. Zeeb #define RR_LUTWE2_DIS BIT(6) 78068e93258fSBjoern A. Zeeb #define RR_LUTWE 0xef 78078e93258fSBjoern A. Zeeb #define RR_LUTWE_LOK BIT(2) 78088e93258fSBjoern A. Zeeb #define RR_RFC 0xf0 7809e2340276SBjoern A. Zeeb #define RR_WCAL BIT(16) 78108e93258fSBjoern A. Zeeb #define RR_RFC_CKEN BIT(1) 78118e93258fSBjoern A. Zeeb 78128e93258fSBjoern A. Zeeb #define R_UPD_P0 0x0000 7813*6d67aabdSBjoern A. Zeeb #define R_BBCLK 0x0000 7814*6d67aabdSBjoern A. Zeeb #define B_CLK_640M BIT(2) 78158e93258fSBjoern A. Zeeb #define R_RSTB_WATCH_DOG 0x000C 78168e93258fSBjoern A. Zeeb #define B_P0_RSTB_WATCH_DOG BIT(0) 78178e93258fSBjoern A. Zeeb #define B_P1_RSTB_WATCH_DOG BIT(1) 78188e93258fSBjoern A. Zeeb #define B_UPD_P0_EN BIT(31) 7819*6d67aabdSBjoern A. Zeeb #define R_EMLSR 0x0044 7820*6d67aabdSBjoern A. Zeeb #define B_EMLSR_PARM GENMASK(27, 12) 7821*6d67aabdSBjoern A. Zeeb #define R_CHK_LPS_STAT 0x0058 7822*6d67aabdSBjoern A. Zeeb #define B_CHK_LPS_STAT BIT(0) 7823*6d67aabdSBjoern A. Zeeb #define R_SPOOF_CG 0x00B4 7824*6d67aabdSBjoern A. Zeeb #define B_SPOOF_CG_EN BIT(17) 7825*6d67aabdSBjoern A. Zeeb #define R_CHINFO_SEG 0x00B4 7826*6d67aabdSBjoern A. Zeeb #define B_CHINFO_SEG_LEN GENMASK(2, 0) 7827*6d67aabdSBjoern A. Zeeb #define B_CHINFO_SEG GENMASK(16, 7) 7828*6d67aabdSBjoern A. Zeeb #define R_DFS_FFT_CG 0x00B8 7829*6d67aabdSBjoern A. Zeeb #define B_DFS_CG_EN BIT(1) 7830*6d67aabdSBjoern A. Zeeb #define B_DFS_FFT_EN BIT(0) 7831*6d67aabdSBjoern A. Zeeb #define R_CHINFO_DATA 0x00C0 7832*6d67aabdSBjoern A. Zeeb #define B_CHINFO_DATA_BITMAP GENMASK(22, 0) 78338e93258fSBjoern A. Zeeb #define R_ANAPAR_PW15 0x030C 78348e93258fSBjoern A. Zeeb #define B_ANAPAR_PW15 GENMASK(31, 24) 78358e93258fSBjoern A. Zeeb #define B_ANAPAR_PW15_H GENMASK(27, 24) 78368e93258fSBjoern A. Zeeb #define B_ANAPAR_PW15_H2 GENMASK(27, 26) 78378e93258fSBjoern A. Zeeb #define R_ANAPAR 0x032C 78388e93258fSBjoern A. Zeeb #define B_ANAPAR_15 GENMASK(31, 16) 7839*6d67aabdSBjoern A. Zeeb #define B_ANAPAR_EN1 BIT(31) 78408e93258fSBjoern A. Zeeb #define B_ANAPAR_ADCCLK BIT(30) 78418e93258fSBjoern A. Zeeb #define B_ANAPAR_FLTRST BIT(22) 78428e93258fSBjoern A. Zeeb #define B_ANAPAR_CRXBB GENMASK(18, 16) 7843e2340276SBjoern A. Zeeb #define B_ANAPAR_EN BIT(16) 78448e93258fSBjoern A. Zeeb #define B_ANAPAR_14 GENMASK(15, 0) 78458e93258fSBjoern A. Zeeb #define R_RFE_E_A2 0x0334 78468e93258fSBjoern A. Zeeb #define R_RFE_O_SEL_A2 0x0338 78478e93258fSBjoern A. Zeeb #define R_RFE_SEL0_A2 0x033C 7848e2340276SBjoern A. Zeeb #define B_RFE_SEL0_MASK GENMASK(1, 0) 78498e93258fSBjoern A. Zeeb #define R_RFE_SEL32_A2 0x0340 7850e2340276SBjoern A. Zeeb #define R_CIRST 0x035c 7851e2340276SBjoern A. Zeeb #define B_CIRST_SYN GENMASK(11, 10) 78528e93258fSBjoern A. Zeeb #define R_SWSI_DATA_V1 0x0370 78538e93258fSBjoern A. Zeeb #define B_SWSI_DATA_VAL_V1 GENMASK(19, 0) 78548e93258fSBjoern A. Zeeb #define B_SWSI_DATA_ADDR_V1 GENMASK(27, 20) 78558e93258fSBjoern A. Zeeb #define B_SWSI_DATA_PATH_V1 GENMASK(30, 28) 78568e93258fSBjoern A. Zeeb #define B_SWSI_DATA_BIT_MASK_EN_V1 BIT(31) 78578e93258fSBjoern A. Zeeb #define R_SWSI_BIT_MASK_V1 0x0374 78588e93258fSBjoern A. Zeeb #define B_SWSI_BIT_MASK_V1 GENMASK(19, 0) 78598e93258fSBjoern A. Zeeb #define R_SWSI_READ_ADDR_V1 0x0378 78608e93258fSBjoern A. Zeeb #define B_SWSI_READ_ADDR_ADDR_V1 GENMASK(7, 0) 78618e93258fSBjoern A. Zeeb #define B_SWSI_READ_ADDR_PATH_V1 GENMASK(10, 8) 78628e93258fSBjoern A. Zeeb #define B_SWSI_READ_ADDR_V1 GENMASK(10, 0) 7863*6d67aabdSBjoern A. Zeeb #define R_BRK_R 0x0418 7864*6d67aabdSBjoern A. Zeeb #define B_VHTMCS_LMT GENMASK(22, 21) 7865*6d67aabdSBjoern A. Zeeb #define B_HTMCS_LMT GENMASK(9, 8) 7866*6d67aabdSBjoern A. Zeeb #define R_BRK_EHT 0x0474 7867*6d67aabdSBjoern A. Zeeb #define B_RXEHT_NSS_MAX GENMASK(4, 2) 7868*6d67aabdSBjoern A. Zeeb #define R_BRK_RXEHT 0x0478 7869*6d67aabdSBjoern A. Zeeb #define B_RXEHT_N_USER_MAX GENMASK(31, 24) 7870*6d67aabdSBjoern A. Zeeb #define B_RXEHTTB_NSS_MAX GENMASK(16, 14) 7871*6d67aabdSBjoern A. Zeeb #define R_EN_SND_WO_NDP 0x047c 7872*6d67aabdSBjoern A. Zeeb #define R_EN_SND_WO_NDP_C1 0x147c 7873*6d67aabdSBjoern A. Zeeb #define B_EN_SND_WO_NDP BIT(1) 7874*6d67aabdSBjoern A. Zeeb #define R_BRK_HE 0x0480 7875*6d67aabdSBjoern A. Zeeb #define B_TB_NSS_MAX GENMASK(25, 23) 7876*6d67aabdSBjoern A. Zeeb #define B_NSS_MAX GENMASK(16, 14) 7877*6d67aabdSBjoern A. Zeeb #define B_N_USR_MAX GENMASK(13, 6) 7878*6d67aabdSBjoern A. Zeeb #define R_RXCCA_BE1 0x0520 7879*6d67aabdSBjoern A. Zeeb #define B_RXCCA_BE1_DIS BIT(0) 78808e93258fSBjoern A. Zeeb #define R_UPD_CLK_ADC 0x0700 7881*6d67aabdSBjoern A. Zeeb #define B_UPD_GEN_ON BIT(27) 78828e93258fSBjoern A. Zeeb #define B_UPD_CLK_ADC_VAL GENMASK(26, 25) 78838e93258fSBjoern A. Zeeb #define B_UPD_CLK_ADC_ON BIT(24) 78848e93258fSBjoern A. Zeeb #define B_ENABLE_CCK BIT(5) 78858e93258fSBjoern A. Zeeb #define R_RSTB_ASYNC 0x0704 7886*6d67aabdSBjoern A. Zeeb #define B_RSTB_ASYNC_BW80 GENMASK(9, 8) 78878e93258fSBjoern A. Zeeb #define B_RSTB_ASYNC_ALL BIT(1) 7888e2340276SBjoern A. Zeeb #define R_P0_ANT_SW 0x0728 7889e2340276SBjoern A. Zeeb #define B_P0_HW_ANTSW_DIS_BY_GNT_BT BIT(12) 7890e2340276SBjoern A. Zeeb #define B_P0_TRSW_TX_EXTEND GENMASK(3, 0) 78918e93258fSBjoern A. Zeeb #define R_MAC_PIN_SEL 0x0734 78928e93258fSBjoern A. Zeeb #define B_CH_IDX_SEG0 GENMASK(23, 16) 78938e93258fSBjoern A. Zeeb #define R_PLCP_HISTOGRAM 0x0738 78948e93258fSBjoern A. Zeeb #define B_STS_PARSING_TIME GENMASK(19, 16) 78958e93258fSBjoern A. Zeeb #define B_STS_DIS_TRIG_BY_FAIL BIT(3) 78968e93258fSBjoern A. Zeeb #define B_STS_DIS_TRIG_BY_BRK BIT(2) 78978e93258fSBjoern A. Zeeb #define R_PHY_STS_BITMAP_ADDR_START R_PHY_STS_BITMAP_SEARCH_FAIL 78988e93258fSBjoern A. Zeeb #define B_PHY_STS_BITMAP_ADDR_MASK GENMASK(6, 2) 78998e93258fSBjoern A. Zeeb #define R_PHY_STS_BITMAP_SEARCH_FAIL 0x073C 79008e93258fSBjoern A. Zeeb #define B_PHY_STS_BITMAP_MSK_52A 0x337cff3f 79018e93258fSBjoern A. Zeeb #define R_PHY_STS_BITMAP_R2T 0x0740 79028e93258fSBjoern A. Zeeb #define R_PHY_STS_BITMAP_CCA_SPOOF 0x0744 79038e93258fSBjoern A. Zeeb #define R_PHY_STS_BITMAP_OFDM_BRK 0x0748 79048e93258fSBjoern A. Zeeb #define R_PHY_STS_BITMAP_CCK_BRK 0x074C 79058e93258fSBjoern A. Zeeb #define R_PHY_STS_BITMAP_DL_MU_SPOOF 0x0750 79068e93258fSBjoern A. Zeeb #define R_PHY_STS_BITMAP_HE_MU 0x0754 79078e93258fSBjoern A. Zeeb #define R_PHY_STS_BITMAP_VHT_MU 0x0758 79088e93258fSBjoern A. Zeeb #define R_PHY_STS_BITMAP_UL_TB_SPOOF 0x075C 79098e93258fSBjoern A. Zeeb #define R_PHY_STS_BITMAP_TRIGBASE 0x0760 79108e93258fSBjoern A. Zeeb #define R_PHY_STS_BITMAP_CCK 0x0764 79118e93258fSBjoern A. Zeeb #define R_PHY_STS_BITMAP_LEGACY 0x0768 79128e93258fSBjoern A. Zeeb #define R_PHY_STS_BITMAP_HT 0x076C 79138e93258fSBjoern A. Zeeb #define R_PHY_STS_BITMAP_VHT 0x0770 79148e93258fSBjoern A. Zeeb #define R_PHY_STS_BITMAP_HE 0x0774 7915*6d67aabdSBjoern A. Zeeb #define R_EDCCA_RPTREG_SEL_BE 0x078C 7916*6d67aabdSBjoern A. Zeeb #define B_EDCCA_RPTREG_SEL_BE_MSK GENMASK(22, 20) 79178e93258fSBjoern A. Zeeb #define R_PMAC_GNT 0x0980 79188e93258fSBjoern A. Zeeb #define B_PMAC_GNT_TXEN BIT(0) 79198e93258fSBjoern A. Zeeb #define B_PMAC_GNT_RXEN BIT(16) 79208e93258fSBjoern A. Zeeb #define B_PMAC_GNT_P1 GENMASK(20, 17) 79218e93258fSBjoern A. Zeeb #define B_PMAC_GNT_P2 GENMASK(29, 26) 79228e93258fSBjoern A. Zeeb #define R_PMAC_RX_CFG1 0x0988 79238e93258fSBjoern A. Zeeb #define B_PMAC_OPT1_MSK GENMASK(11, 0) 79248e93258fSBjoern A. Zeeb #define R_PMAC_RXMOD 0x0994 79258e93258fSBjoern A. Zeeb #define B_PMAC_RXMOD_MSK GENMASK(7, 4) 79268e93258fSBjoern A. Zeeb #define R_MAC_SEL 0x09A4 79278e93258fSBjoern A. Zeeb #define B_MAC_SEL_OFDM_TRI_FILTER BIT(31) 7928*6d67aabdSBjoern A. Zeeb #define B_MAC_SEL GENMASK(19, 17) 79298e93258fSBjoern A. Zeeb #define B_MAC_SEL_PWR_EN BIT(16) 79308e93258fSBjoern A. Zeeb #define B_MAC_SEL_DPD_EN BIT(10) 79318e93258fSBjoern A. Zeeb #define B_MAC_SEL_MOD GENMASK(4, 2) 79328e93258fSBjoern A. Zeeb #define R_PMAC_TX_CTRL 0x09C0 79338e93258fSBjoern A. Zeeb #define B_PMAC_TXEN_DIS BIT(0) 79348e93258fSBjoern A. Zeeb #define R_PMAC_TX_PRD 0x09C4 79358e93258fSBjoern A. Zeeb #define B_PMAC_TX_PRD_MSK GENMASK(31, 8) 79368e93258fSBjoern A. Zeeb #define B_PMAC_CTX_EN BIT(0) 79378e93258fSBjoern A. Zeeb #define B_PMAC_PTX_EN BIT(4) 79388e93258fSBjoern A. Zeeb #define R_PMAC_TX_CNT 0x09C8 79398e93258fSBjoern A. Zeeb #define B_PMAC_TX_CNT_MSK GENMASK(31, 0) 79408e93258fSBjoern A. Zeeb #define R_P80_AT_HIGH_FREQ 0x09D8 79418e93258fSBjoern A. Zeeb #define B_P80_AT_HIGH_FREQ BIT(26) 79428e93258fSBjoern A. Zeeb #define R_DBCC_80P80_SEL_EVM_RPT 0x0A10 79438e93258fSBjoern A. Zeeb #define B_DBCC_80P80_SEL_EVM_RPT_EN BIT(0) 79448e93258fSBjoern A. Zeeb #define R_CCX 0x0C00 79458e93258fSBjoern A. Zeeb #define B_CCX_EDCCA_OPT_MSK GENMASK(6, 4) 7946*6d67aabdSBjoern A. Zeeb #define B_CCX_EDCCA_OPT_MSK_V1 GENMASK(7, 4) 79478e93258fSBjoern A. Zeeb #define B_MEASUREMENT_TRIG_MSK BIT(2) 79488e93258fSBjoern A. Zeeb #define B_CCX_TRIG_OPT_MSK BIT(1) 79498e93258fSBjoern A. Zeeb #define B_CCX_EN_MSK BIT(0) 7950*6d67aabdSBjoern A. Zeeb #define R_FAHM 0x0C1C 7951*6d67aabdSBjoern A. Zeeb #define B_RXTD_CKEN BIT(2) 79528e93258fSBjoern A. Zeeb #define R_IFS_COUNTER 0x0C28 79538e93258fSBjoern A. Zeeb #define B_IFS_CLM_PERIOD_MSK GENMASK(31, 16) 79548e93258fSBjoern A. Zeeb #define B_IFS_CLM_COUNTER_UNIT_MSK GENMASK(15, 14) 79558e93258fSBjoern A. Zeeb #define B_IFS_COUNTER_CLR_MSK BIT(13) 79568e93258fSBjoern A. Zeeb #define B_IFS_COLLECT_EN BIT(12) 79578e93258fSBjoern A. Zeeb #define R_IFS_T1 0x0C2C 79588e93258fSBjoern A. Zeeb #define B_IFS_T1_TH_HIGH_MSK GENMASK(31, 16) 79598e93258fSBjoern A. Zeeb #define B_IFS_T1_EN_MSK BIT(15) 79608e93258fSBjoern A. Zeeb #define B_IFS_T1_TH_LOW_MSK GENMASK(14, 0) 79618e93258fSBjoern A. Zeeb #define R_IFS_T2 0x0C30 79628e93258fSBjoern A. Zeeb #define B_IFS_T2_TH_HIGH_MSK GENMASK(31, 16) 79638e93258fSBjoern A. Zeeb #define B_IFS_T2_EN_MSK BIT(15) 79648e93258fSBjoern A. Zeeb #define B_IFS_T2_TH_LOW_MSK GENMASK(14, 0) 79658e93258fSBjoern A. Zeeb #define R_IFS_T3 0x0C34 79668e93258fSBjoern A. Zeeb #define B_IFS_T3_TH_HIGH_MSK GENMASK(31, 16) 79678e93258fSBjoern A. Zeeb #define B_IFS_T3_EN_MSK BIT(15) 79688e93258fSBjoern A. Zeeb #define B_IFS_T3_TH_LOW_MSK GENMASK(14, 0) 79698e93258fSBjoern A. Zeeb #define R_IFS_T4 0x0C38 79708e93258fSBjoern A. Zeeb #define B_IFS_T4_TH_HIGH_MSK GENMASK(31, 16) 79718e93258fSBjoern A. Zeeb #define B_IFS_T4_EN_MSK BIT(15) 79728e93258fSBjoern A. Zeeb #define B_IFS_T4_TH_LOW_MSK GENMASK(14, 0) 79738e93258fSBjoern A. Zeeb #define R_PD_CTRL 0x0C3C 79748e93258fSBjoern A. Zeeb #define B_PD_HIT_DIS BIT(9) 79758e93258fSBjoern A. Zeeb #define R_IOQ_IQK_DPK 0x0C60 7976*6d67aabdSBjoern A. Zeeb #define B_IOQ_IQK_DPK_CLKEN GENMASK(1, 0) 79778e93258fSBjoern A. Zeeb #define B_IOQ_IQK_DPK_EN BIT(1) 79788e93258fSBjoern A. Zeeb #define R_GNT_BT_WGT_EN 0x0C6C 79798e93258fSBjoern A. Zeeb #define B_GNT_BT_WGT_EN BIT(21) 7980*6d67aabdSBjoern A. Zeeb #define R_IQK_DPK_RST 0x0C6C 7981*6d67aabdSBjoern A. Zeeb #define R_IQK_DPK_RST_C1 0x1C6C 7982*6d67aabdSBjoern A. Zeeb #define B_IQK_DPK_RST BIT(0) 7983*6d67aabdSBjoern A. Zeeb #define R_TX_COLLISION_T2R_ST 0x0C70 7984*6d67aabdSBjoern A. Zeeb #define B_TX_COLLISION_T2R_ST_M GENMASK(25, 20) 7985*6d67aabdSBjoern A. Zeeb #define B_TXRX_FORCE_VAL GENMASK(9, 0) 7986*6d67aabdSBjoern A. Zeeb #define R_TXGATING 0x0C74 7987*6d67aabdSBjoern A. Zeeb #define B_TXGATING_EN BIT(4) 7988*6d67aabdSBjoern A. Zeeb #define R_TXRFC 0x0C7C 7989*6d67aabdSBjoern A. Zeeb #define R_TXRFC_C1 0x1C7C 7990*6d67aabdSBjoern A. Zeeb #define B_TXRFC_RST GENMASK(23, 21) 79918e93258fSBjoern A. Zeeb #define R_PD_ARBITER_OFF 0x0C80 79928e93258fSBjoern A. Zeeb #define B_PD_ARBITER_OFF BIT(31) 79938e93258fSBjoern A. Zeeb #define R_SNDCCA_A1 0x0C9C 79948e93258fSBjoern A. Zeeb #define B_SNDCCA_A1_EN GENMASK(19, 12) 79958e93258fSBjoern A. Zeeb #define R_SNDCCA_A2 0x0CA0 79968e93258fSBjoern A. Zeeb #define B_SNDCCA_A2_VAL GENMASK(19, 12) 7997*6d67aabdSBjoern A. Zeeb #define R_UDP_COEEF 0x0CBC 7998*6d67aabdSBjoern A. Zeeb #define B_UDP_COEEF BIT(19) 7999*6d67aabdSBjoern A. Zeeb #define R_TX_COLLISION_T2R_ST_BE 0x0CC8 8000*6d67aabdSBjoern A. Zeeb #define B_TX_COLLISION_T2R_ST_BE_M GENMASK(13, 8) 80018e93258fSBjoern A. Zeeb #define R_RXHT_MCS_LIMIT 0x0D18 80028e93258fSBjoern A. Zeeb #define B_RXHT_MCS_LIMIT GENMASK(9, 8) 80038e93258fSBjoern A. Zeeb #define R_RXVHT_MCS_LIMIT 0x0D18 80048e93258fSBjoern A. Zeeb #define B_RXVHT_MCS_LIMIT GENMASK(22, 21) 80058e93258fSBjoern A. Zeeb #define R_P0_EN_SOUND_WO_NDP 0x0D7C 80068e93258fSBjoern A. Zeeb #define B_P0_EN_SOUND_WO_NDP BIT(1) 80078e93258fSBjoern A. Zeeb #define R_RXHE 0x0D80 80088e93258fSBjoern A. Zeeb #define B_RXHETB_MAX_NSS GENMASK(25, 23) 80098e93258fSBjoern A. Zeeb #define B_RXHE_MAX_NSS GENMASK(16, 14) 80108e93258fSBjoern A. Zeeb #define B_RXHE_USER_MAX GENMASK(13, 6) 80118e93258fSBjoern A. Zeeb #define R_SPOOF_ASYNC_RST 0x0D84 80128e93258fSBjoern A. Zeeb #define B_SPOOF_ASYNC_RST BIT(15) 80138e93258fSBjoern A. Zeeb #define R_NDP_BRK0 0xDA0 80148e93258fSBjoern A. Zeeb #define R_NDP_BRK1 0xDA4 80158e93258fSBjoern A. Zeeb #define B_NDP_RU_BRK BIT(0) 80168e93258fSBjoern A. Zeeb #define R_BRK_ASYNC_RST_EN_1 0x0DC0 80178e93258fSBjoern A. Zeeb #define R_BRK_ASYNC_RST_EN_2 0x0DC4 80188e93258fSBjoern A. Zeeb #define R_BRK_ASYNC_RST_EN_3 0x0DC8 8019*6d67aabdSBjoern A. Zeeb #define R_CTLTOP 0x1008 8020*6d67aabdSBjoern A. Zeeb #define B_CTLTOP_ON BIT(23) 8021*6d67aabdSBjoern A. Zeeb #define B_CTLTOP_VAL GENMASK(15, 12) 8022*6d67aabdSBjoern A. Zeeb #define R_CLK_GCK 0x1008 8023*6d67aabdSBjoern A. Zeeb #define B_CLK_GCK GENMASK(24, 0) 8024*6d67aabdSBjoern A. Zeeb #define R_EDCCA_RPT_SEL_BE 0x10CC 8025*6d67aabdSBjoern A. Zeeb #define R_ADC_FIFO_V1 0x10FC 8026*6d67aabdSBjoern A. Zeeb #define B_ADC_FIFO_EN_V1 GENMASK(31, 24) 80278e93258fSBjoern A. Zeeb #define R_S0_HW_SI_DIS 0x1200 80288e93258fSBjoern A. Zeeb #define B_S0_HW_SI_DIS_W_R_TRIG GENMASK(30, 28) 80298e93258fSBjoern A. Zeeb #define R_P0_RXCK 0x12A0 8030e2340276SBjoern A. Zeeb #define B_P0_RXCK_ADJ GENMASK(31, 23) 80318e93258fSBjoern A. Zeeb #define B_P0_RXCK_BW3 BIT(30) 80328e93258fSBjoern A. Zeeb #define B_P0_TXCK_ALL GENMASK(19, 12) 80338e93258fSBjoern A. Zeeb #define B_P0_RXCK_ON BIT(19) 80348e93258fSBjoern A. Zeeb #define B_P0_RXCK_VAL GENMASK(18, 16) 80358e93258fSBjoern A. Zeeb #define B_P0_TXCK_ON BIT(15) 80368e93258fSBjoern A. Zeeb #define B_P0_TXCK_VAL GENMASK(14, 12) 8037e2340276SBjoern A. Zeeb #define R_P0_RFMODE 0x12AC 8038e2340276SBjoern A. Zeeb #define B_P0_RFMODE_ORI_TXRX_FTM_TX GENMASK(31, 4) 8039e2340276SBjoern A. Zeeb #define B_P0_RFMODE_MUX GENMASK(11, 4) 8040e2340276SBjoern A. Zeeb #define R_P0_RFMODE_ORI_RX 0x12AC 8041e2340276SBjoern A. Zeeb #define B_P0_RFMODE_ORI_RX_ALL GENMASK(23, 12) 8042e2340276SBjoern A. Zeeb #define R_P0_RFMODE_FTM_RX 0x12B0 8043e2340276SBjoern A. Zeeb #define B_P0_RFMODE_FTM_RX GENMASK(11, 0) 80448e93258fSBjoern A. Zeeb #define R_P0_NRBW 0x12B8 80458e93258fSBjoern A. Zeeb #define B_P0_NRBW_DBG BIT(30) 8046*6d67aabdSBjoern A. Zeeb #define B_P0_NRBW_RSTB BIT(28) 80478e93258fSBjoern A. Zeeb #define R_S0_RXDC 0x12D4 80488e93258fSBjoern A. Zeeb #define B_S0_RXDC_I GENMASK(25, 16) 80498e93258fSBjoern A. Zeeb #define B_S0_RXDC_Q GENMASK(31, 26) 80508e93258fSBjoern A. Zeeb #define R_S0_RXDC2 0x12D8 80518e93258fSBjoern A. Zeeb #define B_S0_RXDC2_SEL GENMASK(9, 8) 80528e93258fSBjoern A. Zeeb #define B_S0_RXDC2_AVG GENMASK(7, 6) 80538e93258fSBjoern A. Zeeb #define B_S0_RXDC2_MEN GENMASK(5, 4) 80548e93258fSBjoern A. Zeeb #define B_S0_RXDC2_Q2 GENMASK(3, 0) 80558e93258fSBjoern A. Zeeb #define R_CFO_COMP_SEG0_L 0x1384 80568e93258fSBjoern A. Zeeb #define R_CFO_COMP_SEG0_H 0x1388 80578e93258fSBjoern A. Zeeb #define R_CFO_COMP_SEG0_CTRL 0x138C 80588e93258fSBjoern A. Zeeb #define R_DBG32_D 0x1730 8059*6d67aabdSBjoern A. Zeeb #define R_EDCCA_RPT_A 0x1738 8060*6d67aabdSBjoern A. Zeeb #define R_EDCCA_RPT_B 0x173c 8061*6d67aabdSBjoern A. Zeeb #define B_EDCCA_RPT_B_FB BIT(7) 8062*6d67aabdSBjoern A. Zeeb #define B_EDCCA_RPT_B_P20 BIT(6) 8063*6d67aabdSBjoern A. Zeeb #define B_EDCCA_RPT_B_S20 BIT(5) 8064*6d67aabdSBjoern A. Zeeb #define B_EDCCA_RPT_B_S40 BIT(4) 8065*6d67aabdSBjoern A. Zeeb #define B_EDCCA_RPT_B_S80 BIT(3) 8066*6d67aabdSBjoern A. Zeeb #define B_EDCCA_RPT_B_PATH_MASK GENMASK(2, 1) 80678e93258fSBjoern A. Zeeb #define R_SWSI_V1 0x174C 80688e93258fSBjoern A. Zeeb #define B_SWSI_W_BUSY_V1 BIT(24) 80698e93258fSBjoern A. Zeeb #define B_SWSI_R_BUSY_V1 BIT(25) 80708e93258fSBjoern A. Zeeb #define B_SWSI_R_DATA_DONE_V1 BIT(26) 80718e93258fSBjoern A. Zeeb #define R_TX_COUNTER 0x1A40 80728e93258fSBjoern A. Zeeb #define R_IFS_CLM_TX_CNT 0x1ACC 8073*6d67aabdSBjoern A. Zeeb #define R_IFS_CLM_TX_CNT_V1 0x0ECC 80748e93258fSBjoern A. Zeeb #define B_IFS_CLM_EDCCA_EXCLUDE_CCA_FA_MSK GENMASK(31, 16) 80758e93258fSBjoern A. Zeeb #define B_IFS_CLM_TX_CNT_MSK GENMASK(15, 0) 80768e93258fSBjoern A. Zeeb #define R_IFS_CLM_CCA 0x1AD0 8077*6d67aabdSBjoern A. Zeeb #define R_IFS_CLM_CCA_V1 0x0ED0 80788e93258fSBjoern A. Zeeb #define B_IFS_CLM_OFDMCCA_EXCLUDE_FA_MSK GENMASK(31, 16) 80798e93258fSBjoern A. Zeeb #define B_IFS_CLM_CCKCCA_EXCLUDE_FA_MSK GENMASK(15, 0) 80808e93258fSBjoern A. Zeeb #define R_IFS_CLM_FA 0x1AD4 8081*6d67aabdSBjoern A. Zeeb #define R_IFS_CLM_FA_V1 0x0ED4 80828e93258fSBjoern A. Zeeb #define B_IFS_CLM_OFDM_FA_MSK GENMASK(31, 16) 80838e93258fSBjoern A. Zeeb #define B_IFS_CLM_CCK_FA_MSK GENMASK(15, 0) 80848e93258fSBjoern A. Zeeb #define R_IFS_HIS 0x1AD8 8085*6d67aabdSBjoern A. Zeeb #define R_IFS_HIS_V1 0x0ED8 80868e93258fSBjoern A. Zeeb #define B_IFS_T4_HIS_MSK GENMASK(31, 24) 80878e93258fSBjoern A. Zeeb #define B_IFS_T3_HIS_MSK GENMASK(23, 16) 80888e93258fSBjoern A. Zeeb #define B_IFS_T2_HIS_MSK GENMASK(15, 8) 80898e93258fSBjoern A. Zeeb #define B_IFS_T1_HIS_MSK GENMASK(7, 0) 80908e93258fSBjoern A. Zeeb #define R_IFS_AVG_L 0x1ADC 8091*6d67aabdSBjoern A. Zeeb #define R_IFS_AVG_L_V1 0x0EDC 80928e93258fSBjoern A. Zeeb #define B_IFS_T2_AVG_MSK GENMASK(31, 16) 80938e93258fSBjoern A. Zeeb #define B_IFS_T1_AVG_MSK GENMASK(15, 0) 80948e93258fSBjoern A. Zeeb #define R_IFS_AVG_H 0x1AE0 8095*6d67aabdSBjoern A. Zeeb #define R_IFS_AVG_H_V1 0x0EE0 80968e93258fSBjoern A. Zeeb #define B_IFS_T4_AVG_MSK GENMASK(31, 16) 80978e93258fSBjoern A. Zeeb #define B_IFS_T3_AVG_MSK GENMASK(15, 0) 80988e93258fSBjoern A. Zeeb #define R_IFS_CCA_L 0x1AE4 8099*6d67aabdSBjoern A. Zeeb #define R_IFS_CCA_L_V1 0x0EE4 81008e93258fSBjoern A. Zeeb #define B_IFS_T2_CCA_MSK GENMASK(31, 16) 81018e93258fSBjoern A. Zeeb #define B_IFS_T1_CCA_MSK GENMASK(15, 0) 81028e93258fSBjoern A. Zeeb #define R_IFS_CCA_H 0x1AE8 8103*6d67aabdSBjoern A. Zeeb #define R_IFS_CCA_H_V1 0x0EE8 81048e93258fSBjoern A. Zeeb #define B_IFS_T4_CCA_MSK GENMASK(31, 16) 81058e93258fSBjoern A. Zeeb #define B_IFS_T3_CCA_MSK GENMASK(15, 0) 81068e93258fSBjoern A. Zeeb #define R_IFSCNT 0x1AEC 8107*6d67aabdSBjoern A. Zeeb #define R_IFSCNT_V1 0x0EEC 81088e93258fSBjoern A. Zeeb #define B_IFSCNT_DONE_MSK BIT(16) 81098e93258fSBjoern A. Zeeb #define B_IFSCNT_TOTAL_CNT_MSK GENMASK(15, 0) 81108e93258fSBjoern A. Zeeb #define R_TXAGC_TP 0x1C04 81118e93258fSBjoern A. Zeeb #define B_TXAGC_TP GENMASK(2, 0) 81128e93258fSBjoern A. Zeeb #define R_TSSI_THER 0x1C10 81138e93258fSBjoern A. Zeeb #define B_TSSI_THER GENMASK(29, 24) 8114e2340276SBjoern A. Zeeb #define R_TSSI_CWRPT 0x1C18 8115e2340276SBjoern A. Zeeb #define B_TSSI_CWRPT_RDY BIT(16) 8116e2340276SBjoern A. Zeeb #define B_TSSI_CWRPT GENMASK(8, 0) 81178e93258fSBjoern A. Zeeb #define R_TXAGC_BTP 0x1CA0 81188e93258fSBjoern A. Zeeb #define B_TXAGC_BTP GENMASK(31, 24) 81198e93258fSBjoern A. Zeeb #define R_TXAGC_BB 0x1C60 81208e93258fSBjoern A. Zeeb #define B_TXAGC_BB_OFT GENMASK(31, 16) 81218e93258fSBjoern A. Zeeb #define B_TXAGC_BB GENMASK(31, 24) 8122e2340276SBjoern A. Zeeb #define B_TXAGC_RF GENMASK(5, 0) 8123*6d67aabdSBjoern A. Zeeb #define R_PATH0_TXPWR 0x1C78 8124*6d67aabdSBjoern A. Zeeb #define B_PATH0_TXPWR GENMASK(8, 0) 81258e93258fSBjoern A. Zeeb #define R_S0_ADDCK 0x1E00 81268e93258fSBjoern A. Zeeb #define B_S0_ADDCK_I GENMASK(9, 0) 81278e93258fSBjoern A. Zeeb #define B_S0_ADDCK_Q GENMASK(19, 10) 8128*6d67aabdSBjoern A. Zeeb #define R_TXCKEN_FORCE 0x2008 8129*6d67aabdSBjoern A. Zeeb #define B_TXCKEN_FORCE_ALL GENMASK(24, 0) 8130*6d67aabdSBjoern A. Zeeb #define R_EDCCA_RPT_SEL 0x20CC 8131*6d67aabdSBjoern A. Zeeb #define B_EDCCA_RPT_SEL_MSK GENMASK(2, 0) 81328e93258fSBjoern A. Zeeb #define R_ADC_FIFO 0x20fc 81338e93258fSBjoern A. Zeeb #define B_ADC_FIFO_RST GENMASK(31, 24) 81348e93258fSBjoern A. Zeeb #define B_ADC_FIFO_RXK GENMASK(31, 16) 81358e93258fSBjoern A. Zeeb #define B_ADC_FIFO_A3 BIT(28) 81368e93258fSBjoern A. Zeeb #define B_ADC_FIFO_A2 BIT(24) 81378e93258fSBjoern A. Zeeb #define B_ADC_FIFO_A1 BIT(20) 81388e93258fSBjoern A. Zeeb #define B_ADC_FIFO_A0 BIT(16) 81398e93258fSBjoern A. Zeeb #define R_TXFIR0 0x2300 81408e93258fSBjoern A. Zeeb #define B_TXFIR_C01 GENMASK(23, 0) 81418e93258fSBjoern A. Zeeb #define R_TXFIR2 0x2304 81428e93258fSBjoern A. Zeeb #define B_TXFIR_C23 GENMASK(23, 0) 81438e93258fSBjoern A. Zeeb #define R_TXFIR4 0x2308 81448e93258fSBjoern A. Zeeb #define B_TXFIR_C45 GENMASK(23, 0) 81458e93258fSBjoern A. Zeeb #define R_TXFIR6 0x230c 81468e93258fSBjoern A. Zeeb #define B_TXFIR_C67 GENMASK(23, 0) 81478e93258fSBjoern A. Zeeb #define R_TXFIR8 0x2310 81488e93258fSBjoern A. Zeeb #define B_TXFIR_C89 GENMASK(23, 0) 81498e93258fSBjoern A. Zeeb #define R_TXFIRA 0x2314 81508e93258fSBjoern A. Zeeb #define B_TXFIR_CAB GENMASK(23, 0) 81518e93258fSBjoern A. Zeeb #define R_TXFIRC 0x2318 81528e93258fSBjoern A. Zeeb #define B_TXFIR_CCD GENMASK(23, 0) 81538e93258fSBjoern A. Zeeb #define R_TXFIRE 0x231c 81548e93258fSBjoern A. Zeeb #define B_TXFIR_CEF GENMASK(23, 0) 81558e93258fSBjoern A. Zeeb #define R_11B_RX_V1 0x2320 81568e93258fSBjoern A. Zeeb #define B_11B_RXCCA_DIS_V1 BIT(0) 81578e93258fSBjoern A. Zeeb #define R_RPL_OFST 0x2340 81588e93258fSBjoern A. Zeeb #define B_RPL_OFST_MASK GENMASK(14, 8) 81598e93258fSBjoern A. Zeeb #define R_RXCCA 0x2344 81608e93258fSBjoern A. Zeeb #define B_RXCCA_DIS BIT(31) 81618e93258fSBjoern A. Zeeb #define R_RXCCA_V1 0x2320 81628e93258fSBjoern A. Zeeb #define B_RXCCA_DIS_V1 BIT(0) 81638e93258fSBjoern A. Zeeb #define R_RXSC 0x237C 81648e93258fSBjoern A. Zeeb #define B_RXSC_EN BIT(0) 8165e2340276SBjoern A. Zeeb #define R_RX_RPL_OFST 0x23AC 8166e2340276SBjoern A. Zeeb #define B_RX_RPL_OFST_CCK_MASK GENMASK(6, 0) 81678e93258fSBjoern A. Zeeb #define R_RXSCOBC 0x23B0 81688e93258fSBjoern A. Zeeb #define B_RXSCOBC_TH GENMASK(18, 0) 81698e93258fSBjoern A. Zeeb #define R_RXSCOCCK 0x23B4 81708e93258fSBjoern A. Zeeb #define B_RXSCOCCK_TH GENMASK(18, 0) 81718e93258fSBjoern A. Zeeb #define R_P80_AT_HIGH_FREQ_RU_ALLOC 0x2410 81728e93258fSBjoern A. Zeeb #define B_P80_AT_HIGH_FREQ_RU_ALLOC_PHY1 BIT(14) 81738e93258fSBjoern A. Zeeb #define B_P80_AT_HIGH_FREQ_RU_ALLOC_PHY0 BIT(13) 81748e93258fSBjoern A. Zeeb #define R_DBCC_80P80_SEL_EVM_RPT2 0x2A10 81758e93258fSBjoern A. Zeeb #define B_DBCC_80P80_SEL_EVM_RPT2_EN BIT(0) 8176*6d67aabdSBjoern A. Zeeb #define R_AFEDAC0 0x2A5C 8177*6d67aabdSBjoern A. Zeeb #define B_AFEDAC0 GENMASK(31, 27) 8178*6d67aabdSBjoern A. Zeeb #define R_AFEDAC1 0x2A60 8179*6d67aabdSBjoern A. Zeeb #define B_AFEDAC1 GENMASK(2, 0) 8180*6d67aabdSBjoern A. Zeeb #define R_IQKDPK_HC 0x2AB8 8181*6d67aabdSBjoern A. Zeeb #define B_IQKDPK_HC BIT(28) 8182*6d67aabdSBjoern A. Zeeb #define R_HWSI_ADD0 0x2ADC 8183*6d67aabdSBjoern A. Zeeb #define R_HWSI_ADD1 0x2BDC 8184*6d67aabdSBjoern A. Zeeb #define B_HWSI_ADD_MASK GENMASK(11, 4) 8185*6d67aabdSBjoern A. Zeeb #define B_HWSI_ADD_CTL_MASK GENMASK(2, 0) 8186*6d67aabdSBjoern A. Zeeb #define B_HWSI_ADD_RD BIT(2) 8187*6d67aabdSBjoern A. Zeeb #define B_HWSI_ADD_POLL_MASK GENMASK(1, 0) 8188*6d67aabdSBjoern A. Zeeb #define B_HWSI_ADD_RUN BIT(1) 8189*6d67aabdSBjoern A. Zeeb #define B_HWSI_ADD_BUSY BIT(0) 8190*6d67aabdSBjoern A. Zeeb #define R_HWSI_DATA 0x2AE0 8191*6d67aabdSBjoern A. Zeeb #define B_HWSI_DATA_VAL GENMASK(27, 8) 8192*6d67aabdSBjoern A. Zeeb #define B_HWSI_DATA_ADDR GENMASK(7, 0) 8193*6d67aabdSBjoern A. Zeeb #define R_HWSI_VAL0 0x2C24 8194*6d67aabdSBjoern A. Zeeb #define R_HWSI_VAL1 0x2D24 8195*6d67aabdSBjoern A. Zeeb #define B_HWSI_VAL_RDONE BIT(31) 8196*6d67aabdSBjoern A. Zeeb #define B_HWSI_VAL_BUSY BIT(29) 81978e93258fSBjoern A. Zeeb #define R_P1_EN_SOUND_WO_NDP 0x2D7C 81988e93258fSBjoern A. Zeeb #define B_P1_EN_SOUND_WO_NDP BIT(1) 8199*6d67aabdSBjoern A. Zeeb #define R_EDCCA_RPT_A_BE 0x2E38 8200*6d67aabdSBjoern A. Zeeb #define R_EDCCA_RPT_B_BE 0x2E3C 82018e93258fSBjoern A. Zeeb #define R_S1_HW_SI_DIS 0x3200 82028e93258fSBjoern A. Zeeb #define B_S1_HW_SI_DIS_W_R_TRIG GENMASK(30, 28) 8203e2340276SBjoern A. Zeeb #define R_P1_RXCK 0x32A0 8204e2340276SBjoern A. Zeeb #define B_P1_RXCK_BW3 BIT(30) 8205e2340276SBjoern A. Zeeb #define B_P1_TXCK_ALL GENMASK(19, 12) 8206e2340276SBjoern A. Zeeb #define B_P1_RXCK_ON BIT(19) 8207e2340276SBjoern A. Zeeb #define B_P1_RXCK_VAL GENMASK(18, 16) 8208e2340276SBjoern A. Zeeb #define R_P1_RFMODE 0x32AC 8209e2340276SBjoern A. Zeeb #define B_P1_RFMODE_ORI_TXRX_FTM_TX GENMASK(31, 4) 8210e2340276SBjoern A. Zeeb #define B_P1_RFMODE_MUX GENMASK(11, 4) 8211e2340276SBjoern A. Zeeb #define R_P1_RFMODE_ORI_RX 0x32AC 8212e2340276SBjoern A. Zeeb #define B_P1_RFMODE_ORI_RX_ALL GENMASK(23, 12) 8213e2340276SBjoern A. Zeeb #define R_P1_RFMODE_FTM_RX 0x32B0 8214e2340276SBjoern A. Zeeb #define B_P1_RFMODE_FTM_RX GENMASK(11, 0) 82158e93258fSBjoern A. Zeeb #define R_P1_DBGMOD 0x32B8 82168e93258fSBjoern A. Zeeb #define B_P1_DBGMOD_ON BIT(30) 82178e93258fSBjoern A. Zeeb #define R_S1_RXDC 0x32D4 82188e93258fSBjoern A. Zeeb #define B_S1_RXDC_I GENMASK(25, 16) 82198e93258fSBjoern A. Zeeb #define B_S1_RXDC_Q GENMASK(31, 26) 82208e93258fSBjoern A. Zeeb #define R_S1_RXDC2 0x32D8 82218e93258fSBjoern A. Zeeb #define B_S1_RXDC2_EN GENMASK(5, 4) 82228e93258fSBjoern A. Zeeb #define B_S1_RXDC2_SEL GENMASK(9, 8) 82238e93258fSBjoern A. Zeeb #define B_S1_RXDC2_Q2 GENMASK(3, 0) 82248e93258fSBjoern A. Zeeb #define R_TXAGC_BB_S1 0x3C60 82258e93258fSBjoern A. Zeeb #define B_TXAGC_BB_S1_OFT GENMASK(31, 16) 82268e93258fSBjoern A. Zeeb #define B_TXAGC_BB_S1 GENMASK(31, 24) 8227*6d67aabdSBjoern A. Zeeb #define R_PATH1_TXPWR 0x3C78 8228*6d67aabdSBjoern A. Zeeb #define B_PATH1_TXPWR GENMASK(8, 0) 82298e93258fSBjoern A. Zeeb #define R_S1_ADDCK 0x3E00 82308e93258fSBjoern A. Zeeb #define B_S1_ADDCK_I GENMASK(9, 0) 82318e93258fSBjoern A. Zeeb #define B_S1_ADDCK_Q GENMASK(19, 10) 8232*6d67aabdSBjoern A. Zeeb #define R_OP1DB_A 0x40B0 8233*6d67aabdSBjoern A. Zeeb #define B_OP1DB_A GENMASK(31, 24) 8234*6d67aabdSBjoern A. Zeeb #define R_OP1DB1_A 0x40BC 8235*6d67aabdSBjoern A. Zeeb #define B_TIA10_A GENMASK(15, 0) 8236*6d67aabdSBjoern A. Zeeb #define B_TIA1_A GENMASK(15, 8) 8237*6d67aabdSBjoern A. Zeeb #define B_TIA0_A GENMASK(7, 0) 8238*6d67aabdSBjoern A. Zeeb #define R_BKOFF_A 0x40E0 8239*6d67aabdSBjoern A. Zeeb #define B_BKOFF_IBADC_A GENMASK(23, 18) 8240*6d67aabdSBjoern A. Zeeb #define R_BACKOFF_A 0x40E4 8241*6d67aabdSBjoern A. Zeeb #define B_LNA_IBADC_A GENMASK(29, 18) 8242*6d67aabdSBjoern A. Zeeb #define B_BACKOFF_LNA_A GENMASK(29, 24) 8243*6d67aabdSBjoern A. Zeeb #define B_BACKOFF_IBADC_A GENMASK(23, 18) 8244*6d67aabdSBjoern A. Zeeb #define R_RXBY_WBADC_A 0x40F4 8245*6d67aabdSBjoern A. Zeeb #define B_RXBY_WBADC_A GENMASK(14, 10) 8246e2340276SBjoern A. Zeeb #define R_MUIC 0x40F8 8247e2340276SBjoern A. Zeeb #define B_MUIC_EN BIT(0) 8248*6d67aabdSBjoern A. Zeeb #define R_BT_RXBY_WBADC_A 0x4160 8249*6d67aabdSBjoern A. Zeeb #define B_BT_RXBY_WBADC_A BIT(31) 8250*6d67aabdSBjoern A. Zeeb #define R_BT_SHARE_A 0x4164 8251*6d67aabdSBjoern A. Zeeb #define B_BT_SHARE_A BIT(0) 8252*6d67aabdSBjoern A. Zeeb #define B_BT_TRK_OFF_A BIT(1) 8253*6d67aabdSBjoern A. Zeeb #define B_BTG_PATH_A BIT(4) 8254*6d67aabdSBjoern A. Zeeb #define R_FORCE_FIR_A 0x418C 8255*6d67aabdSBjoern A. Zeeb #define B_FORCE_FIR_A GENMASK(1, 0) 82568e93258fSBjoern A. Zeeb #define R_DCFO 0x4264 8257e2340276SBjoern A. Zeeb #define B_DCFO GENMASK(7, 0) 82588e93258fSBjoern A. Zeeb #define R_SEG0CSI 0x42AC 8259e2340276SBjoern A. Zeeb #define R_SEG0CSI_V1 0x42B0 8260e2340276SBjoern A. Zeeb #define B_SEG0CSI_IDX GENMASK(10, 0) 82618e93258fSBjoern A. Zeeb #define R_SEG0CSI_EN 0x42C4 8262e2340276SBjoern A. Zeeb #define R_SEG0CSI_EN_V1 0x42C8 82638e93258fSBjoern A. Zeeb #define B_SEG0CSI_EN BIT(23) 82648e93258fSBjoern A. Zeeb #define R_BSS_CLR_MAP 0x43ac 8265e2340276SBjoern A. Zeeb #define R_BSS_CLR_MAP_V1 0x43B0 8266*6d67aabdSBjoern A. Zeeb #define R_BSS_CLR_MAP_V2 0x4EB0 82678e93258fSBjoern A. Zeeb #define B_BSS_CLR_MAP_VLD0 BIT(28) 82688e93258fSBjoern A. Zeeb #define B_BSS_CLR_MAP_TGT GENMASK(27, 22) 82698e93258fSBjoern A. Zeeb #define B_BSS_CLR_MAP_STAID GENMASK(21, 11) 82708e93258fSBjoern A. Zeeb #define R_CFO_TRK0 0x4404 82718e93258fSBjoern A. Zeeb #define R_CFO_TRK1 0x440C 82728e93258fSBjoern A. Zeeb #define B_CFO_TRK_MSK GENMASK(14, 10) 82738e93258fSBjoern A. Zeeb #define R_T2F_GI_COMB 0x4424 82748e93258fSBjoern A. Zeeb #define B_T2F_GI_COMB_EN BIT(2) 82758e93258fSBjoern A. Zeeb #define R_BT_DYN_DC_EST_EN 0x441C 8276e2340276SBjoern A. Zeeb #define R_BT_DYN_DC_EST_EN_V1 0x4420 82778e93258fSBjoern A. Zeeb #define B_BT_DYN_DC_EST_EN_MSK BIT(31) 8278e2340276SBjoern A. Zeeb #define R_ASSIGN_SBD_OPT_V1 0x4440 8279e2340276SBjoern A. Zeeb #define B_ASSIGN_SBD_OPT_EN_V1 BIT(31) 82808e93258fSBjoern A. Zeeb #define R_ASSIGN_SBD_OPT 0x4450 82818e93258fSBjoern A. Zeeb #define B_ASSIGN_SBD_OPT_EN BIT(24) 82828e93258fSBjoern A. Zeeb #define R_DCFO_COMP_S0 0x448C 82838e93258fSBjoern A. Zeeb #define B_DCFO_COMP_S0_MSK GENMASK(11, 0) 82848e93258fSBjoern A. Zeeb #define R_DCFO_WEIGHT 0x4490 8285*6d67aabdSBjoern A. Zeeb #define B_DAC_CLK_IDX BIT(31) 82868e93258fSBjoern A. Zeeb #define B_DCFO_WEIGHT_MSK GENMASK(27, 24) 82878e93258fSBjoern A. Zeeb #define R_DCFO_OPT 0x4494 82888e93258fSBjoern A. Zeeb #define B_DCFO_OPT_EN BIT(29) 8289e2340276SBjoern A. Zeeb #define B_TXSHAPE_TRIANGULAR_CFG GENMASK(25, 24) 82908e93258fSBjoern A. Zeeb #define R_BANDEDGE 0x4498 82918e93258fSBjoern A. Zeeb #define B_BANDEDGE_EN BIT(30) 8292e2340276SBjoern A. Zeeb #define R_DPD_BF 0x44a0 8293e2340276SBjoern A. Zeeb #define B_DPD_BF_OFDM GENMASK(16, 12) 8294e2340276SBjoern A. Zeeb #define B_DPD_BF_SCA GENMASK(6, 0) 8295*6d67aabdSBjoern A. Zeeb #define R_LNA_OP 0x44B0 8296*6d67aabdSBjoern A. Zeeb #define B_LNA6 GENMASK(31, 24) 8297*6d67aabdSBjoern A. Zeeb #define R_LNA_TIA 0x44BC 8298*6d67aabdSBjoern A. Zeeb #define B_TIA10_B GENMASK(15, 0) 8299*6d67aabdSBjoern A. Zeeb #define B_TIA1_B GENMASK(15, 8) 8300*6d67aabdSBjoern A. Zeeb #define B_TIA0_B GENMASK(7, 0) 8301*6d67aabdSBjoern A. Zeeb #define R_BKOFF_B 0x44E0 8302*6d67aabdSBjoern A. Zeeb #define B_BKOFF_IBADC_B GENMASK(23, 18) 8303*6d67aabdSBjoern A. Zeeb #define R_BACKOFF_B 0x44E4 8304*6d67aabdSBjoern A. Zeeb #define B_LNA_IBADC_B GENMASK(29, 18) 8305*6d67aabdSBjoern A. Zeeb #define B_BACKOFF_LNA_B GENMASK(29, 24) 8306*6d67aabdSBjoern A. Zeeb #define B_BACKOFF_IBADC_B GENMASK(23, 18) 8307*6d67aabdSBjoern A. Zeeb #define R_RXBY_WBADC_B 0x44F4 8308*6d67aabdSBjoern A. Zeeb #define B_RXBY_WBADC_B GENMASK(14, 10) 8309*6d67aabdSBjoern A. Zeeb #define R_BT_RXBY_WBADC_B 0x4560 8310*6d67aabdSBjoern A. Zeeb #define B_BT_RXBY_WBADC_B BIT(31) 8311*6d67aabdSBjoern A. Zeeb #define R_BT_SHARE_B 0x4564 8312*6d67aabdSBjoern A. Zeeb #define B_BT_SHARE_B BIT(0) 8313*6d67aabdSBjoern A. Zeeb #define B_BT_TRK_OFF_B BIT(1) 8314*6d67aabdSBjoern A. Zeeb #define B_BTG_PATH_B BIT(4) 83158e93258fSBjoern A. Zeeb #define R_TXPATH_SEL 0x458C 83168e93258fSBjoern A. Zeeb #define B_TXPATH_SEL_MSK GENMASK(31, 28) 8317*6d67aabdSBjoern A. Zeeb #define R_FORCE_FIR_B 0x458C 8318*6d67aabdSBjoern A. Zeeb #define B_FORCE_FIR_B GENMASK(1, 0) 83198e93258fSBjoern A. Zeeb #define R_TXPWR 0x4594 83208e93258fSBjoern A. Zeeb #define B_TXPWR_MSK GENMASK(30, 22) 83218e93258fSBjoern A. Zeeb #define R_TXNSS_MAP 0x45B4 83228e93258fSBjoern A. Zeeb #define B_TXNSS_MAP_MSK GENMASK(20, 17) 83238e93258fSBjoern A. Zeeb #define R_PCOEFF0_V1 0x45BC 83248e93258fSBjoern A. Zeeb #define B_PCOEFF01_MSK_V1 GENMASK(23, 0) 83258e93258fSBjoern A. Zeeb #define R_PCOEFF2_V1 0x45CC 83268e93258fSBjoern A. Zeeb #define B_PCOEFF23_MSK_V1 GENMASK(23, 0) 83278e93258fSBjoern A. Zeeb #define R_PCOEFF4_V1 0x45D0 83288e93258fSBjoern A. Zeeb #define B_PCOEFF45_MSK_V1 GENMASK(23, 0) 83298e93258fSBjoern A. Zeeb #define R_PCOEFF6_V1 0x45D4 83308e93258fSBjoern A. Zeeb #define B_PCOEFF67_MSK_V1 GENMASK(23, 0) 83318e93258fSBjoern A. Zeeb #define R_PCOEFF8_V1 0x45D8 83328e93258fSBjoern A. Zeeb #define B_PCOEFF89_MSK_V1 GENMASK(23, 0) 83338e93258fSBjoern A. Zeeb #define R_PCOEFFA_V1 0x45C0 83348e93258fSBjoern A. Zeeb #define B_PCOEFFAB_MSK_V1 GENMASK(23, 0) 83358e93258fSBjoern A. Zeeb #define R_PCOEFFC_V1 0x45C4 83368e93258fSBjoern A. Zeeb #define B_PCOEFFCD_MSK_V1 GENMASK(23, 0) 83378e93258fSBjoern A. Zeeb #define R_PCOEFFE_V1 0x45C8 83388e93258fSBjoern A. Zeeb #define B_PCOEFFEF_MSK_V1 GENMASK(23, 0) 83398e93258fSBjoern A. Zeeb #define R_PATH0_IB_PKPW 0x4628 83408e93258fSBjoern A. Zeeb #define B_PATH0_IB_PKPW_MSK GENMASK(11, 6) 83418e93258fSBjoern A. Zeeb #define R_PATH0_LNA_ERR1 0x462C 83428e93258fSBjoern A. Zeeb #define B_PATH0_LNA_ERR_G1_A_MSK GENMASK(29, 24) 83438e93258fSBjoern A. Zeeb #define B_PATH0_LNA_ERR_G0_G_MSK GENMASK(17, 12) 83448e93258fSBjoern A. Zeeb #define B_PATH0_LNA_ERR_G0_A_MSK GENMASK(11, 6) 83458e93258fSBjoern A. Zeeb #define R_PATH0_LNA_ERR2 0x4630 83468e93258fSBjoern A. Zeeb #define B_PATH0_LNA_ERR_G2_G_MSK GENMASK(23, 18) 83478e93258fSBjoern A. Zeeb #define B_PATH0_LNA_ERR_G2_A_MSK GENMASK(17, 12) 83488e93258fSBjoern A. Zeeb #define B_PATH0_LNA_ERR_G1_G_MSK GENMASK(5, 0) 83498e93258fSBjoern A. Zeeb #define R_PATH0_LNA_ERR3 0x4634 83508e93258fSBjoern A. Zeeb #define B_PATH0_LNA_ERR_G4_G_MSK GENMASK(29, 24) 83518e93258fSBjoern A. Zeeb #define B_PATH0_LNA_ERR_G4_A_MSK GENMASK(23, 18) 83528e93258fSBjoern A. Zeeb #define B_PATH0_LNA_ERR_G3_G_MSK GENMASK(11, 6) 83538e93258fSBjoern A. Zeeb #define B_PATH0_LNA_ERR_G3_A_MSK GENMASK(5, 0) 83548e93258fSBjoern A. Zeeb #define R_PATH0_LNA_ERR4 0x4638 83558e93258fSBjoern A. Zeeb #define B_PATH0_LNA_ERR_G6_A_MSK GENMASK(29, 24) 83568e93258fSBjoern A. Zeeb #define B_PATH0_LNA_ERR_G5_G_MSK GENMASK(17, 12) 83578e93258fSBjoern A. Zeeb #define B_PATH0_LNA_ERR_G5_A_MSK GENMASK(11, 6) 83588e93258fSBjoern A. Zeeb #define R_PATH0_LNA_ERR5 0x463C 83598e93258fSBjoern A. Zeeb #define B_PATH0_LNA_ERR_G6_G_MSK GENMASK(5, 0) 83608e93258fSBjoern A. Zeeb #define R_PATH0_TIA_ERR_G0 0x4640 83618e93258fSBjoern A. Zeeb #define B_PATH0_TIA_ERR_G0_G_MSK GENMASK(23, 18) 83628e93258fSBjoern A. Zeeb #define B_PATH0_TIA_ERR_G0_A_MSK GENMASK(17, 12) 83638e93258fSBjoern A. Zeeb #define R_PATH0_TIA_ERR_G1 0x4644 83648e93258fSBjoern A. Zeeb #define B_PATH0_TIA_ERR_G1_SEL GENMASK(31, 30) 83658e93258fSBjoern A. Zeeb #define B_PATH0_TIA_ERR_G1_G_MSK GENMASK(11, 6) 83668e93258fSBjoern A. Zeeb #define B_PATH0_TIA_ERR_G1_A_MSK GENMASK(5, 0) 83678e93258fSBjoern A. Zeeb #define R_PATH0_IB_PBK 0x4650 83688e93258fSBjoern A. Zeeb #define B_PATH0_IB_PBK_MSK GENMASK(14, 10) 83698e93258fSBjoern A. Zeeb #define R_PATH0_RXB_INIT 0x4658 83708e93258fSBjoern A. Zeeb #define B_PATH0_RXB_INIT_IDX_MSK GENMASK(9, 5) 83718e93258fSBjoern A. Zeeb #define R_PATH0_LNA_INIT 0x4668 8372e2340276SBjoern A. Zeeb #define R_PATH0_LNA_INIT_V1 0x472C 83738e93258fSBjoern A. Zeeb #define B_PATH0_LNA_INIT_IDX_MSK GENMASK(26, 24) 83748e93258fSBjoern A. Zeeb #define R_PATH0_BTG 0x466C 83758e93258fSBjoern A. Zeeb #define B_PATH0_BTG_SHEN GENMASK(18, 17) 83768e93258fSBjoern A. Zeeb #define R_PATH0_TIA_INIT 0x4674 83778e93258fSBjoern A. Zeeb #define B_PATH0_TIA_INIT_IDX_MSK BIT(17) 83788e93258fSBjoern A. Zeeb #define R_PATH0_P20_FOLLOW_BY_PAGCUGC 0x46A0 8379e2340276SBjoern A. Zeeb #define R_PATH0_P20_FOLLOW_BY_PAGCUGC_V1 0x4C24 8380e2340276SBjoern A. Zeeb #define R_PATH0_P20_FOLLOW_BY_PAGCUGC_V2 0x46E8 8381*6d67aabdSBjoern A. Zeeb #define R_PATH0_P20_FOLLOW_BY_PAGCUGC_V3 0x41C8 83828e93258fSBjoern A. Zeeb #define B_PATH0_P20_FOLLOW_BY_PAGCUGC_EN_MSK BIT(5) 83838e93258fSBjoern A. Zeeb #define R_PATH0_S20_FOLLOW_BY_PAGCUGC 0x46A4 8384e2340276SBjoern A. Zeeb #define R_PATH0_S20_FOLLOW_BY_PAGCUGC_V1 0x4C28 8385e2340276SBjoern A. Zeeb #define R_PATH0_S20_FOLLOW_BY_PAGCUGC_V2 0x46EC 8386*6d67aabdSBjoern A. Zeeb #define R_PATH0_S20_FOLLOW_BY_PAGCUGC_V3 0x41CC 83878e93258fSBjoern A. Zeeb #define B_PATH0_S20_FOLLOW_BY_PAGCUGC_EN_MSK BIT(5) 8388e2340276SBjoern A. Zeeb #define R_PATH0_RXB_INIT_V1 0x46A8 8389e2340276SBjoern A. Zeeb #define B_PATH0_RXB_INIT_IDX_MSK_V1 GENMASK(14, 10) 83908e93258fSBjoern A. Zeeb #define R_PATH0_G_LNA6_OP1DB_V1 0x4688 83918e93258fSBjoern A. Zeeb #define B_PATH0_G_LNA6_OP1DB_V1 GENMASK(31, 24) 83928e93258fSBjoern A. Zeeb #define R_PATH0_G_TIA0_LNA6_OP1DB_V1 0x4694 83938e93258fSBjoern A. Zeeb #define B_PATH0_G_TIA0_LNA6_OP1DB_V1 GENMASK(7, 0) 83948e93258fSBjoern A. Zeeb #define R_PATH0_G_TIA1_LNA6_OP1DB_V1 0x4694 83958e93258fSBjoern A. Zeeb #define B_PATH0_R_G_OFST_MASK GENMASK(23, 16) 83968e93258fSBjoern A. Zeeb #define B_PATH0_G_TIA1_LNA6_OP1DB_V1 GENMASK(15, 8) 83978e93258fSBjoern A. Zeeb #define R_CDD_EVM_CHK_EN 0x46C0 83988e93258fSBjoern A. Zeeb #define B_CDD_EVM_CHK_EN BIT(0) 83998e93258fSBjoern A. Zeeb #define R_PATH0_BAND_SEL_V1 0x4738 84008e93258fSBjoern A. Zeeb #define B_PATH0_BAND_SEL_MSK_V1 BIT(17) 8401*6d67aabdSBjoern A. Zeeb #define B_PATH0_BAND_NRBW_EN_V1 BIT(16) 84028e93258fSBjoern A. Zeeb #define R_PATH0_BT_SHARE_V1 0x4738 84038e93258fSBjoern A. Zeeb #define B_PATH0_BT_SHARE_V1 BIT(19) 84048e93258fSBjoern A. Zeeb #define R_PATH0_BTG_PATH_V1 0x4738 84058e93258fSBjoern A. Zeeb #define B_PATH0_BTG_PATH_V1 BIT(22) 84068e93258fSBjoern A. Zeeb #define R_P0_NBIIDX 0x469C 84078e93258fSBjoern A. Zeeb #define B_P0_NBIIDX_VAL GENMASK(11, 0) 84088e93258fSBjoern A. Zeeb #define B_P0_NBIIDX_NOTCH_EN BIT(12) 84098e93258fSBjoern A. Zeeb #define R_P0_BACKOFF_IBADC_V1 0x469C 84108e93258fSBjoern A. Zeeb #define B_P0_BACKOFF_IBADC_V1 GENMASK(31, 26) 84118e93258fSBjoern A. Zeeb #define B_P0_NBIIDX_NOTCH_EN_V1 BIT(12) 84128e93258fSBjoern A. Zeeb #define R_P1_MODE 0x4718 84138e93258fSBjoern A. Zeeb #define B_P1_MODE_SEL GENMASK(31, 30) 84148e93258fSBjoern A. Zeeb #define R_P0_AGC_CTL 0x4730 84158e93258fSBjoern A. Zeeb #define B_P0_AGC_EN BIT(31) 84168e93258fSBjoern A. Zeeb #define R_PATH1_LNA_INIT 0x473C 8417e2340276SBjoern A. Zeeb #define R_PATH1_LNA_INIT_V1 0x4A80 84188e93258fSBjoern A. Zeeb #define B_PATH1_LNA_INIT_IDX_MSK GENMASK(26, 24) 8419e2340276SBjoern A. Zeeb #define R_PATH0_TIA_INIT_V1 0x473C 8420e2340276SBjoern A. Zeeb #define B_PATH0_TIA_INIT_IDX_MSK_V1 BIT(9) 84218e93258fSBjoern A. Zeeb #define R_PATH1_TIA_INIT 0x4748 84228e93258fSBjoern A. Zeeb #define B_PATH1_TIA_INIT_IDX_MSK BIT(17) 84238e93258fSBjoern A. Zeeb #define R_PATH1_BTG 0x4740 84248e93258fSBjoern A. Zeeb #define B_PATH1_BTG_SHEN GENMASK(18, 17) 84258e93258fSBjoern A. Zeeb #define R_PATH1_RXB_INIT 0x472C 84268e93258fSBjoern A. Zeeb #define B_PATH1_RXB_INIT_IDX_MSK GENMASK(9, 5) 84278e93258fSBjoern A. Zeeb #define R_PATH1_G_LNA6_OP1DB_V1 0x476C 84288e93258fSBjoern A. Zeeb #define B_PATH1_G_LNA6_OP1DB_V1 GENMASK(31, 24) 84298e93258fSBjoern A. Zeeb #define R_PATH1_P20_FOLLOW_BY_PAGCUGC 0x4774 8430e2340276SBjoern A. Zeeb #define R_PATH1_P20_FOLLOW_BY_PAGCUGC_V1 0x4CE8 8431e2340276SBjoern A. Zeeb #define R_PATH1_P20_FOLLOW_BY_PAGCUGC_V2 0x47A8 8432*6d67aabdSBjoern A. Zeeb #define R_PATH1_P20_FOLLOW_BY_PAGCUGC_V3 0x45C8 84338e93258fSBjoern A. Zeeb #define B_PATH1_P20_FOLLOW_BY_PAGCUGC_EN_MSK BIT(5) 84348e93258fSBjoern A. Zeeb #define R_PATH1_S20_FOLLOW_BY_PAGCUGC 0x4778 8435e2340276SBjoern A. Zeeb #define R_PATH1_S20_FOLLOW_BY_PAGCUGC_V1 0x4CEC 8436e2340276SBjoern A. Zeeb #define R_PATH1_S20_FOLLOW_BY_PAGCUGC_V2 0x47AC 8437*6d67aabdSBjoern A. Zeeb #define R_PATH1_S20_FOLLOW_BY_PAGCUGC_V3 0x45CC 84388e93258fSBjoern A. Zeeb #define B_PATH1_S20_FOLLOW_BY_PAGCUGC_EN_MSK BIT(5) 84398e93258fSBjoern A. Zeeb #define R_PATH1_G_TIA0_LNA6_OP1DB_V1 0x4778 84408e93258fSBjoern A. Zeeb #define B_PATH1_G_TIA0_LNA6_OP1DB_V1 GENMASK(7, 0) 84418e93258fSBjoern A. Zeeb #define R_PATH1_G_TIA1_LNA6_OP1DB_V1 0x4778 84428e93258fSBjoern A. Zeeb #define B_PATH1_G_TIA1_LNA6_OP1DB_V1 GENMASK(15, 8) 84438e93258fSBjoern A. Zeeb #define R_PATH1_BAND_SEL_V1 0x4AA4 84448e93258fSBjoern A. Zeeb #define B_PATH1_BAND_SEL_MSK_V1 BIT(17) 8445*6d67aabdSBjoern A. Zeeb #define B_PATH1_BAND_NRBW_EN_V1 BIT(16) 84468e93258fSBjoern A. Zeeb #define R_PATH1_BT_SHARE_V1 0x4AA4 84478e93258fSBjoern A. Zeeb #define B_PATH1_BT_SHARE_V1 BIT(19) 84488e93258fSBjoern A. Zeeb #define R_PATH1_BTG_PATH_V1 0x4AA4 84498e93258fSBjoern A. Zeeb #define B_PATH1_BTG_PATH_V1 BIT(22) 84508e93258fSBjoern A. Zeeb #define R_P1_NBIIDX 0x4770 84518e93258fSBjoern A. Zeeb #define B_P1_NBIIDX_VAL GENMASK(11, 0) 84528e93258fSBjoern A. Zeeb #define B_P1_NBIIDX_NOTCH_EN BIT(12) 8453e2340276SBjoern A. Zeeb #define R_PKT_CTRL 0x47D4 8454e2340276SBjoern A. Zeeb #define B_PKT_POP_EN BIT(8) 84558e93258fSBjoern A. Zeeb #define R_SEG0R_PD 0x481C 8456e2340276SBjoern A. Zeeb #define R_SEG0R_PD_V1 0x4860 8457*6d67aabdSBjoern A. Zeeb #define R_SEG0R_PD_V2 0x6A74 8458e2340276SBjoern A. Zeeb #define R_SEG0R_EDCCA_LVL 0x4840 8459e2340276SBjoern A. Zeeb #define R_SEG0R_EDCCA_LVL_V1 0x4884 8460*6d67aabdSBjoern A. Zeeb #define B_EDCCA_LVL_MSK3 GENMASK(31, 24) 8461*6d67aabdSBjoern A. Zeeb #define B_EDCCA_LVL_MSK1 GENMASK(15, 8) 8462*6d67aabdSBjoern A. Zeeb #define B_EDCCA_LVL_MSK0 GENMASK(7, 0) 8463e2340276SBjoern A. Zeeb #define B_SEG0R_PD_SPATIAL_REUSE_EN_MSK_V1 BIT(30) 84648e93258fSBjoern A. Zeeb #define B_SEG0R_PD_SPATIAL_REUSE_EN_MSK BIT(29) 84658e93258fSBjoern A. Zeeb #define B_SEG0R_PD_LOWER_BOUND_MSK GENMASK(10, 6) 8466*6d67aabdSBjoern A. Zeeb #define R_PWOFST 0x488C 8467*6d67aabdSBjoern A. Zeeb #define B_PWOFST GENMASK(21, 17) 84688e93258fSBjoern A. Zeeb #define R_2P4G_BAND 0x4970 84698e93258fSBjoern A. Zeeb #define B_2P4G_BAND_SEL BIT(1) 84708e93258fSBjoern A. Zeeb #define R_FC0_BW 0x4974 8471e2340276SBjoern A. Zeeb #define R_FC0_BW_V1 0x49C0 84728e93258fSBjoern A. Zeeb #define B_FC0_BW_SET GENMASK(31, 30) 84738e93258fSBjoern A. Zeeb #define B_ANT_RX_BT_SEG0 GENMASK(25, 22) 84748e93258fSBjoern A. Zeeb #define B_ANT_RX_1RCCA_SEG1 GENMASK(21, 18) 84758e93258fSBjoern A. Zeeb #define B_ANT_RX_1RCCA_SEG0 GENMASK(17, 14) 8476e2340276SBjoern A. Zeeb #define B_FC0_BW_INV GENMASK(6, 0) 8477*6d67aabdSBjoern A. Zeeb #define R_Q_MATRIX_00 0x497C 8478*6d67aabdSBjoern A. Zeeb #define B_Q_MATRIX_00_IMAGINARY GENMASK(15, 0) 8479*6d67aabdSBjoern A. Zeeb #define B_Q_MATRIX_00_REAL GENMASK(31, 16) 84808e93258fSBjoern A. Zeeb #define R_CHBW_MOD 0x4978 8481e2340276SBjoern A. Zeeb #define R_CHBW_MOD_V1 0x49C4 84828e93258fSBjoern A. Zeeb #define B_BT_SHARE BIT(14) 84838e93258fSBjoern A. Zeeb #define B_CHBW_MOD_SBW GENMASK(13, 12) 84848e93258fSBjoern A. Zeeb #define B_CHBW_MOD_PRICH GENMASK(11, 8) 84858e93258fSBjoern A. Zeeb #define B_ANT_RX_SEG0 GENMASK(3, 0) 8486*6d67aabdSBjoern A. Zeeb #define R_Q_MATRIX_11 0x4988 8487*6d67aabdSBjoern A. Zeeb #define B_Q_MATRIX_11_IMAGINARY GENMASK(15, 0) 8488*6d67aabdSBjoern A. Zeeb #define B_Q_MATRIX_11_REAL GENMASK(31, 16) 8489*6d67aabdSBjoern A. Zeeb #define R_CUSTOMIZE_Q_MATRIX 0x498C 8490*6d67aabdSBjoern A. Zeeb #define B_CUSTOMIZE_Q_MATRIX_EN BIT(0) 8491e2340276SBjoern A. Zeeb #define R_P0_RPL1 0x49B0 8492e2340276SBjoern A. Zeeb #define B_P0_RPL1_41_MASK GENMASK(31, 24) 8493e2340276SBjoern A. Zeeb #define B_P0_RPL1_40_MASK GENMASK(23, 16) 8494e2340276SBjoern A. Zeeb #define B_P0_RPL1_20_MASK GENMASK(15, 8) 8495e2340276SBjoern A. Zeeb #define B_P0_RPL1_MASK (B_P0_RPL1_41_MASK | B_P0_RPL1_40_MASK | B_P0_RPL1_20_MASK) 8496e2340276SBjoern A. Zeeb #define B_P0_RPL1_SHIFT 8 8497e2340276SBjoern A. Zeeb #define B_P0_RPL1_BIAS_MASK GENMASK(7, 0) 8498e2340276SBjoern A. Zeeb #define R_P0_RPL2 0x49B4 8499e2340276SBjoern A. Zeeb #define B_P0_RTL2_8A_MASK GENMASK(31, 24) 8500e2340276SBjoern A. Zeeb #define B_P0_RTL2_81_MASK GENMASK(23, 16) 8501e2340276SBjoern A. Zeeb #define B_P0_RTL2_80_MASK GENMASK(15, 8) 8502e2340276SBjoern A. Zeeb #define B_P0_RTL2_42_MASK GENMASK(7, 0) 8503e2340276SBjoern A. Zeeb #define R_P0_RPL3 0x49B8 8504e2340276SBjoern A. Zeeb #define B_P0_RTL3_89_MASK GENMASK(31, 24) 8505e2340276SBjoern A. Zeeb #define B_P0_RTL3_84_MASK GENMASK(23, 16) 8506e2340276SBjoern A. Zeeb #define B_P0_RTL3_83_MASK GENMASK(15, 8) 8507e2340276SBjoern A. Zeeb #define B_P0_RTL3_82_MASK GENMASK(7, 0) 85088e93258fSBjoern A. Zeeb #define R_PD_BOOST_EN 0x49E8 85098e93258fSBjoern A. Zeeb #define B_PD_BOOST_EN BIT(7) 85108e93258fSBjoern A. Zeeb #define R_P1_BACKOFF_IBADC_V1 0x49F0 85118e93258fSBjoern A. Zeeb #define B_P1_BACKOFF_IBADC_V1 GENMASK(31, 26) 8512e2340276SBjoern A. Zeeb #define R_P1_RPL1 0x4A00 8513e2340276SBjoern A. Zeeb #define R_P1_RPL2 0x4A04 8514e2340276SBjoern A. Zeeb #define R_P1_RPL3 0x4A08 85158e93258fSBjoern A. Zeeb #define R_BK_FC0_INV_V1 0x4A1C 85168e93258fSBjoern A. Zeeb #define B_BK_FC0_INV_MSK_V1 GENMASK(18, 0) 85178e93258fSBjoern A. Zeeb #define R_CCK_FC0_INV_V1 0x4A20 85188e93258fSBjoern A. Zeeb #define B_CCK_FC0_INV_MSK_V1 GENMASK(18, 0) 8519e2340276SBjoern A. Zeeb #define R_PATH1_RXB_INIT_V1 0x4A5C 8520e2340276SBjoern A. Zeeb #define B_PATH1_RXB_INIT_IDX_MSK_V1 GENMASK(14, 10) 85218e93258fSBjoern A. Zeeb #define R_P1_AGC_CTL 0x4A9C 85228e93258fSBjoern A. Zeeb #define B_P1_AGC_EN BIT(31) 8523e2340276SBjoern A. Zeeb #define R_PATH1_TIA_INIT_V1 0x4AA8 8524e2340276SBjoern A. Zeeb #define B_PATH1_TIA_INIT_IDX_MSK_V1 BIT(9) 8525e2340276SBjoern A. Zeeb #define R_P0_AGC_RSVD 0x4ACC 85268e93258fSBjoern A. Zeeb #define R_PATH0_RXBB_V1 0x4AD4 85278e93258fSBjoern A. Zeeb #define B_PATH0_RXBB_MSK_V1 GENMASK(31, 0) 8528e2340276SBjoern A. Zeeb #define R_P1_AGC_RSVD 0x4AD8 85298e93258fSBjoern A. Zeeb #define R_PATH1_RXBB_V1 0x4AE0 85308e93258fSBjoern A. Zeeb #define B_PATH1_RXBB_MSK_V1 GENMASK(31, 0) 85318e93258fSBjoern A. Zeeb #define R_PATH0_BT_BACKOFF_V1 0x4AE4 85328e93258fSBjoern A. Zeeb #define B_PATH0_BT_BACKOFF_V1 GENMASK(23, 0) 85338e93258fSBjoern A. Zeeb #define R_PATH1_BT_BACKOFF_V1 0x4AEC 85348e93258fSBjoern A. Zeeb #define B_PATH1_BT_BACKOFF_V1 GENMASK(23, 0) 8535e2340276SBjoern A. Zeeb #define R_DCFO_COMP_S0_V2 0x4B20 8536e2340276SBjoern A. Zeeb #define B_DCFO_COMP_S0_MSK_V2 GENMASK(13, 0) 8537e2340276SBjoern A. Zeeb #define R_PATH0_TX_CFR 0x4B30 8538e2340276SBjoern A. Zeeb #define B_PATH0_TX_CFR_LGC1 GENMASK(19, 10) 8539e2340276SBjoern A. Zeeb #define B_PATH0_TX_CFR_LGC0 GENMASK(9, 0) 8540e2340276SBjoern A. Zeeb #define R_PATH0_TX_POLAR_CLIPPING 0x4B3C 8541e2340276SBjoern A. Zeeb #define B_PATH0_TX_POLAR_CLIPPING_LGC1 GENMASK(19, 16) 8542e2340276SBjoern A. Zeeb #define B_PATH0_TX_POLAR_CLIPPING_LGC0 GENMASK(15, 12) 85438e93258fSBjoern A. Zeeb #define R_PATH0_FRC_FIR_TYPE_V1 0x4C00 85448e93258fSBjoern A. Zeeb #define B_PATH0_FRC_FIR_TYPE_MSK_V1 GENMASK(1, 0) 85458e93258fSBjoern A. Zeeb #define R_PATH0_NOTCH 0x4C14 85468e93258fSBjoern A. Zeeb #define B_PATH0_NOTCH_EN BIT(12) 85478e93258fSBjoern A. Zeeb #define B_PATH0_NOTCH_VAL GENMASK(11, 0) 85488e93258fSBjoern A. Zeeb #define R_PATH0_NOTCH2 0x4C20 85498e93258fSBjoern A. Zeeb #define B_PATH0_NOTCH2_EN BIT(12) 85508e93258fSBjoern A. Zeeb #define B_PATH0_NOTCH2_VAL GENMASK(11, 0) 85518e93258fSBjoern A. Zeeb #define R_PATH0_5MDET 0x4C4C 8552e2340276SBjoern A. Zeeb #define R_PATH0_5MDET_V1 0x46F8 85538e93258fSBjoern A. Zeeb #define B_PATH0_5MDET_EN BIT(12) 85548e93258fSBjoern A. Zeeb #define B_PATH0_5MDET_SB2 BIT(8) 85558e93258fSBjoern A. Zeeb #define B_PATH0_5MDET_SB0 BIT(6) 85568e93258fSBjoern A. Zeeb #define B_PATH0_5MDET_TH GENMASK(5, 0) 85578e93258fSBjoern A. Zeeb #define R_PATH1_FRC_FIR_TYPE_V1 0x4CC4 85588e93258fSBjoern A. Zeeb #define B_PATH1_FRC_FIR_TYPE_MSK_V1 GENMASK(1, 0) 85598e93258fSBjoern A. Zeeb #define R_PATH1_NOTCH 0x4CD8 85608e93258fSBjoern A. Zeeb #define B_PATH1_NOTCH_EN BIT(12) 85618e93258fSBjoern A. Zeeb #define B_PATH1_NOTCH_VAL GENMASK(11, 0) 85628e93258fSBjoern A. Zeeb #define R_PATH1_NOTCH2 0x4CE4 85638e93258fSBjoern A. Zeeb #define B_PATH1_NOTCH2_EN BIT(12) 85648e93258fSBjoern A. Zeeb #define B_PATH1_NOTCH2_VAL GENMASK(11, 0) 85658e93258fSBjoern A. Zeeb #define R_PATH1_5MDET 0x4D10 8566e2340276SBjoern A. Zeeb #define R_PATH1_5MDET_V1 0x47B8 85678e93258fSBjoern A. Zeeb #define B_PATH1_5MDET_EN BIT(12) 85688e93258fSBjoern A. Zeeb #define B_PATH1_5MDET_SB2 BIT(8) 85698e93258fSBjoern A. Zeeb #define B_PATH1_5MDET_SB0 BIT(6) 85708e93258fSBjoern A. Zeeb #define B_PATH1_5MDET_TH GENMASK(5, 0) 8571*6d67aabdSBjoern A. Zeeb #define R_S0S1_CSI_WGT 0x4D34 8572*6d67aabdSBjoern A. Zeeb #define B_S0S1_CSI_WGT_EN BIT(0) 8573*6d67aabdSBjoern A. Zeeb #define B_S0S1_CSI_WGT_TONE_IDX GENMASK(31, 20) 8574*6d67aabdSBjoern A. Zeeb #define R_CHINFO_ELM_SRC 0x4D84 8575*6d67aabdSBjoern A. Zeeb #define B_CHINFO_ELM_BITMAP GENMASK(22, 0) 8576*6d67aabdSBjoern A. Zeeb #define B_CHINFO_SRC GENMASK(31, 30) 8577*6d67aabdSBjoern A. Zeeb #define R_CHINFO_TYPE_SCAL 0x4D88 8578*6d67aabdSBjoern A. Zeeb #define B_CHINFO_TYPE GENMASK(2, 1) 8579*6d67aabdSBjoern A. Zeeb #define B_CHINFO_SCAL BIT(8) 85808e93258fSBjoern A. Zeeb #define R_RPL_BIAS_COMP 0x4DF0 85818e93258fSBjoern A. Zeeb #define B_RPL_BIAS_COMP_MASK GENMASK(7, 0) 85828e93258fSBjoern A. Zeeb #define R_RPL_PATHAB 0x4E0C 85838e93258fSBjoern A. Zeeb #define B_RPL_PATHB_MASK GENMASK(23, 16) 85848e93258fSBjoern A. Zeeb #define B_RPL_PATHA_MASK GENMASK(15, 8) 85858e93258fSBjoern A. Zeeb #define R_RSSI_M_PATHAB 0x4E2C 85868e93258fSBjoern A. Zeeb #define B_RSSI_M_PATHB_MASK GENMASK(15, 8) 85878e93258fSBjoern A. Zeeb #define B_RSSI_M_PATHA_MASK GENMASK(7, 0) 85888e93258fSBjoern A. Zeeb #define R_FC0_V1 0x4E30 85898e93258fSBjoern A. Zeeb #define B_FC0_MSK_V1 GENMASK(12, 0) 85908e93258fSBjoern A. Zeeb #define R_RX_BW40_2XFFT_EN_V1 0x4E30 85918e93258fSBjoern A. Zeeb #define B_RX_BW40_2XFFT_EN_MSK_V1 BIT(26) 85928e93258fSBjoern A. Zeeb #define R_DCFO_COMP_S0_V1 0x4A40 85938e93258fSBjoern A. Zeeb #define B_DCFO_COMP_S0_V1_MSK GENMASK(13, 0) 85948e93258fSBjoern A. Zeeb #define R_BMODE_PDTH_V1 0x4B64 8595*6d67aabdSBjoern A. Zeeb #define R_BMODE_PDTH_V2 0x6708 85968e93258fSBjoern A. Zeeb #define B_BMODE_PDTH_LOWER_BOUND_MSK_V1 GENMASK(31, 24) 85978e93258fSBjoern A. Zeeb #define R_BMODE_PDTH_EN_V1 0x4B74 8598*6d67aabdSBjoern A. Zeeb #define R_BMODE_PDTH_EN_V2 0x6718 85998e93258fSBjoern A. Zeeb #define B_BMODE_PDTH_LIMIT_EN_MSK_V1 BIT(30) 8600*6d67aabdSBjoern A. Zeeb #define R_BSS_CLR_VLD_V2 0x4EBC 8601*6d67aabdSBjoern A. Zeeb #define B_BSS_CLR_VLD0_V2 BIT(2) 86028e93258fSBjoern A. Zeeb #define R_CFO_COMP_SEG1_L 0x5384 86038e93258fSBjoern A. Zeeb #define R_CFO_COMP_SEG1_H 0x5388 86048e93258fSBjoern A. Zeeb #define R_CFO_COMP_SEG1_CTRL 0x538C 86058e93258fSBjoern A. Zeeb #define B_CFO_COMP_VALID_BIT BIT(29) 86068e93258fSBjoern A. Zeeb #define B_CFO_COMP_WEIGHT_MSK GENMASK(27, 24) 86078e93258fSBjoern A. Zeeb #define B_CFO_COMP_VAL_MSK GENMASK(11, 0) 8608e2340276SBjoern A. Zeeb #define R_TSSI_PA_K1 0x5600 8609e2340276SBjoern A. Zeeb #define R_TSSI_PA_K2 0x5604 8610e2340276SBjoern A. Zeeb #define R_P0_TSSI_ALIM1 0x5630 8611e2340276SBjoern A. Zeeb #define B_P0_TSSI_ALIM1 GENMASK(29, 0) 8612e2340276SBjoern A. Zeeb #define B_P0_TSSI_ALIM11 GENMASK(29, 20) 8613e2340276SBjoern A. Zeeb #define B_P0_TSSI_ALIM12 GENMASK(19, 10) 8614e2340276SBjoern A. Zeeb #define B_P0_TSSI_ALIM13 GENMASK(9, 0) 8615e2340276SBjoern A. Zeeb #define R_P0_TSSI_ALIM3 0x5634 8616e2340276SBjoern A. Zeeb #define B_P0_TSSI_ALIM31 GENMASK(9, 0) 8617e2340276SBjoern A. Zeeb #define R_TSSI_PA_K5 0x5638 8618e2340276SBjoern A. Zeeb #define R_P0_TSSI_ALIM2 0x563c 8619e2340276SBjoern A. Zeeb #define B_P0_TSSI_ALIM2 GENMASK(29, 0) 8620e2340276SBjoern A. Zeeb #define R_P0_TSSI_ALIM4 0x5640 8621e2340276SBjoern A. Zeeb #define R_TSSI_PA_K8 0x5644 8622*6d67aabdSBjoern A. Zeeb #define R_P0_TSSI_ADC_CLK 0x566c 8623*6d67aabdSBjoern A. Zeeb #define B_P0_TSSI_ADC_CLK GENMASK(17, 16) 86248e93258fSBjoern A. Zeeb #define R_UPD_CLK 0x5670 86258e93258fSBjoern A. Zeeb #define B_DAC_VAL BIT(31) 86268e93258fSBjoern A. Zeeb #define B_ACK_VAL GENMASK(30, 29) 86278e93258fSBjoern A. Zeeb #define B_DPD_DIS BIT(14) 86288e93258fSBjoern A. Zeeb #define B_DPD_GDIS BIT(13) 86298e93258fSBjoern A. Zeeb #define B_IQK_RFC_ON BIT(1) 86308e93258fSBjoern A. Zeeb #define R_TXPWRB 0x56CC 86318e93258fSBjoern A. Zeeb #define B_TXPWRB_ON BIT(28) 86328e93258fSBjoern A. Zeeb #define B_TXPWRB_VAL GENMASK(27, 19) 86338e93258fSBjoern A. Zeeb #define R_DPD_OFT_EN 0x5800 86348e93258fSBjoern A. Zeeb #define B_DPD_OFT_EN BIT(28) 8635e2340276SBjoern A. Zeeb #define B_DPD_TSSI_CW GENMASK(26, 18) 8636e2340276SBjoern A. Zeeb #define B_DPD_PWR_CW GENMASK(17, 9) 8637e2340276SBjoern A. Zeeb #define B_DPD_REF GENMASK(8, 0) 8638e2340276SBjoern A. Zeeb #define R_P0_TSSIC 0x5814 8639e2340276SBjoern A. Zeeb #define B_P0_TSSIC_BYPASS BIT(11) 86408e93258fSBjoern A. Zeeb #define R_DPD_OFT_ADDR 0x5804 86418e93258fSBjoern A. Zeeb #define B_DPD_OFT_ADDR GENMASK(31, 27) 86428e93258fSBjoern A. Zeeb #define R_TXPWRB_H 0x580c 86438e93258fSBjoern A. Zeeb #define B_TXPWRB_RDY BIT(15) 86448e93258fSBjoern A. Zeeb #define R_P0_TMETER 0x5810 86458e93258fSBjoern A. Zeeb #define B_P0_TMETER GENMASK(15, 10) 86468e93258fSBjoern A. Zeeb #define B_P0_TMETER_DIS BIT(16) 86478e93258fSBjoern A. Zeeb #define B_P0_TMETER_TRK BIT(24) 8648*6d67aabdSBjoern A. Zeeb #define R_P0_ADCFF_EN 0x58C8 8649*6d67aabdSBjoern A. Zeeb #define B_P0_ADCFF_EN BIT(24) 8650e2340276SBjoern A. Zeeb #define R_P1_TSSIC 0x7814 8651e2340276SBjoern A. Zeeb #define B_P1_TSSIC_BYPASS BIT(11) 86528e93258fSBjoern A. Zeeb #define R_P0_TSSI_TRK 0x5818 86538e93258fSBjoern A. Zeeb #define B_P0_TSSI_TRK_EN BIT(30) 8654e2340276SBjoern A. Zeeb #define B_P0_TSSI_RFC GENMASK(28, 27) 86558e93258fSBjoern A. Zeeb #define B_P0_TSSI_OFT_EN BIT(28) 86568e93258fSBjoern A. Zeeb #define B_P0_TSSI_OFT GENMASK(7, 0) 86578e93258fSBjoern A. Zeeb #define R_P0_TSSI_AVG 0x5820 8658e2340276SBjoern A. Zeeb #define B_P0_TSSI_EN BIT(31) 86598e93258fSBjoern A. Zeeb #define B_P0_TSSI_AVG GENMASK(15, 12) 86608e93258fSBjoern A. Zeeb #define R_P0_RFCTM 0x5864 8661*6d67aabdSBjoern A. Zeeb #define B_P0_CLKG_FORCE GENMASK(31, 30) 8662e2340276SBjoern A. Zeeb #define B_P0_RFCTM_EN BIT(29) 8663*6d67aabdSBjoern A. Zeeb #define B_P0_GOT_TXRX GENMASK(28, 27) 86648e93258fSBjoern A. Zeeb #define B_P0_RFCTM_VAL GENMASK(25, 20) 86658e93258fSBjoern A. Zeeb #define R_P0_RFCTM_RDY BIT(26) 86668e93258fSBjoern A. Zeeb #define R_P0_TRSW 0x5868 8667e2340276SBjoern A. Zeeb #define B_P0_BT_FORCE_ANTIDX_EN BIT(12) 86688e93258fSBjoern A. Zeeb #define B_P0_TRSW_X BIT(2) 8669e2340276SBjoern A. Zeeb #define B_P0_TRSW_A BIT(1) 8670e2340276SBjoern A. Zeeb #define B_P0_TX_ANT_SEL BIT(1) 8671e2340276SBjoern A. Zeeb #define B_P0_TRSW_B BIT(0) 8672e2340276SBjoern A. Zeeb #define B_P0_ANT_TRAIN_EN BIT(0) 86738e93258fSBjoern A. Zeeb #define B_P0_TRSW_SO_A2 GENMASK(7, 5) 8674e2340276SBjoern A. Zeeb #define R_P0_ANTSEL 0x586C 8675e2340276SBjoern A. Zeeb #define B_P0_ANTSEL_SW_5G BIT(25) 8676e2340276SBjoern A. Zeeb #define B_P0_ANTSEL_SW_2G BIT(23) 8677e2340276SBjoern A. Zeeb #define B_P0_ANTSEL_BTG_TRX BIT(21) 8678e2340276SBjoern A. Zeeb #define B_P0_ANTSEL_CGCS_CTRL BIT(17) 8679e2340276SBjoern A. Zeeb #define B_P0_ANTSEL_HW_CTRL BIT(16) 8680e2340276SBjoern A. Zeeb #define B_P0_ANTSEL_TX_ORI GENMASK(15, 12) 8681e2340276SBjoern A. Zeeb #define B_P0_ANTSEL_RX_ALT GENMASK(11, 8) 8682e2340276SBjoern A. Zeeb #define B_P0_ANTSEL_RX_ORI GENMASK(7, 4) 8683e2340276SBjoern A. Zeeb #define R_RFSW_CTRL_ANT0_BASE 0x5870 8684e2340276SBjoern A. Zeeb #define B_RFSW_CTRL_ANT_MAPPING GENMASK(15, 0) 8685e2340276SBjoern A. Zeeb #define R_RFE_SEL0_BASE 0x5880 8686e2340276SBjoern A. Zeeb #define B_RFE_SEL0_SRC_MASK GENMASK(3, 0) 8687e2340276SBjoern A. Zeeb #define R_RFE_SEL32_BASE 0x5884 8688e2340276SBjoern A. Zeeb #define RFE_SEL0_SRC_ANTSEL_0 8 8689e2340276SBjoern A. Zeeb #define R_RFE_INV0 0x5890 86908e93258fSBjoern A. Zeeb #define R_P0_RFM 0x5894 86918e93258fSBjoern A. Zeeb #define B_P0_RFM_DIS_WL BIT(7) 86928e93258fSBjoern A. Zeeb #define B_P0_RFM_TX_OPT BIT(6) 86938e93258fSBjoern A. Zeeb #define B_P0_RFM_BT_EN BIT(5) 86948e93258fSBjoern A. Zeeb #define B_P0_RFM_OUT GENMASK(4, 0) 8695e2340276SBjoern A. Zeeb #define R_P0_PATH_RST 0x58AC 8696*6d67aabdSBjoern A. Zeeb #define B_P0_PATH_RST BIT(27) 86978e93258fSBjoern A. Zeeb #define R_P0_TXDPD 0x58D4 86988e93258fSBjoern A. Zeeb #define B_P0_TXDPD GENMASK(31, 28) 86998e93258fSBjoern A. Zeeb #define R_P0_TXPW_RSTB 0x58DC 87008e93258fSBjoern A. Zeeb #define B_P0_TXPW_RSTB_MANON BIT(30) 87018e93258fSBjoern A. Zeeb #define B_P0_TXPW_RSTB_TSSI BIT(31) 87028e93258fSBjoern A. Zeeb #define R_P0_TSSI_MV_AVG 0x58E4 8703*6d67aabdSBjoern A. Zeeb #define B_P0_TXPW_RSTB GENMASK(28, 27) 8704e2340276SBjoern A. Zeeb #define B_P0_TSSI_MV_MIX GENMASK(19, 11) 87058e93258fSBjoern A. Zeeb #define B_P0_TSSI_MV_AVG GENMASK(13, 11) 8706e2340276SBjoern A. Zeeb #define B_P0_TSSI_MV_CLR BIT(14) 87078e93258fSBjoern A. Zeeb #define R_TXGAIN_SCALE 0x58F0 87088e93258fSBjoern A. Zeeb #define B_TXGAIN_SCALE_EN BIT(19) 87098e93258fSBjoern A. Zeeb #define B_TXGAIN_SCALE_OFT GENMASK(31, 24) 8710*6d67aabdSBjoern A. Zeeb #define R_P0_DAC_COMP_POST_DPD_EN 0x58F8 8711*6d67aabdSBjoern A. Zeeb #define B_P0_DAC_COMP_POST_DPD_EN BIT(31) 87128e93258fSBjoern A. Zeeb #define R_P0_TSSI_BASE 0x5C00 87138e93258fSBjoern A. Zeeb #define R_S0_DACKI 0x5E00 87148e93258fSBjoern A. Zeeb #define B_S0_DACKI_AR GENMASK(31, 28) 87158e93258fSBjoern A. Zeeb #define B_S0_DACKI_EN BIT(3) 87168e93258fSBjoern A. Zeeb #define R_S0_DACKI2 0x5E30 87178e93258fSBjoern A. Zeeb #define B_S0_DACKI2_K GENMASK(21, 12) 87188e93258fSBjoern A. Zeeb #define R_S0_DACKI7 0x5E44 87198e93258fSBjoern A. Zeeb #define B_S0_DACKI7_K GENMASK(15, 8) 87208e93258fSBjoern A. Zeeb #define R_S0_DACKI8 0x5E48 87218e93258fSBjoern A. Zeeb #define B_S0_DACKI8_K GENMASK(15, 8) 87228e93258fSBjoern A. Zeeb #define R_S0_DACKQ 0x5E50 87238e93258fSBjoern A. Zeeb #define B_S0_DACKQ_AR GENMASK(31, 28) 87248e93258fSBjoern A. Zeeb #define B_S0_DACKQ_EN BIT(3) 87258e93258fSBjoern A. Zeeb #define R_S0_DACKQ2 0x5E80 87268e93258fSBjoern A. Zeeb #define B_S0_DACKQ2_K GENMASK(21, 12) 87278e93258fSBjoern A. Zeeb #define R_S0_DACKQ7 0x5E94 87288e93258fSBjoern A. Zeeb #define B_S0_DACKQ7_K GENMASK(15, 8) 87298e93258fSBjoern A. Zeeb #define R_S0_DACKQ8 0x5E98 87308e93258fSBjoern A. Zeeb #define B_S0_DACKQ8_K GENMASK(15, 8) 8731*6d67aabdSBjoern A. Zeeb #define R_DCFO_WEIGHT_V1 0x6244 8732*6d67aabdSBjoern A. Zeeb #define B_DCFO_WEIGHT_MSK_V1 GENMASK(31, 28) 8733*6d67aabdSBjoern A. Zeeb #define R_DAC_CLK 0x625C 8734*6d67aabdSBjoern A. Zeeb #define B_DAC_CLK GENMASK(31, 30) 8735*6d67aabdSBjoern A. Zeeb #define R_DCFO_OPT_V1 0x6260 8736*6d67aabdSBjoern A. Zeeb #define B_DCFO_OPT_EN_V1 BIT(17) 8737*6d67aabdSBjoern A. Zeeb #define R_TXFCTR 0x627C 8738*6d67aabdSBjoern A. Zeeb #define B_TXFCTR_THD GENMASK(19, 10) 8739*6d67aabdSBjoern A. Zeeb #define R_TXSCALE 0x6284 8740*6d67aabdSBjoern A. Zeeb #define B_TXFCTR_EN BIT(19) 8741*6d67aabdSBjoern A. Zeeb #define R_PCOEFF01 0x6684 8742*6d67aabdSBjoern A. Zeeb #define B_PCOEFF01 GENMASK(23, 0) 8743*6d67aabdSBjoern A. Zeeb #define R_PCOEFF23 0x6688 8744*6d67aabdSBjoern A. Zeeb #define B_PCOEFF23 GENMASK(23, 0) 8745*6d67aabdSBjoern A. Zeeb #define R_PCOEFF45 0x668c 8746*6d67aabdSBjoern A. Zeeb #define B_PCOEFF45 GENMASK(23, 0) 8747*6d67aabdSBjoern A. Zeeb #define R_PCOEFF67 0x6690 8748*6d67aabdSBjoern A. Zeeb #define B_PCOEFF67 GENMASK(23, 0) 8749*6d67aabdSBjoern A. Zeeb #define R_PCOEFF89 0x6694 8750*6d67aabdSBjoern A. Zeeb #define B_PCOEFF89 GENMASK(23, 0) 8751*6d67aabdSBjoern A. Zeeb #define R_PCOEFFAB 0x6698 8752*6d67aabdSBjoern A. Zeeb #define B_PCOEFFAB GENMASK(23, 0) 8753*6d67aabdSBjoern A. Zeeb #define R_PCOEFFCD 0x669c 8754*6d67aabdSBjoern A. Zeeb #define B_PCOEFFCD GENMASK(23, 0) 8755*6d67aabdSBjoern A. Zeeb #define R_PCOEFFEF 0x66a0 8756*6d67aabdSBjoern A. Zeeb #define B_PCOEFFEF GENMASK(23, 0) 8757*6d67aabdSBjoern A. Zeeb #define R_MGAIN_BIAS 0x672c 8758*6d67aabdSBjoern A. Zeeb #define B_MGAIN_BIAS_BW20 GENMASK(3, 0) 8759*6d67aabdSBjoern A. Zeeb #define B_MGAIN_BIAS_BW40 GENMASK(7, 4) 8760*6d67aabdSBjoern A. Zeeb #define R_CCK_RPL_OFST 0x6750 8761*6d67aabdSBjoern A. Zeeb #define B_CCK_RPL_OFST GENMASK(7, 0) 8762*6d67aabdSBjoern A. Zeeb #define R_BK_FC0INV 0x6758 8763*6d67aabdSBjoern A. Zeeb #define B_BK_FC0INV GENMASK(18, 0) 8764*6d67aabdSBjoern A. Zeeb #define R_CCK_FC0INV 0x675c 8765*6d67aabdSBjoern A. Zeeb #define B_CCK_FC0INV GENMASK(18, 0) 8766*6d67aabdSBjoern A. Zeeb #define R_SEG0R_EDCCA_LVL_BE 0x69EC 8767*6d67aabdSBjoern A. Zeeb #define R_SEG0R_PPDU_LVL_BE 0x69F0 8768*6d67aabdSBjoern A. Zeeb #define R_SEGSND 0x6A14 8769*6d67aabdSBjoern A. Zeeb #define B_SEGSND_EN BIT(31) 8770*6d67aabdSBjoern A. Zeeb #define R_DBCC 0x6B48 8771*6d67aabdSBjoern A. Zeeb #define B_DBCC_EN BIT(0) 8772*6d67aabdSBjoern A. Zeeb #define R_FC0 0x6B4C 8773*6d67aabdSBjoern A. Zeeb #define B_BW40_2XFFT BIT(31) 8774*6d67aabdSBjoern A. Zeeb #define B_FC0 GENMASK(12, 0) 8775*6d67aabdSBjoern A. Zeeb #define R_FC0INV_SBW 0x6B50 8776*6d67aabdSBjoern A. Zeeb #define B_SMALLBW GENMASK(31, 30) 8777*6d67aabdSBjoern A. Zeeb #define B_RX_BT_SG0 GENMASK(25, 22) 8778*6d67aabdSBjoern A. Zeeb #define B_RX_1RCCA GENMASK(17, 14) 8779*6d67aabdSBjoern A. Zeeb #define B_FC0_INV GENMASK(6, 0) 8780*6d67aabdSBjoern A. Zeeb #define R_ANT_CHBW 0x6B54 8781*6d67aabdSBjoern A. Zeeb #define B_ANT_BT_SHARE BIT(16) 8782*6d67aabdSBjoern A. Zeeb #define B_CHBW_BW GENMASK(14, 12) 8783*6d67aabdSBjoern A. Zeeb #define B_CHBW_PRICH GENMASK(11, 8) 8784*6d67aabdSBjoern A. Zeeb #define B_ANT_RX_SG0 GENMASK(3, 0) 8785*6d67aabdSBjoern A. Zeeb #define R_SLOPE 0x6B6C 8786*6d67aabdSBjoern A. Zeeb #define B_EHT_RATE_TH GENMASK(31, 28) 8787*6d67aabdSBjoern A. Zeeb #define B_SLOPE_B GENMASK(27, 14) 8788*6d67aabdSBjoern A. Zeeb #define B_SLOPE_A GENMASK(13, 0) 8789*6d67aabdSBjoern A. Zeeb #define R_SC_CORNER 0x6B70 8790*6d67aabdSBjoern A. Zeeb #define B_SC_CORNER GENMASK(10, 0) 8791*6d67aabdSBjoern A. Zeeb #define R_MAG_A 0x6BF4 8792*6d67aabdSBjoern A. Zeeb #define B_MGA_AEND GENMASK(31, 24) 8793*6d67aabdSBjoern A. Zeeb #define R_MAG_AB 0x6BF8 8794*6d67aabdSBjoern A. Zeeb #define B_BY_SLOPE GENMASK(31, 24) 8795*6d67aabdSBjoern A. Zeeb #define B_MAG_AB GENMASK(23, 0) 8796*6d67aabdSBjoern A. Zeeb #define R_BEDGE 0x6BFC 8797*6d67aabdSBjoern A. Zeeb #define B_EHT_MCS14 BIT(31) 8798*6d67aabdSBjoern A. Zeeb #define B_HE_RATE_TH GENMASK(30, 27) 8799*6d67aabdSBjoern A. Zeeb #define R_BEDGE2 0x6C00 8800*6d67aabdSBjoern A. Zeeb #define B_EHT_MCS15 BIT(31) 8801*6d67aabdSBjoern A. Zeeb #define B_HT_VHT_TH GENMASK(11, 0) 8802*6d67aabdSBjoern A. Zeeb #define R_BEDGE3 0x6C04 8803*6d67aabdSBjoern A. Zeeb #define B_TB_EN BIT(23) 8804*6d67aabdSBjoern A. Zeeb #define B_HEMU_EN BIT(21) 8805*6d67aabdSBjoern A. Zeeb #define B_HEERSU_EN BIT(19) 8806*6d67aabdSBjoern A. Zeeb #define B_EHTTB_EN BIT(15) 8807*6d67aabdSBjoern A. Zeeb #define B_BEDGE_CFG GENMASK(1, 0) 8808*6d67aabdSBjoern A. Zeeb #define R_SU_PUNC 0x6C08 8809*6d67aabdSBjoern A. Zeeb #define B_SU_PUNC_EN BIT(1) 8810*6d67aabdSBjoern A. Zeeb #define R_BEDGE5 0x6C10 8811*6d67aabdSBjoern A. Zeeb #define B_HWGEN_EN BIT(25) 8812*6d67aabdSBjoern A. Zeeb #define B_PWROFST_COMP BIT(20) 88138e93258fSBjoern A. Zeeb #define R_RPL_BIAS_COMP1 0x6DF0 88148e93258fSBjoern A. Zeeb #define B_RPL_BIAS_COMP1_MASK GENMASK(7, 0) 8815*6d67aabdSBjoern A. Zeeb #define R_DBCC_FA 0x703C 8816*6d67aabdSBjoern A. Zeeb #define B_DBCC_FA BIT(12) 8817e2340276SBjoern A. Zeeb #define R_P1_TSSI_ALIM1 0x7630 8818e2340276SBjoern A. Zeeb #define B_P1_TSSI_ALIM1 GENMASK(29, 0) 8819e2340276SBjoern A. Zeeb #define B_P1_TSSI_ALIM11 GENMASK(29, 20) 8820e2340276SBjoern A. Zeeb #define B_P1_TSSI_ALIM12 GENMASK(19, 10) 8821e2340276SBjoern A. Zeeb #define B_P1_TSSI_ALIM13 GENMASK(9, 0) 8822e2340276SBjoern A. Zeeb #define R_P1_TSSI_ALIM3 0x7634 8823e2340276SBjoern A. Zeeb #define B_P1_TSSI_ALIM31 GENMASK(9, 0) 8824e2340276SBjoern A. Zeeb #define R_P1_TSSI_ALIM2 0x763c 8825e2340276SBjoern A. Zeeb #define B_P1_TSSI_ALIM2 GENMASK(29, 0) 8826*6d67aabdSBjoern A. Zeeb #define R_P1_TSSI_ADC_CLK 0x766c 8827*6d67aabdSBjoern A. Zeeb #define B_P1_TSSI_ADC_CLK GENMASK(17, 16) 8828*6d67aabdSBjoern A. Zeeb #define R_P1_TXAGC_TH 0x7800 8829*6d67aabdSBjoern A. Zeeb #define B_P1_TXAGC_MAXMIN GENMASK(15, 0) 8830*6d67aabdSBjoern A. Zeeb #define R_P1_TXPW_FORCE 0x780C 8831*6d67aabdSBjoern A. Zeeb #define B_P1_TXPW_RDY BIT(15) 8832e2340276SBjoern A. Zeeb #define R_P1_TSSIC 0x7814 8833e2340276SBjoern A. Zeeb #define B_P1_TSSIC_BYPASS BIT(11) 88348e93258fSBjoern A. Zeeb #define R_P1_TMETER 0x7810 88358e93258fSBjoern A. Zeeb #define B_P1_TMETER GENMASK(15, 10) 88368e93258fSBjoern A. Zeeb #define B_P1_TMETER_DIS BIT(16) 88378e93258fSBjoern A. Zeeb #define B_P1_TMETER_TRK BIT(24) 88388e93258fSBjoern A. Zeeb #define R_P1_TSSI_TRK 0x7818 88398e93258fSBjoern A. Zeeb #define B_P1_TSSI_TRK_EN BIT(30) 8840e2340276SBjoern A. Zeeb #define B_P1_TSSI_RFC GENMASK(28, 27) 88418e93258fSBjoern A. Zeeb #define B_P1_TSSI_OFT_EN BIT(28) 88428e93258fSBjoern A. Zeeb #define B_P1_TSSI_OFT GENMASK(7, 0) 88438e93258fSBjoern A. Zeeb #define R_P1_TSSI_AVG 0x7820 8844e2340276SBjoern A. Zeeb #define B_P1_TSSI_EN BIT(31) 88458e93258fSBjoern A. Zeeb #define B_P1_TSSI_AVG GENMASK(15, 12) 88468e93258fSBjoern A. Zeeb #define R_P1_RFCTM 0x7864 8847*6d67aabdSBjoern A. Zeeb #define B_P1_CLKG_FORCE GENMASK(31, 30) 8848*6d67aabdSBjoern A. Zeeb #define B_P1_GOT_TXRX GENMASK(28, 27) 88498e93258fSBjoern A. Zeeb #define R_P1_RFCTM_RDY BIT(26) 88508e93258fSBjoern A. Zeeb #define B_P1_RFCTM_VAL GENMASK(25, 20) 8851e2340276SBjoern A. Zeeb #define B_P1_RFCTM_DEL GENMASK(19, 11) 8852e2340276SBjoern A. Zeeb #define R_P1_PATH_RST 0x78AC 8853*6d67aabdSBjoern A. Zeeb #define B_P1_PATH_RST BIT(27) 8854*6d67aabdSBjoern A. Zeeb #define R_P1_ADCFF_EN 0x78C8 8855*6d67aabdSBjoern A. Zeeb #define B_P1_ADCFF_EN BIT(24) 88568e93258fSBjoern A. Zeeb #define R_P1_TXPW_RSTB 0x78DC 88578e93258fSBjoern A. Zeeb #define B_P1_TXPW_RSTB_MANON BIT(30) 88588e93258fSBjoern A. Zeeb #define B_P1_TXPW_RSTB_TSSI BIT(31) 88598e93258fSBjoern A. Zeeb #define R_P1_TSSI_MV_AVG 0x78E4 8860*6d67aabdSBjoern A. Zeeb #define B_P1_TXPW_RSTB GENMASK(28, 27) 8861e2340276SBjoern A. Zeeb #define B_P1_TSSI_MV_MIX GENMASK(19, 11) 88628e93258fSBjoern A. Zeeb #define B_P1_TSSI_MV_AVG GENMASK(13, 11) 8863e2340276SBjoern A. Zeeb #define B_P1_TSSI_MV_CLR BIT(14) 8864*6d67aabdSBjoern A. Zeeb #define R_P1_DAC_COMP_POST_DPD_EN 0x78F8 8865*6d67aabdSBjoern A. Zeeb #define B_P1_DAC_COMP_POST_DPD_EN BIT(31) 88668e93258fSBjoern A. Zeeb #define R_TSSI_THOF 0x7C00 88678e93258fSBjoern A. Zeeb #define R_S1_DACKI 0x7E00 88688e93258fSBjoern A. Zeeb #define B_S1_DACKI_AR GENMASK(31, 28) 88698e93258fSBjoern A. Zeeb #define B_S1_DACKI_EN BIT(3) 88708e93258fSBjoern A. Zeeb #define R_S1_DACKI2 0x7E30 88718e93258fSBjoern A. Zeeb #define B_S1_DACKI2_K GENMASK(21, 12) 88728e93258fSBjoern A. Zeeb #define R_S1_DACKI7 0x7E44 88738e93258fSBjoern A. Zeeb #define B_S1_DACKI_K GENMASK(15, 8) 88748e93258fSBjoern A. Zeeb #define R_S1_DACKI8 0x7E48 88758e93258fSBjoern A. Zeeb #define B_S1_DACKI8_K GENMASK(15, 8) 88768e93258fSBjoern A. Zeeb #define R_S1_DACKQ 0x7E50 88778e93258fSBjoern A. Zeeb #define B_S1_DACKQ_AR GENMASK(31, 28) 88788e93258fSBjoern A. Zeeb #define B_S1_DACKQ_EN BIT(3) 88798e93258fSBjoern A. Zeeb #define R_S1_DACKQ2 0x7E80 88808e93258fSBjoern A. Zeeb #define B_S1_DACKQ2_K GENMASK(21, 12) 88818e93258fSBjoern A. Zeeb #define R_S1_DACKQ7 0x7E94 88828e93258fSBjoern A. Zeeb #define B_S1_DACKQ7_K GENMASK(15, 8) 88838e93258fSBjoern A. Zeeb #define R_S1_DACKQ8 0x7E98 88848e93258fSBjoern A. Zeeb #define B_S1_DACKQ8_K GENMASK(15, 8) 88858e93258fSBjoern A. Zeeb #define R_NCTL_CFG 0x8000 88868e93258fSBjoern A. Zeeb #define B_NCTL_CFG_SPAGE GENMASK(2, 1) 88878e93258fSBjoern A. Zeeb #define R_NCTL_RPT 0x8008 88888e93258fSBjoern A. Zeeb #define B_NCTL_RPT_FLG BIT(26) 88898e93258fSBjoern A. Zeeb #define R_NCTL_N1 0x8010 88908e93258fSBjoern A. Zeeb #define B_NCTL_N1_CIP GENMASK(7, 0) 88918e93258fSBjoern A. Zeeb #define R_NCTL_N2 0x8014 88928e93258fSBjoern A. Zeeb #define R_IQK_COM 0x8018 88938e93258fSBjoern A. Zeeb #define R_IQK_DIF 0x801C 88948e93258fSBjoern A. Zeeb #define B_IQK_DIF_TRX GENMASK(1, 0) 88958e93258fSBjoern A. Zeeb #define R_IQK_DIF1 0x8020 88968e93258fSBjoern A. Zeeb #define B_IQK_DIF1_TXPI GENMASK(19, 0) 88978e93258fSBjoern A. Zeeb #define R_IQK_DIF2 0x8024 88988e93258fSBjoern A. Zeeb #define B_IQK_DIF2_RXPI GENMASK(19, 0) 88998e93258fSBjoern A. Zeeb #define R_IQK_DIF4 0x802C 89008e93258fSBjoern A. Zeeb #define B_IQK_DIF4_RXT GENMASK(27, 16) 89018e93258fSBjoern A. Zeeb #define B_IQK_DIF4_TXT GENMASK(11, 0) 89028e93258fSBjoern A. Zeeb #define IQK_DF4_TXT_8_25MHZ 0x021 89038e93258fSBjoern A. Zeeb #define R_IQK_CFG 0x8034 89048e93258fSBjoern A. Zeeb #define B_IQK_CFG_SET GENMASK(5, 4) 8905e2340276SBjoern A. Zeeb #define R_IQK_RXA 0x8044 8906e2340276SBjoern A. Zeeb #define B_IQK_RXAGC GENMASK(15, 13) 89078e93258fSBjoern A. Zeeb #define R_TPG_SEL 0x8068 89088e93258fSBjoern A. Zeeb #define R_TPG_MOD 0x806C 89098e93258fSBjoern A. Zeeb #define B_TPG_MOD_F GENMASK(2, 1) 89108e93258fSBjoern A. Zeeb #define R_MDPK_SYNC 0x8070 89118e93258fSBjoern A. Zeeb #define B_MDPK_SYNC_SEL BIT(31) 89128e93258fSBjoern A. Zeeb #define B_MDPK_SYNC_MAN GENMASK(31, 28) 8913e2340276SBjoern A. Zeeb #define B_MDPK_SYNC_DMAN GENMASK(30, 28) 89148e93258fSBjoern A. Zeeb #define R_MDPK_RX_DCK 0x8074 89158e93258fSBjoern A. Zeeb #define B_MDPK_RX_DCK_EN BIT(31) 89168e93258fSBjoern A. Zeeb #define R_KIP_MOD 0x8078 89178e93258fSBjoern A. Zeeb #define B_KIP_MOD GENMASK(19, 0) 89188e93258fSBjoern A. Zeeb #define R_NCTL_RW 0x8080 89198e93258fSBjoern A. Zeeb #define R_KIP_SYSCFG 0x8088 89208e93258fSBjoern A. Zeeb #define R_KIP_CLK 0x808C 89218e93258fSBjoern A. Zeeb #define R_DPK_IDL 0x809C 8922e2340276SBjoern A. Zeeb #define B_DPK_IDL_SEL GENMASK(10, 9) 89238e93258fSBjoern A. Zeeb #define B_DPK_IDL BIT(8) 89248e93258fSBjoern A. Zeeb #define R_LDL_NORM 0x80A0 89258e93258fSBjoern A. Zeeb #define B_LDL_NORM_MA BIT(16) 89268e93258fSBjoern A. Zeeb #define B_LDL_NORM_PN GENMASK(12, 8) 89278e93258fSBjoern A. Zeeb #define B_LDL_NORM_OP GENMASK(1, 0) 89288e93258fSBjoern A. Zeeb #define R_DPK_CTL 0x80B0 89298e93258fSBjoern A. Zeeb #define B_DPK_CTL_EN BIT(28) 89308e93258fSBjoern A. Zeeb #define R_DPK_CFG 0x80B8 89318e93258fSBjoern A. Zeeb #define B_DPK_CFG_IDX GENMASK(14, 12) 89328e93258fSBjoern A. Zeeb #define R_DPK_CFG2 0x80BC 89338e93258fSBjoern A. Zeeb #define B_DPK_CFG2_ST BIT(14) 89348e93258fSBjoern A. Zeeb #define R_DPK_CFG3 0x80C0 89358e93258fSBjoern A. Zeeb #define R_KPATH_CFG 0x80D0 89368e93258fSBjoern A. Zeeb #define B_KPATH_CFG_ED GENMASK(21, 20) 89378e93258fSBjoern A. Zeeb #define R_KIP_RPT1 0x80D4 89388e93258fSBjoern A. Zeeb #define B_KIP_RPT1_SEL GENMASK(21, 16) 8939e2340276SBjoern A. Zeeb #define B_KIP_RPT1_SEL_V1 GENMASK(19, 16) 89408e93258fSBjoern A. Zeeb #define R_SRAM_IQRX 0x80D8 8941e2340276SBjoern A. Zeeb #define R_IDL_MPA 0x80DC 8942e2340276SBjoern A. Zeeb #define B_IDL_DN BIT(31) 8943e2340276SBjoern A. Zeeb #define B_IDL_MD530 BIT(1) 8944e2340276SBjoern A. Zeeb #define B_IDL_MD500 BIT(0) 89458e93258fSBjoern A. Zeeb #define R_GAPK 0x80E0 89468e93258fSBjoern A. Zeeb #define B_GAPK_ADR BIT(0) 89478e93258fSBjoern A. Zeeb #define R_SRAM_IQRX2 0x80E8 89488e93258fSBjoern A. Zeeb #define R_DPK_MPA 0x80EC 89498e93258fSBjoern A. Zeeb #define B_DPK_MPA_T0 BIT(10) 89508e93258fSBjoern A. Zeeb #define B_DPK_MPA_T1 BIT(9) 89518e93258fSBjoern A. Zeeb #define B_DPK_MPA_T2 BIT(8) 89528e93258fSBjoern A. Zeeb #define R_DPK_WR 0x80F4 89538e93258fSBjoern A. Zeeb #define B_DPK_WR_ST BIT(29) 89548e93258fSBjoern A. Zeeb #define R_DPK_TRK 0x80f0 89558e93258fSBjoern A. Zeeb #define B_DPK_TRK_DIS BIT(31) 89568e93258fSBjoern A. Zeeb #define R_RPT_COM 0x80FC 89578e93258fSBjoern A. Zeeb #define B_PRT_COM_SYNERR BIT(30) 89588e93258fSBjoern A. Zeeb #define B_PRT_COM_DCI GENMASK(27, 16) 89598e93258fSBjoern A. Zeeb #define B_PRT_COM_CORV GENMASK(15, 8) 8960e2340276SBjoern A. Zeeb #define B_RPT_COM_RDY GENMASK(15, 0) 89618e93258fSBjoern A. Zeeb #define B_PRT_COM_DCQ GENMASK(11, 0) 89628e93258fSBjoern A. Zeeb #define B_PRT_COM_RXOV BIT(8) 89638e93258fSBjoern A. Zeeb #define B_PRT_COM_GL GENMASK(7, 4) 89648e93258fSBjoern A. Zeeb #define B_PRT_COM_CORI GENMASK(7, 0) 89658e93258fSBjoern A. Zeeb #define B_PRT_COM_RXBB GENMASK(5, 0) 8966e2340276SBjoern A. Zeeb #define B_PRT_COM_RXBB_V1 GENMASK(4, 0) 89678e93258fSBjoern A. Zeeb #define B_PRT_COM_DONE BIT(0) 89688e93258fSBjoern A. Zeeb #define R_COEF_SEL 0x8104 8969*6d67aabdSBjoern A. Zeeb #define R_COEF_SEL_C1 0x8204 89708e93258fSBjoern A. Zeeb #define B_COEF_SEL_IQC BIT(0) 8971*6d67aabdSBjoern A. Zeeb #define B_COEF_SEL_IQC_V1 GENMASK(1, 0) 89728e93258fSBjoern A. Zeeb #define B_COEF_SEL_MDPD BIT(8) 8973*6d67aabdSBjoern A. Zeeb #define B_COEF_SEL_MDPD_V1 GENMASK(9, 8) 8974*6d67aabdSBjoern A. Zeeb #define B_COEF_SEL_EN BIT(31) 89758e93258fSBjoern A. Zeeb #define R_CFIR_SYS 0x8120 89768e93258fSBjoern A. Zeeb #define R_IQK_RES 0x8124 8977e2340276SBjoern A. Zeeb #define B_IQK_RES_K BIT(28) 89788e93258fSBjoern A. Zeeb #define B_IQK_RES_TXCFIR GENMASK(11, 8) 89798e93258fSBjoern A. Zeeb #define B_IQK_RES_RXCFIR GENMASK(3, 0) 89808e93258fSBjoern A. Zeeb #define R_TXIQC 0x8138 89818e93258fSBjoern A. Zeeb #define R_RXIQC 0x813c 89828e93258fSBjoern A. Zeeb #define B_RXIQC_BYPASS BIT(0) 89838e93258fSBjoern A. Zeeb #define B_RXIQC_BYPASS2 BIT(2) 89848e93258fSBjoern A. Zeeb #define B_RXIQC_NEWP GENMASK(19, 8) 89858e93258fSBjoern A. Zeeb #define B_RXIQC_NEWX GENMASK(31, 20) 89868e93258fSBjoern A. Zeeb #define R_KIP 0x8140 89878e93258fSBjoern A. Zeeb #define B_KIP_DBCC BIT(0) 89888e93258fSBjoern A. Zeeb #define B_KIP_RFGAIN BIT(8) 89898e93258fSBjoern A. Zeeb #define R_RFGAIN 0x8144 89908e93258fSBjoern A. Zeeb #define B_RFGAIN_PAD GENMASK(4, 0) 89918e93258fSBjoern A. Zeeb #define B_RFGAIN_TXBB GENMASK(12, 8) 89928e93258fSBjoern A. Zeeb #define R_RFGAIN_BND 0x8148 89938e93258fSBjoern A. Zeeb #define B_RFGAIN_BND GENMASK(4, 0) 89948e93258fSBjoern A. Zeeb #define R_CFIR_MAP 0x8150 89958e93258fSBjoern A. Zeeb #define R_CFIR_LUT 0x8154 8996*6d67aabdSBjoern A. Zeeb #define R_CFIR_LUT_C1 0x8254 89978e93258fSBjoern A. Zeeb #define B_CFIR_LUT_SEL BIT(8) 89988e93258fSBjoern A. Zeeb #define B_CFIR_LUT_SET BIT(4) 8999*6d67aabdSBjoern A. Zeeb #define B_CFIR_LUT_G5 BIT(5) 90008e93258fSBjoern A. Zeeb #define B_CFIR_LUT_G3 BIT(3) 90018e93258fSBjoern A. Zeeb #define B_CFIR_LUT_G2 BIT(2) 90028e93258fSBjoern A. Zeeb #define B_CFIR_LUT_GP_V1 GENMASK(2, 0) 90038e93258fSBjoern A. Zeeb #define B_CFIR_LUT_GP GENMASK(1, 0) 90048e93258fSBjoern A. Zeeb #define R_DPK_GN 0x819C 90058e93258fSBjoern A. Zeeb #define B_DPK_GN_EN GENMASK(17, 16) 90068e93258fSBjoern A. Zeeb #define B_DPK_GN_AG GENMASK(9, 0) 90078e93258fSBjoern A. Zeeb #define R_DPD_V1 0x81a0 90088e93258fSBjoern A. Zeeb #define B_DPD_LBK BIT(7) 90098e93258fSBjoern A. Zeeb #define R_DPD_CH0 0x81AC 90108e93258fSBjoern A. Zeeb #define R_DPD_BND 0x81B4 9011e2340276SBjoern A. Zeeb #define B_DPD_BND_1 GENMASK(24, 16) 9012e2340276SBjoern A. Zeeb #define B_DPD_BND_0 GENMASK(8, 0) 90138e93258fSBjoern A. Zeeb #define R_DPD_CH0A 0x81BC 90148e93258fSBjoern A. Zeeb #define B_DPD_MEN GENMASK(31, 28) 90158e93258fSBjoern A. Zeeb #define B_DPD_ORDER GENMASK(26, 24) 9016e2340276SBjoern A. Zeeb #define B_DPD_ORDER_V1 GENMASK(26, 25) 9017e2340276SBjoern A. Zeeb #define B_DPD_CFG GENMASK(22, 0) 90188e93258fSBjoern A. Zeeb #define B_DPD_SEL GENMASK(13, 8) 90198e93258fSBjoern A. Zeeb #define R_TXAGC_RFK 0x81C4 90208e93258fSBjoern A. Zeeb #define B_TXAGC_RFK_CH0 GENMASK(5, 0) 90218e93258fSBjoern A. Zeeb #define R_DPD_COM 0x81C8 9022e2340276SBjoern A. Zeeb #define B_DPD_COM_OF BIT(15) 90238e93258fSBjoern A. Zeeb #define R_KIP_IQP 0x81CC 90248e93258fSBjoern A. Zeeb #define B_KIP_IQP_SW GENMASK(13, 12) 90258e93258fSBjoern A. Zeeb #define B_KIP_IQP_IQSW GENMASK(5, 0) 90268e93258fSBjoern A. Zeeb #define R_KIP_RPT 0x81D4 90278e93258fSBjoern A. Zeeb #define B_KIP_RPT_SEL GENMASK(21, 16) 90288e93258fSBjoern A. Zeeb #define R_W_COEF 0x81D8 90298e93258fSBjoern A. Zeeb #define R_LOAD_COEF 0x81DC 90308e93258fSBjoern A. Zeeb #define B_LOAD_COEF_MDPD BIT(16) 90318e93258fSBjoern A. Zeeb #define B_LOAD_COEF_CFIR GENMASK(1, 0) 90328e93258fSBjoern A. Zeeb #define B_LOAD_COEF_DI BIT(1) 90338e93258fSBjoern A. Zeeb #define B_LOAD_COEF_AUTO BIT(0) 90348e93258fSBjoern A. Zeeb #define R_DPK_GL 0x81F0 90358e93258fSBjoern A. Zeeb #define B_DPK_GL_A0 GENMASK(31, 28) 90368e93258fSBjoern A. Zeeb #define B_DPK_GL_A1 GENMASK(17, 0) 90378e93258fSBjoern A. Zeeb #define R_RPT_PER 0x81FC 9038e2340276SBjoern A. Zeeb #define B_RPT_PER_KSET GENMASK(31, 29) 90398e93258fSBjoern A. Zeeb #define B_RPT_PER_TSSI GENMASK(28, 16) 90408e93258fSBjoern A. Zeeb #define B_RPT_PER_OF GENMASK(15, 8) 90418e93258fSBjoern A. Zeeb #define B_RPT_PER_TH GENMASK(5, 0) 9042e2340276SBjoern A. Zeeb #define R_IQRSN 0x8220 9043e2340276SBjoern A. Zeeb #define B_IQRSN_K1 BIT(28) 9044e2340276SBjoern A. Zeeb #define B_IQRSN_K2 BIT(16) 9045*6d67aabdSBjoern A. Zeeb #define R_DPD_CH0B 0x82BC 90468e93258fSBjoern A. Zeeb #define R_RXCFIR_P0C0 0x8D40 90478e93258fSBjoern A. Zeeb #define R_RXCFIR_P0C1 0x8D84 90488e93258fSBjoern A. Zeeb #define R_RXCFIR_P0C2 0x8DC8 90498e93258fSBjoern A. Zeeb #define R_RXCFIR_P0C3 0x8E0C 90508e93258fSBjoern A. Zeeb #define R_TXCFIR_P0C0 0x8F50 90518e93258fSBjoern A. Zeeb #define R_TXCFIR_P0C1 0x8F84 90528e93258fSBjoern A. Zeeb #define R_TXCFIR_P0C2 0x8FB8 90538e93258fSBjoern A. Zeeb #define R_TXCFIR_P0C3 0x8FEC 90548e93258fSBjoern A. Zeeb #define R_RXCFIR_P1C0 0x9140 90558e93258fSBjoern A. Zeeb #define R_RXCFIR_P1C1 0x9184 90568e93258fSBjoern A. Zeeb #define R_RXCFIR_P1C2 0x91C8 90578e93258fSBjoern A. Zeeb #define R_RXCFIR_P1C3 0x920C 90588e93258fSBjoern A. Zeeb #define R_TXCFIR_P1C0 0x9350 90598e93258fSBjoern A. Zeeb #define R_TXCFIR_P1C1 0x9384 90608e93258fSBjoern A. Zeeb #define R_TXCFIR_P1C2 0x93B8 90618e93258fSBjoern A. Zeeb #define R_TXCFIR_P1C3 0x93EC 90628e93258fSBjoern A. Zeeb #define R_IQKINF 0x9FE0 90638e93258fSBjoern A. Zeeb #define B_IQKINF_VER GENMASK(31, 24) 90648e93258fSBjoern A. Zeeb #define B_IQKINF_FAIL_RXGRP GENMASK(23, 16) 90658e93258fSBjoern A. Zeeb #define B_IQKINF_FAIL_TXGRP GENMASK(15, 8) 90668e93258fSBjoern A. Zeeb #define B_IQKINF_FAIL GENMASK(3, 0) 90678e93258fSBjoern A. Zeeb #define B_IQKINF_F_RX BIT(3) 90688e93258fSBjoern A. Zeeb #define B_IQKINF_FTX BIT(2) 90698e93258fSBjoern A. Zeeb #define B_IQKINF_FFIN BIT(1) 90708e93258fSBjoern A. Zeeb #define B_IQKINF_FCOR BIT(0) 90718e93258fSBjoern A. Zeeb #define R_IQKCH 0x9FE4 90728e93258fSBjoern A. Zeeb #define B_IQKCH_CH GENMASK(15, 8) 90738e93258fSBjoern A. Zeeb #define B_IQKCH_BW GENMASK(7, 4) 90748e93258fSBjoern A. Zeeb #define B_IQKCH_BAND GENMASK(3, 0) 90758e93258fSBjoern A. Zeeb #define R_IQKINF2 0x9FE8 90768e93258fSBjoern A. Zeeb #define B_IQKINF2_FCNT GENMASK(23, 16) 90778e93258fSBjoern A. Zeeb #define B_IQKINF2_KCNT GENMASK(15, 8) 90788e93258fSBjoern A. Zeeb #define B_IQKINF2_NCTLV GENMASK(7, 0) 9079*6d67aabdSBjoern A. Zeeb #define R_RFK_ST 0xBFF8 90808e93258fSBjoern A. Zeeb #define R_DCOF0 0xC000 9081e2340276SBjoern A. Zeeb #define B_DCOF0_RST BIT(17) 90828e93258fSBjoern A. Zeeb #define B_DCOF0_V GENMASK(4, 1) 90838e93258fSBjoern A. Zeeb #define R_DCOF1 0xC004 9084*6d67aabdSBjoern A. Zeeb #define B_DCOF1_VAL GENMASK(31, 20) 9085e2340276SBjoern A. Zeeb #define B_DCOF1_RST BIT(17) 90868e93258fSBjoern A. Zeeb #define B_DCOF1_S BIT(0) 90878e93258fSBjoern A. Zeeb #define R_DCOF8 0xC020 90888e93258fSBjoern A. Zeeb #define B_DCOF8_V GENMASK(4, 1) 9089e2340276SBjoern A. Zeeb #define R_DCOF9 0xC024 9090*6d67aabdSBjoern A. Zeeb #define B_DCOF9_VAL GENMASK(31, 20) 9091e2340276SBjoern A. Zeeb #define B_DCOF9_RST BIT(17) 90928e93258fSBjoern A. Zeeb #define R_DACK_S0P0 0xC040 90938e93258fSBjoern A. Zeeb #define B_DACK_S0P0_OK BIT(31) 90948e93258fSBjoern A. Zeeb #define R_DACK_BIAS00 0xc048 90958e93258fSBjoern A. Zeeb #define B_DACK_BIAS00 GENMASK(11, 2) 90968e93258fSBjoern A. Zeeb #define R_DACK_S0P2 0xC05C 90978e93258fSBjoern A. Zeeb #define B_DACK_S0M0 GENMASK(31, 24) 90988e93258fSBjoern A. Zeeb #define B_DACK_S0P2_OK BIT(2) 90998e93258fSBjoern A. Zeeb #define R_DACK_DADCK00 0xC060 91008e93258fSBjoern A. Zeeb #define B_DACK_DADCK00 GENMASK(31, 24) 91018e93258fSBjoern A. Zeeb #define R_DACK_S0P1 0xC064 91028e93258fSBjoern A. Zeeb #define B_DACK_S0P1_OK BIT(31) 91038e93258fSBjoern A. Zeeb #define R_DACK_BIAS01 0xC06C 91048e93258fSBjoern A. Zeeb #define B_DACK_BIAS01 GENMASK(11, 2) 91058e93258fSBjoern A. Zeeb #define R_DACK_S0P3 0xC080 91068e93258fSBjoern A. Zeeb #define B_DACK_S0M1 GENMASK(31, 24) 91078e93258fSBjoern A. Zeeb #define B_DACK_S0P3_OK BIT(2) 91088e93258fSBjoern A. Zeeb #define R_DACK_DADCK01 0xC084 91098e93258fSBjoern A. Zeeb #define B_DACK_DADCK01 GENMASK(31, 24) 9110e2340276SBjoern A. Zeeb #define R_DRCK_FH 0xC094 9111e2340276SBjoern A. Zeeb #define B_DRCK_LAT BIT(9) 91128e93258fSBjoern A. Zeeb #define R_DRCK 0xC0C4 9113e2340276SBjoern A. Zeeb #define B_DRCK_MUL GENMASK(21, 17) 91148e93258fSBjoern A. Zeeb #define B_DRCK_IDLE BIT(9) 91158e93258fSBjoern A. Zeeb #define B_DRCK_EN BIT(6) 91168e93258fSBjoern A. Zeeb #define B_DRCK_VAL GENMASK(4, 0) 91178e93258fSBjoern A. Zeeb #define R_DRCK_RES 0xC0C8 91188e93258fSBjoern A. Zeeb #define B_DRCK_RES GENMASK(19, 15) 91198e93258fSBjoern A. Zeeb #define B_DRCK_POL BIT(3) 9120e2340276SBjoern A. Zeeb #define R_DRCK_V1 0xC0CC 9121e2340276SBjoern A. Zeeb #define B_DRCK_V1_SEL BIT(9) 9122e2340276SBjoern A. Zeeb #define B_DRCK_V1_KICK BIT(6) 9123e2340276SBjoern A. Zeeb #define B_DRCK_V1_CV GENMASK(4, 0) 9124e2340276SBjoern A. Zeeb #define R_DRCK_RS 0xC0D0 9125e2340276SBjoern A. Zeeb #define B_DRCK_RS_LPS GENMASK(19, 15) 9126e2340276SBjoern A. Zeeb #define B_DRCK_RS_DONE BIT(3) 91278e93258fSBjoern A. Zeeb #define R_PATH0_SAMPL_DLY_T_V1 0xC0D4 91288e93258fSBjoern A. Zeeb #define B_PATH0_SAMPL_DLY_T_MSK_V1 GENMASK(27, 26) 91298e93258fSBjoern A. Zeeb #define R_P0_CFCH_BW0 0xC0D4 91308e93258fSBjoern A. Zeeb #define B_P0_CFCH_BW0 GENMASK(27, 26) 9131e2340276SBjoern A. Zeeb #define B_P0_CFCH_EN GENMASK(14, 11) 9132e2340276SBjoern A. Zeeb #define B_P0_CFCH_CTL GENMASK(10, 7) 91338e93258fSBjoern A. Zeeb #define R_P0_CFCH_BW1 0xC0D8 9134e2340276SBjoern A. Zeeb #define B_P0_CFCH_EX BIT(13) 91358e93258fSBjoern A. Zeeb #define B_P0_CFCH_BW1 GENMASK(8, 5) 9136e2340276SBjoern A. Zeeb #define R_WDADC 0xC0E4 9137e2340276SBjoern A. Zeeb #define B_WDADC_SEL GENMASK(5, 4) 9138e2340276SBjoern A. Zeeb #define R_ADCMOD 0xC0E8 9139e2340276SBjoern A. Zeeb #define B_ADCMOD_LP GENMASK(31, 16) 9140e2340276SBjoern A. Zeeb #define R_DCIM 0xC0EC 9141*6d67aabdSBjoern A. Zeeb #define B_DCIM_RC GENMASK(23, 16) 9142e2340276SBjoern A. Zeeb #define B_DCIM_FR GENMASK(14, 13) 9143e2340276SBjoern A. Zeeb #define R_ADDCK0D 0xC0F0 9144e2340276SBjoern A. Zeeb #define B_ADDCK0D_VAL2 GENMASK(31, 26) 9145e2340276SBjoern A. Zeeb #define B_ADDCK0D_VAL GENMASK(25, 16) 9146e2340276SBjoern A. Zeeb #define B_ADDCK_DS BIT(16) 91478e93258fSBjoern A. Zeeb #define R_ADDCK0 0xC0F4 9148e2340276SBjoern A. Zeeb #define B_ADDCK0_TRG BIT(11) 9149e2340276SBjoern A. Zeeb #define B_ADDCK0_IQ BIT(10) 91508e93258fSBjoern A. Zeeb #define B_ADDCK0 GENMASK(9, 8) 9151e2340276SBjoern A. Zeeb #define B_ADDCK0_MAN GENMASK(5, 4) 91528e93258fSBjoern A. Zeeb #define B_ADDCK0_EN BIT(4) 9153e2340276SBjoern A. Zeeb #define B_ADDCK0_VAL GENMASK(3, 0) 91548e93258fSBjoern A. Zeeb #define B_ADDCK0_RST BIT(2) 91558e93258fSBjoern A. Zeeb #define R_ADDCK0_RL 0xC0F8 91568e93258fSBjoern A. Zeeb #define B_ADDCK0_RLS GENMASK(29, 28) 91578e93258fSBjoern A. Zeeb #define B_ADDCK0_RL1 GENMASK(27, 18) 91588e93258fSBjoern A. Zeeb #define B_ADDCK0_RL0 GENMASK(17, 8) 91598e93258fSBjoern A. Zeeb #define R_ADDCKR0 0xC0FC 91608e93258fSBjoern A. Zeeb #define B_ADDCKR0_A0 GENMASK(19, 10) 9161e2340276SBjoern A. Zeeb #define B_ADDCKR0_DC GENMASK(15, 4) 91628e93258fSBjoern A. Zeeb #define B_ADDCKR0_A1 GENMASK(9, 0) 91638e93258fSBjoern A. Zeeb #define R_DACK10 0xC100 9164*6d67aabdSBjoern A. Zeeb #define B_DACK10_RST BIT(17) 91658e93258fSBjoern A. Zeeb #define B_DACK10 GENMASK(4, 1) 91668e93258fSBjoern A. Zeeb #define R_DACK1_K 0xc104 9167*6d67aabdSBjoern A. Zeeb #define B_DACK1_VAL GENMASK(31, 20) 9168*6d67aabdSBjoern A. Zeeb #define B_DACK1_RST BIT(17) 91698e93258fSBjoern A. Zeeb #define B_DACK1_EN BIT(0) 91708e93258fSBjoern A. Zeeb #define R_DACK11 0xC120 91718e93258fSBjoern A. Zeeb #define B_DACK11 GENMASK(4, 1) 9172*6d67aabdSBjoern A. Zeeb #define R_DACK2_K 0xC124 9173*6d67aabdSBjoern A. Zeeb #define B_DACK2_VAL GENMASK(31, 20) 9174*6d67aabdSBjoern A. Zeeb #define B_DACK2_RST BIT(17) 9175*6d67aabdSBjoern A. Zeeb #define B_DACK2_EN BIT(0) 91768e93258fSBjoern A. Zeeb #define R_DACK_S1P0 0xC140 91778e93258fSBjoern A. Zeeb #define B_DACK_S1P0_OK BIT(31) 91788e93258fSBjoern A. Zeeb #define R_DACK_BIAS10 0xC148 91798e93258fSBjoern A. Zeeb #define B_DACK_BIAS10 GENMASK(11, 2) 91808e93258fSBjoern A. Zeeb #define R_DACK10S 0xC15C 91818e93258fSBjoern A. Zeeb #define B_DACK10S GENMASK(31, 24) 91828e93258fSBjoern A. Zeeb #define R_DACK_S1P2 0xC15C 91838e93258fSBjoern A. Zeeb #define B_DACK_S1P2_OK BIT(2) 91848e93258fSBjoern A. Zeeb #define R_DACK_DADCK10 0xC160 91858e93258fSBjoern A. Zeeb #define B_DACK_DADCK10 GENMASK(31, 24) 91868e93258fSBjoern A. Zeeb #define R_DACK_S1P1 0xC164 91878e93258fSBjoern A. Zeeb #define B_DACK_S1P1_OK BIT(31) 91888e93258fSBjoern A. Zeeb #define R_DACK_BIAS11 0xC16C 91898e93258fSBjoern A. Zeeb #define B_DACK_BIAS11 GENMASK(11, 2) 91908e93258fSBjoern A. Zeeb #define R_DACK11S 0xC180 91918e93258fSBjoern A. Zeeb #define B_DACK11S GENMASK(31, 24) 91928e93258fSBjoern A. Zeeb #define R_DACK_S1P3 0xC180 91938e93258fSBjoern A. Zeeb #define B_DACK_S1P3_OK BIT(2) 91948e93258fSBjoern A. Zeeb #define R_DACK_DADCK11 0xC184 91958e93258fSBjoern A. Zeeb #define B_DACK_DADCK11 GENMASK(31, 24) 91968e93258fSBjoern A. Zeeb #define R_PATH1_SAMPL_DLY_T_V1 0xC1D4 91978e93258fSBjoern A. Zeeb #define B_PATH1_SAMPL_DLY_T_MSK_V1 GENMASK(27, 26) 91988e93258fSBjoern A. Zeeb #define R_PATH0_BW_SEL_V1 0xC0D8 91998e93258fSBjoern A. Zeeb #define B_PATH0_BW_SEL_MSK_V1 GENMASK(8, 5) 92008e93258fSBjoern A. Zeeb #define R_PATH1_BW_SEL_V1 0xC1D8 9201e2340276SBjoern A. Zeeb #define B_PATH1_BW_SEL_EX BIT(13) 92028e93258fSBjoern A. Zeeb #define B_PATH1_BW_SEL_MSK_V1 GENMASK(8, 5) 9203e2340276SBjoern A. Zeeb #define R_ADDCK1D 0xC1F0 9204e2340276SBjoern A. Zeeb #define B_ADDCK1D_VAL2 GENMASK(31, 26) 9205e2340276SBjoern A. Zeeb #define B_ADDCK1D_VAL GENMASK(25, 16) 92068e93258fSBjoern A. Zeeb #define R_ADDCK1 0xC1F4 9207e2340276SBjoern A. Zeeb #define B_ADDCK1_TRG BIT(11) 92088e93258fSBjoern A. Zeeb #define B_ADDCK1 GENMASK(9, 8) 9209e2340276SBjoern A. Zeeb #define B_ADDCK1_MAN GENMASK(5, 4) 92108e93258fSBjoern A. Zeeb #define B_ADDCK1_EN BIT(4) 92118e93258fSBjoern A. Zeeb #define B_ADDCK1_RST BIT(2) 92128e93258fSBjoern A. Zeeb #define R_ADDCK1_RL 0xC1F8 92138e93258fSBjoern A. Zeeb #define B_ADDCK1_RLS GENMASK(29, 28) 92148e93258fSBjoern A. Zeeb #define B_ADDCK1_RL1 GENMASK(27, 18) 92158e93258fSBjoern A. Zeeb #define B_ADDCK1_RL0 GENMASK(17, 8) 92168e93258fSBjoern A. Zeeb #define R_ADDCKR1 0xC1fC 92178e93258fSBjoern A. Zeeb #define B_ADDCKR1_A0 GENMASK(19, 10) 92188e93258fSBjoern A. Zeeb #define B_ADDCKR1_A1 GENMASK(9, 0) 9219e2340276SBjoern A. Zeeb #define R_DACKN0_CTL 0xC210 9220e2340276SBjoern A. Zeeb #define B_DACKN0_EN BIT(0) 9221e2340276SBjoern A. Zeeb #define B_DACKN0_V GENMASK(21, 14) 9222e2340276SBjoern A. Zeeb #define R_DACKN1_CTL 0xC224 9223e2340276SBjoern A. Zeeb #define B_DACKN1_V GENMASK(21, 14) 9224*6d67aabdSBjoern A. Zeeb #define B_DACKN1_ON BIT(0) 9225*6d67aabdSBjoern A. Zeeb #define R_DACKN2_CTL 0xC238 9226*6d67aabdSBjoern A. Zeeb #define B_DACKN2_ON BIT(0) 9227*6d67aabdSBjoern A. Zeeb #define R_DACKN3_CTL 0xC24C 9228*6d67aabdSBjoern A. Zeeb #define B_DACKN3_ON BIT(0) 9229*6d67aabdSBjoern A. Zeeb #define R_GAIN_MAP0 0xE44C 9230*6d67aabdSBjoern A. Zeeb #define B_GAIN_MAP0_EN BIT(0) 9231*6d67aabdSBjoern A. Zeeb #define R_GAIN_MAP1 0xE54C 9232*6d67aabdSBjoern A. Zeeb #define B_GAIN_MAP1_EN BIT(0) 9233*6d67aabdSBjoern A. Zeeb #define R_GOTX_IQKDPK_C0 0xE464 9234*6d67aabdSBjoern A. Zeeb #define R_GOTX_IQKDPK_C1 0xE564 9235*6d67aabdSBjoern A. Zeeb #define B_GOTX_IQKDPK GENMASK(28, 27) 9236*6d67aabdSBjoern A. Zeeb #define R_IQK_DPK_PRST 0xE4AC 9237*6d67aabdSBjoern A. Zeeb #define R_IQK_DPK_PRST_C1 0xE5AC 9238*6d67aabdSBjoern A. Zeeb #define B_IQK_DPK_PRST BIT(27) 9239*6d67aabdSBjoern A. Zeeb #define R_TXPWR_RSTA 0xE60C 9240*6d67aabdSBjoern A. Zeeb #define B_TXPWR_RSTA BIT(16) 9241*6d67aabdSBjoern A. Zeeb #define R_TSSI_PWR_P0 0xE610 9242*6d67aabdSBjoern A. Zeeb #define R_TSSI_PWR_P1 0xE710 9243*6d67aabdSBjoern A. Zeeb #define B_TSSI_CONT_EN BIT(3) 9244*6d67aabdSBjoern A. Zeeb #define R_TSSI_MAP_OFST_P0 0xE620 9245*6d67aabdSBjoern A. Zeeb #define R_TSSI_MAP_OFST_P1 0xE720 9246*6d67aabdSBjoern A. Zeeb #define B_TSSI_MAP_OFST_OFDM GENMASK(17, 9) 9247*6d67aabdSBjoern A. Zeeb #define B_TSSI_MAP_OFST_CCK GENMASK(26, 18) 9248*6d67aabdSBjoern A. Zeeb #define R_TXAGC_REF0_P0 0xE628 9249*6d67aabdSBjoern A. Zeeb #define R_TXAGC_REF0_P1 0xE728 9250*6d67aabdSBjoern A. Zeeb #define B_TXAGC_REF0_OFDM_DBM GENMASK(8, 0) 9251*6d67aabdSBjoern A. Zeeb #define B_TXAGC_REF0_CCK_DBM GENMASK(17, 9) 9252*6d67aabdSBjoern A. Zeeb #define B_TXAGC_REF0_OFDM_CW GENMASK(26, 18) 9253*6d67aabdSBjoern A. Zeeb #define R_TXAGC_REF1_P0 0xE62C 9254*6d67aabdSBjoern A. Zeeb #define R_TXAGC_REF1_P1 0xE72C 9255*6d67aabdSBjoern A. Zeeb #define B_TXAGC_REF1_CCK_CW GENMASK(8, 0) 9256*6d67aabdSBjoern A. Zeeb #define R_TXPWR_RSTB 0xE70C 9257*6d67aabdSBjoern A. Zeeb #define B_TXPWR_RSTB BIT(16) 92588e93258fSBjoern A. Zeeb 92598e93258fSBjoern A. Zeeb /* WiFi CPU local domain */ 92608e93258fSBjoern A. Zeeb #define R_AX_WDT_CTRL 0x0040 92618e93258fSBjoern A. Zeeb #define B_AX_WDT_EN BIT(31) 92628e93258fSBjoern A. Zeeb #define B_AX_WDT_OPT_RESET_PLATFORM_EN BIT(29) 92638e93258fSBjoern A. Zeeb #define B_AX_IO_HANG_IMR BIT(27) 92648e93258fSBjoern A. Zeeb #define B_AX_IO_HANG_CMAC_RDATA_EN BIT(26) 92658e93258fSBjoern A. Zeeb #define B_AX_IO_HANG_DMAC_EN BIT(25) 92668e93258fSBjoern A. Zeeb #define B_AX_WDT_CLR BIT(16) 92678e93258fSBjoern A. Zeeb #define B_AX_WDT_COUNT_MASK GENMASK(15, 0) 92688e93258fSBjoern A. Zeeb #define WDT_CTRL_ALL_DIS 0 92698e93258fSBjoern A. Zeeb 92708e93258fSBjoern A. Zeeb #define R_AX_WDT_STATUS 0x0044 92718e93258fSBjoern A. Zeeb #define B_AX_FS_WDT_INT BIT(8) 92728e93258fSBjoern A. Zeeb #define B_AX_FS_WDT_INT_MSK BIT(0) 92738e93258fSBjoern A. Zeeb 92748e93258fSBjoern A. Zeeb #endif 9275