Searched refs:patch_reg (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | pci_mcu.c | 22 u32 patch_mask, patch_reg; in mt76pci_load_rom_patch() local 32 patch_reg = MT_MCU_CLOCK_CTL; in mt76pci_load_rom_patch() 35 patch_reg = MT_MCU_COM_REG0; in mt76pci_load_rom_patch() 38 if (rom_protect && (mt76_rr(dev, patch_reg) & patch_mask)) { in mt76pci_load_rom_patch() 67 if (!mt76_poll_msec(dev, patch_reg, patch_mask, patch_mask, 2000)) { in mt76pci_load_rom_patch()
|
H A D | usb_mcu.c | 61 u32 val, patch_mask, patch_reg; in mt76x2u_mcu_load_rom_patch() local 74 patch_reg = MT_MCU_CLOCK_CTL; in mt76x2u_mcu_load_rom_patch() 77 patch_reg = MT_MCU_COM_REG0; in mt76x2u_mcu_load_rom_patch() 80 if (rom_protect && (mt76_rr(dev, patch_reg) & patch_mask)) { 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()
|