Lines Matching full:csig
73 struct cpu_signature csig = { 0 }; in intel_cpu_collect_info() local
81 csig.sig = eax; in intel_cpu_collect_info()
89 csig.pf = 1 << ((val[1] >> 18) & 7); in intel_cpu_collect_info()
92 csig.rev = intel_get_microcode_revision(); in intel_cpu_collect_info()
94 uci->cpu_sig = csig; in intel_cpu_collect_info()
103 int intel_find_matching_signature(void *mc, unsigned int csig, int cpf) in intel_find_matching_signature() argument
110 if (intel_cpu_signatures_match(csig, cpf, mc_hdr->sig, mc_hdr->pf)) in intel_find_matching_signature()
121 if (intel_cpu_signatures_match(csig, cpf, ext_sig->sig, ext_sig->pf)) in intel_find_matching_signature()
246 static int has_newer_microcode(void *mc, unsigned int csig, int cpf, int new_rev) in has_newer_microcode() argument
253 return intel_find_matching_signature(mc, csig, cpf); in has_newer_microcode()
653 static int collect_cpu_info(int cpu_num, struct cpu_signature *csig) in collect_cpu_info() argument
658 memset(csig, 0, sizeof(*csig)); in collect_cpu_info()
660 csig->sig = cpuid_eax(0x00000001); in collect_cpu_info()
665 csig->pf = 1 << ((val[1] >> 18) & 7); in collect_cpu_info()
668 csig->rev = c->microcode; in collect_cpu_info()
752 unsigned int csig, cpf; in generic_load_microcode() local
791 csig = uci->cpu_sig.sig; in generic_load_microcode()
793 if (has_newer_microcode(mc, csig, cpf, new_rev)) { in generic_load_microcode()