Home
last modified time | relevance | path

Searched refs:MT_MCU_COM_REG0 (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dpci_mcu.c35 patch_reg = MT_MCU_COM_REG0; in mt76pci_load_rom_patch()
134 mt76_set(dev, MT_MCU_COM_REG0, BIT(30)); in mt76pci_load_firmware()
138 if (!mt76_poll_msec(dev, MT_MCU_COM_REG0, 1, 1, 200)) { in mt76pci_load_firmware()
H A Dusb_mcu.c77 patch_reg = MT_MCU_COM_REG0; in mt76x2u_mcu_load_rom_patch()
218 if (!mt76_poll_msec(dev, MT_MCU_COM_REG0, 1, 1, 100)) { in mt76x2u_mcu_load_firmware()
224 mt76_set(dev, MT_MCU_COM_REG0, BIT(1)); in mt76x2u_mcu_load_firmware()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dmcu.h43 return mt76_rr(dev, MT_MCU_COM_REG0) == 1; in mt76x0_firmware_running()
H A Dpci_mcu.c99 if (!mt76_poll_msec(dev, MT_MCU_COM_REG0, 1, 1, 1000)) { in mt76x0e_load_firmware()
H A Dusb_mcu.c53 if (!mt76_poll_msec(dev, MT_MCU_COM_REG0, 1, 1, 1000)) { in mt76x0u_upload_firmware()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_mcu.c130 mt76_rmw(dev, MT_MCU_COM_REG0, BIT(31), 0); in mt76x02_mcu_calibrate()
138 WARN_ON(!mt76_poll_msec(dev, MT_MCU_COM_REG0, in mt76x02_mcu_calibrate()
H A Dmt76x02_mcu.h13 #define MT_MCU_COM_REG0 0x0730 macro
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dmcu.h15 #define MT_MCU_COM_REG0 0x0730 macro
H A Dmcu.c26 return mt7601u_rr(dev, MT_MCU_COM_REG0) == 1; in firmware_running()