Home
last modified time | relevance | path

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

/arch/x86/kernel/cpu/microcode/
Dintel.c312 struct cpu_signature csig; in collect_cpu_info_early() local
315 csig.sig = 0; in collect_cpu_info_early()
316 csig.pf = 0; in collect_cpu_info_early()
317 csig.rev = 0; in collect_cpu_info_early()
324 csig.sig = eax; in collect_cpu_info_early()
326 family = __x86_family(csig.sig); in collect_cpu_info_early()
327 model = x86_model(csig.sig); in collect_cpu_info_early()
332 csig.pf = 1 << ((val[1] >> 18) & 7); in collect_cpu_info_early()
335 csig.rev = intel_get_microcode_revision(); in collect_cpu_info_early()
337 uci->cpu_sig = csig; in collect_cpu_info_early()
[all …]
Dintel_lib.c133 int find_matching_signature(void *mc, unsigned int csig, int cpf) in find_matching_signature() argument
140 if (cpu_signatures_match(csig, cpf, mc_hdr->sig, mc_hdr->pf)) in find_matching_signature()
151 if (cpu_signatures_match(csig, cpf, ext_sig->sig, ext_sig->pf)) in find_matching_signature()
161 int has_newer_microcode(void *mc, unsigned int csig, int cpf, int new_rev) in has_newer_microcode() argument
168 return find_matching_signature(mc, csig, cpf); in has_newer_microcode()
Damd.c555 static int collect_cpu_info_amd(int cpu, struct cpu_signature *csig) in collect_cpu_info_amd() argument
561 csig->sig = cpuid_eax(0x00000001); in collect_cpu_info_amd()
562 csig->rev = c->microcode; in collect_cpu_info_amd()
569 if (p && (p->patch_id == csig->rev)) in collect_cpu_info_amd()
572 pr_info("CPU%d: patch_level=0x%08x\n", cpu, csig->rev); in collect_cpu_info_amd()
/arch/x86/include/asm/
Dmicrocode_intel.h71 extern int has_newer_microcode(void *mc, unsigned int csig, int cpf, int rev);
73 extern int find_matching_signature(void *mc, unsigned int csig, int cpf);
Dmicrocode.h48 int (*collect_cpu_info) (int cpu, struct cpu_signature *csig);