Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/cpufreq/
Damd-pstate-ut.c142 u32 highest_perf = 0, nominal_perf = 0, lowest_nonlinear_perf = 0, lowest_perf = 0; in amd_pstate_ut_check_perf() local
164 nominal_perf = cppc_perf.nominal_perf; in amd_pstate_ut_check_perf()
175 nominal_perf = AMD_CPPC_NOMINAL_PERF(cap1); in amd_pstate_ut_check_perf()
181 (nominal_perf != READ_ONCE(cpudata->nominal_perf)) || in amd_pstate_ut_check_perf()
187 nominal_perf, cpudata->nominal_perf, in amd_pstate_ut_check_perf()
193 if (!((highest_perf >= nominal_perf) && in amd_pstate_ut_check_perf()
194 (nominal_perf > lowest_nonlinear_perf) && in amd_pstate_ut_check_perf()
199 __func__, cpu, highest_perf, nominal_perf, in amd_pstate_ut_check_perf()
Damd-pstate.c111 WRITE_ONCE(cpudata->nominal_perf, AMD_CPPC_NOMINAL_PERF(cap1)); in pstate_init_perf()
133 WRITE_ONCE(cpudata->nominal_perf, cppc_perf.nominal_perf); in cppc_init_perf()
328 u32 max_perf, max_freq, nominal_freq, nominal_perf; in amd_get_max_freq() local
336 nominal_perf = READ_ONCE(cpudata->nominal_perf); in amd_get_max_freq()
340 nominal_perf); in amd_get_max_freq()
364 nominal_freq, nominal_perf; in amd_get_lowest_nonlinear_freq() local
372 nominal_perf = READ_ONCE(cpudata->nominal_perf); in amd_get_lowest_nonlinear_freq()
377 nominal_perf); in amd_get_lowest_nonlinear_freq()
412 u32 highest_perf, nominal_perf; in amd_pstate_boost_init() local
415 nominal_perf = READ_ONCE(cpudata->nominal_perf); in amd_pstate_boost_init()
[all …]
Dcppc_cpufreq.c338 div = caps->nominal_perf - caps->lowest_perf; in cppc_cpufreq_perf_to_khz()
339 offset = caps->nominal_freq - div64_u64(caps->nominal_perf * mul, div); in cppc_cpufreq_perf_to_khz()
362 mul = caps->nominal_perf - caps->lowest_perf; in cppc_cpufreq_khz_to_perf()
364 offset = caps->nominal_perf - div64_u64(caps->nominal_freq * mul, div); in cppc_cpufreq_khz_to_perf()
727 caps->nominal_perf); in cppc_cpufreq_cpu_init()
737 caps->nominal_perf); in cppc_cpufreq_cpu_init()
769 if (caps->highest_perf > caps->nominal_perf) in cppc_cpufreq_cpu_init()
882 caps->nominal_perf); in cppc_cpufreq_set_boost()
Dacpi-cpufreq.c641 u64 highest_perf, nominal_perf; in get_max_boost_ratio() local
659 nominal_perf = perf_caps.nominal_perf; in get_max_boost_ratio()
661 if (!highest_perf || !nominal_perf) { in get_max_boost_ratio()
666 if (highest_perf < nominal_perf) { in get_max_boost_ratio()
671 return div_u64(highest_perf << SCHED_CAPACITY_SHIFT, nominal_perf); in get_max_boost_ratio()
Dintel_pstate.c400 return cppc_perf.nominal_perf; in intel_pstate_get_cppc_guaranteed()
/linux-6.1.9/arch/x86/kernel/acpi/
Dcppc.c72 u64 highest_perf, nominal_perf; in amd_set_max_freq_ratio() local
83 nominal_perf = perf_caps.nominal_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.1.9/include/acpi/
Dcppc_acpi.h106 u32 nominal_perf; member
138 extern int cppc_get_nominal_perf(int cpunum, u64 *nominal_perf);
157 static inline int cppc_get_nominal_perf(int cpunum, u64 *nominal_perf) in cppc_get_nominal_perf() argument
/linux-6.1.9/tools/power/cpupower/utils/helpers/
Damd.c180 unsigned long highest_perf, nominal_perf, cpuinfo_min, in amd_pstate_boost_init() local
184 nominal_perf = acpi_cppc_get_data(cpu, NOMINAL_PERF); in amd_pstate_boost_init()
186 *support = highest_perf > nominal_perf ? 1 : 0; in amd_pstate_boost_init()
/linux-6.1.9/Documentation/admin-guide/acpi/
Dcppc_sysfs.rst36 -r--r--r-- 1 root root 65536 Mar 5 19:38 nominal_perf
41 * nominal_perf : Highest sustained performance of this processor
48 * nominal_freq : CPU frequency corresponding to nominal_perf (in MHz).
/linux-6.1.9/include/linux/
Damd-pstate.h61 u32 nominal_perf; member
/linux-6.1.9/drivers/acpi/
Dcppc_acpi.c158 show_cppc_data(cppc_get_perf_caps, cppc_perf_caps, nominal_perf);
189 &nominal_perf.attr,
1151 int cppc_get_nominal_perf(int cpunum, u64 *nominal_perf) in cppc_get_nominal_perf() argument
1153 return cppc_get_perf(cpunum, NOMINAL_PERF, nominal_perf); in cppc_get_nominal_perf()
1212 perf_caps->nominal_perf = nom; in cppc_get_perf_caps()
/linux-6.1.9/drivers/base/
Darch_topology.c366 (perf_caps.highest_perf >= perf_caps.nominal_perf) && in topology_init_cpu_capacity_cppc()
/linux-6.1.9/Documentation/admin-guide/pm/
Damd-pstate.rst423 …| | || highest_perf >= nominal_perf > lowest_nonlinear_perf…