Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/acpi/
H 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/drivers/cpufreq/
H A Dcppc_cpufreq.c108 local_freq_scale = div64_u64(perf, cpu_data->perf_caps.highest_perf); in cppc_scale_freq_workfn()
378 perf_caps->highest_perf); in get_perf_level_count()
414 perf_caps->highest_perf); in cppc_get_cpu_power()
415 perf_step = div_u64((u64)CPPC_EM_CAP_STEP * perf_caps->highest_perf, in cppc_get_cpu_power()
428 perf = perf_caps->highest_perf; in cppc_get_cpu_power()
435 perf = perf_caps->highest_perf; in cppc_get_cpu_power()
485 perf_step = CPPC_EM_CAP_STEP * perf_caps->highest_perf / max_cap; in cppc_get_cpu_cost()
615 caps->highest_perf : caps->nominal_perf); in cppc_cpufreq_cpu_init()
655 if (caps->highest_perf > caps->nominal_perf) in cppc_cpufreq_cpu_init()
659 policy->cur = cppc_perf_to_khz(caps, caps->highest_perf); in cppc_cpufreq_cpu_init()
[all …]
H A Damd-pstate.c336 trace_amd_pstate_epp_perf(cpudata->cpu, cpudata->highest_perf, in amd_pstate_set_energy_pref_index()
425 WRITE_ONCE(cpudata->highest_perf, numerator); in msr_init_perf()
448 WRITE_ONCE(cpudata->highest_perf, numerator); in shmem_init_perf()
454 WRITE_ONCE(cpudata->prefcore_ranking, cppc_perf.highest_perf); in shmem_init_perf()
597 max_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_update_min_max_limit()
626 cap_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_update_freq()
688 cap_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_adjust_perf()
911 u32 highest_perf, nominal_perf, nominal_freq; in amd_pstate_init_freq() local
929 highest_perf = READ_ONCE(cpudata->highest_perf); in amd_pstate_init_freq()
931 max_freq = div_u64((u64)highest_perf * nominal_freq, nominal_perf); in amd_pstate_init_freq()
[all …]
H A Dacpi-cpufreq.c636 u64 highest_perf, nominal_perf; in get_max_boost_ratio() local
650 ret = amd_get_boost_ratio_numerator(cpu, &highest_perf); in get_max_boost_ratio()
657 highest_perf = perf_caps.highest_perf; in get_max_boost_ratio()
665 if (!highest_perf || !nominal_perf) { in get_max_boost_ratio()
670 if (highest_perf < nominal_perf) { in get_max_boost_ratio()
675 return div_u64(highest_perf << SCHED_CAPACITY_SHIFT, nominal_perf); in get_max_boost_ratio()
/linux/include/acpi/
H 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/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/acpi/
H A Dcppc_acpi.c164 show_cppc_data(cppc_get_perf_caps, cppc_perf_caps, highest_perf);
205 &highest_perf.attr,
1249 int cppc_get_highest_perf(int cpunum, u64 *highest_perf) in cppc_get_highest_perf() argument
1251 return cppc_get_perf(cpunum, HIGHEST_PERF, highest_perf); in cppc_get_highest_perf()
1318 perf_caps->highest_perf = high; in cppc_get_perf_caps()
1930 div = caps->highest_perf; in cppc_perf_to_khz()
1967 mul = caps->highest_perf; in cppc_khz_to_perf()
/linux/drivers/base/
H 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/
H A Damd-pstate.rst596 …| | || highest_perf >= nominal_perf > lowest_nonlinear_perf…