Home
last modified time | relevance | path

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

/linux-5.19.10/sound/soc/sof/
Dipc4-loader.c20 struct sof_man4_fw_binary_header *fw_header; in sof_ipc4_fw_parse_ext_man() local
47 if (remaining <= ext_man_hdr->len + fw_hdr_offset + sizeof(*fw_header)) { in sof_ipc4_fw_parse_ext_man()
49 remaining, ext_man_hdr->len + fw_hdr_offset + sizeof(*fw_header)); in sof_ipc4_fw_parse_ext_man()
53 fw_header = (struct sof_man4_fw_binary_header *) in sof_ipc4_fw_parse_ext_man()
57 if (remaining <= fw_header->len) { in sof_ipc4_fw_parse_ext_man()
58 dev_err(sdev->dev, "Invalid fw_header->len %u\n", fw_header->len); in sof_ipc4_fw_parse_ext_man()
63 fw_header->major_version, fw_header->minor_version, in sof_ipc4_fw_parse_ext_man()
64 fw_header->hotfix_version, fw_header->build_version); in sof_ipc4_fw_parse_ext_man()
66 fw_header->name, fw_header->len, fw_header->num_module_entries); in sof_ipc4_fw_parse_ext_man()
69 fw_header->num_module_entries, in sof_ipc4_fw_parse_ext_man()
[all …]
/linux-5.19.10/drivers/media/pci/saa7164/
Dsaa7164-fw.c19 struct fw_header { struct
195 struct fw_header *hdr, *boothdr = NULL, *fwhdr; in saa7164_downloadfirmware()
427 hdr = (struct fw_header *)fw->data; in saa7164_downloadfirmware()
440 16 + sizeof(struct fw_header); in saa7164_downloadfirmware()
450 boothdr = (struct fw_header *)(fw->data + in saa7164_downloadfirmware()
451 sizeof(struct fw_header)); in saa7164_downloadfirmware()
487 (sizeof(struct fw_header) + in saa7164_downloadfirmware()
488 sizeof(struct fw_header)); in saa7164_downloadfirmware()
490 fwhdr = (struct fw_header *)(fw->data+tmp); in saa7164_downloadfirmware()
514 sizeof(struct fw_header); in saa7164_downloadfirmware()
[all …]
/linux-5.19.10/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-5.19.10/drivers/net/wireless/marvell/mwifiex/
Dusb.h58 (sizeof(struct fw_header) + dlen + sizeof(u32))
122 struct fw_header { struct
135 struct fw_header fw_hdr; argument
Dusb.c1427 memset(&fwdata->fw_hdr, 0, sizeof(struct fw_header)); in mwifiex_prog_fw_w_helper()
1432 sizeof(struct fw_header)); in mwifiex_prog_fw_w_helper()
1436 tlen += sizeof(struct fw_header); in mwifiex_prog_fw_w_helper()
/linux-5.19.10/drivers/media/radio/wl128x/
Dfmdrv_common.c1233 struct bts_header *fw_header; in fm_download_firmware() local
1253 fw_header = (struct bts_header *)fw_data; in fm_download_firmware()
1254 if (fw_header->magic != FM_FW_FILE_HEADER_MAGIC) { in fm_download_firmware()
1259 fmdbg("FW(%s) magic number : 0x%x\n", fw_name, fw_header->magic); in fm_download_firmware()
/linux-5.19.10/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-5.19.10/Documentation/translations/zh_CN/process/
Dmagic-number.rst119 FW_HEADER_MAGIC 0x65726F66 fw_header ``drivers/atm/fore200e.h``
/linux-5.19.10/Documentation/translations/zh_TW/process/
Dmagic-number.rst122 FW_HEADER_MAGIC 0x65726F66 fw_header ``drivers/atm/fore200e.h``
/linux-5.19.10/Documentation/process/
Dmagic-number.rst129 FW_HEADER_MAGIC 0x65726F66 fw_header ``drivers/atm/fore200e.h``
/linux-5.19.10/Documentation/translations/it_IT/process/
Dmagic-number.rst135 FW_HEADER_MAGIC 0x65726F66 fw_header ``drivers/atm/fore200e.h``
/linux-5.19.10/drivers/gpu/drm/sti/
Dsti_hqvdp.c902 struct fw_header { in sti_hqvdp_start_xp70() struct
928 header = (struct fw_header *)firmware->data; in sti_hqvdp_start_xp70()
/linux-5.19.10/drivers/net/usb/
Dr8152.c971 struct fw_header { struct
4474 struct fw_header *fw_hdr, size_t size) in rtl8152_fw_verify_checksum()
4523 struct fw_header *fw_hdr = (struct fw_header *)fw->data; in rtl8152_check_firmware()
5057 struct fw_header *fw_hdr; in rtl8152_apply_firmware()
5066 fw_hdr = (struct fw_header *)fw->data; in rtl8152_apply_firmware()
5071 for (i = offsetof(struct fw_header, blocks); i < fw->size;) { in rtl8152_apply_firmware()