Lines Matching refs:fw_hdr
363 const struct rtw_fw_hdr *fw_hdr = (const struct rtw_fw_hdr *)data; in check_firmware_size() local
369 dmem_size = le32_to_cpu(fw_hdr->dmem_size); in check_firmware_size()
370 imem_size = le32_to_cpu(fw_hdr->imem_size); in check_firmware_size()
371 emem_size = (fw_hdr->mem_usage & BIT(4)) ? in check_firmware_size()
372 le32_to_cpu(fw_hdr->emem_size) : 0; in check_firmware_size()
640 const struct rtw_fw_hdr *fw_hdr = (const struct rtw_fw_hdr *)data; in start_download_firmware() local
649 dmem_size = le32_to_cpu(fw_hdr->dmem_size); in start_download_firmware()
650 imem_size = le32_to_cpu(fw_hdr->imem_size); in start_download_firmware()
651 emem_size = (fw_hdr->mem_usage & BIT(4)) ? in start_download_firmware()
652 le32_to_cpu(fw_hdr->emem_size) : 0; in start_download_firmware()
662 addr = le32_to_cpu(fw_hdr->dmem_addr); in start_download_firmware()
669 addr = le32_to_cpu(fw_hdr->imem_addr); in start_download_firmware()
677 addr = le32_to_cpu(fw_hdr->emem_addr); in start_download_firmware()