Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/cpufreq/
Dcppc_cpufreq.c131 local_freq_scale = div64_u64(perf, cpu_data->perf_caps.highest_perf); in cppc_scale_freq_workfn()
331 struct cppc_perf_caps *caps = &cpu_data->perf_caps; in cppc_cpufreq_perf_to_khz()
356 struct cppc_perf_caps *caps = &cpu_data->perf_caps; in cppc_cpufreq_khz_to_perf()
482 struct cppc_perf_caps *perf_caps; in get_perf_level_count() local
488 perf_caps = &cpu_data->perf_caps; in get_perf_level_count()
490 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in get_perf_level_count()
491 perf_caps->highest_perf); in get_perf_level_count()
516 struct cppc_perf_caps *perf_caps; in cppc_get_cpu_power() local
521 perf_caps = &cpu_data->perf_caps; in cppc_get_cpu_power()
523 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in cppc_get_cpu_power()
[all …]
Dacpi-cpufreq.c640 struct cppc_perf_caps perf_caps; in get_max_boost_ratio() local
647 ret = cppc_get_perf_caps(cpu, &perf_caps); in get_max_boost_ratio()
657 highest_perf = perf_caps.highest_perf; in get_max_boost_ratio()
659 nominal_perf = perf_caps.nominal_perf; in get_max_boost_ratio()
/linux-6.1.9/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.1.9/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.1.9/drivers/acpi/
Dcppc_acpi.c1163 int cppc_get_perf_caps(int cpunum, struct cppc_perf_caps *perf_caps) in cppc_get_perf_caps() argument
1206 perf_caps->highest_perf = high; in cppc_get_perf_caps()
1209 perf_caps->lowest_perf = low; in cppc_get_perf_caps()
1212 perf_caps->nominal_perf = nom; in cppc_get_perf_caps()
1216 perf_caps->guaranteed_perf = 0; in cppc_get_perf_caps()
1219 perf_caps->guaranteed_perf = guaranteed; in cppc_get_perf_caps()
1223 perf_caps->lowest_nonlinear_perf = min_nonlinear; in cppc_get_perf_caps()
1235 perf_caps->lowest_freq = low_f; in cppc_get_perf_caps()
1236 perf_caps->nominal_freq = nom_f; in cppc_get_perf_caps()
/linux-6.1.9/include/acpi/
Dcppc_acpi.h129 struct cppc_perf_caps perf_caps; member