| /linux/drivers/devfreq/ |
| H A D | devfreq.c | 291 struct devfreq_governor *governor; in try_then_request_governor() local 301 governor = find_devfreq_governor(name); in try_then_request_governor() 302 if (IS_ERR(governor)) { in try_then_request_governor() 315 governor = find_devfreq_governor(name); in try_then_request_governor() 318 return governor; in try_then_request_governor() 408 if (!devfreq->governor) in devfreq_update_target() 412 err = devfreq->governor->get_target_freq(devfreq, &freq); in devfreq_update_target() 484 if (IS_SUPPORTED_FLAG(devfreq->governor->flags, IRQ_DRIVEN)) in devfreq_monitor_start() 522 if (IS_SUPPORTED_FLAG(devfreq->governor->flags, IRQ_DRIVEN)) in devfreq_monitor_stop() 561 if (IS_SUPPORTED_FLAG(devfreq->governor->flags, IRQ_DRIVEN)) in devfreq_monitor_suspend() [all …]
|
| H A D | Kconfig | 8 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
|
| /linux/drivers/thermal/ |
| H A D | thermal_core.c | 76 if (tz->governor && tz->governor->bind_to_tz) { in bind_previous_governor() 77 if (tz->governor->bind_to_tz(tz)) { in bind_previous_governor() 80 failed_gov_name, tz->governor->name, tz->type); 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() 101 tz->governor->unbind_from_tz(tz); in thermal_set_governor() 112 tz->governor = new_gov; in thermal_set_governor() 117 int thermal_register_governor(struct thermal_governor *governor) in thermal_register_governor() argument 123 if (!governor) in thermal_register_governor() 129 if (!__find_governor(governor->name)) { in thermal_register_governor() [all …]
|
| /linux/drivers/cpufreq/ |
| H A D | Kconfig | 12 clock speed, you need to either enable a dynamic cpufreq governor 38 prompt "Default CPUFreq governor" 44 This option sets which CPUFreq governor shall be loaded at 51 Use the CPUFreq governor 'performance' as default. This sets 59 Use the CPUFreq governor 'powersave' as default. This sets 67 Use the CPUFreq governor 'userspace' as default. This allows 70 to enable the userspace governor manually. 78 Use the CPUFreq governor 'ondemand' as default. This allows 82 governor. If unsure have a look at the help section of the 83 driver. Fallback governor will be the performance governor. [all …]
|
| H A D | cpufreq.c | 806 else if (policy->governor) in show_scaling_governor() 807 return sysfs_emit(buf, "%s\n", policy->governor->name); in show_scaling_governor() 925 if (!policy->governor || !policy->governor->store_setspeed) in store_scaling_setspeed() 932 policy->governor->store_setspeed(policy, freq); in store_scaling_setspeed() 939 if (!policy->governor || !policy->governor->show_setspeed) in show_scaling_setspeed() 942 return policy->governor->show_setspeed(policy, buf); in show_scaling_setspeed() 1200 cpufreq_set_policy(policy, policy->governor, policy->policy); in refresh_frequency_limits() 1399 policy->governor = NULL; in cpufreq_policy_online() 1708 strscpy(policy->last_governor, policy->governor->name, in __cpufreq_offline() 2427 if (!policy->governor) in cpufreq_init_governor() [all …]
|
| /linux/tools/power/cpupower/bench/ |
| H A D | README-BENCH | 9 - 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. 58 Then the above test runs are processed using the performance governor 59 and the governor to test. The time the calculation really needed 60 with the dynamic freq scaling governor is compared with the time needed 64 Example of expected results with ondemand governor: [all …]
|
| H A D | system.c | 46 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()
|
| H A D | main.c | 105 strncpy(config->governor, optarg, 14); in main() 175 config->governor); in main()
|
| /linux/tools/power/cpupower/utils/ |
| H A D | cpufreq-set.c | 160 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/ |
| H A D | Kconfig | 22 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/driver-api/thermal/ |
| H A D | power_allocator.rst | 2 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 183 Cooling devices controlled by this governor must supply the additional 202 allocator governor to calculate how much power to give to each cooling [all …]
|
| /linux/Documentation/driver-api/pm/ |
| H A D | cpuidle.rst | 43 A CPU idle time (``CPUIdle``) governor is a bundle of policy code invoked when 52 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 60 add the governor to the global list of available governors and, if it is the 63 governor currently in use, or the name of the new governor was passed to the 64 kernel as the value of the ``cpuidle.governor=`` command line parameter, the new 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 [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-devfreq | 17 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.
|
| H A D | sysfs-class-thermal | 122 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/ |
| H A D | sysfs-cpuidle | 5 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/power/cpupower/bindings/python/ |
| H A D | raw_pylibcpupower.i | |
| /linux/tools/testing/selftests/cpufreq/ |
| H A D | governor.sh | 138 for governor in $governors; do 139 $1 $2 $governor
|
| /linux/tools/testing/selftests/amd-pstate/ |
| H A D | gitsource.sh | 344 for governor in ${gitsource_governors[*]} ; do 345 printf "\nSpecified governor is $governor\n\n" 346 switch_governor $governor 347 loop_gitsource $governor 348 gather_gitsource $governor
|
| H A D | tbench.sh | 324 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
|
| H A D | run.sh | 93 governor=$(sed -n ''$i'p' $OUTFILE.backup_governor.log | awk '{print $2}') 96 echo $governor > $CPUFREQROOT/$policy/scaling_governor 99 printf "Governor restored to $governor.\n"
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | tsn_lib.sh | 113 local governor="cpu${cpu}_governor" 123 declare -g "${governor}=$(cat /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_governor)" 135 local governor="cpu${cpu}_governor"
|
| /linux/tools/power/cpupower/po/ |
| H A D | ka.po | 257 " minimum CPU frequency - maximum CPU frequency - governor\n" 370 "The governor \"%s\" may decide which speed to use\n" 581 " -d FREQ, --min FREQ new minimum CPU frequency the governor may " 590 " -u FREQ, --max FREQ new maximum CPU frequency the governor may " 598 msgid " -g GOV, --governor GOV new cpufreq governor\n" 599 msgstr " -g GOV, --governor GOV cpufreq-ის ახალი მმართველი\n" 605 " governor to be available and loaded\n" 655 "- Is the governor you requested available and modprobed?\n" 657 "- Trying to set a specific frequency, but userspace governor is not " 661 " or because the userspace governor isn't loaded?\n" [all …]
|
| H A D | pt.po | 233 " minimum CPU frequency - maximum CPU frequency - governor\n" 344 "The governor \"%s\" may decide which speed to use\n" 553 " -d FREQ, --min FREQ new minimum CPU frequency the governor may " 562 " -u FREQ, --max FREQ new maximum CPU frequency the governor may " 570 msgid " -g GOV, --governor GOV new cpufreq governor\n" 571 msgstr " -g GOV, --governor GOV novo regulador do cpufreq\n" 577 " governor to be available and loaded\n" 627 "- Is the governor you requested available and modprobed?\n" 629 "- Trying to set a specific frequency, but userspace governor is not " 633 " or because the userspace governor isn't loaded?\n" [all …]
|
| H A D | fr.po | 235 " minimum CPU frequency - maximum CPU frequency - governor\n" 345 "The governor \"%s\" may decide which speed to use\n" 547 " -d FREQ, --min FREQ new minimum CPU frequency the governor may " 556 " -u FREQ, --max FREQ new maximum CPU frequency the governor may " 564 msgid " -g GOV, --governor GOV new cpufreq governor\n" 565 msgstr " -g GOV, --governor GOV active le régulateur GOV\n" 571 " governor to be available and loaded\n" 617 "- Is the governor you requested available and modprobed?\n" 619 "- Trying to set a specific frequency, but userspace governor is not " 623 " or because the userspace governor isn't loaded?\n" [all …]
|
| H A D | it.po | 235 " minimum CPU frequency - maximum CPU frequency - governor\n" 345 "The governor \"%s\" may decide which speed to use\n" 550 " -d FREQ, --min FREQ new minimum CPU frequency the governor may " 559 " -u FREQ, --max FREQ new maximum CPU frequency the governor may " 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" 628 "- Trying to set a specific frequency, but userspace governor is not " 632 " or because the userspace governor isn't loaded?\n" [all …]
|