Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/x86/kernel/cpu/microcode/
A Damd.c239 struct microcode_header_amd *mc_hdr; in verify_patch() local
275 mc_hdr = (struct microcode_header_amd *)(buf + SECTION_HDR_SIZE); in verify_patch()
276 if (mc_hdr->nb_dev_id || mc_hdr->sb_dev_id) { in verify_patch()
278 pr_err("Patch-ID 0x%08x: chipset-specific code unsupported.\n", mc_hdr->patch_id); in verify_patch()
282 proc_id = mc_hdr->processor_rev_id; in verify_patch()
781 struct microcode_header_amd *mc_hdr; in verify_and_add_patch() local
804 mc_hdr = (struct microcode_header_amd *)(fw + SECTION_HDR_SIZE); in verify_and_add_patch()
805 proc_id = mc_hdr->processor_rev_id; in verify_and_add_patch()
808 patch->patch_id = mc_hdr->patch_id; in verify_and_add_patch()
A Dintel.c53 struct microcode_header_intel *mc_hdr = mc; in has_newer_microcode() local
55 if (mc_hdr->rev <= new_rev) in has_newer_microcode()
80 struct microcode_header_intel *mc_hdr, *mc_saved_hdr; in save_microcode_patch() local
85 mc_hdr = (struct microcode_header_intel *)data; in save_microcode_patch()
95 if (mc_hdr->rev <= mc_saved_hdr->rev) in save_microcode_patch()
/linux-6.3-rc2/drivers/gpu/drm/radeon/
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.3-rc2/arch/x86/kernel/cpu/
A Dintel.c223 struct microcode_header_intel *mc_hdr = mc; in intel_find_matching_signature() local
228 if (intel_cpu_signatures_match(csig, cpf, mc_hdr->sig, mc_hdr->pf)) in intel_find_matching_signature()
232 if (get_totalsize(mc_hdr) <= get_datasize(mc_hdr) + MC_HEADER_SIZE) in intel_find_matching_signature()
235 ext_hdr = mc + get_datasize(mc_hdr) + MC_HEADER_SIZE; in intel_find_matching_signature()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ucode.c55 const struct mc_firmware_header_v1_0 *mc_hdr = in amdgpu_ucode_print_mc_hdr() local
59 le32_to_cpu(mc_hdr->io_debug_size_bytes)); in amdgpu_ucode_print_mc_hdr()
61 le32_to_cpu(mc_hdr->io_debug_array_offset_bytes)); in amdgpu_ucode_print_mc_hdr()

Completed in 11 milliseconds