Searched refs:fms (Results 1 – 2 of 2) sorted by relevance
/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 140 unsigned int fms, family, model, stepping; in validate_cpuid() local 154 asm("cpuid" : "=a" (fms), "=c" (ecx), "=d" (edx) : "a" (1) : "ebx"); in validate_cpuid() 155 family = (fms >> 8) & 0xf; in validate_cpuid() 156 model = (fms >> 4) & 0xf; in validate_cpuid() 157 stepping = fms & 0xf; in validate_cpuid() 159 model += ((fms >> 16) & 0xf) << 4; in validate_cpuid()
|
/tools/power/x86/turbostat/ |
D | turbostat.c | 1997 unsigned int fms, family, model, stepping; in check_cpuid() local 2010 __get_cpuid(1, &fms, &ebx, &ecx, &edx); in check_cpuid() 2011 family = (fms >> 8) & 0xf; in check_cpuid() 2012 model = (fms >> 4) & 0xf; in check_cpuid() 2013 stepping = fms & 0xf; in check_cpuid() 2015 model += ((fms >> 16) & 0xf) << 4; in check_cpuid()
|