Home
last modified time | relevance | path

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

1234

/linux/drivers/devfreq/
A Ddevfreq.c324 return governor; in try_then_request_governor()
927 devfreq->governor = governor; in devfreq_add_device()
1249 if (!governor) { in devfreq_add_governor()
1269 if (!strncmp(devfreq->governor->name, governor->name, in devfreq_add_governor()
1286 devfreq->governor = governor; in devfreq_add_governor()
1326 governor); in devm_devfreq_add_governor()
1340 if (!governor) { in devfreq_remove_governor()
1357 if (!strncmp(devfreq->governor->name, governor->name, in devfreq_remove_governor()
1398 if (!df->governor) in governor_show()
1425 if (df->governor == governor) { in governor_store()
[all …]
A 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
A Dgovernor.h84 int devfreq_add_governor(struct devfreq_governor *governor);
85 int devfreq_remove_governor(struct devfreq_governor *governor);
88 struct devfreq_governor *governor);
/linux/drivers/cpufreq/
A DKconfig39 prompt "Default CPUFreq governor"
71 to enable the userspace governor manually.
84 driver. Fallback governor will be the performance governor.
97 driver. Fallback governor will be the performance governor.
107 governor will be 'performance'.
112 tristate "'performance' governor"
123 tristate "'powersave' governor"
147 tristate "'ondemand' cpufreq policy governor"
151 The governor does a periodic polling and
166 tristate "'conservative' cpufreq governor"
[all …]
A Dcpufreq.c761 else if (policy->governor) in show_scaling_governor()
763 policy->governor->name); in show_scaling_governor()
879 if (!policy->governor || !policy->governor->store_setspeed) in store_scaling_setspeed()
893 if (!policy->governor || !policy->governor->show_setspeed) in show_scaling_setspeed()
1338 policy->governor = NULL; in cpufreq_online()
2313 if (!policy->governor) in cpufreq_init_governor()
2324 policy->governor = gov; in cpufreq_init_governor()
2368 if (!policy->governor) in cpufreq_start_governor()
2414 if (!governor) in cpufreq_register_governor()
2438 if (!governor) in cpufreq_unregister_governor()
[all …]
/linux/drivers/thermal/
A Dthermal_core.c76 if (tz->governor && tz->governor->bind_to_tz) { in bind_previous_governor()
81 tz->governor = NULL; in bind_previous_governor()
100 if (tz->governor && tz->governor->unbind_from_tz) in thermal_set_governor()
112 tz->governor = new_gov; in thermal_set_governor()
123 if (!governor) in thermal_register_governor()
149 if (pos->governor) in thermal_register_governor()
175 if (!governor) in thermal_unregister_governor()
186 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 …]
A DKconfig26 trip point crossed, cooling device update or governor
91 prompt "Default Thermal governor"
101 Use the step_wise governor as default. This throttles the
130 bool "Fair-share thermal governor"
135 bool "Step_wise thermal governor"
138 governor.
141 bool "Bang Bang thermal governor"
148 governor to be enabled (e.g. acerhdf).
151 bool "User_space thermal governor"
156 bool "Power allocator thermal governor"
[all …]
/linux/tools/power/cpupower/bench/
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 …]
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()
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()
/linux/tools/power/cpupower/lib/
A Dcpufreq.c236 if (!policy->governor) { in cpufreq_get_policy()
243 free(policy->governor); in cpufreq_get_policy()
256 free(policy->governor); in cpufreq_put_policy()
257 policy->governor = NULL; in cpufreq_put_policy()
295 if (!current->governor) in cpufreq_get_available_governors()
309 if (first->governor) in cpufreq_get_available_governors()
310 free(first->governor); in cpufreq_get_available_governors()
327 if (tmp->governor) in cpufreq_put_available_governors()
328 free(tmp->governor); in cpufreq_put_available_governors()
662 if ((!governor) || (strlen(governor) > 19)) in cpufreq_modify_policy_governor()
[all …]
A Dcpufreq.h14 char *governor; member
18 char *governor; member
193 int cpufreq_modify_policy_governor(unsigned int cpu, char *governor);
/linux/tools/power/cpupower/utils/
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()
/linux/drivers/cpuidle/
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
/linux/Documentation/admin-guide/pm/
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 …]
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 …]
/linux/Documentation/driver-api/thermal/
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 …]
/linux/Documentation/driver-api/pm/
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 …]
/linux/Documentation/ABI/testing/
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
99 no polling. This value is meaningless if the governor is
112 userspace governor is in effect.
A Dsysfs-class-thermal122 The derivative term of the power allocator governor's PID
130 The integral term of the power allocator governor's PID
139 The proportional term of the power allocator governor's PID
149 The proportional term of the power allocator governor's PID
161 governor's PID controller starts accumulating errors. For
192 the thermal zone. Used by the power allocator governor. For
/linux/Documentation/ABI/obsolete/
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,
/linux/tools/testing/selftests/cpufreq/
A Dgovernor.sh138 for governor in $governors; do
139 $1 $2 $governor
/linux/tools/power/cpupower/po/
A Dit.po345 "The governor \"%s\" may decide which speed to use\n"
567 msgid " -g GOV, --governor GOV new cpufreq governor\n"
568 msgstr " -g GOV, --governor GOV nuovo gestore cpufreq\n"
574 " governor to be available and loaded\n"
626 "- Is the governor you requested available and modprobed?\n"
632 " or because the userspace governor isn't loaded?\n"
653 "-g/--governor parameters\n"
656 " -d/--min, -u/--max o -g/--governor\n"
662 "-g/--governor must be passed\n"
856 msgid "Could not determine cpuidle governor\n"
[all …]
A Dfr.po345 "The governor \"%s\" may decide which speed to use\n"
564 msgid " -g GOV, --governor GOV new cpufreq governor\n"
565 msgstr " -g GOV, --governor GOV active le régulateur GOV\n"
617 "- Is the governor you requested available and modprobed?\n"
623 " or because the userspace governor isn't loaded?\n"
645 "-g/--governor parameters\n"
648 "-g/--governor\n"
654 "-g/--governor must be passed\n"
657 "-g/--governor\n"
847 msgid "Could not determine cpuidle governor\n"
[all …]
A Dpt.po344 "The governor \"%s\" may decide which speed to use\n"
570 msgid " -g GOV, --governor GOV new cpufreq governor\n"
571 msgstr " -g GOV, --governor GOV novo regulador do cpufreq\n"
627 "- Is the governor you requested available and modprobed?\n"
633 " or because the userspace governor isn't loaded?\n"
654 "-g/--governor parameters\n"
658 "-g/--governor\n"
664 "-g/--governor must be passed\n"
667 "-g/--governor deve ser usado\n"
858 msgid "Could not determine cpuidle governor\n"
[all …]

Completed in 54 milliseconds

1234