Searched refs:highest_perf (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/cpufreq/ |
| H A D | amd-pstate-ut.c | 116 u32 highest_perf = 0, nominal_perf = 0, lowest_nonlinear_perf = 0, lowest_perf = 0; in amd_pstate_ut_check_perf() local 137 highest_perf = cppc_perf.highest_perf; in amd_pstate_ut_check_perf() 148 highest_perf = FIELD_GET(AMD_CPPC_HIGHEST_PERF_MASK, cap1); in amd_pstate_ut_check_perf() 155 if (highest_perf != cur_perf.highest_perf && !cpudata->hw_prefcore) { in amd_pstate_ut_check_perf() 157 __func__, cpu, highest_perf, cur_perf.highest_perf); in amd_pstate_ut_check_perf() 170 if (!((highest_perf >= nominal_perf) && in amd_pstate_ut_check_perf() 175 __func__, cpu, highest_perf, nominal_perf, in amd_pstate_ut_check_perf()
|
| H A D | cppc_cpufreq.c | 89 local_freq_scale = div64_u64(perf, cpu_data->perf_caps.highest_perf); in __cppc_scale_freq_tick() 406 perf_caps->highest_perf); in get_perf_level_count() 442 perf_caps->highest_perf); in cppc_get_cpu_power() 443 perf_step = div_u64((u64)CPPC_EM_CAP_STEP * perf_caps->highest_perf, in cppc_get_cpu_power() 456 perf = perf_caps->highest_perf; in cppc_get_cpu_power() 463 perf = perf_caps->highest_perf; in cppc_get_cpu_power() 513 perf_step = CPPC_EM_CAP_STEP * perf_caps->highest_perf / max_cap; in cppc_get_cpu_cost() 637 caps->highest_perf : caps->nominal_perf); in cppc_cpufreq_cpu_init() 677 if (caps->highest_perf > caps->nominal_perf) in cppc_cpufreq_cpu_init() 681 policy->cur = cppc_perf_to_khz(caps, caps->highest_perf); in cppc_cpufreq_cpu_init() [all …]
|
| H A D | amd-pstate.c | 145 return (u8)clamp(perf_val, perf.lowest_perf, perf.highest_perf); in freq_to_perf() 251 perf.highest_perf, in msr_update_perf() 301 trace_amd_pstate_epp_perf(cpudata->cpu, perf.highest_perf, in msr_set_epp() 346 trace_amd_pstate_epp_perf(cpudata->cpu, perf.highest_perf, in shmem_set_epp() 422 perf.highest_perf = numerator; in msr_init_perf() 449 perf.highest_perf = numerator; in shmem_init_perf() 456 WRITE_ONCE(cpudata->prefcore_ranking, cppc_perf.highest_perf); in shmem_init_perf() 511 perf.highest_perf, in shmem_update_perf() 735 cap_perf = perf.highest_perf; in amd_pstate_adjust_perf() 765 max_freq = perf_to_freq(perf, cpudata->nominal_freq, perf.highest_perf); in amd_pstate_cpu_boost_update() [all …]
|
| H A D | acpi-cpufreq.c | 629 u64 highest_perf, nominal_perf; in get_max_boost_ratio() local 643 ret = amd_get_boost_ratio_numerator(cpu, &highest_perf); in get_max_boost_ratio() 650 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()
|
| H A D | amd-pstate.h | 37 u8 highest_perf; member
|
| H A D | intel_pstate.c | 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/arch/x86/kernel/acpi/ |
| H A D | cppc.c | 144 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/Documentation/admin-guide/acpi/ |
| H A D | cppc_sysfs.rst | 31 -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/ |
| H A D | cppc_acpi.c | 177 show_cppc_data(cppc_get_perf_caps, cppc_perf_caps, highest_perf); 218 &highest_perf.attr, 1315 int cppc_get_highest_perf(int cpunum, u64 *highest_perf) in cppc_get_highest_perf() argument 1317 return cppc_get_reg_val(cpunum, HIGHEST_PERF, highest_perf); in cppc_get_highest_perf() 1385 perf_caps->highest_perf = high; in cppc_get_perf_caps() 1991 div = caps->highest_perf; in cppc_perf_to_khz() 2028 mul = caps->highest_perf; in cppc_khz_to_perf()
|
| /linux/drivers/base/ |
| H A D | arch_topology.c | 343 (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/Documentation/admin-guide/pm/ |
| H A D | amd-pstate.rst | 596 …| | || highest_perf >= nominal_perf > lowest_nonlinear_perf…
|