Searched refs:perf_ctrls (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/include/acpi/ |
A D | cppc_acpi.h | 132 struct cppc_perf_ctrls perf_ctrls; member 142 extern int cppc_set_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls); 155 extern int cppc_set_epp_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls, bool enable); 169 static inline int cppc_set_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls) in cppc_set_perf() argument 209 static inline int cppc_set_epp_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls, bool enable) in cppc_set_epp_perf() argument
|
/linux-6.3-rc2/drivers/cpufreq/ |
A D | amd-pstate.c | 179 struct cppc_perf_ctrls perf_ctrls; in amd_pstate_set_epp() local 192 perf_ctrls.energy_perf = epp; in amd_pstate_set_epp() 236 struct cppc_perf_ctrls perf_ctrls; in cppc_enable() local 246 perf_ctrls.desired_perf = 0; in cppc_enable() 335 struct cppc_perf_ctrls perf_ctrls; in cppc_update_perf() local 337 perf_ctrls.max_perf = max_perf; in cppc_update_perf() 338 perf_ctrls.min_perf = min_perf; in cppc_update_perf() 339 perf_ctrls.desired_perf = des_perf; in cppc_update_perf() 1118 perf_ctrls.max_perf = max_perf; in amd_pstate_epp_reenable() 1159 perf_ctrls.desired_perf = 0; in amd_pstate_epp_offline() [all …]
|
A D | cppc_cpufreq.c | 391 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() 774 cpu_data->perf_ctrls.desired_perf = caps->highest_perf; in cppc_cpufreq_cpu_init() 776 ret = cppc_set_perf(cpu, &cpu_data->perf_ctrls); in cppc_cpufreq_cpu_init() 800 cpu_data->perf_ctrls.desired_perf = caps->lowest_perf; in cppc_cpufreq_cpu_exit() 802 ret = cppc_set_perf(cpu, &cpu_data->perf_ctrls); in cppc_cpufreq_cpu_exit() 835 return cpu_data->perf_ctrls.desired_perf; in cppc_perf_from_fbctrs()
|
/linux-6.3-rc2/drivers/acpi/ |
A D | cppc_acpi.c | 1386 int cppc_set_epp_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls, bool enable) in cppc_set_epp_perf() argument 1416 ret = cpc_write(cpu, epp_set_reg, perf_ctrls->energy_perf); in cppc_set_epp_perf() 1488 int cppc_set_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls) in cppc_set_perf() argument 1537 cpc_write(cpu, desired_reg, perf_ctrls->desired_perf); in cppc_set_perf()
|
Completed in 11 milliseconds