Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/arch/x86/cpu/broadwell/
H A Dcpu.c105 msr_t msr, perf_ctl, platform_info; in set_max_freq() local
113 perf_ctl.lo = (msr.lo & 0xff) << 8; in set_max_freq()
117 perf_ctl.lo = msr.lo & 0xff00; in set_max_freq()
120 perf_ctl.hi = 0; in set_max_freq()
121 msr_write(IA32_PERF_CTL, perf_ctl); in set_max_freq()
124 ((perf_ctl.lo >> 8) & 0xff) * CPU_BCLK); in set_max_freq()
410 msr_t msr, perf_ctl; in set_max_ratio() local
412 perf_ctl.hi = 0; in set_max_ratio()
417 perf_ctl.lo = (msr.lo & 0xff) << 8; in set_max_ratio()
421 perf_ctl.lo = (msr.lo & 0xff) << 8; in set_max_ratio()
[all …]
/OK3568_Linux_fs/u-boot/arch/x86/cpu/baytrail/
H A Dcpu.c68 msr_t perf_ctl; in set_max_freq() local
81 perf_ctl.lo = (msr.lo & 0x3f0000) >> 8; in set_max_freq()
88 perf_ctl.lo |= (msr.lo & 0x7f0000) >> 16; in set_max_freq()
89 perf_ctl.hi = 0; in set_max_freq()
91 msr_write(MSR_IA32_PERF_CTL, perf_ctl); in set_max_freq()
/OK3568_Linux_fs/u-boot/arch/x86/cpu/ivybridge/
H A Dmodel_206ax.c352 msr_t msr, perf_ctl; in set_max_ratio() local
354 perf_ctl.hi = 0; in set_max_ratio()
360 perf_ctl.lo = (msr.lo & 0xff) << 8; in set_max_ratio()
364 perf_ctl.lo = msr.lo & 0xff00; in set_max_ratio()
366 msr_write(MSR_IA32_PERF_CTL, perf_ctl); in set_max_ratio()
369 ((perf_ctl.lo >> 8) & 0xff) * SANDYBRIDGE_BCLK); in set_max_ratio()
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A 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()
/OK3568_Linux_fs/kernel/tools/perf/Documentation/
H A Dperf-stat.txt201 ctl_fifo=${ctl_dir}perf_ctl.fifo
H A Dperf-record.txt647 ctl_fifo=${ctl_dir}perf_ctl.fifo