Home
last modified time | relevance | path

Searched refs:mc_hdr (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/drivers/gpu/drm/radeon/
H A Dradeon_ucode.c55 const struct mc_firmware_header_v1_0 *mc_hdr = in radeon_ucode_print_mc_hdr() local
59 le32_to_cpu(mc_hdr->io_debug_size_bytes)); in radeon_ucode_print_mc_hdr()
61 le32_to_cpu(mc_hdr->io_debug_array_offset_bytes)); in radeon_ucode_print_mc_hdr()
/linux-6.15/arch/x86/kernel/cpu/microcode/
H A Damd.c443 struct microcode_header_amd *mc_hdr; in verify_patch() local
474 mc_hdr = (struct microcode_header_amd *)(buf + SECTION_HDR_SIZE); in verify_patch()
475 if (mc_hdr->nb_dev_id || mc_hdr->sb_dev_id) { in verify_patch()
476 pr_err("Patch-ID 0x%08x: chipset-specific code unsupported.\n", mc_hdr->patch_id); in verify_patch()
480 proc_id = mc_hdr->processor_rev_id; in verify_patch()
984 struct microcode_header_amd *mc_hdr; in verify_and_add_patch() local
1007 mc_hdr = (struct microcode_header_amd *)(fw + SECTION_HDR_SIZE); in verify_and_add_patch()
1008 proc_id = mc_hdr->processor_rev_id; in verify_and_add_patch()
1011 patch->patch_id = mc_hdr->patch_id; in verify_and_add_patch()
H A Dintel.c99 struct microcode_header_intel *mc_hdr = mc; in intel_find_matching_signature() local
104 if (cpu_signatures_match(sig, mc_hdr->sig, mc_hdr->pf)) in intel_find_matching_signature()
108 if (get_totalsize(mc_hdr) <= intel_microcode_get_datasize(mc_hdr) + MC_HEADER_SIZE) in intel_find_matching_signature()
111 ext_hdr = mc + intel_microcode_get_datasize(mc_hdr) + MC_HEADER_SIZE; in intel_find_matching_signature()
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ucode.c57 const struct mc_firmware_header_v1_0 *mc_hdr = in amdgpu_ucode_print_mc_hdr() local
61 le32_to_cpu(mc_hdr->io_debug_size_bytes)); in amdgpu_ucode_print_mc_hdr()
63 le32_to_cpu(mc_hdr->io_debug_array_offset_bytes)); in amdgpu_ucode_print_mc_hdr()