Home
last modified time | relevance | path

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

/linux/drivers/cpufreq/
H A Dcppc_cpufreq.c317 &cpu_data->perf_ctrls.min_perf, in cppc_cpufreq_update_perf_limits()
318 &cpu_data->perf_ctrls.max_perf); in cppc_cpufreq_update_perf_limits()
330 cpu_data->perf_ctrls.desired_perf = in cppc_cpufreq_set_target()
338 ret = cppc_set_perf(cpu, &cpu_data->perf_ctrls); in cppc_cpufreq_set_target()
357 cpu_data->perf_ctrls.desired_perf = desired_perf; in cppc_cpufreq_fast_switch()
360 ret = cppc_set_perf(cpu, &cpu_data->perf_ctrls); in cppc_cpufreq_fast_switch()
631 ret = cppc_get_perf(cpu, &cpu_data->perf_ctrls); in cppc_cpufreq_get_cpu_data()
721 cpu_data->perf_ctrls.desired_perf = caps->highest_perf; in cppc_cpufreq_cpu_init()
723 ret = cppc_set_perf(cpu, &cpu_data->perf_ctrls); in cppc_cpufreq_cpu_init()
747 cpu_data->perf_ctrls.desired_perf = caps->lowest_perf; in cppc_cpufreq_cpu_exit()
[all …]
H A Damd-pstate.c409 struct cppc_perf_ctrls perf_ctrls; in shmem_set_epp() local
432 perf_ctrls.energy_perf = epp; in shmem_set_epp()
433 ret = cppc_set_epp_perf(cpudata->cpu, &perf_ctrls, 1); in shmem_set_epp()
547 struct cppc_perf_ctrls perf_ctrls; in shmem_update_perf() local
580 perf_ctrls.max_perf = max_perf; in shmem_update_perf()
581 perf_ctrls.min_perf = min_perf; in shmem_update_perf()
582 perf_ctrls.desired_perf = des_perf; in shmem_update_perf()
584 ret = cppc_set_perf(cpudata->cpu, &perf_ctrls); in shmem_update_perf()
/linux/include/acpi/
H A Dcppc_acpi.h155 struct cppc_perf_ctrls perf_ctrls; member
166 extern int cppc_get_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls);
167 extern int cppc_set_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls);
186 extern int cppc_set_epp_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls, bool enable);
214 static inline int cppc_get_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls) in cppc_get_perf() argument
218 static inline int cppc_set_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls) in cppc_set_perf() argument
268 static inline int cppc_set_epp_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls, bool enable) in cppc_set_epp_perf() argument
/linux/drivers/acpi/
H A Dcppc_acpi.c1750 int cppc_set_epp_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls, bool enable) in cppc_set_epp_perf() argument
1787 ret = cpc_write(cpu, epp_set_reg, perf_ctrls->energy_perf); in cppc_set_epp_perf()
1808 perf_ctrls->energy_perf); in cppc_set_epp_perf()
1961 int cppc_get_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls) in cppc_get_perf() argument
1976 if (!perf_ctrls) { in cppc_get_perf()
2010 perf_ctrls->max_perf = max; in cppc_get_perf()
2017 perf_ctrls->min_perf = min; in cppc_get_perf()
2019 perf_ctrls->desired_perf = 0; in cppc_get_perf()
2026 perf_ctrls->energy_perf = energy_perf; in cppc_get_perf()
2033 perf_ctrls->auto_sel = (bool)auto_sel; in cppc_get_perf()
[all …]