/linux/drivers/net/wireless/mediatek/mt7601u/ |
A D | mt7601u.h | 298 mt76_rmw(_dev, _reg, _field, FIELD_PREP(_field, _val)) 311 mt76_rmw(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val) in mt76_rmw() function 318 return mt76_rmw(dev, offset, 0, val); in mt76_set() 323 return mt76_rmw(dev, offset, val, 0); in mt76_clear()
|
A D | phy.c | 637 mt76_rmw(dev, MT_TX_ALC_CFG_1, MT_TX_ALC_CFG_1_TEMP_COMP, in mt7601u_set_initial_tssi()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
A D | usb_sdio.c | 118 mt76_rmw(dev, addr, MT_LPON_TCR_MODE, MT_LPON_TCR_READ); /* TSF read */ in mt7663_usb_sdio_set_rates() 230 mt76_rmw(dev, MT_DMA_SHDL(MT_DMASHDL_PKT_MAX_SIZE), in mt7663u_dma_sched_init() 271 mt76_rmw(dev, MT_UDMA_WLCFG_0, MT_WL_RX_AGG_LMT | MT_WL_RX_AGG_TO, in mt7663u_dma_sched_init()
|
A D | init.c | 89 mt76_rmw(dev, MT_TMAC_TRCR(chain), in mt7615_init_mac_chain() 131 mt76_rmw(dev, MT_DMA_RCFR0(chain), mask, set); in mt7615_init_mac_chain() 146 mt76_rmw(dev, MT_TMAC_CTCR0, in mt7615_mac_init() 155 mt76_rmw(dev, MT_AGG_SCR, MT_AGG_SCR_NLNAV_MID_PTEC_DIS, in mt7615_mac_init()
|
A D | dma.c | 149 mt76_rmw(dev, reg + MT_DMASHDL_PKT_MAX_SIZE, in mt7622_dma_sched_init() 172 mt76_rmw(dev, MT_DMA_SHDL(MT_DMASHDL_PKT_MAX_SIZE), in mt7663_dma_sched_init()
|
A D | mac.c | 828 mt76_rmw(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_WLAN_IDX, in mt7615_mac_wtbl_update() 1108 mt76_rmw(dev, addr, MT_LPON_TCR_MODE, MT_LPON_TCR_READ); /* TSF read */ in mt7615_mac_set_rates() 1220 mt76_rmw(dev, addr + 2 * 4, MT_WTBL_W2_KEY_TYPE, in mt7615_mac_wtbl_update_cipher() 1618 mt76_rmw(dev, MT7663_WF_PHY_MIN_PRI_PWR(ext_phy), in mt7615_mac_set_sensitivity() 1622 mt76_rmw(dev, MT7663_WF_PHY_RXTD_CCK_PD(ext_phy), in mt7615_mac_set_sensitivity() 1629 mt76_rmw(dev, MT_WF_PHY_MIN_PRI_PWR(ext_phy), in mt7615_mac_set_sensitivity() 1633 mt76_rmw(dev, MT_WF_PHY_RXTD_CCK_PD(ext_phy), in mt7615_mac_set_sensitivity()
|
A D | main.c | 888 mt76_rmw(dev, reg, MT_LPON_TCR_MODE, MT_LPON_TCR_READ); in mt7615_get_tsf() 918 mt76_rmw(dev, reg, MT_LPON_TCR_MODE, MT_LPON_TCR_WRITE); in mt7615_set_tsf() 944 mt76_rmw(dev, reg, MT_LPON_TCR_MODE, MT_LPON_TCR_ADJUST); in mt7615_offset_tsf()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
A D | init.c | 119 mt76_rmw(dev, MT_WF_RMAC_RMCR, in mt7603_phy_init() 175 mt76_rmw(dev, MT_DMA_VCFR0, BIT(0), BIT(13)); in mt7603_mac_init() 176 mt76_rmw(dev, MT_DMA_TMCFR0, BIT(0) | BIT(1), BIT(13)); in mt7603_mac_init() 181 mt76_rmw(dev, MT_WF_RMAC_MAXMINLEN, 0xffffff, 0x19000); in mt7603_mac_init()
|
A D | mcu.c | 159 mt76_rmw(dev, MT_SCH_4, MT_SCH_4_FORCE_QID, in mt7603_load_firmware()
|
A D | mac.c | 89 mt76_rmw(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_WLAN_IDX, in mt7603_wtbl_update() 251 mt76_rmw(dev, addr + 3 * 4, MT_WTBL1_W3_POWER_SAVE, in mt7603_wtbl_set_ps() 389 mt76_rmw(dev, addr + (15 * 4), tid_mask, tid_val); in mt7603_mac_tx_ba_reset()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
A D | mt76x02_mcu.c | 130 mt76_rmw(dev, MT_MCU_COM_REG0, BIT(31), 0); in mt76x02_mcu_calibrate()
|
A D | mt76.h | 824 #define mt76_rmw(dev, ...) (dev)->mt76.bus->rmw(&((dev)->mt76), __VA_ARGS__) macro 834 #define mt76_set(dev, offset, val) mt76_rmw(dev, offset, 0, val) 835 #define mt76_clear(dev, offset, val) mt76_rmw(dev, offset, val, 0) 841 mt76_rmw(_dev, _reg, _field, FIELD_PREP(_field, _val))
|
A D | mt76x02_mac.c | 937 mt76_rmw(dev, MT_CCK_PROT_CFG, in mt76x02_mac_set_rts_thresh() 939 mt76_rmw(dev, MT_OFDM_PROT_CFG, in mt76x02_mac_set_rts_thresh() 1092 mt76_rmw(dev, MT_BBP(AGC, 2), GENMASK(15, 0), in mt76x02_edcca_init()
|
/linux/drivers/net/wireless/mediatek/mt76/mt76x0/ |
A D | init.c | 133 mt76_rmw(dev, MT_WMM_CTRL, 0x3ff, 0x201); in mt76x0_init_mac_registers()
|
A D | phy.c | 466 mt76_rmw(dev, MT_CMB_CTRL, GENMASK(15, 0), ee_ant); in mt76x0_phy_ant_select() 467 mt76_rmw(dev, MT_CSR_EE_CFG1, GENMASK(15, 0), ee_cfg1); in mt76x0_phy_ant_select() 983 mt76_rmw(dev, MT_EXT_CCA_CFG, in mt76x0_phy_set_channel()
|
A D | usb.c | 166 mt76_rmw(dev, MT_US_CYC_CFG, MT_US_CYC_CNT, 0x1e); in mt76x0u_init_hardware()
|
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
A D | usb_phy.c | 129 mt76_rmw(dev, MT_EXT_CCA_CFG, in mt76x2u_phy_set_channel()
|
A D | usb_init.c | 177 mt76_rmw(dev, MT_US_CYC_CFG, MT_US_CYC_CNT, 0x1e); in mt76x2u_init_hardware()
|
A D | pci_phy.c | 192 mt76_rmw(dev, MT_EXT_CCA_CFG, in mt76x2_phy_set_channel()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
A D | main.c | 843 mt76_rmw(dev, MT_LPON_TCR(band, n), MT_LPON_TCR_SW_MODE, in __mt7915_get_tsf() 885 mt76_rmw(dev, MT_LPON_TCR(band, n), MT_LPON_TCR_SW_MODE, in mt7915_set_tsf() 911 mt76_rmw(dev, MT_LPON_TCR(band, n), MT_LPON_TCR_SW_MODE, in mt7915_offset_tsf()
|
A D | init.c | 379 mt76_rmw(dev, MT_MDP_BNRCFR0(band), mask, set); in mt7915_mac_init_band() 387 mt76_rmw(dev, MT_MDP_BNRCFR1(band), mask, set); in mt7915_mac_init_band()
|
A D | testmode.c | 388 mt76_rmw(dev, MT_AGG_MRCR(ext_phy), MT_AGG_MRCR_RTS_FAIL_LIMIT | in mt7915_tm_reg_backup_restore()
|
A D | mac.c | 85 mt76_rmw(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_WLAN_IDX, in mt7915_mac_wtbl_update()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
A D | mac.c | 46 mt76_rmw(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_WLAN_IDX, in mt7921_mac_wtbl_update()
|