| /linux-6.15/drivers/devfreq/ |
| H A D | devfreq.c | 321 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 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
|
| H A D | governor.h | 109 int devfreq_add_governor(struct devfreq_governor *governor); 110 int devfreq_remove_governor(struct devfreq_governor *governor); 113 struct devfreq_governor *governor);
|
| /linux-6.15/drivers/thermal/ |
| H A D | thermal_core.c | 76 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() 123 if (!governor) in thermal_register_governor() 149 if (pos->governor) in thermal_register_governor() 172 if (!governor) in thermal_unregister_governor() 185 if (!strncasecmp(pos->governor->name, governor->name, in thermal_unregister_governor() 246 (*governor)->name); in thermal_register_governors() 357 if (tz->governor) in thermal_get_tz_governor() 358 return tz->governor; in thermal_get_tz_governor() [all …]
|
| H A D | Kconfig | 26 trip point crossed, cooling device update or governor 96 prompt "Default Thermal governor" 121 The Userspace governor allows to get trip point crossed 145 bool "Fair-share thermal governor" 150 bool "Step_wise thermal governor" 153 governor. 156 bool "Bang Bang thermal governor" 163 governor to be enabled (e.g. acerhdf). 166 bool "User_space thermal governor" 171 bool "Power allocator thermal governor" [all …]
|
| /linux-6.15/drivers/cpufreq/ |
| H A D | Kconfig | 38 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 D | cpufreq.c | 837 else if (policy->governor) in show_scaling_governor() 956 if (!policy->governor || !policy->governor->store_setspeed) in store_scaling_setspeed() 970 if (!policy->governor || !policy->governor->show_setspeed) in show_scaling_setspeed() 1443 policy->governor = NULL; in cpufreq_online() 2469 if (!policy->governor) in cpufreq_init_governor() 2480 policy->governor = gov; in cpufreq_init_governor() 2524 if (!policy->governor) in cpufreq_start_governor() 2570 if (!governor) in cpufreq_register_governor() 2594 if (!governor) in cpufreq_unregister_governor() 2604 policy->governor = NULL; in cpufreq_unregister_governor() [all …]
|
| /linux-6.15/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. 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 D | parse.c | 140 strncpy(config->governor, "ondemand", sizeof(config->governor)); in prepare_default_config() 216 strncpy(config->governor, val, in prepare_config() 217 sizeof(config->governor)); in prepare_config() 218 config->governor[sizeof(config->governor) - 1] = '\0'; in prepare_config()
|
| 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()
|
| /linux-6.15/tools/power/cpupower/lib/ |
| H A D | cpufreq.c | 263 if (!policy->governor) { in cpufreq_get_policy() 270 free(policy->governor); in cpufreq_get_policy() 283 free(policy->governor); in cpufreq_put_policy() 284 policy->governor = NULL; in cpufreq_put_policy() 322 if (!current->governor) in cpufreq_get_available_governors() 336 if (first->governor) in cpufreq_get_available_governors() 337 free(first->governor); in cpufreq_get_available_governors() 354 if (tmp->governor) in cpufreq_put_available_governors() 355 free(tmp->governor); in cpufreq_put_available_governors() 689 if ((!governor) || (strlen(governor) > 19)) in cpufreq_modify_policy_governor() [all …]
|
| H A D | cpufreq.h | 14 char *governor; member 18 char *governor; member 201 int cpufreq_modify_policy_governor(unsigned int cpu, char *governor);
|
| /linux-6.15/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-6.15/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-6.15/Documentation/admin-guide/pm/ |
| H A D | cpufreq.rst | 148 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 317 The scaling governor currently attached to this policy or (if the 373 subdirectory containing the governor tunables is the name of the governor 439 This governor exposes only one tunable: 447 of the governor which might be excessive without it. 459 This governor uses CPU load as a CPU frequency selection metric. 486 This governor exposes the following tunables: 489 This is how often the governor's worker routine should run, in 572 This governor uses CPU load as a CPU frequency selection metric. [all …]
|
| H A D | cpuidle.rst | 122 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. 340 The timer events oriented (TEO) governor is an alternative ``CPUIdle`` governor 392 idle state object selected by the governor). 469 governor is implemented, disabling an idle state prevents that governor from 604 the name of an available governor (e.g. ``cpuidle.governor=menu``) and that [all …]
|
| /linux-6.15/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 263 Limitations of the power allocator governor 269 governor's `throttle()` function) repetitively, the governor response [all …]
|
| /linux-6.15/Documentation/driver-api/pm/ |
| H A D | cpuidle.rst | 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 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-6.15/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.
|
| /linux-6.15/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-6.15/tools/testing/selftests/cpufreq/ |
| H A D | governor.sh | 138 for governor in $governors; do 139 $1 $2 $governor
|
| /linux-6.15/tools/testing/selftests/amd-pstate/ |
| 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 | 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
|
| /linux-6.15/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-6.15/tools/power/cpupower/po/ |
| H A D | ka.po | 370 "The governor \"%s\" may decide which speed to use\n" 598 msgid " -g GOV, --governor GOV new cpufreq governor\n" 599 msgstr " -g GOV, --governor GOV cpufreq-ის ახალი მმართველი\n" 655 "- Is the governor you requested available and modprobed?\n" 661 " or because the userspace governor isn't loaded?\n" 683 "-g/--governor parameters\n" 686 "-g/--governor პარამეტრებთან ერთად იყოს მითითებული\n" 692 "-g/--governor must be passed\n" 695 "-g/--governor პარამეტრებიდან ერთის გადაცემა მაინც\n" 900 msgid "Could not determine cpuidle governor\n" [all …]
|