Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/platform/x86/
Dintel_ips.c437 u64 perf_ctl; in do_enable_cpu_turbo() local
439 rdmsrl(IA32_PERF_CTL, perf_ctl); in do_enable_cpu_turbo()
440 if (perf_ctl & IA32_PERF_TURBO_DIS) { in do_enable_cpu_turbo()
441 perf_ctl &= ~IA32_PERF_TURBO_DIS; in do_enable_cpu_turbo()
442 wrmsrl(IA32_PERF_CTL, perf_ctl); in do_enable_cpu_turbo()
475 u64 perf_ctl; in do_disable_cpu_turbo() local
477 rdmsrl(IA32_PERF_CTL, perf_ctl); in do_disable_cpu_turbo()
478 if (!(perf_ctl & IA32_PERF_TURBO_DIS)) { in do_disable_cpu_turbo()
479 perf_ctl |= IA32_PERF_TURBO_DIS; in do_disable_cpu_turbo()
480 wrmsrl(IA32_PERF_CTL, perf_ctl); in do_disable_cpu_turbo()