Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/cpu/microcode/
H A Damd.c507 struct microcode_header_amd *mc_hdr; in verify_patch() local
539 mc_hdr = (struct microcode_header_amd *)(buf + SECTION_HDR_SIZE); in verify_patch()
540 if (mc_hdr->nb_dev_id || mc_hdr->sb_dev_id) { in verify_patch()
541 pr_err("Patch-ID 0x%08x: chipset-specific code unsupported.\n", mc_hdr->patch_id); in verify_patch()
545 proc_id = mc_hdr->processor_rev_id; in verify_patch()
558 patch_rev = mc_hdr->patch_id; in verify_patch()
572 ucode_dbg("Patch-ID 0x%08x: family: 0x%x\n", mc_hdr->patch_id, patch_fam); in verify_patch()
1080 struct microcode_header_amd *mc_hdr; in verify_and_add_patch() local
1103 mc_hdr = (struct microcode_header_amd *)(fw + SECTION_HDR_SIZE); in verify_and_add_patch()
1104 proc_id = mc_hdr->processor_rev_id; in verify_and_add_patch()
[all …]
/linux/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/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ucode.c62 const struct mc_firmware_header_v1_0 *mc_hdr = in amdgpu_ucode_print_mc_hdr() local
66 le32_to_cpu(mc_hdr->io_debug_size_bytes)); in amdgpu_ucode_print_mc_hdr()
68 le32_to_cpu(mc_hdr->io_debug_array_offset_bytes)); in amdgpu_ucode_print_mc_hdr()