Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cpufreq/
H A Dcppc_cpufreq.c485 struct cppc_perf_caps *perf_caps; in get_perf_level_count() local
491 perf_caps = &cpu_data->perf_caps; 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()
527 perf_caps->highest_perf); in cppc_get_cpu_power()
541 perf = perf_caps->highest_perf; in cppc_get_cpu_power()
544 perf = perf_caps->lowest_perf; in cppc_get_cpu_power()
548 perf = perf_caps->highest_perf; in cppc_get_cpu_power()
591 perf_caps = &cpu_data->perf_caps; in cppc_get_cpu_cost()
[all …]
H A 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()
/openbmc/linux/arch/x86/kernel/acpi/
H A 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()
/openbmc/linux/include/acpi/
H A 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
/openbmc/linux/drivers/base/
H A 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()
/openbmc/linux/drivers/acpi/
H A Dcppc_acpi.c1219 int cppc_get_perf_caps(int cpunum, struct cppc_perf_caps *perf_caps) in cppc_get_perf_caps() argument
1262 perf_caps->highest_perf = high; in cppc_get_perf_caps()
1265 perf_caps->lowest_perf = low; in cppc_get_perf_caps()
1268 perf_caps->nominal_perf = nom; in cppc_get_perf_caps()
1272 perf_caps->guaranteed_perf = 0; in cppc_get_perf_caps()
1275 perf_caps->guaranteed_perf = guaranteed; in cppc_get_perf_caps()
1279 perf_caps->lowest_nonlinear_perf = min_nonlinear; in cppc_get_perf_caps()
1291 perf_caps->lowest_freq = low_f; in cppc_get_perf_caps()
1292 perf_caps->nominal_freq = nom_f; in cppc_get_perf_caps()
1483 int cppc_get_auto_sel_caps(int cpunum, struct cppc_perf_caps *perf_caps) in cppc_get_auto_sel_caps() argument
[all …]