/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
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() 102 mt76_clear(dev, MT_TX_ALC_CFG_4, BIT(31)); 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() 205 mt76_clear(dev, MT_WLAN_MTC_CTRL, 0xfff); in mt76x2_power_on() 208 mt76_clear(dev, 0x11204, BIT(3)); in mt76x2_power_on() [all …]
|
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()
|
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()
|
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()
|
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()
|
/linux/drivers/net/wireless/mediatek/mt76/mt76x0/ |
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()
|
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() 118 mt76_clear(dev, MT_COEXCFG0, BIT(0)); in mt76x0e_init_hardware() 125 mt76_clear(dev, 0x110, BIT(9)); in mt76x0e_init_hardware()
|
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() 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()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
A D | dma.c | 189 mt76_clear(dev, MT_WFDMA0_RST, in mt7921_dma_disable() 199 mt76_clear(dev, MT_WFDMA0_GLO_CFG_EXT0, in mt7921_dma_disable() 204 mt76_clear(dev, MT_WFDMA0_GLO_CFG, in mt7921_dma_disable() 277 mt76_clear(dev, MT_WFSYS_SW_RST_B, WFSYS_SW_RST_B); in mt7921_wfsys_reset() 428 mt76_clear(dev, MT_WFDMA0_GLO_CFG, in mt7921_dma_cleanup() 437 mt76_clear(dev, MT_WFDMA0_RST, in mt7921_dma_cleanup()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
A D | dma.c | 240 mt76_clear(dev, MT_WFDMA0_GLO_CFG, in mt7915_dma_cleanup() 243 mt76_clear(dev, MT_WFDMA1_GLO_CFG, in mt7915_dma_cleanup() 248 mt76_clear(dev, MT_WFDMA1_RST, in mt7915_dma_cleanup() 256 mt76_clear(dev, MT_WFDMA0_RST, in mt7915_dma_cleanup()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
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()
|
A 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()
|
A D | mt76x02_mmio.c | 312 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt76x02_dma_enable() 447 mt76_clear(dev, MT_BEACON_TIME_CFG, in mt76x02_watchdog_reset() 454 mt76_clear(dev, MT_TXOP_CTRL_CFG, MT_TXOP_ED_CCA_EN); in mt76x02_watchdog_reset() 456 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt76x02_watchdog_reset()
|
A D | mt76x02_mac.c | 249 mt76_clear(dev, MT_AUTO_RSP_CFG, MT_AUTO_RSP_PREAMB_SHORT); in mt76x02_mac_set_short_preamble() 1072 mt76_clear(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt76x02_edcca_tx_enable() 1073 mt76_clear(dev, MT_AUTO_RSP_CFG, MT_AUTO_RSP_EN); in mt76x02_edcca_tx_enable() 1075 mt76_clear(dev, MT_TX_PIN_CFG, MT_TX_PIN_CFG_TXANT); in mt76x02_edcca_tx_enable() 1076 mt76_clear(dev, MT_TX_PIN_CFG, MT_TX_PIN_CFG_RXANT); in mt76x02_edcca_tx_enable() 1090 mt76_clear(dev, MT_TX_LINK_CFG, MT_TX_CFACK_EN); in mt76x02_edcca_init() 1097 mt76_clear(dev, MT_TXOP_CTRL_CFG, MT_TXOP_ED_CCA_EN); in mt76x02_edcca_init() 1104 mt76_clear(dev, MT_TXOP_HLDR_ET, in mt76x02_edcca_init()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
A D | beacon.c | 159 mt76_clear(dev, MT_ARB_SCR, MT_ARB_SCR_BCNQ_OPMODE_MASK); in mt7603_beacon_set_timer() 172 mt76_clear(dev, MT_ARB_SCR, MT_ARB_SCR_TBTT_BCN_PRIO); in mt7603_beacon_set_timer() 189 mt76_clear(dev, MT_LPON_SBTOR(0), MT_LPON_SBTOR_SUB_BSS_EN); in mt7603_beacon_set_timer()
|
A 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() 1354 mt76_clear(dev, MT_ARB_SCR, in mt7603_mac_start() 1365 mt76_clear(dev, MT_WF_ARB_RQCR, MT_WF_ARB_RQCR_RX_START); in mt7603_mac_stop() 1376 mt76_clear(dev, addr, in mt7603_pse_client_reset() 1395 mt76_clear(dev, addr, in mt7603_pse_client_reset() 1406 mt76_clear(dev, MT_SCH_4, MT_SCH_4_RESET); in mt7603_dma_sched_reset() 1442 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7603_mac_watchdog_reset() [all …]
|
A D | dma.c | 165 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7603_dma_init() 235 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7603_dma_cleanup()
|
A 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()
|
A D | mcu.c | 201 mt76_clear(dev, MT_SCH_4, MT_SCH_4_FORCE_QID | MT_SCH_4_BYPASS); in mt7603_load_firmware() 204 mt76_clear(dev, MT_SCH_4, BIT(8)); in mt7603_load_firmware()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
A D | dma.c | 257 mt76_clear(dev, 0x7000, BIT(23)); in mt7615_dma_init() 312 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_cleanup()
|
A D | usb_mcu.c | 83 mt76_clear(dev, MT_UDMA_TX_QSEL, MT_FW_DL_EN); in mt7663u_mcu_init()
|
A D | testmode.c | 161 mt76_clear(dev, MT_ARB_SCR, in mt7615_tm_set_rx_enable() 167 mt76_clear(dev, MT_ARB_RQCR, rqcr_mask); in mt7615_tm_set_rx_enable()
|
A D | usb_sdio.c | 239 mt76_clear(dev, MT_DMA_SHDL(MT_DMASHDL_PAGE), BIT(16)); in mt7663u_dma_sched_init() 263 mt76_clear(dev, MT_UDMA_WLCFG_0, MT_WL_RX_FLUSH); in mt7663u_dma_sched_init()
|
/linux/drivers/net/wireless/mediatek/mt7601u/ |
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()
|
A 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()
|