Home
last modified time | relevance | path

Searched refs:cpu_regs (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/uts/i86pc/os/cpupm/
H A Dpwrnow.c237 struct cpuid_regs cpu_regs; in pwrnow_supported() local
249 cpu_regs.cp_eax = 0x80000007; in pwrnow_supported()
250 (void) __cpuid_insn(&cpu_regs); in pwrnow_supported()
256 if (!(cpu_regs.cp_edx & AMD_CPUID_TSC_CONSTANT)) { in pwrnow_supported()
266 if (!(cpu_regs.cp_edx & AMD_CPUID_PSTATE_HARDWARE)) { in pwrnow_supported()
276 struct cpuid_regs cpu_regs; in pwrnow_cpb_supported() local
288 cpu_regs.cp_eax = 0x80000007; in pwrnow_cpb_supported()
289 (void) __cpuid_insn(&cpu_regs); in pwrnow_cpb_supported()
291 if (!(cpu_regs.cp_edx & AMD_CPUID_CPB)) in pwrnow_cpb_supported()
H A Dspeedstep.c267 struct cpuid_regs cpu_regs; in speedstep_supported() local
287 cpu_regs.cp_eax = 0x1; in speedstep_supported()
288 (void) __cpuid_insn(&cpu_regs); in speedstep_supported()
289 if (!(cpu_regs.cp_ecx & CPUID_INTC_ECX_EST)) { in speedstep_supported()
299 struct cpuid_regs cpu_regs; in speedstep_turbo_supported() local
310 cpu_regs.cp_eax = 0x6; in speedstep_turbo_supported()
311 (void) __cpuid_insn(&cpu_regs); in speedstep_turbo_supported()
312 if (!(cpu_regs.cp_eax & CPUID_TURBO_SUPPORT)) { in speedstep_turbo_supported()