Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/devfreq/
H A Ddevfreq.c321 return governor; in try_then_request_governor()
955 devfreq->governor = governor; in devfreq_add_device()
1277 if (!governor) { in devfreq_add_governor()
1297 if (!strncmp(devfreq->governor->name, governor->name, in devfreq_add_governor()
1314 devfreq->governor = governor; in devfreq_add_governor()
1354 governor); in devm_devfreq_add_governor()
1368 if (!governor) { in devfreq_remove_governor()
1385 if (!strncmp(devfreq->governor->name, governor->name, in devfreq_remove_governor()
1426 if (!df->governor) in governor_show()
1453 if (df->governor == governor) { in governor_store()
[all …]
H A DKconfig8 in order to let the governor provided to devfreq choose an
11 Each device may have its own governor and policy. Devfreq can
38 similar as ONDEMAND governor of CPUFREQ does. A device with
41 values to the governor with data field at devfreq_add_device().
47 This governor always returns UINT_MAX as frequency so that
55 This governor always returns 0 as frequency so that
63 This governor returns the user configured frequency if there
65 Otherwise, the governor does not change the frequency
72 device. This governor does not change the frequency by itself
73 through sysfs entries. The passive governor recommends that
H A Dgovernor.h109 int devfreq_add_governor(struct devfreq_governor *governor);
110 int devfreq_remove_governor(struct devfreq_governor *governor);
113 struct devfreq_governor *governor);
/openbmc/linux/drivers/cpufreq/
H A DKconfig38 prompt "Default CPUFreq governor"
70 to enable the userspace governor manually.
83 driver. Fallback governor will be the performance governor.
96 driver. Fallback governor will be the performance governor.
106 governor will be 'performance'.
111 tristate "'performance' governor"
122 tristate "'powersave' governor"
146 tristate "'ondemand' cpufreq policy governor"
150 The governor does a periodic polling and
165 tristate "'conservative' cpufreq governor"
[all …]
H A Dcpufreq.c806 else if (policy->governor) in show_scaling_governor()
808 policy->governor->name); in show_scaling_governor()
926 if (!policy->governor || !policy->governor->store_setspeed) in store_scaling_setspeed()
940 if (!policy->governor || !policy->governor->show_setspeed) in show_scaling_setspeed()
1391 policy->governor = NULL; in cpufreq_online()
2402 if (!policy->governor) in cpufreq_init_governor()
2413 policy->governor = gov; in cpufreq_init_governor()
2457 if (!policy->governor) in cpufreq_start_governor()
2503 if (!governor) in cpufreq_register_governor()
2527 if (!governor) in cpufreq_unregister_governor()
[all …]
/openbmc/linux/tools/power/cpupower/bench/
H A DREADME-BENCH9 - Identify average reaction time of a governor to CPU load changes
10 - (Stress) Testing whether a cpufreq low level driver or governor works
14 processes with a higher prio than the governor's kernel thread
27 cpufreq-bench helps to test the condition of a given cpufreq governor.
28 For that purpose, it compares the performance governor to a configured
57 governor.
59 and the governor to test. The time the calculation really needed
64 Example of expected results with ondemand governor:
73 For example if ondemand governor is configured to have a 50ms
97 governor in average behaves as expected.
[all …]
H A Dparse.c135 strncpy(config->governor, "ondemand", sizeof(config->governor)); in prepare_default_config()
211 strncpy(config->governor, val, in prepare_config()
212 sizeof(config->governor)); in prepare_config()
213 config->governor[sizeof(config->governor) - 1] = '\0'; in prepare_config()
H A Dsystem.c46 int set_cpufreq_governor(char *governor, unsigned int cpu) in set_cpufreq_governor() argument
49 dprintf("set %s as cpufreq governor\n", governor); in set_cpufreq_governor()
57 if (cpufreq_modify_policy_governor(cpu, governor) != 0) { in set_cpufreq_governor()
59 fprintf(stderr, "error: unable to set %s governor\n", governor); in set_cpufreq_governor()
/openbmc/linux/tools/power/cpupower/lib/
H A Dcpufreq.c245 if (!policy->governor) { in cpufreq_get_policy()
252 free(policy->governor); in cpufreq_get_policy()
265 free(policy->governor); in cpufreq_put_policy()
266 policy->governor = NULL; in cpufreq_put_policy()
304 if (!current->governor) in cpufreq_get_available_governors()
318 if (first->governor) in cpufreq_get_available_governors()
319 free(first->governor); in cpufreq_get_available_governors()
336 if (tmp->governor) in cpufreq_put_available_governors()
337 free(tmp->governor); in cpufreq_put_available_governors()
671 if ((!governor) || (strlen(governor) > 19)) in cpufreq_modify_policy_governor()
[all …]
H A Dcpufreq.h14 char *governor; member
18 char *governor; member
193 int cpufreq_modify_policy_governor(unsigned int cpu, char *governor);
/openbmc/linux/drivers/thermal/
H A Dthermal_core.c74 if (tz->governor && tz->governor->bind_to_tz) { in bind_previous_governor()
79 tz->governor = NULL; in bind_previous_governor()
98 if (tz->governor && tz->governor->unbind_from_tz) in thermal_set_governor()
110 tz->governor = new_gov; in thermal_set_governor()
121 if (!governor) in thermal_register_governor()
147 if (pos->governor) in thermal_register_governor()
173 if (!governor) in thermal_unregister_governor()
184 if (!strncasecmp(pos->governor->name, governor->name, in thermal_unregister_governor()
261 (*governor)->name); in thermal_register_governors()
268 if (gov == governor) in thermal_register_governors()
[all …]
H A DKconfig26 trip point crossed, cooling device update or governor
95 prompt "Default Thermal governor"
120 The Userspace governor allows to get trip point crossed
144 bool "Fair-share thermal governor"
149 bool "Step_wise thermal governor"
152 governor.
155 bool "Bang Bang thermal governor"
162 governor to be enabled (e.g. acerhdf).
165 bool "User_space thermal governor"
170 bool "Power allocator thermal governor"
[all …]
/openbmc/linux/tools/power/cpupower/utils/
H A Dcpufreq-set.c160 if (!new_pol->governor) in do_new_policy()
161 new_pol->governor = cur_pol->governor; in do_new_policy()
186 else if (new_pol->governor) in do_one_cpu()
188 new_pol->governor); in do_one_cpu()
209 .governor = NULL, in cmd_freq_set()
257 if (new_pol.governor) in cmd_freq_set()
268 new_pol.governor = gov; in cmd_freq_set()
/openbmc/linux/drivers/cpuidle/
H A 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
/openbmc/linux/Documentation/admin-guide/pm/
H A Dcpufreq.rst148 scaling governor to it (to begin with, that is the default scaling governor
153 a governor ``sysfs`` interface to it. Next, the governor is started by
298 The scaling governor currently attached to this policy or (if the
354 subdirectory containing the governor tunables is the name of the governor
420 This governor exposes only one tunable:
428 of the governor which might be excessive without it.
440 This governor uses CPU load as a CPU frequency selection metric.
467 This governor exposes the following tunables:
470 This is how often the governor's worker routine should run, in
553 This governor uses CPU load as a CPU frequency selection metric.
[all …]
H A Dcpuidle.rst122 processor hardware to enter the idle state selected by the governor.
124 The role of the governor is to find an idle state most suitable for the
159 and that is the primary reason for having more than one governor in the
244 to leave it as is and the governor needs to take that into account.
258 ``CPUIdle`` governor on it will be ``ladder``.
266 The ``menu`` governor is the default ``CPUIdle`` governor for tickless systems.
345 The timer events oriented (TEO) governor is an alternative ``CPUIdle`` governor
397 idle state object selected by the governor).
474 governor is implemented, disabling an idle state prevents that governor from
609 the name of an available governor (e.g. ``cpuidle.governor=menu``) and that
[all …]
/openbmc/linux/Documentation/driver-api/thermal/
H A Dpower_allocator.rst2 Power allocator governor tunables
8 The governor works optimally with the following two passive trip points:
10 1. "switch on" trip point: temperature above which the governor
15 "switch on" trip point. This the target temperature the governor
22 The power allocator governor implements a
104 thermal governor allows the configuration of two proportional term
115 value of `k_pu` will result in the governor granting very high power
168 the exact power that the governor requests. When the temperature
263 Limitations of the power allocator governor
269 governor's `throttle()` function) repetitively, the governor response
[all …]
/openbmc/linux/Documentation/ABI/obsolete/
H A Dsysfs-cpuidle5 current_governor_ro shows current using cpuidle governor, but read only.
6 with the update that cpuidle governor can be changed at runtime in default,
/openbmc/linux/Documentation/driver-api/pm/
H A Dcpuidle.rst52 The governor itself is represented by a struct cpuidle_governor object
57 For the governor to be available at all, that object needs to be registered
63 governor currently in use, or the name of the new governor was passed to the
65 governor will be used from that point on (there can be only one ``CPUIdle``
66 governor in use at a time). Also, user space can choose the ``CPUIdle``
67 governor to use at run time via ``sysfs``.
80 The role of this callback is to prepare the governor for handling the
91 until the ``->enable()`` governor callback is invoked for that CPU
99 Called to make the governor stop handling the (logical) CPU represented
135 of the governor to succeed).
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-devfreq17 What: /sys/class/devfreq/.../governor
21 The /sys/class/devfreq/.../governor show or set the name of the
22 governor used by the corresponding devfreq object.
37 The /sys/class/devfreq/.../target_freq shows the next governor
102 no polling. This value is meaningless if the governor is
115 userspace governor is in effect.
/openbmc/linux/tools/testing/selftests/cpufreq/
H A Dgovernor.sh138 for governor in $governors; do
139 $1 $2 $governor
/openbmc/openbmc/meta-raspberrypi/recipes-kernel/linux/files/
H A Ddefault-cpu-governor.cfg1 # The defconfigs from the RPi Kernel set "powersave" as the default CPU governor.
3 # The option to build the powersave governor (but not as the default) is also enabled.
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dtsn_lib.sh110 local governor="cpu${cpu}_governor"
120 declare -g "${governor}=$(cat /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_governor)"
132 local governor="cpu${cpu}_governor"
/openbmc/linux/tools/testing/selftests/amd-pstate/
H A Dgitsource.sh339 for governor in ${gitsource_governors[*]} ; do
340 printf "\nSpecified governor is $governor\n\n"
341 switch_governor $governor
342 loop_gitsource $governor
343 gather_gitsource $governor
H A Dtbench.sh324 for governor in ${tbench_governors[*]} ; do
325 printf "\nSpecified governor is $governor\n\n"
326 switch_governor $governor
327 loop_tbench $governor
328 gather_tbench $governor

1234