Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/Documentation/cpu-freq/
Dcpu-drivers.rst20 1.4 target/target_index or setpolicy?
22 1.6 setpolicy
52 .setpolicy _or_ .fast_switch _or_ .target _or_ .target_index - See
130 | | cpufreq_driver.setpolicy or |
160 1.4 target or target_index or setpolicy or fast_switch?
169 limits on their own. These shall use the ->setpolicy() callback.
214 1.7 setpolicy
217 The setpolicy call only takes a ``struct cpufreq_policy *policy`` as
/kernel/linux/linux-5.10/drivers/cpufreq/
Dcpufreq.c710 else if (cpufreq_driver->setpolicy && cpufreq_driver->get) in show_scaling_cur_freq()
780 if (cpufreq_driver->setpolicy) { in store_scaling_governor()
1719 if (cpufreq_driver && cpufreq_driver->setpolicy && cpufreq_driver->get) { in cpufreq_quick_get()
2491 if (cpufreq_driver->setpolicy) { in cpufreq_set_policy()
2494 return cpufreq_driver->setpolicy(policy); in cpufreq_set_policy()
2734 !(driver_data->setpolicy || driver_data->target_index || in cpufreq_register_driver()
2736 (driver_data->setpolicy && (driver_data->target_index || in cpufreq_register_driver()
2760 if (!cpufreq_driver->setpolicy) { in cpufreq_register_driver()
2765 if (driver_data->setpolicy) in cpufreq_register_driver()
Dlongrun.c277 .setpolicy = longrun_set_policy,
Dintel_pstate.c2480 .setpolicy = intel_pstate_set_policy,
/kernel/linux/linux-5.10/include/linux/
Dcpufreq.h315 int (*setpolicy)(struct cpufreq_policy *policy); member
/kernel/linux/linux-5.10/Documentation/admin-guide/pm/
Dcpufreq.rst184 new policy objects. Instead, the driver's ``->setpolicy()`` callback is invoked