/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | dma.c | 110 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()
|
D | usb_mcu.c | 72 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()
|
D | usb.c | 106 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()
|
D | pci.c | 106 if (!mt76_poll_msec(dev, MT_PDMA_SLP_PROT, in mt7615_pci_suspend()
|
D | sdio_mcu.c | 147 if (!mt76_poll_msec(dev, MT_CONN_ON_MISC, in mt7663s_mcu_init()
|
D | mcu.c | 358 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/ |
D | usb_mcu.c | 66 !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()
|
D | pci_mcu.c | 67 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()
|
D | usb_init.c | 140 if (!mt76_poll_msec(dev, MT_WPDMA_GLO_CFG, in mt76x2u_init_hardware()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/ |
D | core.c | 50 bool mt76_poll_msec(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val, in mt76_poll_msec() function
|
D | init.c | 339 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()
|
D | mt7601u.h | 293 bool mt76_poll_msec(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val,
|
D | mcu.c | 349 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/ |
D | pci_mcu.c | 99 if (!mt76_poll_msec(dev, MT_MCU_COM_REG0, 1, 1, 1000)) { in mt76x0e_load_firmware()
|
D | usb_mcu.c | 53 if (!mt76_poll_msec(dev, MT_MCU_COM_REG0, 1, 1, 1000)) { in mt76x0u_upload_firmware()
|
D | phy.c | 526 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/ |
D | mt76x02_eeprom.c | 26 if (!mt76_poll_msec(dev, MT_EFUSE_CTRL, MT_EFUSE_CTRL_KICK, 0, 1000)) in mt76x02_efuse_read()
|
D | mt76x02_mcu.c | 132 WARN_ON(!mt76_poll_msec(dev, MT_MCU_COM_REG0, in mt76x02_mcu_calibrate()
|
D | mt76.h | 732 #define mt76_poll_msec(dev, ...) __mt76_poll_msec(&((dev)->mt76), __VA_ARGS__) macro
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | mcu.c | 216 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()
|
D | mac.c | 1306 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/ |
D | mcu.c | 2550 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()
|