Searched refs:highest_perf (Results 1 – 13 of 13) sorted by relevance
/linux-6.3-rc2/drivers/cpufreq/ |
A D | amd-pstate-ut.c | 142 u32 highest_perf = 0, nominal_perf = 0, lowest_nonlinear_perf = 0, lowest_perf = 0; in amd_pstate_ut_check_perf() local 148 highest_perf = amd_get_highest_perf(); in amd_pstate_ut_check_perf() 180 if ((highest_perf != READ_ONCE(cpudata->highest_perf)) || in amd_pstate_ut_check_perf() 186 __func__, cpu, highest_perf, cpudata->highest_perf, in amd_pstate_ut_check_perf() 193 if (!((highest_perf >= nominal_perf) && in amd_pstate_ut_check_perf() 199 __func__, cpu, highest_perf, nominal_perf, in amd_pstate_ut_check_perf()
|
A D | amd-pstate.c | 266 u32 highest_perf; in pstate_init_perf() local 278 highest_perf = amd_get_highest_perf(); in pstate_init_perf() 282 WRITE_ONCE(cpudata->highest_perf, highest_perf); in pstate_init_perf() 294 u32 highest_perf; in cppc_init_perf() local 300 highest_perf = amd_get_highest_perf(); in cppc_init_perf() 301 if (highest_perf > cppc_perf.highest_perf) in cppc_init_perf() 302 highest_perf = cppc_perf.highest_perf; in cppc_init_perf() 304 WRITE_ONCE(cpudata->highest_perf, highest_perf); in cppc_init_perf() 585 u32 highest_perf, nominal_perf; in amd_pstate_boost_init() local 587 highest_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_boost_init() [all …]
|
A D | cppc_cpufreq.c | 344 div = caps->highest_perf; in cppc_cpufreq_perf_to_khz() 368 mul = caps->highest_perf; in cppc_cpufreq_khz_to_perf() 491 perf_caps->highest_perf); in get_perf_level_count() 524 perf_caps->highest_perf); in cppc_get_cpu_power() 538 perf = perf_caps->highest_perf; in cppc_get_cpu_power() 545 perf = perf_caps->highest_perf; in cppc_get_cpu_power() 592 perf_step = CPPC_EM_CAP_STEP * perf_caps->highest_perf / max_cap; in cppc_get_cpu_cost() 769 if (caps->highest_perf > caps->nominal_perf) in cppc_cpufreq_cpu_init() 774 cpu_data->perf_ctrls.desired_perf = caps->highest_perf; in cppc_cpufreq_cpu_init() 779 caps->highest_perf, cpu, ret); in cppc_cpufreq_cpu_init() [all …]
|
A D | acpi-cpufreq.c | 633 u64 highest_perf, nominal_perf; in get_max_boost_ratio() local 647 highest_perf = amd_get_highest_perf(); in get_max_boost_ratio() 649 highest_perf = perf_caps.highest_perf; in get_max_boost_ratio() 653 if (!highest_perf || !nominal_perf) { in get_max_boost_ratio() 658 if (highest_perf < nominal_perf) { in get_max_boost_ratio() 663 return div_u64(highest_perf << SCHED_CAPACITY_SHIFT, nominal_perf); in get_max_boost_ratio()
|
A D | intel_pstate.c | 360 if (cppc_perf.highest_perf == CPPC_MAX_PERF) in intel_pstate_set_itmt_prio() 361 cppc_perf.highest_perf = HWP_HIGHEST_PERF(READ_ONCE(all_cpu_data[cpu]->hwp_cap_cached)); in intel_pstate_set_itmt_prio() 368 sched_set_itmt_core_prio(cppc_perf.highest_perf, cpu); in intel_pstate_set_itmt_prio() 371 if (cppc_perf.highest_perf > max_highest_perf) in intel_pstate_set_itmt_prio() 372 max_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio() 374 if (cppc_perf.highest_perf < min_highest_perf) in intel_pstate_set_itmt_prio() 375 min_highest_perf = cppc_perf.highest_perf; in intel_pstate_set_itmt_prio()
|
/linux-6.3-rc2/arch/x86/kernel/acpi/ |
A D | cppc.c | 72 u64 highest_perf, nominal_perf; in amd_set_max_freq_ratio() local 82 highest_perf = amd_get_highest_perf(); in amd_set_max_freq_ratio() 85 if (!highest_perf || !nominal_perf) { in amd_set_max_freq_ratio() 90 perf_ratio = div_u64(highest_perf * SCHED_CAPACITY_SCALE, nominal_perf); in amd_set_max_freq_ratio()
|
/linux-6.3-rc2/tools/power/cpupower/utils/helpers/ |
A D | amd.c | 180 unsigned long highest_perf, nominal_perf, cpuinfo_min, in amd_pstate_boost_init() local 183 highest_perf = amd_pstate_get_data(cpu, AMD_PSTATE_HIGHEST_PERF); in amd_pstate_boost_init() 186 *support = highest_perf > nominal_perf ? 1 : 0; in amd_pstate_boost_init()
|
/linux-6.3-rc2/Documentation/admin-guide/acpi/ |
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-6.3-rc2/include/linux/ |
A D | amd-pstate.h | 69 u32 highest_perf; member
|
/linux-6.3-rc2/drivers/base/ |
A D | arch_topology.c | 366 (perf_caps.highest_perf >= perf_caps.nominal_perf) && in topology_init_cpu_capacity_cppc() 367 (perf_caps.highest_perf >= perf_caps.lowest_perf)) { in topology_init_cpu_capacity_cppc() 368 raw_capacity[cpu] = perf_caps.highest_perf; in topology_init_cpu_capacity_cppc()
|
/linux-6.3-rc2/include/acpi/ |
A D | cppc_acpi.h | 105 u32 highest_perf; member
|
/linux-6.3-rc2/drivers/acpi/ |
A D | cppc_acpi.c | 156 show_cppc_data(cppc_get_perf_caps, cppc_perf_caps, highest_perf); 186 &highest_perf.attr, 1220 perf_caps->highest_perf = high; in cppc_get_perf_caps()
|
/linux-6.3-rc2/Documentation/admin-guide/pm/ |
A D | amd-pstate.rst | 497 …| | || highest_perf >= nominal_perf > lowest_nonlinear_perf…
|
Completed in 26 milliseconds