Home
last modified time | relevance | path

Searched refs:mt76_poll (Results 1 – 25 of 33) sorted by relevance

12

/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dinit.c234 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 Dphy.c31 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 Dcore.c28 bool mt76_poll(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val, in mt76_poll() function
H A Dmt7601u.h291 bool mt76_poll(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val,
H A Deeprom.c46 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 Dinit.c40 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 Dusb.c93 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 Dpci.c34 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 Dpci_mcu.c60 if (is_combo_chip && !mt76_poll(dev, MT_MCU_SEMAPHORE_00, 1, 1, 600)) { in mt76x0e_load_firmware()
H A Dphy.c37 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 Dbeacon.c57 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 Dmac.c92 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 Deeprom.c20 if (!mt76_poll(dev, base + MT_EFUSE_CTRL, MT_EFUSE_CTRL_KICK, 0, 1000)) in mt7603_efuse_read()
H A Dinit.c300 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 Dusb_sdio.c69 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 Deeprom.c24 if (!mt76_poll(dev, base + MT_EFUSE_CTRL, MT_EFUSE_CTRL_KICK, 0, 1000)) in mt7615_efuse_read()
H A Ddma.c289 mt76_poll(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
H A Dmac.c884 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 Dusb_mac.c160 if (!mt76_poll(dev, MT_MAC_STATUS, MT_MAC_STATUS_RX, 0, 2000)) in mt76x2u_mac_stop()
H A Dpci_mcu.c24 if (rom_protect && !mt76_poll(dev, MT_MCU_SEMAPHORE_03, 1, 1, 600)) { in mt76pci_load_rom_patch()
H A Dusb_init.c82 mt76_poll(dev, MT_VEND_ADDR(CFG, 0x148), val, val, 1000); in mt76x2u_power_on()
H A Dpci_init.c196 mt76_poll(dev, MT_WLAN_MTC_CTRL, val, val, 1000); in mt76x2_power_on()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt792x_usb.c180 if (!mt76_poll(dev, MT_UWFDMA0_GLO_CFG, in mt792xu_dma_rx_evt_ep4()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dpci.c455 mt76_poll(dev, MT_WFDMA0_GLO_CFG, in mt7921_pci_suspend()
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dpci.c475 mt76_poll(dev, MT_WFDMA0_GLO_CFG, in mt7925_pci_suspend()

12