Home
last modified time | relevance | path

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

/drivers/devfreq/
Ddevfreq.c297 struct devfreq_governor *governor; in try_then_request_governor() local
307 governor = find_devfreq_governor(name); in try_then_request_governor()
308 if (IS_ERR(governor)) { in try_then_request_governor()
321 governor = find_devfreq_governor(name); in try_then_request_governor()
324 return governor; in try_then_request_governor()
414 if (!devfreq->governor) in devfreq_update_target()
418 err = devfreq->governor->get_target_freq(devfreq, &freq); in devfreq_update_target()
489 if (IS_SUPPORTED_FLAG(devfreq->governor->flags, IRQ_DRIVEN)) in devfreq_monitor_start()
527 if (IS_SUPPORTED_FLAG(devfreq->governor->flags, IRQ_DRIVEN)) in devfreq_monitor_stop()
566 if (IS_SUPPORTED_FLAG(devfreq->governor->flags, IRQ_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.h84 int devfreq_add_governor(struct devfreq_governor *governor);
85 int devfreq_remove_governor(struct devfreq_governor *governor);
/drivers/cpufreq/
DKconfig13 clock speed, you need to either enable a dynamic cpufreq governor
46 prompt "Default CPUFreq governor"
52 This option sets which CPUFreq governor shall be loaded at
59 Use the CPUFreq governor 'performance' as default. This sets
67 Use the CPUFreq governor 'powersave' as default. This sets
75 Use the CPUFreq governor 'userspace' as default. This allows
78 to enable the userspace governor manually.
86 Use the CPUFreq governor 'ondemand' as default. This allows
90 governor. If unsure have a look at the help section of the
91 driver. Fallback governor will be the performance governor.
[all …]
Dcpufreq.c778 else if (policy->governor) in show_scaling_governor()
780 policy->governor->name); in show_scaling_governor()
896 if (!policy->governor || !policy->governor->store_setspeed) in store_scaling_setspeed()
903 policy->governor->store_setspeed(policy, freq); in store_scaling_setspeed()
910 if (!policy->governor || !policy->governor->show_setspeed) in show_scaling_setspeed()
913 return policy->governor->show_setspeed(policy, buf); in show_scaling_setspeed()
1153 cpufreq_set_policy(policy, policy->governor, policy->policy); in refresh_frequency_limits()
1354 policy->governor = NULL; in cpufreq_online()
1613 strncpy(policy->last_governor, policy->governor->name, in cpufreq_offline()
2342 if (!policy->governor) in cpufreq_init_governor()
[all …]
DKconfig.x8615 The driver implements an internal governor and will become
16 the scaling driver and governor for Sandy bridge processors.
136 governor, which allows it to make more power-conscious frequency
Dcpufreq_governor.h146 return container_of(policy->governor, struct dbs_governor, gov); in dbs_governor_of()
Dcpufreq_ondemand.c432 if (!policy || policy->governor != &CPU_FREQ_GOV_ONDEMAND) in od_set_powersave_bias()
/drivers/thermal/
Dthermal_core.c78 if (tz->governor && tz->governor->bind_to_tz) { in bind_previous_governor()
79 if (tz->governor->bind_to_tz(tz)) { in bind_previous_governor()
82 failed_gov_name, tz->governor->name, tz->type); in bind_previous_governor()
83 tz->governor = NULL; in bind_previous_governor()
102 if (tz->governor && tz->governor->unbind_from_tz) in thermal_set_governor()
103 tz->governor->unbind_from_tz(tz); in thermal_set_governor()
114 tz->governor = new_gov; in thermal_set_governor()
119 int thermal_register_governor(struct thermal_governor *governor) in thermal_register_governor() argument
125 if (!governor) in thermal_register_governor()
131 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.c242 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.c273 if (!ret && !strlen(param_governor) && drv->governor && in cpuidle_register_driver()
276 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.c791 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/
DKconfig101 tristate "Noop watchdog pretimeout governor"
105 Noop watchdog pretimeout governor, only an informational
109 tristate "Panic watchdog pretimeout governor"
113 Panic watchdog pretimeout governor, on watchdog pretimeout
120 This option selects a default watchdog pretimeout governor.
121 The governor takes its action, if a watchdog is capable
128 Use noop watchdog pretimeout governor by default. If noop
129 governor is selected by a user, write a short message to
136 Use panic watchdog pretimeout governor by default, if
164 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