Lines Matching refs:ext_man_hdr
26 struct sof_ext_manifest4_hdr *ext_man_hdr; in sof_ipc4_fw_parse_ext_man() local
40 if (remaining <= sizeof(*ext_man_hdr)) { in sof_ipc4_fw_parse_ext_man()
45 ext_man_hdr = (struct sof_ext_manifest4_hdr *)fw->data; in sof_ipc4_fw_parse_ext_man()
51 if (ext_man_hdr->id != SOF_EXT_MAN4_MAGIC_NUMBER) { in sof_ipc4_fw_parse_ext_man()
54 ext_man_hdr->id); in sof_ipc4_fw_parse_ext_man()
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()
69 (fw->data + ext_man_hdr->len + fw_hdr_offset); in sof_ipc4_fw_parse_ext_man()
70 remaining -= (ext_man_hdr->len + fw_hdr_offset); in sof_ipc4_fw_parse_ext_man()
142 return ext_man_hdr->len; in sof_ipc4_fw_parse_ext_man()
321 struct sof_ext_manifest4_hdr *ext_man_hdr; in sof_ipc4_validate_firmware() local
323 ext_man_hdr = (struct sof_ext_manifest4_hdr *)fw->data; in sof_ipc4_validate_firmware()
325 (fw->data + ext_man_hdr->len + fw_hdr_offset); in sof_ipc4_validate_firmware()