Searched refs:governor (Results 1 – 19 of 19) sorted by relevance
/drivers/devfreq/ |
D | devfreq.c | 171 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 …]
|
D | Kconfig | 6 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
|
D | governor.h | 38 extern int devfreq_add_governor(struct devfreq_governor *governor); 39 extern int devfreq_remove_governor(struct devfreq_governor *governor);
|
/drivers/cpufreq/ |
D | Kconfig | 11 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 …]
|
D | cpufreq.c | 512 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 …]
|
D | cpufreq_governor.c | 44 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()
|
D | cpufreq_ondemand.c | 269 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,
|
D | cpufreq_performance.c | 41 .governor = cpufreq_governor_performance,
|
D | cpufreq_powersave.c | 41 .governor = cpufreq_governor_powersave,
|
D | cpufreq_conservative.c | 359 .governor = GOV_CONSERVATIVE, 382 .governor = cs_cpufreq_governor_dbs,
|
D | cpufreq_userspace.c | 97 .governor = cpufreq_governor_userspace,
|
D | Kconfig.x86 | 10 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
|
D | cpufreq_governor.h | 197 int governor; member
|
D | cpufreq_interactive.c | 1168 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/ |
D | Kconfig | 46 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 …]
|
D | thermal_core.c | 81 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/ |
D | Kconfig | 21 bool "Ladder governor (for periodic timer tick)" 25 bool "Menu governor (for tickless system)"
|
D | Makefile | 5 obj-y += cpuidle.o driver.o governor.o sysfs.o governors/
|
/drivers/usb/gadget/ |
D | Kconfig | 123 an CPU on-demand governor. Especially if DMA is doing IO to
|