/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A 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()
|
H A 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() 1196 mt76_poll(dev, MT_MAC_STATUS, MT_MAC_STATUS_TX | MT_MAC_STATUS_RX, in mt7601u_bbp_set_bw()
|
H A D | core.c | 28 bool mt76_poll(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val, in mt76_poll() function
|
H A D | mt7601u.h | 291 bool mt76_poll(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val,
|
H A D | eeprom.c | 46 if (!mt76_poll(dev, MT_EFUSE_CTRL, MT_EFUSE_CTRL_KICK, 0, 1000)) in mt7601u_efuse_read()
|
/linux/drivers/net/wireless/mediatek/mt76/mt76x0/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | pci_mcu.c | 60 if (is_combo_chip && !mt76_poll(dev, MT_MCU_SEMAPHORE_00, 1, 1, 600)) { in mt76x0e_load_firmware()
|
H A 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()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A 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()
|
H A 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() 206 mt76_poll(dev, MT_WF_ARB_TX_FLUSH_0, flush_mask, 0, 20000); in mt7603_filter_tx() 218 mt76_poll(dev, MT_DMA_FQCR0, MT_DMA_FQCR0_BUSY, 0, 5000); in mt7603_filter_tx() 256 mt76_poll(dev, MT_PSE_RTA, MT_PSE_RTA_BUSY, 0, 5000); in mt7603_wtbl_set_ps() 291 mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000); in mt7603_wtbl_clear() 746 if (!mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000)) in mt7603_wtbl_set_rates() 854 mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000); in mt7603_wtbl_set_rates() 1320 return mt76_poll(dev, MT_WPDMA_GLO_CFG, in wait_for_wpdma()
|
H A D | eeprom.c | 20 if (!mt76_poll(dev, base + MT_EFUSE_CTRL, MT_EFUSE_CTRL_KICK, 0, 1000)) in mt7603_efuse_read()
|
H A D | init.c | 300 mt76_poll(dev, MT_PSE_RTA, MT_PSE_RTA_BUSY, 0, 5000); in mt7603_init_hardware()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | usb_sdio.c | 69 if (!mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000)) in mt7663_usb_sdio_set_rates() 123 mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000); in mt7663_usb_sdio_set_rates()
|
H A D | eeprom.c | 24 if (!mt76_poll(dev, base + MT_EFUSE_CTRL, MT_EFUSE_CTRL_KICK, 0, 1000)) in mt7615_efuse_read()
|
H A D | dma.c | 289 mt76_poll(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
|
H A D | mac.c | 884 return mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, in mt7615_mac_wtbl_update() 1116 if (!mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000)) in mt7615_mac_set_rates() 1169 mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000); in mt7615_mac_set_rates() 1230 if (!mt76_poll(dev, MT_WTBL_UPDATE, MT_WTBL_UPDATE_BUSY, 0, 5000)) in mt7615_mac_wtbl_update_pk()
|
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | usb_mac.c | 160 if (!mt76_poll(dev, MT_MAC_STATUS, MT_MAC_STATUS_RX, 0, 2000)) in mt76x2u_mac_stop()
|
H A D | pci_mcu.c | 24 if (rom_protect && !mt76_poll(dev, MT_MCU_SEMAPHORE_03, 1, 1, 600)) { in mt76pci_load_rom_patch()
|
H A D | usb_init.c | 82 mt76_poll(dev, MT_VEND_ADDR(CFG, 0x148), val, val, 1000); in mt76x2u_power_on()
|
H A D | pci_init.c | 196 mt76_poll(dev, MT_WLAN_MTC_CTRL, val, val, 1000); in mt76x2_power_on()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt792x_usb.c | 180 if (!mt76_poll(dev, MT_UWFDMA0_GLO_CFG, in mt792xu_dma_rx_evt_ep4()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | pci.c | 455 mt76_poll(dev, MT_WFDMA0_GLO_CFG, in mt7921_pci_suspend()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
H A D | pci.c | 475 mt76_poll(dev, MT_WFDMA0_GLO_CFG, in mt7925_pci_suspend()
|