Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/cpufreq/
Damd-pstate.c328 u32 max_perf, max_freq, nominal_freq, nominal_perf; in amd_get_max_freq() local
335 nominal_freq = cppc_perf.nominal_freq; in amd_get_max_freq()
342 max_freq = nominal_freq * boost_ratio >> SCHED_CAPACITY_SHIFT; in amd_get_max_freq()
357 return cppc_perf.nominal_freq * 1000; in amd_get_nominal_freq()
364 nominal_freq, nominal_perf; in amd_get_lowest_nonlinear_freq() local
371 nominal_freq = cppc_perf.nominal_freq; in amd_get_lowest_nonlinear_freq()
379 lowest_nonlinear_freq = nominal_freq * lowest_nonlinear_ratio >> SCHED_CAPACITY_SHIFT; in amd_get_lowest_nonlinear_freq()
398 policy->cpuinfo.max_freq = cpudata->nominal_freq; in amd_pstate_set_boost()
431 int min_freq, max_freq, nominal_freq, lowest_nonlinear_freq, ret; in amd_pstate_cpu_init() local
456 nominal_freq = amd_get_nominal_freq(cpudata); in amd_pstate_cpu_init()
[all …]
Damd-pstate-ut.c225 if (!((cpudata->max_freq >= cpudata->nominal_freq) && in amd_pstate_ut_check_freq()
226 (cpudata->nominal_freq > cpudata->lowest_nonlinear_freq) && in amd_pstate_ut_check_freq()
231 __func__, cpu, cpudata->max_freq, cpudata->nominal_freq, in amd_pstate_ut_check_freq()
245 (policy->max == cpudata->nominal_freq)) in amd_pstate_ut_check_freq()
251 cpudata->nominal_freq); in amd_pstate_ut_check_freq()
Dcppc_cpufreq.c336 if (caps->lowest_freq && caps->nominal_freq) { in cppc_cpufreq_perf_to_khz()
337 mul = caps->nominal_freq - caps->lowest_freq; in cppc_cpufreq_perf_to_khz()
339 offset = caps->nominal_freq - div64_u64(caps->nominal_perf * mul, div); in cppc_cpufreq_perf_to_khz()
361 if (caps->lowest_freq && caps->nominal_freq) { in cppc_cpufreq_khz_to_perf()
363 div = caps->nominal_freq - caps->lowest_freq; in cppc_cpufreq_khz_to_perf()
364 offset = caps->nominal_perf - div64_u64(caps->nominal_freq * mul, div); in cppc_cpufreq_khz_to_perf()
681 cpu_data->perf_caps.nominal_freq *= 1000; in cppc_cpufreq_get_cpu_data()
/linux-6.1.9/drivers/ptp/
Dptp_qoriq.c385 u32 nominal_freq; in ptp_qoriq_auto_config() local
402 nominal_freq = ptp_qoriq_nominal_freq(clk_src); in ptp_qoriq_auto_config()
403 if (!nominal_freq) in ptp_qoriq_auto_config()
406 ptp_qoriq->tclk_period = 1000000000UL / nominal_freq; in ptp_qoriq_auto_config()
413 freq_comp = ((u64)1 << 32) * nominal_freq; in ptp_qoriq_auto_config()
426 max_adj = 1000000000ULL * (clk_src - nominal_freq); in ptp_qoriq_auto_config()
427 max_adj = div_u64(max_adj, nominal_freq) - 1; in ptp_qoriq_auto_config()
/linux-6.1.9/include/linux/
Damd-pstate.h67 u32 nominal_freq; member
/linux-6.1.9/Documentation/admin-guide/acpi/
Dcppc_sysfs.rst35 -r--r--r-- 1 root root 65536 Mar 5 19:38 nominal_freq
48 * nominal_freq : CPU frequency corresponding to nominal_perf (in MHz).
/linux-6.1.9/include/acpi/
Dcppc_acpi.h110 u32 nominal_freq; member
/linux-6.1.9/drivers/acpi/
Dcppc_acpi.c161 show_cppc_data(cppc_get_perf_caps, cppc_perf_caps, nominal_freq);
190 &nominal_freq.attr,
1236 perf_caps->nominal_freq = nom_f; in cppc_get_perf_caps()
/linux-6.1.9/Documentation/admin-guide/pm/
Damd-pstate.rst427 …| | || max_freq >= nominal_freq > lowest_nonlinear_freq > m…