Searched refs:mc_header (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/arch/x86/kernel/cpu/microcode/
H A Dintel_lib.c44 struct microcode_header_intel *mc_header = mc; microcode_sanity_check() local
49 total_size = get_totalsize(mc_header); microcode_sanity_check()
50 data_size = get_datasize(mc_header); microcode_sanity_check()
58 if (mc_header->ldrver != 1 || mc_header->hdrver != 1) { microcode_sanity_check()
112 - (mc_header->sig + mc_header->pf + mc_header->cksum) microcode_sanity_check()
129 struct microcode_header_intel *mc_header = mc; get_matching_sig() local
131 unsigned long total_size = get_totalsize(mc_header); get_matching_sig()
135 if (update_match_cpu(csig, cpf, mc_header->sig, mc_header->pf)) get_matching_sig()
139 if (total_size <= get_datasize(mc_header) + MC_HEADER_SIZE) get_matching_sig()
142 ext_header = mc + get_datasize(mc_header) + MC_HEADER_SIZE; get_matching_sig()
H A Dintel.c196 struct microcode_header_intel mc_header; generic_load_microcode() local
199 if (leftover < sizeof(mc_header)) { generic_load_microcode()
204 if (get_ucode_data(&mc_header, ucode_ptr, sizeof(mc_header))) generic_load_microcode()
207 mc_size = get_totalsize(&mc_header); generic_load_microcode()
231 new_rev = mc_header.rev; generic_load_microcode()
H A Dintel_early.c137 matching_model_microcode(struct microcode_header_intel *mc_header, matching_model_microcode() argument
143 unsigned long total_size = get_totalsize(mc_header); matching_model_microcode()
144 unsigned long data_size = get_datasize(mc_header); matching_model_microcode()
151 fam_ucode = __x86_family(mc_header->sig); matching_model_microcode()
152 model_ucode = x86_model(mc_header->sig); matching_model_microcode()
161 ext_header = (void *) mc_header + data_size + MC_HEADER_SIZE; matching_model_microcode()
298 struct microcode_header_intel *mc_header; get_matching_model_microcode() local
305 if (leftover < sizeof(mc_header)) get_matching_model_microcode()
308 mc_header = (struct microcode_header_intel *)ucode_ptr; get_matching_model_microcode()
310 mc_size = get_totalsize(mc_header); get_matching_model_microcode()
322 if (matching_model_microcode(mc_header, uci->cpu_sig.sig) != get_matching_model_microcode()
/linux-4.1.27/arch/x86/include/asm/
H A Dmicrocode_intel.h64 revision_is_newer(struct microcode_header_intel *mc_header, int rev) revision_is_newer() argument
66 return (mc_header->rev <= rev) ? 0 : 1; revision_is_newer()

Completed in 113 milliseconds