Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/acpi/
H A Dcppc.c144 int amd_get_highest_perf(unsigned int cpu, u32 *highest_perf) in amd_get_highest_perf() argument
161 WRITE_ONCE(*highest_perf, (u32)val); in amd_get_highest_perf()
183 u64 highest_perf[2] = {0}; in amd_detect_prefcore() local
207 if (!count || (count == 1 && tmp != highest_perf[0])) in amd_detect_prefcore()
208 highest_perf[count++] = tmp; in amd_detect_prefcore()
215 boost_numerator = highest_perf[0]; in amd_detect_prefcore()
221 *detected ? "" : "un", highest_perf[0]); in amd_detect_prefcore()
/linux/drivers/cpufreq/
H A Damd-pstate-ut.c147 u32 highest_perf = 0, nominal_perf = 0, lowest_nonlinear_perf = 0, lowest_perf = 0; in amd_pstate_ut_check_perf() local
168 highest_perf = cppc_perf.highest_perf; in amd_pstate_ut_check_perf()
179 highest_perf = FIELD_GET(AMD_CPPC_HIGHEST_PERF_MASK, cap1); in amd_pstate_ut_check_perf()
186 if (highest_perf != cur_perf.highest_perf && !cpudata->hw_prefcore) { in amd_pstate_ut_check_perf()
188 __func__, cpu, highest_perf, cur_perf.highest_perf); in amd_pstate_ut_check_perf()
201 if (!((highest_perf >= nominal_perf) && in amd_pstate_ut_check_perf()
206 __func__, cpu, highest_perf, nominal_perf, in amd_pstate_ut_check_perf()
H A Damd-pstate.c150 return (u8)clamp(perf_val, perf.lowest_perf, perf.highest_perf); in freq_to_perf()
254 perf.highest_perf, in msr_update_perf()
302 trace_call__amd_pstate_epp_perf(cpudata->cpu, perf.highest_perf, in msr_set_epp()
417 trace_call__amd_pstate_epp_perf(cpudata->cpu, perf.highest_perf, in shmem_set_epp()
492 perf.highest_perf = numerator; in msr_init_perf()
520 perf.highest_perf = numerator; in shmem_init_perf()
527 WRITE_ONCE(cpudata->prefcore_ranking, cppc_perf.highest_perf); in shmem_init_perf()
580 perf.highest_perf, in shmem_update_perf()
707 * highest_perf or lowest_nonlinear_perf. in amd_pstate_update_min_max_limit()
709 * Per commit 0c411b39e4f4c, using highest_perf wa in amd_pstate_update_min_max_limit()
[all...]
H A Dintel_pstate.c372 * Also, on some systems with overclocking enabled, CPPC.highest_perf is in intel_pstate_set_itmt_prio()
373 * hardcoded to 0xff, so CPPC.highest_perf cannot be used to enable ITMT. in intel_pstate_set_itmt_prio()
376 if (ret || cppc_perf.highest_perf == CPPC_MAX_PERF) in intel_pstate_set_itmt_prio()
377 cppc_perf.highest_perf = HWP_HIGHEST_PERF(READ_ONCE(all_cpu_data[cpu]->hwp_cap_cached)); in intel_pstate_set_itmt_prio()
384 sched_set_itmt_core_prio(cppc_perf.highest_perf, cpu); in intel_pstate_set_itmt_prio()
387 if (cppc_perf.highest_perf > max_highest_perf) in intel_pstate_set_itmt_prio()
388 max_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
390 if (cppc_perf.highest_perf < min_highest_perf) in intel_pstate_set_itmt_prio()
391 min_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
/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);
223 &highest_perf.attr,
1335 * @highest_perf: Return address.
1339 int cppc_get_highest_perf(int cpunum, u64 *highest_perf) in cppc_get_epp_perf()
1341 return cppc_get_reg_val(cpunum, HIGHEST_PERF, highest_perf); in cppc_get_epp_perf()
1414 perf_caps->highest_perf = high; in cppc_get_perf_caps()
2207 div = caps->highest_perf; in cppc_khz_to_perf()
2244 mul = caps->highest_perf;
1325 cppc_get_highest_perf(int cpunum,u64 * highest_perf) cppc_get_highest_perf() argument
/linux/Documentation/admin-guide/pm/
H A Damd-pstate.rst662 …| | || highest_perf >= nominal_perf > lowest_nonlinear_perf…