Home
last modified time | relevance | path

Searched refs:patch_mask (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt76x2/
Dpci_mcu.c22 u32 patch_mask, patch_reg; in mt76pci_load_rom_patch() local
31 patch_mask = BIT(0); in mt76pci_load_rom_patch()
34 patch_mask = BIT(1); 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()
Dusb_mcu.c61 u32 val, patch_mask, patch_reg; in mt76x2u_mcu_load_rom_patch() local
73 patch_mask = BIT(0); in mt76x2u_mcu_load_rom_patch()
76 patch_mask = BIT(1); 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()