/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x2/ |
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 …]
|
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()
|
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()
|
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()
|
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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x0/ |
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()
|
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() 116 mt76_clear(dev, MT_COEXCFG0, BIT(0)); in mt76x0e_register_device() 123 mt76_clear(dev, 0x110, BIT(9)); in mt76x0e_register_device()
|
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() 998 mt76_clear(dev, MT_BBP(CORE, 1), 0x20); in mt76x0_phy_set_channel() 1031 mt76_clear(dev, MT_BBP(CORE, 34), BIT(4)); in mt76x0_phy_temp_sensor()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | dma.c | 351 mt76_clear(dev, MT_WFDMA0_GLO_CFG, in mt7915_dma_cleanup() 354 mt76_clear(dev, MT_WFDMA1_GLO_CFG, in mt7915_dma_cleanup() 359 mt76_clear(dev, MT_WFDMA1_RST, in mt7915_dma_cleanup() 367 mt76_clear(dev, MT_WFDMA0_RST, in mt7915_dma_cleanup()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
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()
|
D | mt76x02_beacon.c | 92 mt76_clear(dev, MT_BEACON_TIME_CFG, in mt76x02_mac_set_beacon_enable() 205 mt76_clear(dev, MT_BEACON_TIME_CFG, (MT_BEACON_TIME_CFG_TIMER_EN | in mt76x02_init_beacon_config()
|
D | mt76x02_mmio.c | 323 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt76x02_dma_enable() 458 mt76_clear(dev, MT_BEACON_TIME_CFG, in mt76x02_watchdog_reset() 465 mt76_clear(dev, MT_TXOP_CTRL_CFG, MT_TXOP_ED_CCA_EN); in mt76x02_watchdog_reset() 467 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt76x02_watchdog_reset()
|
D | mt76x02_mac.c | 249 mt76_clear(dev, MT_AUTO_RSP_CFG, MT_AUTO_RSP_PREAMB_SHORT); in mt76x02_mac_set_short_preamble() 1070 mt76_clear(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt76x02_edcca_tx_enable() 1071 mt76_clear(dev, MT_AUTO_RSP_CFG, MT_AUTO_RSP_EN); in mt76x02_edcca_tx_enable() 1073 mt76_clear(dev, MT_TX_PIN_CFG, MT_TX_PIN_CFG_TXANT); in mt76x02_edcca_tx_enable() 1074 mt76_clear(dev, MT_TX_PIN_CFG, MT_TX_PIN_CFG_RXANT); in mt76x02_edcca_tx_enable() 1088 mt76_clear(dev, MT_TX_LINK_CFG, MT_TX_CFACK_EN); in mt76x02_edcca_init() 1095 mt76_clear(dev, MT_TXOP_CTRL_CFG, MT_TXOP_ED_CCA_EN); in mt76x02_edcca_init() 1102 mt76_clear(dev, MT_TXOP_HLDR_ET, in mt76x02_edcca_init()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | beacon.c | 157 mt76_clear(dev, MT_ARB_SCR, MT_ARB_SCR_BCNQ_OPMODE_MASK); in mt7603_beacon_set_timer() 170 mt76_clear(dev, MT_ARB_SCR, MT_ARB_SCR_TBTT_BCN_PRIO); in mt7603_beacon_set_timer() 187 mt76_clear(dev, MT_LPON_SBTOR(0), MT_LPON_SBTOR_SUB_BSS_EN); in mt7603_beacon_set_timer()
|
D | mac.c | 82 mt76_clear(dev, MT_ARB_SCR, in mt7603_mac_set_timing() 253 mt76_clear(dev, MT_WTBL1_OR, MT_WTBL1_OR_PSM_WRITE); in mt7603_wtbl_set_ps() 300 mt76_clear(dev, MT_WTBL1_OR, MT_WTBL1_OR_PSM_WRITE); in mt7603_wtbl_clear() 377 mt76_clear(dev, addr + (15 * 4), tid_mask); in mt7603_mac_tx_ba_reset() 1301 mt76_clear(dev, MT_MCU_DEBUG_RESET, MT_MCU_DEBUG_RESET_PSE_S); in mt7603_pse_reset() 1310 mt76_clear(dev, MT_MCU_DEBUG_RESET, MT_MCU_DEBUG_RESET_PSE); in mt7603_pse_reset() 1313 mt76_clear(dev, MT_MCU_DEBUG_RESET, MT_MCU_DEBUG_RESET_QUEUES); in mt7603_pse_reset() 1338 mt76_clear(dev, MT_ARB_SCR, in mt7603_mac_start() 1349 mt76_clear(dev, MT_WF_ARB_RQCR, MT_WF_ARB_RQCR_RX_START); in mt7603_mac_stop() 1360 mt76_clear(dev, addr, in mt7603_pse_client_reset() [all …]
|
D | dma.c | 184 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7603_dma_init() 244 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7603_dma_cleanup()
|
D | init.c | 178 mt76_clear(dev, MT_WF_RMAC_TMR_PA, BIT(31)); in mt7603_mac_init() 260 mt76_clear(dev, MT_SEC_SCR, MT_SEC_SCR_MASK_ORDER); in mt7603_mac_init() 261 mt76_clear(dev, MT_SEC_SCR, BIT(18)); in mt7603_mac_init()
|
D | mcu.c | 248 mt76_clear(dev, MT_SCH_4, MT_SCH_4_FORCE_QID | MT_SCH_4_BYPASS); in mt7603_load_firmware() 251 mt76_clear(dev, MT_SCH_4, BIT(8)); in mt7603_load_firmware()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | dma.c | 237 mt76_clear(dev, 0x7000, BIT(23)); in mt7615_dma_init() 295 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_cleanup()
|
D | usb_mcu.c | 94 mt76_clear(dev, MT_UDMA_TX_QSEL, MT_FW_DL_EN); in mt7663u_mcu_init()
|
D | testmode.c | 167 mt76_clear(dev, MT_ARB_SCR, in mt7615_tm_set_rx_enable() 173 mt76_clear(dev, MT_ARB_RQCR, rqcr_mask); in mt7615_tm_set_rx_enable()
|
D | usb_sdio.c | 289 mt76_clear(dev, MT_DMA_SHDL(MT_DMASHDL_PAGE), BIT(16)); in mt7663u_dma_sched_init() 313 mt76_clear(dev, MT_UDMA_WLCFG_0, MT_WL_RX_FLUSH); in mt7663u_dma_sched_init()
|
D | pci.c | 156 mt76_clear(dev, MT_PDMA_SLP_PROT, MT_PDMA_AXI_SLPPROT_ENABLE); in mt7615_pci_resume()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/ |
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()
|
D | main.c | 229 mt76_clear(dev, MT_WCID_DROP(idx), MT_WCID_DROP_MASK(idx)); in mt7601u_sta_add() 364 mt76_clear(dev, MT_WCID_ADDR(msta->wcid.idx) + 4, in mt76_ampdu_action()
|