Home
last modified time | relevance | path

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

/linux/drivers/cpufreq/
H A Dcppc_cpufreq.c92 local_freq_scale = div64_u64(perf, cpu_data->perf_caps.highest_perf); in __cppc_scale_freq_tick()
309 *min_perf = clamp_t(u32, min, caps->lowest_perf, caps->highest_perf); in cppc_cpufreq_get_perf_limits()
310 *max_perf = clamp_t(u32, max, caps->lowest_perf, caps->highest_perf); in cppc_cpufreq_get_perf_limits()
440 perf_caps->highest_perf); in get_perf_level_count()
476 perf_caps->highest_perf); in cppc_get_cpu_power()
477 perf_step = div_u64((u64)CPPC_EM_CAP_STEP * perf_caps->highest_perf, in cppc_get_cpu_power()
490 perf = perf_caps->highest_perf; in cppc_get_cpu_power()
497 perf = perf_caps->highest_perf; in cppc_get_cpu_power()
547 perf_step = CPPC_EM_CAP_STEP * perf_caps->highest_perf / max_cap; in cppc_get_cpu_cost()
684 caps->highest_perf : caps->nominal_perf); in cppc_cpufreq_cpu_init()
[all …]
H A Damd-pstate.c152 return (u8)clamp(perf_val, perf.lowest_perf, perf.highest_perf); in freq_to_perf()
256 perf.highest_perf, in msr_update_perf()
304 trace_call__amd_pstate_epp_perf(cpudata->cpu, perf.highest_perf, in msr_set_epp()
419 trace_call__amd_pstate_epp_perf(cpudata->cpu, perf.highest_perf, in shmem_set_epp()
483 perf.highest_perf = numerator; in msr_init_perf()
512 perf.highest_perf = numerator; in shmem_init_perf()
519 WRITE_ONCE(cpudata->prefcore_ranking, cppc_perf.highest_perf); in shmem_init_perf()
569 perf.highest_perf, in shmem_update_perf()
800 cap_perf = perf.highest_perf; in amd_pstate_adjust_perf()
1017 max_freq = perf_to_freq(perf, nominal_freq, perf.highest_perf); in amd_pstate_init_freq()
[all …]
H A Dintel_pstate.c375 if (ret || cppc_perf.highest_perf == CPPC_MAX_PERF) in intel_pstate_set_itmt_prio()
376 cppc_perf.highest_perf = HWP_HIGHEST_PERF(READ_ONCE(all_cpu_data[cpu]->hwp_cap_cached)); in intel_pstate_set_itmt_prio()
383 sched_set_itmt_core_prio(cppc_perf.highest_perf, cpu); in intel_pstate_set_itmt_prio()
386 if (cppc_perf.highest_perf > max_highest_perf) in intel_pstate_set_itmt_prio()
387 max_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
389 if (cppc_perf.highest_perf < min_highest_perf) in intel_pstate_set_itmt_prio()
390 min_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
/linux/include/acpi/
H A Dcppc_acpi.h129 u32 highest_perf; member
164 extern int cppc_get_highest_perf(int cpunum, u64 *highest_perf);
194 extern int amd_get_highest_perf(unsigned int cpu, u32 *highest_perf);
206 static inline int cppc_get_highest_perf(int cpunum, u64 *highest_perf) in cppc_get_highest_perf() argument
304 static inline int amd_get_highest_perf(unsigned int cpu, u32 *highest_perf) in amd_get_highest_perf() argument
/linux/Documentation/admin-guide/acpi/
H A Dcppc_sysfs.rst31 -r--r--r-- 1 root root 65536 Mar 5 19:38 highest_perf
40 * highest_perf : Highest performance of this processor (abstract scale).
/linux/drivers/base/
H A Darch_topology.c343 (perf_caps.highest_perf >= perf_caps.nominal_perf) && in topology_init_cpu_capacity_cppc()
344 (perf_caps.highest_perf >= perf_caps.lowest_perf)) { in topology_init_cpu_capacity_cppc()
345 raw_capacity[cpu] = perf_caps.highest_perf; in topology_init_cpu_capacity_cppc()
/linux/drivers/acpi/
H A Dcppc_acpi.c177 show_cppc_data(cppc_get_perf_caps, cppc_perf_caps, highest_perf);
289 &highest_perf.attr,
1462 int cppc_get_highest_perf(int cpunum, u64 *highest_perf) in cppc_get_highest_perf() argument
1464 return cppc_get_reg_val(cpunum, HIGHEST_PERF, highest_perf); in cppc_get_highest_perf()
1537 perf_caps->highest_perf = high; in cppc_get_perf_caps()
2353 div = caps->highest_perf; in cppc_perf_to_khz()
2390 mul = caps->highest_perf; in cppc_khz_to_perf()
/linux/Documentation/admin-guide/pm/
H A Damd-pstate.rst661 …| | || highest_perf >= nominal_perf > lowest_nonlinear_perf…