Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/platform/x86/
Dintel_ips.c448 u64 perf_ctl; in do_enable_cpu_turbo() local
450 rdmsrl(IA32_PERF_CTL, perf_ctl); in do_enable_cpu_turbo()
451 if (perf_ctl & IA32_PERF_TURBO_DIS) { in do_enable_cpu_turbo()
452 perf_ctl &= ~IA32_PERF_TURBO_DIS; in do_enable_cpu_turbo()
453 wrmsrl(IA32_PERF_CTL, perf_ctl); in do_enable_cpu_turbo()
486 u64 perf_ctl; in do_disable_cpu_turbo() local
488 rdmsrl(IA32_PERF_CTL, perf_ctl); in do_disable_cpu_turbo()
489 if (!(perf_ctl & IA32_PERF_TURBO_DIS)) { in do_disable_cpu_turbo()
490 perf_ctl |= IA32_PERF_TURBO_DIS; in do_disable_cpu_turbo()
491 wrmsrl(IA32_PERF_CTL, perf_ctl); in do_disable_cpu_turbo()