Lines Matching +full:0 +full:x110000
14 #define MCU_FW_URB_MAX_PAYLOAD 0x3900
17 #define MT76U_MCU_ILM_OFFSET 0x80000
18 #define MT76U_MCU_DLM_OFFSET 0x110000
19 #define MT76U_MCU_ROM_PATCH_OFFSET 0x90000
25 0x12, 0, NULL, 0); in mt76x2u_mcu_load_ivb()
32 0x6f, 0xfc, 0x08, 0x01, in mt76x2u_mcu_enable_patch()
33 0x20, 0x04, 0x00, 0x00, in mt76x2u_mcu_enable_patch()
34 0x00, 0x09, 0x00, in mt76x2u_mcu_enable_patch()
40 0x12, 0, usb->data, sizeof(data)); in mt76x2u_mcu_enable_patch()
47 0x6f, 0xfc, 0x05, 0x01, in mt76x2u_mcu_reset_wmt()
48 0x07, 0x01, 0x00, 0x04 in mt76x2u_mcu_reset_wmt()
54 0x12, 0, usb->data, sizeof(data)); in mt76x2u_mcu_reset_wmt()
73 patch_mask = BIT(0); in mt76x2u_mcu_load_rom_patch()
82 return 0; in mt76x2u_mcu_load_rom_patch()
86 if (err < 0) in mt76x2u_mcu_load_rom_patch()
101 FIELD_PREP(MT_USB_DMA_CFG_RX_BULK_AGG_TOUT, 0x20); in mt76x2u_mcu_load_rom_patch()
109 mt76_wr(dev, MT_FCE_PSE_CTRL, 0x1); in mt76x2u_mcu_load_rom_patch()
111 mt76_wr(dev, MT_TX_CPU_FROM_FCE_BASE_PTR, 0x400230); in mt76x2u_mcu_load_rom_patch()
113 mt76_wr(dev, MT_TX_CPU_FROM_FCE_MAX_COUNT, 0x1); in mt76x2u_mcu_load_rom_patch()
115 mt76_wr(dev, MT_FCE_PDMA_GLOBAL_CONF, 0x44); in mt76x2u_mcu_load_rom_patch()
117 mt76_wr(dev, MT_FCE_SKIP_FS, 0x3); in mt76x2u_mcu_load_rom_patch()
123 if (err < 0) { in mt76x2u_mcu_load_rom_patch()
152 if (err < 0) in mt76x2u_mcu_load_firmware()
171 (val >> 12) & 0xf, (val >> 8) & 0xf, val & 0xf); in mt76x2u_mcu_load_firmware()
184 FIELD_PREP(MT_USB_DMA_CFG_RX_BULK_AGG_TOUT, 0x20); in mt76x2u_mcu_load_firmware()
187 mt76_wr(dev, MT_FCE_PSE_CTRL, 0x1); in mt76x2u_mcu_load_firmware()
189 mt76_wr(dev, MT_TX_CPU_FROM_FCE_BASE_PTR, 0x400230); in mt76x2u_mcu_load_firmware()
191 mt76_wr(dev, MT_TX_CPU_FROM_FCE_MAX_COUNT, 0x1); in mt76x2u_mcu_load_firmware()
193 mt76_wr(dev, MT_FCE_PDMA_GLOBAL_CONF, 0x44); in mt76x2u_mcu_load_firmware()
195 mt76_wr(dev, MT_FCE_SKIP_FS, 0x3); in mt76x2u_mcu_load_firmware()
201 if (err < 0) { in mt76x2u_mcu_load_firmware()
208 dlm_offset += 0x800; in mt76x2u_mcu_load_firmware()
212 if (err < 0) { in mt76x2u_mcu_load_firmware()
226 mt76_wr(dev, MT_FCE_PSE_CTRL, 0x1); in mt76x2u_mcu_load_firmware()
240 if (err < 0) in mt76x2u_mcu_fw_init()
251 if (err < 0) in mt76x2u_mcu_init()