/drivers/net/wireless/mediatek/mt7601u/ |
D | init.c | 234 if (!mt76_poll(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_TX_DMA_BUSY | in mt7601u_mac_start() 250 if (!mt76_poll(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_TX_DMA_BUSY | in mt7601u_mac_start() 268 if (!mt76_poll(dev, MT_USB_DMA_CFG, MT_USB_DMA_CFG_TX_BUSY, 0, 1000)) in mt7601u_mac_stop_hw() 278 if (!mt76_poll(dev, MT_MAC_STATUS, MT_MAC_STATUS_TX, 0, 1000)) in mt7601u_mac_stop_hw() 298 if (!mt76_poll(dev, MT_MAC_STATUS, MT_MAC_STATUS_RX, 0, 1000)) in mt7601u_mac_stop_hw() 301 if (!mt76_poll(dev, MT_USB_DMA_CFG, MT_USB_DMA_CFG_RX_BUSY, 0, 1000)) in mt7601u_mac_stop_hw()
|
D | phy.c | 31 if (!mt76_poll(dev, MT_RF_CSR_CFG, MT_RF_CSR_CFG_KICK, 0, 100)) { in mt7601u_rf_wr() 67 if (!mt76_poll(dev, MT_RF_CSR_CFG, MT_RF_CSR_CFG_KICK, 0, 100)) in mt7601u_rf_rr() 75 if (!mt76_poll(dev, MT_RF_CSR_CFG, MT_RF_CSR_CFG_KICK, 0, 100)) in mt7601u_rf_rr() 130 if (!mt76_poll(dev, MT_BBP_CSR_CFG, MT_BBP_CSR_CFG_BUSY, 0, 1000)) { in mt7601u_bbp_wr() 156 if (!mt76_poll(dev, MT_BBP_CSR_CFG, MT_BBP_CSR_CFG_BUSY, 0, 1000)) in mt7601u_bbp_rr() 164 if (!mt76_poll(dev, MT_BBP_CSR_CFG, MT_BBP_CSR_CFG_BUSY, 0, 1000)) in mt7601u_bbp_rr() 1193 mt76_poll(dev, MT_MAC_STATUS, MT_MAC_STATUS_TX | MT_MAC_STATUS_RX, in mt7601u_bbp_set_bw()
|
D | core.c | 28 bool mt76_poll(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val, in mt76_poll() function
|
D | mt7601u.h | 291 bool mt76_poll(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val,
|
D | eeprom.c | 46 if (!mt76_poll(dev, MT_EFUSE_CTRL, MT_EFUSE_CTRL_KICK, 0, 1000)) in mt7601u_efuse_read()
|
/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | init.c | 40 if (enable && !mt76_poll(dev, MT_CMB_CTRL, mask, mask, 2000)) in mt76x0_set_wlan_state() 148 if (!mt76_poll(dev, MT_MAC_STATUS, MT_MAC_STATUS_TX, 0, 1000)) in mt76x0_mac_stop() 166 if (!mt76_poll(dev, MT_MAC_STATUS, MT_MAC_STATUS_RX, 0, 1000)) in mt76x0_mac_stop()
|
D | pci.c | 34 if (!mt76_poll(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_TX_DMA_BUSY, in mt76x0e_stop_hw() 41 if (!mt76_poll(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_RX_DMA_BUSY, in mt76x0e_stop_hw()
|
D | usb.c | 93 if (!mt76_poll(dev, MT_USB_DMA_CFG, MT_USB_DMA_CFG_TX_BUSY, 0, 1000)) in mt76x0u_stop() 98 if (!mt76_poll(dev, MT_USB_DMA_CFG, MT_USB_DMA_CFG_RX_BUSY, 0, 1000)) in mt76x0u_stop()
|
D | pci_mcu.c | 60 if (is_combo_chip && !mt76_poll(dev, MT_MCU_SEMAPHORE_00, 1, 1, 600)) { in mt76x0e_load_firmware()
|
D | phy.c | 37 if (!mt76_poll(dev, MT_RF_CSR_CFG, MT_RF_CSR_CFG_KICK, 0, 100)) { in mt76x0_rf_csr_wr() 76 if (!mt76_poll(dev, MT_RF_CSR_CFG, MT_RF_CSR_CFG_KICK, 0, 100)) in mt76x0_rf_csr_rr() 84 if (!mt76_poll(dev, MT_RF_CSR_CFG, MT_RF_CSR_CFG_KICK, 0, 100)) in mt76x0_rf_csr_rr()
|
/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | beacon.c | 57 if (!mt76_poll(dev, MT_DMA_FQCR0, MT_DMA_FQCR0_BUSY, 0, 5000)) { in mt7603_update_beacon_iter() 64 if (!mt76_poll(dev, MT_DMA_FQCR0, MT_DMA_FQCR0_BUSY, 0, 5000)) { in mt7603_update_beacon_iter()
|
D | mac.c | 92 mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000); in mt7603_wtbl_update() 145 mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000); in mt7603_wtbl_init() 205 WARN_ON_ONCE(!mt76_poll(dev, MT_DMA_FQCR0, MT_DMA_FQCR0_BUSY, in mt7603_filter_tx() 244 mt76_poll(dev, MT_PSE_RTA, MT_PSE_RTA_BUSY, 0, 5000); in mt7603_wtbl_set_ps() 279 mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000); in mt7603_wtbl_clear() 737 if (!mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000)) in mt7603_wtbl_set_rates() 845 mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000); in mt7603_wtbl_set_rates() 1314 return mt76_poll(dev, MT_WPDMA_GLO_CFG, in wait_for_wpdma()
|
D | eeprom.c | 20 if (!mt76_poll(dev, base + MT_EFUSE_CTRL, MT_EFUSE_CTRL_KICK, 0, 1000)) in mt7603_efuse_read()
|
D | init.c | 292 mt76_poll(dev, MT_PSE_RTA, MT_PSE_RTA_BUSY, 0, 5000); in mt7603_init_hardware()
|
/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | usb_sdio.c | 77 if (!mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000)) in mt7663_usb_sdio_set_rates() 131 mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000); in mt7663_usb_sdio_set_rates()
|
D | eeprom.c | 24 if (!mt76_poll(dev, base + MT_EFUSE_CTRL, MT_EFUSE_CTRL_KICK, 0, 1000)) in mt7615_efuse_read()
|
D | dma.c | 291 mt76_poll(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
|
D | mac.c | 838 return mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, in mt7615_mac_wtbl_update() 1070 if (!mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000)) in mt7615_mac_set_rates() 1123 mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000); in mt7615_mac_set_rates() 1179 if (!mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000)) in mt7615_mac_wtbl_update_pk()
|
/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | usb_mac.c | 160 if (!mt76_poll(dev, MT_MAC_STATUS, MT_MAC_STATUS_RX, 0, 2000)) in mt76x2u_mac_stop()
|
D | pci_mcu.c | 24 if (rom_protect && !mt76_poll(dev, MT_MCU_SEMAPHORE_03, 1, 1, 600)) { in mt76pci_load_rom_patch()
|
D | usb_init.c | 82 mt76_poll(dev, MT_VEND_ADDR(CFG, 0x148), val, val, 1000); in mt76x2u_power_on()
|
D | pci_init.c | 196 mt76_poll(dev, MT_WLAN_MTC_CTRL, val, val, 1000); in mt76x2_power_on()
|
/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | dma.c | 210 mt76_poll(dev, MT_WFDMA_EXT_CSR_HIF_MISC, in mt7915_dma_init()
|
/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | pci.c | 355 mt76_poll(dev, MT_WFDMA0_GLO_CFG, in mt7921_pci_suspend()
|
/drivers/net/wireless/mediatek/mt76/ |
D | mt76.h | 822 #define mt76_poll(dev, ...) __mt76_poll(&((dev)->mt76), __VA_ARGS__) macro
|