Home
last modified time | relevance | path

Searched refs:perf_caps (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/cpufreq/
Dcppc_cpufreq.c131 local_freq_scale = div64_u64(perf, cpu_data->perf_caps.highest_perf); in cppc_scale_freq_workfn()
334 struct cppc_perf_caps *caps = &cpu_data->perf_caps; in cppc_cpufreq_perf_to_khz()
359 struct cppc_perf_caps *caps = &cpu_data->perf_caps; in cppc_cpufreq_khz_to_perf()
485 struct cppc_perf_caps *perf_caps; in get_perf_level_count() local
491 perf_caps = &cpu_data->perf_caps; in get_perf_level_count()
493 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in get_perf_level_count()
494 perf_caps->highest_perf); in get_perf_level_count()
519 struct cppc_perf_caps *perf_caps; in cppc_get_cpu_power() local
524 perf_caps = &cpu_data->perf_caps; in cppc_get_cpu_power()
526 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in cppc_get_cpu_power()
[all …]
Dacpi-cpufreq.c633 struct cppc_perf_caps perf_caps; in get_max_boost_ratio() local
640 ret = cppc_get_perf_caps(cpu, &perf_caps); in get_max_boost_ratio()
650 highest_perf = perf_caps.highest_perf; in get_max_boost_ratio()
652 nominal_perf = perf_caps.nominal_perf; in get_max_boost_ratio()
/linux-6.6.21/arch/x86/kernel/acpi/
Dcppc.c71 struct cppc_perf_caps perf_caps; in amd_set_max_freq_ratio() local
76 rc = cppc_get_perf_caps(0, &perf_caps); in amd_set_max_freq_ratio()
83 nominal_perf = perf_caps.nominal_perf; in amd_set_max_freq_ratio()
/linux-6.6.21/include/acpi/
Dcppc_acpi.h132 struct cppc_perf_caps perf_caps; member
157 extern int cppc_get_auto_sel_caps(int cpunum, struct cppc_perf_caps *perf_caps);
224 static inline int cppc_get_auto_sel_caps(int cpunum, struct cppc_perf_caps *perf_caps) in cppc_get_auto_sel_caps() argument
/linux-6.6.21/drivers/base/
Darch_topology.c353 struct cppc_perf_caps perf_caps; in topology_init_cpu_capacity_cppc() local
365 if (!cppc_get_perf_caps(cpu, &perf_caps) && in topology_init_cpu_capacity_cppc()
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.6.21/drivers/acpi/
Dcppc_acpi.c1177 int cppc_get_perf_caps(int cpunum, struct cppc_perf_caps *perf_caps) in cppc_get_perf_caps() argument
1220 perf_caps->highest_perf = high; in cppc_get_perf_caps()
1223 perf_caps->lowest_perf = low; in cppc_get_perf_caps()
1226 perf_caps->nominal_perf = nom; in cppc_get_perf_caps()
1230 perf_caps->guaranteed_perf = 0; in cppc_get_perf_caps()
1233 perf_caps->guaranteed_perf = guaranteed; in cppc_get_perf_caps()
1237 perf_caps->lowest_nonlinear_perf = min_nonlinear; in cppc_get_perf_caps()
1249 perf_caps->lowest_freq = low_f; in cppc_get_perf_caps()
1250 perf_caps->nominal_freq = nom_f; in cppc_get_perf_caps()
1441 int cppc_get_auto_sel_caps(int cpunum, struct cppc_perf_caps *perf_caps) in cppc_get_auto_sel_caps() argument
[all …]