/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | pci_init.c | 24 mt76_clear(dev, MT_PBF_SYS_CTRL, val); in mt76x2_mac_pbf_init() 94 mt76_clear(dev, MT_MAC_SYS_CTRL, in mt76x2_mac_reset() 99 mt76_clear(dev, MT_COEXCFG0, MT_COEXCFG0_COEX_EN); in mt76x2_mac_reset() 102 mt76_clear(dev, MT_TX_ALC_CFG_4, BIT(31)); in mt76x2_mac_reset() 110 mt76_clear(dev, MT_FCE_L2_STUFF, MT_FCE_L2_STUFF_WR_MPDU_LEN_EN); in mt76x2_mac_reset() 147 mt76_clear(dev, 0x1001c, 0xff); in mt76x2_power_on_rf_patch() 156 mt76_clear(dev, 0x10130, BIT(16)); in mt76x2_power_on_rf_patch() 176 mt76_clear(dev, 0x10130, BIT(2) << shift); in mt76x2_power_on_rf() 198 mt76_clear(dev, MT_WLAN_MTC_CTRL, 0x7f << 16); in mt76x2_power_on() 201 mt76_clear(dev, MT_WLAN_MTC_CTRL, 0xf << 24); in mt76x2_power_on() [all …]
|
H A D | usb_mac.c | 47 mt76_clear(dev, MT_FCE_L2_STUFF, MT_FCE_L2_STUFF_WR_MPDU_LEN_EN); in mt76x2u_mac_fixup_xtal() 80 mt76_clear(dev, MT_MAC_SYS_CTRL, in mt76x2u_mac_reset() 85 mt76_clear(dev, MT_COEXCFG0, MT_COEXCFG0_COEX_EN); in mt76x2u_mac_reset() 88 mt76_clear(dev, MT_TX_ALC_CFG_4, BIT(31)); in mt76x2u_mac_reset() 107 mt76_clear(dev, MT_TXOP_CTRL_CFG, MT_TXOP_ED_CCA_EN); in mt76x2u_mac_stop() 108 mt76_clear(dev, MT_TXOP_HLDR_ET, MT_TXOP_HLDR_TX40M_BLK_EN); in mt76x2u_mac_stop() 128 mt76_clear(dev, MT_MAC_SYS_CTRL, in mt76x2u_mac_stop() 144 mt76_clear(dev, MT_BBP(CORE, 4), BIT(1)); in mt76x2u_mac_stop() 147 mt76_clear(dev, MT_BBP(CORE, 4), BIT(0)); in mt76x2u_mac_stop()
|
H A D | mac.c | 15 mt76_clear(dev, MT_TXOP_CTRL_CFG, MT_TXOP_ED_CCA_EN); in mt76x2_mac_stop() 16 mt76_clear(dev, MT_TXOP_HLDR_ET, MT_TXOP_HLDR_TX40M_BLK_EN); in mt76x2_mac_stop() 38 mt76_clear(dev, MT_BBP(CORE, 4), BIT(1)); in mt76x2_mac_stop() 41 mt76_clear(dev, MT_BBP(CORE, 4), BIT(0)); in mt76x2_mac_stop()
|
H A D | usb_init.c | 33 mt76_clear(dev, MT_VEND_ADDR(CFG, 0x1c), 0xff); in mt76x2u_power_on_rf_patch() 42 mt76_clear(dev, MT_VEND_ADDR(CFG, 0x130), BIT(16)); in mt76x2u_power_on_rf_patch() 62 mt76_clear(dev, MT_VEND_ADDR(CFG, 0x130), BIT(2) << shift); in mt76x2u_power_on_rf() 84 mt76_clear(dev, MT_VEND_ADDR(CFG, 0x148), 0x7f << 16); in mt76x2u_power_on() 87 mt76_clear(dev, MT_VEND_ADDR(CFG, 0x148), 0xf << 24); in mt76x2u_power_on() 91 mt76_clear(dev, MT_VEND_ADDR(CFG, 0x148), 0xfff); in mt76x2u_power_on() 94 mt76_clear(dev, MT_VEND_ADDR(CFG, 0x1204), BIT(3)); in mt76x2u_power_on() 100 mt76_clear(dev, MT_VEND_ADDR(CFG, 0x64), BIT(18)); in mt76x2u_power_on()
|
H A D | pci_phy.c | 80 mt76_clear(dev, MT_BBP(IBI, 9), BIT(11)); in mt76x2_phy_set_antenna() 81 mt76_clear(dev, MT_BBP(TXBE, 5), 3); in mt76x2_phy_set_antenna() 91 mt76_clear(dev, MT_BBP(IBI, 9), BIT(11)); in mt76x2_phy_set_antenna() 107 mt76_clear(dev, MT_BBP(CORE, 32), GENMASK(21, 20)); in mt76x2_phy_set_antenna() 108 mt76_clear(dev, MT_BBP(CORE, 33), GENMASK(12, 9)); in mt76x2_phy_set_antenna()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | beacon.c | 18 mt76_clear(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_TX_DMA_EN); in mt7603_mac_stuck_beacon_recovery() 20 mt76_clear(dev, MT_SCH_4, MT_SCH_4_RESET); in mt7603_mac_stuck_beacon_recovery() 25 mt76_clear(dev, MT_ARB_SCR, MT_ARB_SCR_TX_DISABLE); in mt7603_mac_stuck_beacon_recovery() 26 mt76_clear(dev, MT_WF_CFG_OFF_WOCCR, MT_WF_CFG_OFF_WOCCR_TMAC_GC_DIS); in mt7603_mac_stuck_beacon_recovery() 193 mt76_clear(dev, MT_ARB_SCR, MT_ARB_SCR_BCNQ_OPMODE_MASK); in mt7603_beacon_set_timer() 207 mt76_clear(dev, MT_ARB_SCR, MT_ARB_SCR_TBTT_BCN_PRIO); in mt7603_beacon_set_timer() 224 mt76_clear(dev, MT_LPON_SBTOR(0), MT_LPON_SBTOR_SUB_BSS_EN); in mt7603_beacon_set_timer()
|
H A D | mac.c | 82 mt76_clear(dev, MT_ARB_SCR, in mt7603_mac_set_timing() 265 mt76_clear(dev, MT_WTBL1_OR, MT_WTBL1_OR_PSM_WRITE); in mt7603_wtbl_set_ps() 312 mt76_clear(dev, MT_WTBL1_OR, MT_WTBL1_OR_PSM_WRITE); in mt7603_wtbl_clear() 391 mt76_clear(dev, addr + (15 * 4), tid_mask); in mt7603_mac_tx_ba_reset() 1330 mt76_clear(dev, MT_MCU_DEBUG_RESET, MT_MCU_DEBUG_RESET_PSE_S); in mt7603_pse_reset() 1339 mt76_clear(dev, MT_MCU_DEBUG_RESET, MT_MCU_DEBUG_RESET_PSE); in mt7603_pse_reset() 1342 mt76_clear(dev, MT_MCU_DEBUG_RESET, MT_MCU_DEBUG_RESET_QUEUES); in mt7603_pse_reset() 1367 mt76_clear(dev, MT_ARB_SCR, in mt7603_mac_start() 1378 mt76_clear(dev, MT_WF_ARB_RQCR, MT_WF_ARB_RQCR_RX_START); in mt7603_mac_stop() 1389 mt76_clear(dev, addr, in mt7603_pse_client_reset() [all …]
|
H A D | dma.c | 183 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7603_dma_init() 253 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7603_dma_cleanup()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x0/ |
H A D | init.c | 78 mt76_clear(dev, MT_MAC_SYS_CTRL, in mt76x0_reset_csr_bbp() 118 mt76_clear(dev, MT_MAC_SYS_CTRL, 0x3); in mt76x0_init_mac_registers() 123 mt76_clear(dev, MT_FCE_L2_STUFF, MT_FCE_L2_STUFF_WR_MPDU_LEN_EN); in mt76x0_init_mac_registers() 140 mt76_clear(dev, MT_TXOP_CTRL_CFG, MT_TXOP_ED_CCA_EN); in mt76x0_mac_stop() 151 mt76_clear(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_RX | in mt76x0_mac_stop()
|
H A D | pci.c | 37 mt76_clear(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_TX_DMA_EN); in mt76x0e_stop_hw() 44 mt76_clear(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_RX_DMA_EN); in mt76x0e_stop_hw() 119 mt76_clear(dev, MT_COEXCFG0, BIT(0)); in mt76x0e_init_hardware() 126 mt76_clear(dev, 0x110, BIT(9)); in mt76x0e_init_hardware()
|
H A D | phy.c | 359 mt76_clear(dev, MT_RF_MISC, 0xc); in mt76x0_phy_set_chan_rf_params() 468 mt76_clear(dev, MT_COEXCFG0, BIT(2)); in mt76x0_phy_ant_select() 518 mt76_clear(dev, MT_BBP(CORE, 4), BIT(0)); in mt76x0_phy_tssi_dc_calibrate() 536 mt76_clear(dev, MT_BBP(CORE, 4), BIT(0)); in mt76x0_phy_tssi_dc_calibrate() 553 mt76_clear(dev, MT_BBP(CORE, 34), BIT(4)); in mt76x0_phy_tssi_adc_calibrate() 1000 mt76_clear(dev, MT_BBP(CORE, 1), 0x20); in mt76x0_phy_set_channel() 1033 mt76_clear(dev, MT_BBP(CORE, 34), BIT(4)); in mt76x0_phy_temp_sensor()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt792x_usb.c | 164 mt76_clear(dev, MT_UWFDMA0_GLO_CFG, MT_WFDMA0_GLO_CFG_OMIT_RX_INFO); in mt792xu_wfdma_init() 173 mt76_clear(dev, MT_UWFDMA0_GLO_CFG_EXT0, in mt792xu_wfdma_init() 186 mt76_clear(dev, MT_UWFDMA0_GLO_CFG, MT_WFDMA0_GLO_CFG_RX_DMA_EN); in mt792xu_dma_rx_evt_ep4() 217 mt76_clear(dev, MT_UDMA_WLCFG_0, MT_WL_RX_FLUSH); in mt792xu_dma_init() 222 mt76_clear(dev, MT_UDMA_WLCFG_0, in mt792xu_dma_init() 224 mt76_clear(dev, MT_UDMA_WLCFG_1, MT_WL_RX_AGG_PKT_LMT); in mt792xu_dma_init()
|
H A D | mt792x_dma.c | 230 mt76_clear(dev, MT_WFDMA0_GLO_CFG, in mt792x_dma_disable() 243 mt76_clear(dev, MT_WFDMA0_GLO_CFG_EXT0, in mt792x_dma_disable() 249 mt76_clear(dev, MT_WFDMA0_RST, in mt792x_dma_disable() 265 mt76_clear(dev, MT_WFDMA0_GLO_CFG, in mt792x_dma_cleanup() 278 mt76_clear(dev, MT_WFDMA0_RST, in mt792x_dma_cleanup() 335 mt76_clear(dev, addr, WFSYS_SW_RST_B); in mt792x_wfsys_reset()
|
H A D | mt76x02_phy.c | 44 mt76_clear(dev, MT_BBP(TXBE, 5), 0x3); in mt76x02_phy_set_txdac() 156 mt76_clear(dev, MT_TX_BAND_CFG, MT_TX_BAND_CFG_5G); in mt76x02_phy_set_band() 159 mt76_clear(dev, MT_TX_BAND_CFG, MT_TX_BAND_CFG_2G); in mt76x02_phy_set_band()
|
H A D | mt76x02_beacon.c | 96 mt76_clear(dev, MT_BEACON_TIME_CFG, in mt76x02_mac_set_beacon_enable() 209 mt76_clear(dev, MT_BEACON_TIME_CFG, (MT_BEACON_TIME_CFG_TIMER_EN | in mt76x02_init_beacon_config()
|
H A D | mt76x02_mmio.c | 313 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt76x02_dma_enable() 450 mt76_clear(dev, MT_BEACON_TIME_CFG, in mt76x02_watchdog_reset() 457 mt76_clear(dev, MT_TXOP_CTRL_CFG, MT_TXOP_ED_CCA_EN); in mt76x02_watchdog_reset() 459 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt76x02_watchdog_reset()
|
H A D | mt76x02_mac.c | 249 mt76_clear(dev, MT_AUTO_RSP_CFG, MT_AUTO_RSP_PREAMB_SHORT); in mt76x02_mac_set_short_preamble() 1093 mt76_clear(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt76x02_edcca_tx_enable() 1094 mt76_clear(dev, MT_AUTO_RSP_CFG, MT_AUTO_RSP_EN); in mt76x02_edcca_tx_enable() 1096 mt76_clear(dev, MT_TX_PIN_CFG, MT_TX_PIN_CFG_TXANT); in mt76x02_edcca_tx_enable() 1097 mt76_clear(dev, MT_TX_PIN_CFG, MT_TX_PIN_CFG_RXANT); in mt76x02_edcca_tx_enable() 1111 mt76_clear(dev, MT_TX_LINK_CFG, MT_TX_CFACK_EN); in mt76x02_edcca_init() 1118 mt76_clear(dev, MT_TXOP_CTRL_CFG, MT_TXOP_ED_CCA_EN); in mt76x02_edcca_init() 1125 mt76_clear(dev, MT_TXOP_HLDR_ET, in mt76x02_edcca_init()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | dma.c | 180 mt76_clear(dev, MT_WFDMA0_RST, in mt7915_dma_disable() 189 mt76_clear(dev, MT_WFDMA1_RST, in mt7915_dma_disable() 199 mt76_clear(dev, MT_WFDMA0_RST + hif1_ofs, in mt7915_dma_disable() 208 mt76_clear(dev, MT_WFDMA1_RST + hif1_ofs, in mt7915_dma_disable() 220 mt76_clear(dev, MT_WFDMA0_GLO_CFG, in mt7915_dma_disable() 228 mt76_clear(dev, MT_WFDMA1_GLO_CFG, in mt7915_dma_disable() 236 mt76_clear(dev, MT_WFDMA0_GLO_CFG + hif1_ofs, in mt7915_dma_disable() 244 mt76_clear(dev, MT_WFDMA1_GLO_CFG + hif1_ofs, in mt7915_dma_disable() 438 mt76_clear(dev, MT_WFDMA_HOST_CONFIG, MT_WFDMA_HOST_CONFIG_WED); in mt7915_dma_init()
|
H A D | init.c | 252 mt76_clear(dev, MT_LED_CTRL(mphy->band_idx), MT_LED_CTRL_KICK); in mt7915_led_set_config() 481 mt76_clear(dev, MT_DMA_DCR0(band), MT_DMA_DCR0_RXD_G5_EN); in mt7915_mac_init_band() 487 mt76_clear(dev, MT_WF_RMAC_MIB_AIRTIME1(band), in mt7915_mac_init_band() 489 mt76_clear(dev, MT_WF_RMAC_MIB_AIRTIME3(band), in mt7915_mac_init_band() 491 mt76_clear(dev, MT_WF_RMAC_MIB_AIRTIME4(band), in mt7915_mac_init_band() 592 mt76_clear(dev, MT_MDP_DCR2, MT_MDP_DCR2_RX_TRANS_SHORT); in mt7915_mac_init() 594 mt76_clear(dev, MT_PLE_HOST_RPT0, MT_PLE_HOST_RPT0_TX_LATENCY); in mt7915_mac_init() 743 mt76_clear(dev, MT_TOP_MISC, MT_TOP_MISC_FW_STATE); in mt7915_wfsys_reset() 756 mt76_clear(dev, MT_WF_SUBSYS_RST, 0x1); in mt7915_wfsys_reset()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | dma.c | 94 mt76_clear(dev, MT_WFDMA0_RST, in mt7996_dma_disable() 103 mt76_clear(dev, MT_WFDMA0_RST + hif1_ofs, in mt7996_dma_disable() 114 mt76_clear(dev, MT_WFDMA0_GLO_CFG, in mt7996_dma_disable() 122 mt76_clear(dev, MT_WFDMA0_GLO_CFG + hif1_ofs, in mt7996_dma_disable() 377 mt76_clear(dev, MT_WFDMA0_GLO_CFG, in mt7996_dma_reset() 382 mt76_clear(dev, MT_WFDMA0_GLO_CFG + hif1_ofs, in mt7996_dma_reset()
|
H A D | init.c | 73 mt76_clear(dev, MT_LED_CTRL(0), MT_LED_CTRL_KICK); in mt7996_led_set_config() 243 mt76_clear(dev, MT_WF_RMAC_MIB_AIRTIME1(band), in mt7996_mac_init_band() 245 mt76_clear(dev, MT_WF_RMAC_MIB_AIRTIME3(band), in mt7996_mac_init_band() 247 mt76_clear(dev, MT_WF_RMAC_MIB_AIRTIME4(band), in mt7996_mac_init_band() 282 mt76_clear(dev, MT_MDP_DCR2, MT_MDP_DCR2_RX_TRANS_SHORT); in mt7996_mac_init() 440 mt76_clear(dev, MT_WF_SUBSYS_RST, 0x1); in mt7996_wfsys_reset()
|
H A D | coredump.c | 135 mt76_clear(dev, MT_MCU_WM_EXCP_PC_CTRL, BIT(0)); in mt7996_coredump_fw_stack() 136 mt76_clear(dev, MT_MCU_WM_EXCP_LR_CTRL, BIT(0)); in mt7996_coredump_fw_stack()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | dma.c | 255 mt76_clear(dev, 0x7000, BIT(23)); in mt7615_dma_init() 310 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_cleanup()
|
H A D | usb_mcu.c | 96 mt76_clear(dev, MT_UDMA_TX_QSEL, MT_FW_DL_EN); in mt7663u_mcu_init()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | init.c | 264 mt76_clear(dev, MT_BEACON_TIME_CFG, MT_BEACON_TIME_CFG_TIMER_EN | in mt7601u_mac_stop_hw() 281 mt76_clear(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_RX | in mt7601u_mac_stop_hw() 383 mt76_clear(dev, MT_BEACON_TIME_CFG, (MT_BEACON_TIME_CFG_TIMER_EN | in mt7601u_init_hardware()
|