Home
last modified time | relevance | path

Searched refs:fw_header (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/sound/soc/sof/
Dipc4-loader.c25 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/
Dsaa7164-fw.c19 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/
Dgoodix_fwupload.c46 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/
Dusb.h46 (sizeof(struct fw_header) + dlen + sizeof(u32))
110 struct fw_header { struct
123 struct fw_header fw_hdr; argument
Dusb.c1415 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/
Dfmdrv_common.c1233 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/
Dfore200e.c2393 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()
Dfore200e.h645 typedef struct fw_header { struct
/linux-6.6.21/drivers/gpu/drm/sti/
Dsti_hqvdp.c904 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/
Dr8152.c982 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()