Home
last modified time | relevance | path

Searched refs:mt76_poll_msec (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Ddma.c110 if (!mt76_poll_msec(dev, reg, mask, 0, 1000)) { in mt7615_wait_pdma_busy()
118 if (!mt76_poll_msec(dev, MT_PDMA_BUSY_STATUS, in mt7615_wait_pdma_busy()
124 if (!mt76_poll_msec(dev, MT_PSE_PG_INFO, in mt7615_wait_pdma_busy()
130 if (!mt76_poll_msec(dev, MT_PDMA_BUSY_STATUS, in mt7615_wait_pdma_busy()
Dusb_mcu.c72 if (!mt76_poll_msec(dev, MT_CONN_ON_MISC, in mt7663u_mcu_init()
82 if (!mt76_poll_msec(dev, MT_CONN_ON_MISC, in mt7663u_mcu_init()
Dusb.c106 if (mt76_poll_msec(dev, MT_CONN_ON_MISC, MT_TOP_MISC2_FW_PWR_ON, in mt7663u_probe()
119 if (!mt76_poll_msec(dev, MT_CONN_ON_MISC, MT_TOP_MISC2_FW_PWR_ON, in mt7663u_probe()
Dpci.c106 if (!mt76_poll_msec(dev, MT_PDMA_SLP_PROT, in mt7615_pci_suspend()
Dsdio_mcu.c147 if (!mt76_poll_msec(dev, MT_CONN_ON_MISC, in mt7663s_mcu_init()
Dmcu.c358 err = !mt76_poll_msec(dev, addr, MT_CFG_LPCR_HOST_FW_OWN, 0, 3000); in mt7615_mcu_drv_pmctrl()
382 if (mt76_poll_msec(dev, MT_CONN_HIF_ON_LPCTL, in mt7615_mcu_lp_drv_pmctrl()
414 !mt76_poll_msec(dev, addr, MT_CFG_LPCR_HOST_FW_OWN, in mt7615_mcu_fw_pmctrl()
2244 if (!mt76_poll_msec(dev, MT_TOP_MISC2, MT_TOP_MISC2_FW_STATE, in mt7615_load_firmware()
2275 if (!mt76_poll_msec(dev, MT_TOP_OFF_RSV, MT_TOP_OFF_RSV_FW_STATE, in mt7622_load_firmware()
2439 if (!mt76_poll_msec(dev, MT_CONN_ON_MISC, MT_TOP_MISC2_FW_N9_RDY, in __mt7663_load_firmware()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x2/
Dusb_mcu.c66 !mt76_poll_msec(dev, MT_MCU_SEMAPHORE_03, 1, 1, 600)) { in mt76x2u_mcu_load_rom_patch()
132 if (!mt76_poll_msec(dev, patch_reg, patch_mask, patch_mask, 100)) { in mt76x2u_mcu_load_rom_patch()
218 if (!mt76_poll_msec(dev, MT_MCU_COM_REG0, 1, 1, 100)) { in mt76x2u_mcu_load_firmware()
Dpci_mcu.c67 if (!mt76_poll_msec(dev, patch_reg, patch_mask, patch_mask, 2000)) { in mt76pci_load_rom_patch()
138 if (!mt76_poll_msec(dev, MT_MCU_COM_REG0, 1, 1, 200)) { in mt76pci_load_firmware()
Dusb_init.c140 if (!mt76_poll_msec(dev, MT_WPDMA_GLO_CFG, in mt76x2u_init_hardware()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/
Dcore.c50 bool mt76_poll_msec(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val, in mt76_poll_msec() function
Dinit.c339 if (!mt76_poll_msec(dev, MT_WPDMA_GLO_CFG, in mt7601u_init_hardware()
364 if (!mt76_poll_msec(dev, MT_MAC_STATUS, in mt7601u_init_hardware()
Dmt7601u.h293 bool mt76_poll_msec(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val,
Dmcu.c349 if (!mt76_poll_msec(dev, MT_MCU_COM_REG1, BIT(31), BIT(31), 500)) in mt7601u_dma_fw()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x0/
Dpci_mcu.c99 if (!mt76_poll_msec(dev, MT_MCU_COM_REG0, 1, 1, 1000)) { in mt76x0e_load_firmware()
Dusb_mcu.c53 if (!mt76_poll_msec(dev, MT_MCU_COM_REG0, 1, 1, 1000)) { in mt76x0u_upload_firmware()
Dphy.c526 mt76_poll_msec(dev, MT_BBP(CORE, 34), BIT(4), 0, 200); in mt76x0_phy_tssi_dc_calibrate()
552 if (!mt76_poll_msec(dev, MT_BBP(CORE, 34), BIT(4), 0, 200)) { in mt76x0_phy_tssi_adc_calibrate()
1030 if (!mt76_poll_msec(dev, MT_BBP(CORE, 34), BIT(4), 0, 200)) { in mt76x0_phy_temp_sensor()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dmt76x02_eeprom.c26 if (!mt76_poll_msec(dev, MT_EFUSE_CTRL, MT_EFUSE_CTRL_KICK, 0, 1000)) in mt76x02_efuse_read()
Dmt76x02_mcu.c132 WARN_ON(!mt76_poll_msec(dev, MT_MCU_COM_REG0, in mt76x02_mcu_calibrate()
Dmt76.h732 #define mt76_poll_msec(dev, ...) __mt76_poll_msec(&((dev)->mt76), __VA_ARGS__) macro
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/
Dmcu.c216 if (!mt76_poll_msec(dev, MT_TOP_MISC2, BIT(0) | BIT(1), BIT(0), 500)) { in mt7603_load_firmware()
241 if (!mt76_poll_msec(dev, MT_TOP_MISC2, BIT(1), BIT(1), 500)) { in mt7603_load_firmware()
Dmac.c1306 if (!mt76_poll_msec(dev, MT_MCU_DEBUG_RESET, in mt7603_pse_reset()
1368 mt76_poll_msec(dev, addr, MT_CLIENT_RESET_TX_R_E_1_S, in mt7603_pse_client_reset()
1375 mt76_poll_msec(dev, addr, MT_CLIENT_RESET_TX_R_E_2_S, in mt7603_pse_client_reset()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c2550 if (!mt76_poll_msec(dev, reg, MT_TOP_LPCR_HOST_FW_OWN, in mt7915_driver_own()
2792 if (!mt76_poll_msec(dev, reg, MT_TOP_MISC_FW_STATE, val, 1000)) { in mt7915_load_firmware()
2795 if (!mt76_poll_msec(dev, reg, MT_TOP_MISC_FW_STATE, in mt7915_load_firmware()
2811 if (!mt76_poll_msec(dev, reg, MT_TOP_MISC_FW_STATE, in mt7915_load_firmware()
2887 if (!mt76_poll_msec(dev, reg, MT_TOP_MISC_FW_STATE, in mt7915_mcu_exit()