Home
last modified time | relevance | path

Searched refs:governor (Results 1 – 19 of 19) sorted by relevance

/drivers/devfreq/
Ddevfreq.c171 if (!devfreq->governor) in update_devfreq()
175 err = devfreq->governor->get_target_freq(devfreq, &freq); in update_devfreq()
408 if (devfreq->governor) in _remove_devfreq()
409 devfreq->governor->event_handler(devfreq, in _remove_devfreq()
446 struct devfreq_governor *governor; in devfreq_add_device() local
504 governor = find_devfreq_governor(devfreq->governor_name); in devfreq_add_device()
505 if (!IS_ERR(governor)) in devfreq_add_device()
506 devfreq->governor = governor; in devfreq_add_device()
507 if (devfreq->governor) in devfreq_add_device()
508 err = devfreq->governor->event_handler(devfreq, in devfreq_add_device()
[all …]
DKconfig6 in order to let the governor provided to devfreq choose an
9 Each device may have its own governor and policy. Devfreq can
36 similar as ONDEMAND governor of CPUFREQ does. A device with
39 values to the governor with data field at devfreq_add_device().
45 This governor always returns UINT_MAX as frequency so that
53 This governor always returns 0 as frequency so that
61 This governor returns the user configured frequency if there
63 Otherwise, the governor does not change the frequnecy
Dgovernor.h38 extern int devfreq_add_governor(struct devfreq_governor *governor);
39 extern int devfreq_remove_governor(struct devfreq_governor *governor);
/drivers/cpufreq/
DKconfig11 clock speed, you need to either enable a dynamic cpufreq governor
49 prompt "Default CPUFreq governor"
53 This option sets which CPUFreq governor shall be loaded at
60 Use the CPUFreq governor 'performance' as default. This sets
69 Use the CPUFreq governor 'powersave' as default. This sets
77 Use the CPUFreq governor 'userspace' as default. This allows
80 to enable the userspace governor manually.
87 Use the CPUFreq governor 'ondemand' as default. This allows
91 governor. If unsure have a look at the help section of the
92 driver. Fallback governor will be the performance governor.
[all …]
Dcpufreq.c512 struct cpufreq_governor **governor) in cpufreq_parse_governor() argument
547 *governor = t; in cpufreq_parse_governor()
641 else if (policy->governor) in show_scaling_governor()
643 policy->governor->name); in show_scaling_governor()
666 &new_policy.governor)) in store_scaling_governor()
672 policy->user_policy.governor = policy->governor; in store_scaling_governor()
753 if (!policy->governor || !policy->governor->store_setspeed) in store_scaling_setspeed()
760 policy->governor->store_setspeed(policy, freq); in store_scaling_setspeed()
767 if (!policy->governor || !policy->governor->show_setspeed) in show_scaling_setspeed()
770 return policy->governor->show_setspeed(policy, buf); in show_scaling_setspeed()
[all …]
Dcpufreq_governor.c44 if (dbs_data->cdata->governor == GOV_ONDEMAND) { in dbs_check_cpu()
81 if (dbs_data->cdata->governor == GOV_ONDEMAND) in dbs_check_cpu()
233 if (dbs_data->cdata->governor == GOV_CONSERVATIVE) { in set_sampling_rate()
312 if ((cdata->governor == GOV_CONSERVATIVE) && in cpufreq_governor_dbs()
313 (!policy->governor->initialized)) { in cpufreq_governor_dbs()
332 if ((dbs_data->cdata->governor == GOV_CONSERVATIVE) && in cpufreq_governor_dbs()
333 (policy->governor->initialized == 1)) { in cpufreq_governor_dbs()
351 if (dbs_data->cdata->governor == GOV_CONSERVATIVE) { in cpufreq_governor_dbs()
396 if (dbs_data->cdata->governor == GOV_CONSERVATIVE) { in cpufreq_governor_dbs()
416 if (dbs_data->cdata->governor == GOV_CONSERVATIVE) in cpufreq_governor_dbs()
Dcpufreq_ondemand.c269 if (policy->governor != &cpufreq_gov_ondemand) { in update_sampling_rate()
534 .governor = GOV_ONDEMAND,
568 if (policy->governor != &cpufreq_gov_ondemand) in od_set_powersave_bias()
605 .governor = od_cpufreq_governor_dbs,
Dcpufreq_performance.c41 .governor = cpufreq_governor_performance,
Dcpufreq_powersave.c41 .governor = cpufreq_governor_powersave,
Dcpufreq_conservative.c359 .governor = GOV_CONSERVATIVE,
382 .governor = cs_cpufreq_governor_dbs,
Dcpufreq_userspace.c97 .governor = cpufreq_governor_userspace,
DKconfig.x8610 The driver implements an internal governor and will become
11 the scaling driver and governor for Sandy bridge processors.
131 governor, which allows it to make more power-conscious frequency
Dcpufreq_governor.h197 int governor; member
Dcpufreq_interactive.c1168 if (!policy->governor->initialized) { in cpufreq_governor_interactive()
1178 if (policy->governor->initialized == 1) { in cpufreq_governor_interactive()
1275 .governor = cpufreq_governor_interactive,
/drivers/thermal/
DKconfig46 prompt "Default Thermal governor"
49 This option sets which thermal governor shall be loaded at
56 Use the step_wise governor as default. This throttles the
63 Use the fair_share governor as default. This throttles the
77 bool "Fair-share thermal governor"
79 Enable this to manage platform thermals using fair-share governor.
82 bool "Step_wise thermal governor"
85 governor.
88 bool "Bang Bang thermal governor"
91 Enable this to manage platform thermals using bang bang governor.
[all …]
Dthermal_core.c81 int thermal_register_governor(struct thermal_governor *governor) in thermal_register_governor() argument
87 if (!governor) in thermal_register_governor()
93 if (__find_governor(governor->name) == NULL) { in thermal_register_governor()
95 list_add(&governor->governor_list, &thermal_governor_list); in thermal_register_governor()
96 if (!def_governor && !strncmp(governor->name, in thermal_register_governor()
98 def_governor = governor; in thermal_register_governor()
108 if (pos->governor) in thermal_register_governor()
113 if (!strncasecmp(name, governor->name, THERMAL_NAME_LENGTH)) in thermal_register_governor()
114 pos->governor = governor; in thermal_register_governor()
123 void thermal_unregister_governor(struct thermal_governor *governor) in thermal_unregister_governor() argument
[all …]
/drivers/cpuidle/
DKconfig21 bool "Ladder governor (for periodic timer tick)"
25 bool "Menu governor (for tickless system)"
DMakefile5 obj-y += cpuidle.o driver.o governor.o sysfs.o governors/
/drivers/usb/gadget/
DKconfig123 an CPU on-demand governor. Especially if DMA is doing IO to