Lines Matching refs:csig
51 static int find_matching_signature(void *mc, unsigned int csig, int cpf) in find_matching_signature() argument
58 if (intel_cpu_signatures_match(csig, cpf, mc_hdr->sig, mc_hdr->pf)) in find_matching_signature()
69 if (intel_cpu_signatures_match(csig, cpf, ext_sig->sig, ext_sig->pf)) in find_matching_signature()
79 static int has_newer_microcode(void *mc, unsigned int csig, int cpf, int new_rev) in has_newer_microcode() argument
86 return find_matching_signature(mc, csig, cpf); in has_newer_microcode()
675 static int collect_cpu_info(int cpu_num, struct cpu_signature *csig) in collect_cpu_info() argument
681 memset(csig, 0, sizeof(*csig)); in collect_cpu_info()
683 csig->sig = cpuid_eax(0x00000001); in collect_cpu_info()
688 csig->pf = 1 << ((val[1] >> 18) & 7); in collect_cpu_info()
691 csig->rev = c->microcode; in collect_cpu_info()
694 if (csig->sig != prev.sig || csig->pf != prev.pf || csig->rev != prev.rev) { in collect_cpu_info()
696 csig->sig, csig->pf, csig->rev); in collect_cpu_info()
697 prev = *csig; in collect_cpu_info()
782 unsigned int csig, cpf; in generic_load_microcode() local
821 csig = uci->cpu_sig.sig; in generic_load_microcode()
823 if (has_newer_microcode(mc, csig, cpf, new_rev)) { in generic_load_microcode()