Searched refs:perf_caps (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/cpufreq/ |
H A D | cppc_cpufreq.c | 127 local_freq_scale = div64_u64(perf, cpu_data->perf_caps.highest_perf); in cppc_scale_freq_workfn() 300 desired_perf = cppc_khz_to_perf(&cpu_data->perf_caps, target_freq); in cppc_cpufreq_set_target() 328 desired_perf = cppc_khz_to_perf(&cpu_data->perf_caps, target_freq); in cppc_cpufreq_fast_switch() 393 struct cppc_perf_caps *perf_caps; in get_perf_level_count() local 399 perf_caps = &cpu_data->perf_caps; in get_perf_level_count() 401 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in get_perf_level_count() 402 perf_caps->highest_perf); in get_perf_level_count() 427 struct cppc_perf_caps *perf_caps; in cppc_get_cpu_power() local 435 perf_caps = &cpu_data->perf_caps; in cppc_get_cpu_power() 437 min_cap = div_u64((u64)max_cap * perf_caps->lowest_perf, in cppc_get_cpu_power() [all …]
|
H A D | acpi-cpufreq.c | 640 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() 662 *nominal_freq = perf_caps.nominal_freq; in get_max_boost_ratio()
|
/openbmc/linux/arch/x86/kernel/acpi/ |
H A D | cppc.c | 71 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 D | cppc_acpi.h | 134 struct cppc_perf_caps perf_caps; member 162 extern int cppc_get_auto_sel_caps(int cpunum, struct cppc_perf_caps *perf_caps); 233 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 D | arch_topology.c | 353 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 D | cppc_acpi.c | 1275 int cppc_get_perf_caps(int cpunum, struct cppc_perf_caps *perf_caps) in cppc_get_perf_caps() argument 1318 perf_caps->highest_perf = high; in cppc_get_perf_caps() 1321 perf_caps->lowest_perf = low; in cppc_get_perf_caps() 1324 perf_caps->nominal_perf = nom; in cppc_get_perf_caps() 1328 perf_caps->guaranteed_perf = 0; in cppc_get_perf_caps() 1331 perf_caps->guaranteed_perf = guaranteed; in cppc_get_perf_caps() 1335 perf_caps->lowest_nonlinear_perf = min_nonlinear; in cppc_get_perf_caps() 1347 perf_caps->lowest_freq = low_f; in cppc_get_perf_caps() 1348 perf_caps->nominal_freq = nom_f; in cppc_get_perf_caps() 1542 int cppc_get_auto_sel_caps(int cpunum, struct cppc_perf_caps *perf_caps) in cppc_get_auto_sel_caps() argument [all …]
|