Lines Matching full:header

18 	struct intel_gsc_mtl_header header;  member
23 struct intel_gsc_mtl_header header; member
52 intel_gsc_uc_heci_cmd_emit_mtl_header(&msg_in->header, in intel_huc_fw_auth_via_gsccs()
56 msg_in->huc_in.header.api_version = PXP_APIVER(4, 3); in intel_huc_fw_auth_via_gsccs()
57 msg_in->huc_in.header.command_id = PXP43_CMDID_NEW_HUC_AUTH; in intel_huc_fw_auth_via_gsccs()
58 msg_in->huc_in.header.status = 0; in intel_huc_fw_auth_via_gsccs()
59 msg_in->huc_in.header.buffer_len = sizeof(msg_in->huc_in) - in intel_huc_fw_auth_via_gsccs()
60 sizeof(msg_in->huc_in.header); in intel_huc_fw_auth_via_gsccs()
74 if (msg_out->header.flags & GSC_OUTFLAG_MSG_PENDING) { in intel_huc_fw_auth_via_gsccs()
75 msg_in->header.gsc_message_handle = msg_out->header.gsc_message_handle; in intel_huc_fw_auth_via_gsccs()
84 if (msg_out->header.message_size != sizeof(*msg_out)) { in intel_huc_fw_auth_via_gsccs()
86 msg_out->header.message_size, sizeof(*msg_out)); in intel_huc_fw_auth_via_gsccs()
96 if (msg_out->huc_out.header.status != PXP_STATUS_SUCCESS && in intel_huc_fw_auth_via_gsccs()
97 msg_out->huc_out.header.status != PXP_STATUS_OP_NOT_PERMITTED) { in intel_huc_fw_auth_via_gsccs()
99 msg_out->huc_out.header.status); in intel_huc_fw_auth_via_gsccs()
133 const struct intel_gsc_cpd_header_v2 *header = data; in intel_huc_fw_get_binary_info() local
135 size_t min_size = sizeof(*header); in intel_huc_fw_get_binary_info()
139 huc_err(huc, "Invalid FW type for GSC header parsing!\n"); in intel_huc_fw_get_binary_info()
143 if (size < sizeof(*header)) { in intel_huc_fw_get_binary_info()
149 * The GSC-enabled HuC binary starts with a directory header, followed in intel_huc_fw_get_binary_info()
153 * - "HUCP.man": points to the GSC manifest header for the HuC, which in intel_huc_fw_get_binary_info()
191 if (header->header_marker != INTEL_GSC_CPD_HEADER_MARKER) { in intel_huc_fw_get_binary_info()
192 huc_err(huc, "invalid marker for CPD header: 0x%08x!\n", in intel_huc_fw_get_binary_info()
193 header->header_marker); in intel_huc_fw_get_binary_info()
197 /* we only have binaries with header v2 and entry v1 for now */ in intel_huc_fw_get_binary_info()
198 if (header->header_version != 2 || header->entry_version != 1) { in intel_huc_fw_get_binary_info()
199 huc_err(huc, "invalid CPD header/entry version %u:%u!\n", in intel_huc_fw_get_binary_info()
200 header->header_version, header->entry_version); in intel_huc_fw_get_binary_info()
204 if (header->header_length < sizeof(struct intel_gsc_cpd_header_v2)) { in intel_huc_fw_get_binary_info()
205 huc_err(huc, "invalid CPD header length %u!\n", in intel_huc_fw_get_binary_info()
206 header->header_length); in intel_huc_fw_get_binary_info()
210 min_size = header->header_length + sizeof(*entry) * header->num_of_entries; in intel_huc_fw_get_binary_info()
216 entry = data + header->header_length; in intel_huc_fw_get_binary_info()
218 for (i = 0; i < header->num_of_entries; i++, entry++) { in intel_huc_fw_get_binary_info()