Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_gsc_fw.c79 const struct intel_gsc_bpdt_entry *bpdt_entry = NULL; in intel_gsc_fw_get_binary_info() local
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()
172 if ((bpdt_entry->type & INTEL_GSC_BPDT_ENTRY_TYPE_MASK) != 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()
177 min_size = bpdt_entry->sub_partition_offset + sizeof(*cpd_header); in intel_gsc_fw_get_binary_info()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_uc_fw.c549 const struct gsc_bpdt_entry *bpdt_entry = NULL; in parse_gsc_layout() local
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()
588 if ((bpdt_entry->type & GSC_BPDT_ENTRY_TYPE_MASK) != in parse_gsc_layout()
592 min_size = bpdt_entry->sub_partition_offset; in parse_gsc_layout()