Home
last modified time | relevance | path

Searched refs:perf_ctrls (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/include/acpi/
Dcppc_acpi.h130 struct cppc_perf_ctrls perf_ctrls; member
140 extern int cppc_set_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls);
165 static inline int cppc_set_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls) in cppc_set_perf() argument
/Linux-v6.1/drivers/cpufreq/
Dcppc_cpufreq.c391 if (desired_perf == cpu_data->perf_ctrls.desired_perf) in cppc_cpufreq_set_target()
394 cpu_data->perf_ctrls.desired_perf = desired_perf; in cppc_cpufreq_set_target()
399 ret = cppc_set_perf(cpu, &cpu_data->perf_ctrls); in cppc_cpufreq_set_target()
418 cpu_data->perf_ctrls.desired_perf = desired_perf; in cppc_cpufreq_fast_switch()
419 ret = cppc_set_perf(cpu, &cpu_data->perf_ctrls); in cppc_cpufreq_fast_switch()
773 cpu_data->perf_ctrls.desired_perf = caps->highest_perf; in cppc_cpufreq_cpu_init()
775 ret = cppc_set_perf(cpu, &cpu_data->perf_ctrls); in cppc_cpufreq_cpu_init()
799 cpu_data->perf_ctrls.desired_perf = caps->lowest_perf; in cppc_cpufreq_cpu_exit()
801 ret = cppc_set_perf(cpu, &cpu_data->perf_ctrls); in cppc_cpufreq_cpu_exit()
834 return cpu_data->perf_ctrls.desired_perf; in cppc_perf_from_fbctrs()
Damd-pstate.c162 struct cppc_perf_ctrls perf_ctrls; in cppc_update_perf() local
164 perf_ctrls.max_perf = max_perf; in cppc_update_perf()
165 perf_ctrls.min_perf = min_perf; in cppc_update_perf()
166 perf_ctrls.desired_perf = des_perf; in cppc_update_perf()
168 cppc_set_perf(cpudata->cpu, &perf_ctrls); in cppc_update_perf()
/Linux-v6.1/drivers/acpi/
Dcppc_acpi.c1420 int cppc_set_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls) in cppc_set_perf() argument
1469 cpc_write(cpu, desired_reg, perf_ctrls->desired_perf); in cppc_set_perf()