Searched refs:fw_header (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/sound/soc/sof/ |
D | ipc4-loader.c | 25 struct sof_man4_fw_binary_header *fw_header; in sof_ipc4_fw_parse_ext_man() local 62 if (remaining <= ext_man_hdr->len + fw_hdr_offset + sizeof(*fw_header)) { in sof_ipc4_fw_parse_ext_man() 64 remaining, ext_man_hdr->len + fw_hdr_offset + sizeof(*fw_header)); in sof_ipc4_fw_parse_ext_man() 68 fw_header = (struct sof_man4_fw_binary_header *) in sof_ipc4_fw_parse_ext_man() 72 if (remaining <= fw_header->len) { in sof_ipc4_fw_parse_ext_man() 73 dev_err(sdev->dev, "Invalid fw_header->len %u\n", fw_header->len); in sof_ipc4_fw_parse_ext_man() 78 fw_header->name, fw_header->major_version, fw_header->minor_version, in sof_ipc4_fw_parse_ext_man() 79 fw_header->hotfix_version, fw_header->build_version); in sof_ipc4_fw_parse_ext_man() 81 fw_header->len, fw_header->num_module_entries); in sof_ipc4_fw_parse_ext_man() 83 fw_lib->modules = devm_kmalloc_array(sdev->dev, fw_header->num_module_entries, in sof_ipc4_fw_parse_ext_man() [all …]
|
/linux-6.6.21/drivers/media/pci/saa7164/ |
D | saa7164-fw.c | 19 struct fw_header { struct 195 struct fw_header *hdr, *boothdr = NULL, *fwhdr; in saa7164_downloadfirmware() 426 hdr = (struct fw_header *)fw->data; in saa7164_downloadfirmware() 439 16 + sizeof(struct fw_header); in saa7164_downloadfirmware() 449 boothdr = (struct fw_header *)(fw->data + in saa7164_downloadfirmware() 450 sizeof(struct fw_header)); in saa7164_downloadfirmware() 486 (sizeof(struct fw_header) + in saa7164_downloadfirmware() 487 sizeof(struct fw_header)); in saa7164_downloadfirmware() 489 fwhdr = (struct fw_header *)(fw->data+tmp); in saa7164_downloadfirmware() 513 sizeof(struct fw_header); in saa7164_downloadfirmware() [all …]
|
/linux-6.6.21/drivers/input/touchscreen/ |
D | goodix_fwupload.c | 46 const struct goodix_fw_header *fw_header; in goodix_firmware_verify() local 74 fw_header = (const struct goodix_fw_header *)fw->data; in goodix_firmware_verify() 76 fw_header->hw_info[0], fw_header->hw_info[1], in goodix_firmware_verify() 77 fw_header->hw_info[2], fw_header->hw_info[3]); in goodix_firmware_verify() 79 memcpy(buf, fw_header->pid, 8); in goodix_firmware_verify() 82 fw_header->vid[0], fw_header->vid[1]); in goodix_firmware_verify()
|
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/ |
D | usb.h | 46 (sizeof(struct fw_header) + dlen + sizeof(u32)) 110 struct fw_header { struct 123 struct fw_header fw_hdr; argument
|
D | usb.c | 1415 memset(&fwdata->fw_hdr, 0, sizeof(struct fw_header)); in mwifiex_prog_fw_w_helper() 1420 sizeof(struct fw_header)); in mwifiex_prog_fw_w_helper() 1424 tlen += sizeof(struct fw_header); in mwifiex_prog_fw_w_helper()
|
/linux-6.6.21/drivers/media/radio/wl128x/ |
D | fmdrv_common.c | 1233 struct bts_header *fw_header; in fm_download_firmware() local 1252 fw_header = (struct bts_header *)fw_data; in fm_download_firmware() 1253 if (fw_header->magic != FM_FW_FILE_HEADER_MAGIC) { in fm_download_firmware() 1258 fmdbg("FW(%s) magic number : 0x%x\n", fw_name, fw_header->magic); in fm_download_firmware()
|
/linux-6.6.21/drivers/atm/ |
D | fore200e.c | 2393 const struct fw_header *fw_header; in fore200e_load_and_start_fw() local 2408 fw_header = (const struct fw_header *)firmware->data; in fore200e_load_and_start_fw() 2409 load_addr = fore200e->virt_base + le32_to_cpu(fw_header->load_offset); in fore200e_load_and_start_fw() 2414 if (le32_to_cpu(fw_header->magic) != FW_HEADER_MAGIC) { in fore200e_load_and_start_fw() 2429 sprintf(buf, "\rgo %x\r", le32_to_cpu(fw_header->start_offset)); in fore200e_load_and_start_fw()
|
D | fore200e.h | 645 typedef struct fw_header { struct
|
/linux-6.6.21/drivers/gpu/drm/sti/ |
D | sti_hqvdp.c | 904 struct fw_header { in sti_hqvdp_start_xp70() struct 930 header = (struct fw_header *)firmware->data; in sti_hqvdp_start_xp70()
|
/linux-6.6.21/drivers/net/usb/ |
D | r8152.c | 982 struct fw_header { struct 4593 struct fw_header *fw_hdr, size_t size) in rtl8152_fw_verify_checksum() 4642 struct fw_header *fw_hdr = (struct fw_header *)fw->data; in rtl8152_check_firmware() 5171 struct fw_header *fw_hdr; in rtl8152_apply_firmware() 5180 fw_hdr = (struct fw_header *)fw->data; in rtl8152_apply_firmware() 5185 for (i = offsetof(struct fw_header, blocks); i < fw->size;) { in rtl8152_apply_firmware()
|