Home
last modified time | relevance | path

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

/linux/drivers/cpufreq/
A Damd-pstate-ut.c127 u32 highest_perf = 0, nominal_perf = 0, lowest_nonlinear_perf = 0, lowest_perf = 0; in amd_pstate_ut_check_perf() local
147 highest_perf = cppc_perf.highest_perf; in amd_pstate_ut_check_perf()
159 highest_perf = AMD_CPPC_HIGHEST_PERF(cap1); in amd_pstate_ut_check_perf()
165 if (highest_perf != READ_ONCE(cpudata->highest_perf) && !cpudata->hw_prefcore) { in amd_pstate_ut_check_perf()
167 __func__, cpu, highest_perf, cpudata->highest_perf); in amd_pstate_ut_check_perf()
181 if (!((highest_perf >= nominal_perf) && in amd_pstate_ut_check_perf()
187 __func__, cpu, highest_perf, nominal_perf, in amd_pstate_ut_check_perf()
A Dcppc_cpufreq.c124 local_freq_scale = div64_u64(perf, cpu_data->perf_caps.highest_perf); in cppc_scale_freq_workfn()
394 perf_caps->highest_perf); in get_perf_level_count()
427 perf_caps->highest_perf); in cppc_get_cpu_power()
441 perf = perf_caps->highest_perf; in cppc_get_cpu_power()
448 perf = perf_caps->highest_perf; in cppc_get_cpu_power()
495 perf_step = CPPC_EM_CAP_STEP * perf_caps->highest_perf / max_cap; in cppc_get_cpu_cost()
664 if (caps->highest_perf > caps->nominal_perf) in cppc_cpufreq_cpu_init()
668 policy->cur = cppc_perf_to_khz(caps, caps->highest_perf); in cppc_cpufreq_cpu_init()
669 cpu_data->perf_ctrls.desired_perf = caps->highest_perf; in cppc_cpufreq_cpu_init()
674 caps->highest_perf, cpu, ret); in cppc_cpufreq_cpu_init()
[all …]
A Damd-pstate.c396 WRITE_ONCE(cpudata->highest_perf, cppc_perf.highest_perf); in cppc_init_perf()
545 max_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_update_min_max_limit()
578 cap_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_update_freq()
640 cap_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_adjust_perf()
669 u32 highest_perf, nominal_perf, nominal_freq, max_freq; in amd_pstate_cpu_boost_update() local
672 highest_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_cpu_boost_update()
681 value |= on ? highest_perf : nominal_perf; in amd_pstate_cpu_boost_update()
686 perf_ctrls.max_perf = on ? highest_perf : nominal_perf; in amd_pstate_cpu_boost_update()
1109 perf = READ_ONCE(cpudata->highest_perf); in show_amd_pstate_highest_perf()
1517 max_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_epp_update_limit()
[all …]
A Dacpi-cpufreq.c632 u64 highest_perf, nominal_perf; in get_max_boost_ratio() local
646 ret = amd_get_boost_ratio_numerator(cpu, &highest_perf); in get_max_boost_ratio()
653 highest_perf = perf_caps.highest_perf; in get_max_boost_ratio()
658 if (!highest_perf || !nominal_perf) { in get_max_boost_ratio()
663 if (highest_perf < nominal_perf) { in get_max_boost_ratio()
668 return div_u64(highest_perf << SCHED_CAPACITY_SHIFT, nominal_perf); in get_max_boost_ratio()
A Damd-pstate.h74 u32 highest_perf; member
A Dintel_pstate.c370 if (ret || cppc_perf.highest_perf == CPPC_MAX_PERF) in intel_pstate_set_itmt_prio()
371 cppc_perf.highest_perf = HWP_HIGHEST_PERF(READ_ONCE(all_cpu_data[cpu]->hwp_cap_cached)); in intel_pstate_set_itmt_prio()
378 sched_set_itmt_core_prio(cppc_perf.highest_perf, cpu); in intel_pstate_set_itmt_prio()
381 if (cppc_perf.highest_perf > max_highest_perf) in intel_pstate_set_itmt_prio()
382 max_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
384 if (cppc_perf.highest_perf < min_highest_perf) in intel_pstate_set_itmt_prio()
385 min_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
/linux/arch/x86/kernel/acpi/
A Dcppc.c142 int amd_get_highest_perf(unsigned int cpu, u32 *highest_perf) in amd_get_highest_perf() argument
159 WRITE_ONCE(*highest_perf, (u32)val); in amd_get_highest_perf()
181 u64 highest_perf[2] = {0}; in amd_detect_prefcore() local
205 if (!count || (count == 1 && tmp != highest_perf[0])) in amd_detect_prefcore()
206 highest_perf[count++] = tmp; in amd_detect_prefcore()
213 boost_numerator = highest_perf[0]; in amd_detect_prefcore()
219 *detected ? "" : "un", highest_perf[0]); in amd_detect_prefcore()
/linux/include/acpi/
A Dcppc_acpi.h107 u32 highest_perf; member
144 extern int cppc_get_highest_perf(int cpunum, u64 *highest_perf);
164 extern int amd_get_highest_perf(unsigned int cpu, u32 *highest_perf);
176 static inline int cppc_get_highest_perf(int cpunum, u64 *highest_perf) in cppc_get_highest_perf() argument
240 static inline int amd_get_highest_perf(unsigned int cpu, u32 *highest_perf) in amd_get_highest_perf() argument
/linux/tools/power/cpupower/utils/helpers/
A Damd.c200 unsigned long highest_perf, nominal_perf, cpuinfo_min, in amd_pstate_boost_init() local
203 highest_perf = amd_pstate_get_data(cpu, AMD_PSTATE_HIGHEST_PERF); in amd_pstate_boost_init()
206 *support = highest_perf > nominal_perf ? 1 : 0; in amd_pstate_boost_init()
/linux/Documentation/admin-guide/acpi/
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/acpi/
A Dcppc_acpi.c164 show_cppc_data(cppc_get_perf_caps, cppc_perf_caps, highest_perf);
205 &highest_perf.attr,
1248 int cppc_get_highest_perf(int cpunum, u64 *highest_perf) in cppc_get_highest_perf() argument
1250 return cppc_get_perf(cpunum, HIGHEST_PERF, highest_perf); in cppc_get_highest_perf()
1317 perf_caps->highest_perf = high; in cppc_get_perf_caps()
1929 div = caps->highest_perf; in cppc_perf_to_khz()
1966 mul = caps->highest_perf; in cppc_khz_to_perf()
/linux/drivers/base/
A Darch_topology.c385 (perf_caps.highest_perf >= perf_caps.nominal_perf) && in topology_init_cpu_capacity_cppc()
386 (perf_caps.highest_perf >= perf_caps.lowest_perf)) { in topology_init_cpu_capacity_cppc()
387 raw_capacity[cpu] = perf_caps.highest_perf; in topology_init_cpu_capacity_cppc()
/linux/Documentation/admin-guide/pm/
A Damd-pstate.rst598 …| | || highest_perf >= nominal_perf > lowest_nonlinear_perf…

Completed in 35 milliseconds