Home
last modified time | relevance | path

Searched refs:bpdt_header (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_gsc_fw.c78 const struct intel_gsc_bpdt_header *bpdt_header = NULL; in intel_gsc_fw_get_binary_info() local
149 min_size = sizeof(*bpdt_header); in intel_gsc_fw_get_binary_info()
156 bpdt_header = data + layout->boot1.offset; in intel_gsc_fw_get_binary_info()
157 if (bpdt_header->signature != INTEL_GSC_BPDT_HEADER_SIGNATURE) { in intel_gsc_fw_get_binary_info()
159 bpdt_header->signature); in intel_gsc_fw_get_binary_info()
163 min_size += sizeof(*bpdt_entry) * bpdt_header->descriptor_count; in intel_gsc_fw_get_binary_info()
170 bpdt_entry = (void *)bpdt_header + sizeof(*bpdt_header); in intel_gsc_fw_get_binary_info()
171 for (i = 0; i < bpdt_header->descriptor_count; i++, bpdt_entry++) { in intel_gsc_fw_get_binary_info()
176 cpd_header = (void *)bpdt_header + bpdt_entry->sub_partition_offset; in intel_gsc_fw_get_binary_info()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_uc_fw.c548 const struct gsc_bpdt_header *bpdt_header = NULL; in parse_gsc_layout() local
565 min_size = sizeof(*bpdt_header); in parse_gsc_layout()
572 bpdt_header = data + layout->boot1.offset; in parse_gsc_layout()
573 if (bpdt_header->signature != GSC_BPDT_HEADER_SIGNATURE) { in parse_gsc_layout()
575 bpdt_header->signature); in parse_gsc_layout()
579 min_size += sizeof(*bpdt_entry) * bpdt_header->descriptor_count; in parse_gsc_layout()
586 bpdt_entry = (void *)bpdt_header + sizeof(*bpdt_header); in parse_gsc_layout()
587 for (i = 0; i < bpdt_header->descriptor_count; i++, bpdt_entry++) { in parse_gsc_layout()
602 (void *)bpdt_header + min_size, in parse_gsc_layout()