Home
last modified time | relevance | path

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

/drivers/cpufreq/
Damd-pstate.c357 u32 max_perf, max_freq, nominal_freq, nominal_perf; in amd_get_max_freq() local
364 nominal_freq = cppc_perf.nominal_freq; in amd_get_max_freq()
371 max_freq = nominal_freq * boost_ratio >> SCHED_CAPACITY_SHIFT; in amd_get_max_freq()
386 return cppc_perf.nominal_freq * 1000; in amd_get_nominal_freq()
393 nominal_freq, nominal_perf; in amd_get_lowest_nonlinear_freq() local
400 nominal_freq = cppc_perf.nominal_freq; in amd_get_lowest_nonlinear_freq()
408 lowest_nonlinear_freq = nominal_freq * lowest_nonlinear_ratio >> SCHED_CAPACITY_SHIFT; in amd_get_lowest_nonlinear_freq()
427 policy->cpuinfo.max_freq = cpudata->nominal_freq; in amd_pstate_set_boost()
460 int min_freq, max_freq, nominal_freq, lowest_nonlinear_freq, ret; in amd_pstate_cpu_init() local
485 nominal_freq = amd_get_nominal_freq(cpudata); in amd_pstate_cpu_init()
[all …]
Damd-pstate-ut.c211 if (!((cpudata->max_freq >= cpudata->nominal_freq) && in amd_pstate_ut_check_freq()
212 (cpudata->nominal_freq > cpudata->lowest_nonlinear_freq) && in amd_pstate_ut_check_freq()
217 __func__, cpu, cpudata->max_freq, cpudata->nominal_freq, in amd_pstate_ut_check_freq()
231 (policy->max == cpudata->nominal_freq)) in amd_pstate_ut_check_freq()
237 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()
/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()
/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()