Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/sof/
H A Dipc4-loader.c25 struct sof_man4_fw_binary_header *fw_header; in sof_ipc4_fw_parse_ext_man() local
72 if (remaining <= 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()
88 fw_lib->name = fw_header->name; in sof_ipc4_fw_parse_ext_man()
92 fm_entry = (struct sof_man4_module *)((u8 *)fw_header + fw_header->len); in sof_ipc4_fw_parse_ext_man()
93 remaining -= fw_header->len; in sof_ipc4_fw_parse_ext_man()
97 fw_header->num_module_entries); in sof_ipc4_fw_parse_ext_man()
322 fw_header->major_version, fw_header->minor_version, in sof_ipc4_validate_firmware()
[all …]
/openbmc/linux/drivers/media/pci/saa7164/
H A Dsaa7164-fw.c19 struct fw_header { struct
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()
513 sizeof(struct fw_header); in saa7164_downloadfirmware()
516 sizeof(struct fw_header)); in saa7164_downloadfirmware()
547 sizeof(struct fw_header); in saa7164_downloadfirmware()
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A 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()
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dusb.h46 (sizeof(struct fw_header) + dlen + sizeof(u32))
110 struct fw_header { struct
123 struct fw_header fw_hdr; argument
H A 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()
/openbmc/u-boot/drivers/net/phy/
H A Daquantia.c73 struct fw_header { struct
182 const struct fw_header *header; in aquantia_upload_firmware()
200 header = (struct fw_header *)&addr[primary_offset + HEADER_OFFSET]; in aquantia_upload_firmware()
/openbmc/linux/drivers/media/radio/wl128x/
H A 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()
/openbmc/linux/drivers/atm/
H A 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()
H A Dfore200e.h645 typedef struct fw_header { struct
/openbmc/linux/drivers/gpu/drm/sti/
H A Dsti_hqvdp.c904 struct fw_header { in sti_hqvdp_start_xp70() struct
930 header = (struct fw_header *)firmware->data; in sti_hqvdp_start_xp70()
/openbmc/linux/drivers/net/usb/
H A 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()