Home
last modified time | relevance | path

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

/drivers/devfreq/
Ddevfreq.c294 struct devfreq_governor *governor; in try_then_request_governor() local
304 governor = find_devfreq_governor(name); in try_then_request_governor()
305 if (IS_ERR(governor)) { in try_then_request_governor()
318 governor = find_devfreq_governor(name); in try_then_request_governor()
321 return governor; in try_then_request_governor()
402 if (!devfreq->governor) in update_devfreq()
406 err = devfreq->governor->get_target_freq(devfreq, &freq); in update_devfreq()
463 if (devfreq->governor->interrupt_driven) in devfreq_monitor_start()
501 if (devfreq->governor->interrupt_driven) in devfreq_monitor_stop()
540 if (devfreq->governor->interrupt_driven) in devfreq_monitor_suspend()
[all …]
DKconfig9 in order to let the governor provided to devfreq choose an
12 Each device may have its own governor and policy. Devfreq can
39 similar as ONDEMAND governor of CPUFREQ does. A device with
42 values to the governor with data field at devfreq_add_device().
48 This governor always returns UINT_MAX as frequency so that
56 This governor always returns 0 as frequency so that
64 This governor returns the user configured frequency if there
66 Otherwise, the governor does not change the frequency
73 device. This governor does not change the frequency by itself
74 through sysfs entries. The passive governor recommends that
Dgovernor.h66 int devfreq_add_governor(struct devfreq_governor *governor);
67 int devfreq_remove_governor(struct devfreq_governor *governor);
Dgovernor_passive.c99 if (!devfreq->governor) in update_devfreq_passive()
104 ret = devfreq->governor->get_target_freq(devfreq, &freq); in update_devfreq_passive()
/drivers/cpufreq/
DKconfig13 clock speed, you need to either enable a dynamic cpufreq governor
45 prompt "Default CPUFreq governor"
51 This option sets which CPUFreq governor shall be loaded at
58 Use the CPUFreq governor 'performance' as default. This sets
66 Use the CPUFreq governor 'powersave' as default. This sets
74 Use the CPUFreq governor 'userspace' as default. This allows
77 to enable the userspace governor manually.
85 Use the CPUFreq governor 'ondemand' as default. This allows
89 governor. If unsure have a look at the help section of the
90 driver. Fallback governor will be the performance governor.
[all …]
Dcpufreq.c777 else if (policy->governor) in show_scaling_governor()
779 policy->governor->name); in show_scaling_governor()
895 if (!policy->governor || !policy->governor->store_setspeed) in store_scaling_setspeed()
902 policy->governor->store_setspeed(policy, freq); in store_scaling_setspeed()
909 if (!policy->governor || !policy->governor->show_setspeed) in show_scaling_setspeed()
912 return policy->governor->show_setspeed(policy, buf); in show_scaling_setspeed()
1152 cpufreq_set_policy(policy, policy->governor, policy->policy); in refresh_frequency_limits()
1353 policy->governor = NULL; in cpufreq_online()
1598 strncpy(policy->last_governor, policy->governor->name, in cpufreq_offline()
2282 if (!policy->governor) in cpufreq_init_governor()
[all …]
Dcpufreq_governor.h146 return container_of(policy->governor, struct dbs_governor, gov); in dbs_governor_of()
DKconfig.x8615 The driver implements an internal governor and will become
16 the scaling driver and governor for Sandy bridge processors.
146 governor, which allows it to make more power-conscious frequency
Dcpufreq_ondemand.c432 if (!policy || policy->governor != &CPU_FREQ_GOV_ONDEMAND) in od_set_powersave_bias()
/drivers/thermal/
Dthermal_core.c80 if (tz->governor && tz->governor->bind_to_tz) { in bind_previous_governor()
81 if (tz->governor->bind_to_tz(tz)) { in bind_previous_governor()
84 failed_gov_name, tz->governor->name, tz->type); in bind_previous_governor()
85 tz->governor = NULL; in bind_previous_governor()
104 if (tz->governor && tz->governor->unbind_from_tz) in thermal_set_governor()
105 tz->governor->unbind_from_tz(tz); in thermal_set_governor()
116 tz->governor = new_gov; in thermal_set_governor()
121 int thermal_register_governor(struct thermal_governor *governor) in thermal_register_governor() argument
127 if (!governor) in thermal_register_governor()
133 if (!__find_governor(governor->name)) { in thermal_register_governor()
[all …]
DKconfig26 trip point crossed, cooling device update or governor
91 prompt "Default Thermal governor"
94 This option sets which thermal governor shall be loaded at
101 Use the step_wise governor as default. This throttles the
108 Use the fair_share governor as default. This throttles the
124 system and device power allocation. This governor can only
130 bool "Fair-share thermal governor"
132 Enable this to manage platform thermals using fair-share governor.
135 bool "Step_wise thermal governor"
138 governor.
[all …]
Dthermal_core.h39 #define THERMAL_GOVERNOR_DECLARE(name) THERMAL_TABLE_ENTRY(governor, name)
Dthermal_netlink.c498 tz->governor->name)) in thermal_genl_cmd_tz_get_gov()
Dthermal_sysfs.c284 return sprintf(buf, "%s\n", tz->governor->name); in policy_show()
/drivers/cpuidle/
DKconfig22 bool "Ladder governor (for periodic timer tick)"
25 bool "Menu governor (for tickless system)"
28 bool "Timer events oriented (TEO) governor (for tickless systems)"
30 This governor implements a simplified idle state selection method
37 bool "Haltpoll governor (for virtualized systems)"
40 This governor implements haltpoll idle state selection, to be
Ddriver.c269 if (!ret && !strlen(param_governor) && drv->governor && in cpuidle_register_driver()
272 gov = cpuidle_find_governor(drv->governor); in cpuidle_register_driver()
DMakefile6 obj-y += cpuidle.o driver.o governor.o sysfs.o governors/
Dcpuidle-haltpoll.c41 .governor = "haltpoll",
Dcpuidle.c774 module_param_string(governor, param_governor, CPUIDLE_NAME_LEN, 0444);
/drivers/devfreq/event/
DKconfig13 may be used by devfreq governor and other subsystem.
/drivers/watchdog/
DKconfig93 tristate "Noop watchdog pretimeout governor"
97 Noop watchdog pretimeout governor, only an informational
101 tristate "Panic watchdog pretimeout governor"
105 Panic watchdog pretimeout governor, on watchdog pretimeout
112 This option selects a default watchdog pretimeout governor.
113 The governor takes its action, if a watchdog is capable
120 Use noop watchdog pretimeout governor by default. If noop
121 governor is selected by a user, write a short message to
128 Use panic watchdog pretimeout governor by default, if
156 bool "Software watchdog pretimeout governor support"
[all …]
/drivers/platform/x86/
Dacerhdf.c742 if (strcmp(thz_dev->governor->name, in acerhdf_register_thermal()
/drivers/usb/gadget/
DKconfig125 an CPU on-demand governor. Especially if DMA is doing IO to