Home
last modified time | relevance | path

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

/arch/x86/kernel/cpu/microcode/
Dintel_lib.c135 struct microcode_header_intel *mc_hdr = mc; in find_matching_signature() local
140 if (cpu_signatures_match(csig, cpf, mc_hdr->sig, mc_hdr->pf)) in find_matching_signature()
144 if (get_totalsize(mc_hdr) <= get_datasize(mc_hdr) + MC_HEADER_SIZE) in find_matching_signature()
147 ext_hdr = mc + get_datasize(mc_hdr) + MC_HEADER_SIZE; in find_matching_signature()
163 struct microcode_header_intel *mc_hdr = mc; in has_newer_microcode() local
165 if (mc_hdr->rev <= new_rev) in has_newer_microcode()
Dintel.c56 struct microcode_header_intel *mc_hdr; in load_microcode_early() local
63 mc_hdr = (struct microcode_header_intel *)ucode_ptr; in load_microcode_early()
72 new_rev = mc_hdr->rev; in load_microcode_early()
155 struct microcode_header_intel *mc_hdr; in save_microcode() local
165 mc_hdr = &mc->hdr; in save_microcode()
166 size = get_totalsize(mc_hdr); in save_microcode()
206 struct microcode_header_intel *mc_hdr, *mc_saved_hdr; in _save_mc() local
210 mc_hdr = (struct microcode_header_intel *)ucode_ptr; in _save_mc()
222 if (mc_hdr->rev <= mc_saved_hdr->rev) in _save_mc()
Damd.c767 struct microcode_header_amd *mc_hdr; in verify_and_add_patch() local
775 mc_hdr = (struct microcode_header_amd *)(fw + SECTION_HDR_SIZE); in verify_and_add_patch()
776 proc_id = mc_hdr->processor_rev_id; in verify_and_add_patch()
789 if (mc_hdr->nb_dev_id || mc_hdr->sb_dev_id) { in verify_and_add_patch()
791 mc_hdr->patch_id); in verify_and_add_patch()
797 pr_err("Patch-ID 0x%08x: size mismatch.\n", mc_hdr->patch_id); in verify_and_add_patch()
817 patch->patch_id = mc_hdr->patch_id; in verify_and_add_patch()