Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/kernel/cpu/microcode/
Damd.c281 struct microcode_header_amd *mc_hdr; in verify_and_add_patch() local
289 mc_hdr = (struct microcode_header_amd *)(fw + SECTION_HDR_SIZE); in verify_and_add_patch()
290 proc_id = mc_hdr->processor_rev_id; in verify_and_add_patch()
303 if (mc_hdr->nb_dev_id || mc_hdr->sb_dev_id) { in verify_and_add_patch()
305 mc_hdr->patch_id); in verify_and_add_patch()
311 pr_err("Patch-ID 0x%08x: size mismatch.\n", mc_hdr->patch_id); in verify_and_add_patch()
331 patch->patch_id = mc_hdr->patch_id; in verify_and_add_patch()
Dintel_early.c53 struct microcode_header_intel *mc_hdr; in load_microcode_early() local
60 mc_hdr = (struct microcode_header_intel *)ucode_ptr; in load_microcode_early()
69 new_rev = mc_hdr->rev; in load_microcode_early()
197 struct microcode_header_intel *mc_hdr; in save_microcode() local
207 mc_hdr = &mc->hdr; in save_microcode()
208 size = get_totalsize(mc_hdr); in save_microcode()
248 struct microcode_header_intel *mc_hdr, *mc_saved_hdr; in _save_mc() local
252 mc_hdr = (struct microcode_header_intel *)ucode_ptr; in _save_mc()
258 new_rev = mc_hdr->rev; in _save_mc()
265 if (!revision_is_newer(mc_hdr, new_rev)) in _save_mc()
Dintel_lib.c159 struct microcode_header_intel *mc_hdr = mc; in get_matching_microcode() local
161 if (!revision_is_newer(mc_hdr, rev)) in get_matching_microcode()
/linux-4.1.27/drivers/gpu/drm/radeon/
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()