Searched refs:ilm_len (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | usb_mcu.c | 21 u32 ilm_len, dlm_len; in mt76x0u_upload_firmware() local 29 ilm_len = le32_to_cpu(hdr->ilm_len) - MT_MCU_IVB_SIZE; in mt76x0u_upload_firmware() 31 ilm_len, MT_MCU_IVB_SIZE); in mt76x0u_upload_firmware() 33 ilm_len, MCU_FW_URB_MAX_PAYLOAD, in mt76x0u_upload_firmware() 41 fw_payload + le32_to_cpu(hdr->ilm_len), in mt76x0u_upload_firmware() 107 if (le32_to_cpu(hdr->ilm_len) <= MT_MCU_IVB_SIZE) in mt76x0u_load_firmware() 111 len += le32_to_cpu(hdr->ilm_len); in mt76x0u_load_firmware() 123 len = le32_to_cpu(hdr->ilm_len); in mt76x0u_load_firmware()
|
D | pci_mcu.c | 16 u32 val, ilm_len, dlm_len, offset = 0; in mt76x0e_load_firmware() local 40 len += le32_to_cpu(hdr->ilm_len); in mt76x0e_load_firmware() 69 ilm_len = le32_to_cpu(hdr->ilm_len); in mt76x0e_load_firmware() 71 ilm_len -= MT_MCU_IVB_SIZE; in mt76x0e_load_firmware() 74 dev_dbg(dev->mt76.dev, "loading FW - ILM %u\n", ilm_len); in mt76x0e_load_firmware() 76 ilm_len); in mt76x0e_load_firmware() 90 fw_payload + le32_to_cpu(hdr->ilm_len), dlm_len); in mt76x0e_load_firmware()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | usb_mcu.c | 148 int err, len, ilm_len, dlm_len; in mt76x2u_mcu_load_firmware() local 161 ilm_len = le32_to_cpu(hdr->ilm_len); in mt76x2u_mcu_load_firmware() 163 len = sizeof(*hdr) + ilm_len + dlm_len; in mt76x2u_mcu_load_firmware() 199 ilm_len, MCU_FW_URB_MAX_PAYLOAD, in mt76x2u_mcu_load_firmware() 209 err = mt76x02u_mcu_fw_send_data(dev, fw->data + sizeof(*hdr) + ilm_len, in mt76x2u_mcu_load_firmware()
|
D | pci_mcu.c | 99 len += le32_to_cpu(hdr->ilm_len); in mt76pci_load_firmware() 114 len = le32_to_cpu(hdr->ilm_len); in mt76pci_load_firmware()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/ |
D | mcu.c | 269 __le32 ilm_len; member 360 u32 ilm_len, dlm_len; in mt7601u_upload_firmware() local 371 ilm_len = le32_to_cpu(fw->hdr.ilm_len) - sizeof(fw->ivb); in mt7601u_upload_firmware() 373 ilm_len, sizeof(fw->ivb)); in mt7601u_upload_firmware() 374 ret = mt7601u_dma_fw(dev, &dma_buf, fw->ilm, ilm_len, sizeof(fw->ivb)); in mt7601u_upload_firmware() 380 ret = mt7601u_dma_fw(dev, &dma_buf, fw->ilm + ilm_len, in mt7601u_upload_firmware() 428 if (le32_to_cpu(hdr->ilm_len) <= MT_MCU_IVB_SIZE) in mt7601u_load_firmware() 432 len += le32_to_cpu(hdr->ilm_len); in mt7601u_load_firmware() 444 len = le32_to_cpu(hdr->ilm_len); in mt7601u_load_firmware()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_mcu.h | 72 __le32 ilm_len; member
|