/linux-4.4.14/drivers/devfreq/ |
D | devfreq.c | 171 if (!devfreq->governor) in update_devfreq() 175 err = devfreq->governor->get_target_freq(devfreq, &freq); in update_devfreq() 407 if (devfreq->governor) in _remove_devfreq() 408 devfreq->governor->event_handler(devfreq, in _remove_devfreq() 445 struct devfreq_governor *governor; in devfreq_add_device() local 503 governor = find_devfreq_governor(devfreq->governor_name); in devfreq_add_device() 504 if (!IS_ERR(governor)) in devfreq_add_device() 505 devfreq->governor = governor; in devfreq_add_device() 506 if (devfreq->governor) in devfreq_add_device() 507 err = devfreq->governor->event_handler(devfreq, in devfreq_add_device() [all …]
|
D | Kconfig | 7 in order to let the governor provided to devfreq choose an 10 Each device may have its own governor and policy. Devfreq can 37 similar as ONDEMAND governor of CPUFREQ does. A device with 40 values to the governor with data field at devfreq_add_device(). 46 This governor always returns UINT_MAX as frequency so that 54 This governor always returns 0 as frequency so that 62 This governor returns the user configured frequency if there 64 Otherwise, the governor does not change the frequnecy
|
D | governor.h | 38 extern int devfreq_add_governor(struct devfreq_governor *governor); 39 extern int devfreq_remove_governor(struct devfreq_governor *governor);
|
/linux-4.4.14/tools/power/cpupower/lib/ |
D | cpufreq.c | 64 if ((!policy) || (!policy->governor)) in cpufreq_put_policy() 67 free(policy->governor); in cpufreq_put_policy() 68 policy->governor = NULL; in cpufreq_put_policy() 88 if (tmp->governor) in cpufreq_put_available_governors() 89 free(tmp->governor); in cpufreq_put_available_governors() 152 if (!policy || !(policy->governor)) in cpufreq_set_policy() 171 int cpufreq_modify_policy_governor(unsigned int cpu, char *governor) in cpufreq_modify_policy_governor() argument 173 if ((!governor) || (strlen(governor) > 19)) in cpufreq_modify_policy_governor() 176 return sysfs_modify_freq_policy_governor(cpu, governor); in cpufreq_modify_policy_governor()
|
D | sysfs.c | 255 policy->governor = sysfs_cpufreq_get_one_string(cpu, SCALING_GOVERNOR); in sysfs_get_freq_policy() 256 if (!policy->governor) { in sysfs_get_freq_policy() 263 free(policy->governor); in sysfs_get_freq_policy() 303 current->governor = malloc(i - pos + 1); in sysfs_get_freq_available_governors() 304 if (!current->governor) in sysfs_get_freq_available_governors() 307 memcpy(current->governor, linebuf + pos, i - pos); in sysfs_get_freq_available_governors() 308 current->governor[i - pos] = '\0'; in sysfs_get_freq_available_governors() 318 if (first->governor) in sysfs_get_freq_available_governors() 319 free(first->governor); in sysfs_get_freq_available_governors() 547 int sysfs_modify_freq_policy_governor(unsigned int cpu, char *governor) in sysfs_modify_freq_policy_governor() argument [all …]
|
D | cpufreq.h | 26 char *governor; member 30 char *governor; member 206 extern int cpufreq_modify_policy_governor(unsigned int cpu, char *governor);
|
D | sysfs.h | 29 extern int sysfs_modify_freq_policy_governor(unsigned int cpu, char *governor);
|
/linux-4.4.14/Documentation/cpuidle/ |
D | governor.txt | 11 cpuidle governor is policy routine that decides what idle state to enter at 12 any given time. cpuidle core uses different callbacks to the governor. 14 * enable() to enable governor for a particular device 15 * disable() to disable governor for a particular device 18 by the governor for some record keeping. 20 More than one governor can be registered at the same time and 22 More than one governor part is supported for developers to easily experiment 23 with different governors. By default, most optimal governor based on your
|
D | core.txt | 11 idle policy (governor) from idle mechanism (driver) and provides a 22 best governor based on governor ratings.
|
D | sysfs.txt | 19 In this case users can switch the governor at run time by writing 88 implementation of a particular governor. In the ladder governor, for
|
/linux-4.4.14/drivers/cpufreq/ |
D | Kconfig | 12 clock speed, you need to either enable a dynamic cpufreq governor 50 prompt "Default CPUFreq governor" 54 This option sets which CPUFreq governor shall be loaded at 61 Use the CPUFreq governor 'performance' as default. This sets 69 Use the CPUFreq governor 'powersave' as default. This sets 77 Use the CPUFreq governor 'userspace' as default. This allows 80 to enable the userspace governor manually. 87 Use the CPUFreq governor 'ondemand' as default. This allows 91 governor. If unsure have a look at the help section of the 92 driver. Fallback governor will be the performance governor. [all …]
|
D | cpufreq.c | 519 struct cpufreq_governor **governor) in cpufreq_parse_governor() argument 551 *governor = t; in cpufreq_parse_governor() 643 else if (policy->governor) in show_scaling_governor() 645 policy->governor->name); in show_scaling_governor() 666 &new_policy.governor)) in store_scaling_governor() 746 if (!policy->governor || !policy->governor->store_setspeed) in store_scaling_setspeed() 753 policy->governor->store_setspeed(policy, freq); in store_scaling_setspeed() 760 if (!policy->governor || !policy->governor->show_setspeed) in show_scaling_setspeed() 763 return policy->governor->show_setspeed(policy, buf); in show_scaling_setspeed() 973 policy->governor->name, policy->cpu); in cpufreq_init_policy() [all …]
|
D | cpufreq_governor.c | 44 if (dbs_data->cdata->governor == GOV_ONDEMAND) { in dbs_check_cpu() 79 if (dbs_data->cdata->governor == GOV_ONDEMAND) in dbs_check_cpu() 243 if (dbs_data->cdata->governor == GOV_CONSERVATIVE) { in dbs_timer() 266 if (dbs_data->cdata->governor == GOV_CONSERVATIVE) { in set_sampling_rate() 341 ret = cdata->init(dbs_data, !policy->governor->initialized); in cpufreq_governor_init() 373 cdata->exit(dbs_data, !policy->governor->initialized); in cpufreq_governor_init() 400 cdata->exit(dbs_data, policy->governor->initialized == 1); in cpufreq_governor_exit() 426 if (cdata->governor == GOV_CONSERVATIVE) { in cpufreq_governor_start() 461 if (cdata->governor == GOV_CONSERVATIVE) { in cpufreq_governor_start()
|
D | cpufreq_performance.c | 41 .governor = cpufreq_governor_performance,
|
D | cpufreq_powersave.c | 41 .governor = cpufreq_governor_powersave,
|
D | cpufreq_conservative.c | 34 .governor = cs_cpufreq_governor_dbs, 141 if (policy->governor != &cpufreq_gov_conservative) in dbs_cpufreq_notifier() 367 .governor = GOV_CONSERVATIVE,
|
D | cpufreq_ondemand.c | 263 if (policy->governor != &cpufreq_gov_ondemand) { in update_sampling_rate() 519 .governor = GOV_ONDEMAND, 557 if (policy->governor != &cpufreq_gov_ondemand) in od_set_powersave_bias() 594 .governor = od_cpufreq_governor_dbs,
|
D | cpufreq_userspace.c | 97 .governor = cpufreq_governor_userspace,
|
D | Kconfig.x86 | 10 The driver implements an internal governor and will become 11 the scaling driver and governor for Sandy bridge processors. 141 governor, which allows it to make more power-conscious frequency
|
D | cpufreq_governor.h | 200 int governor; member
|
/linux-4.4.14/tools/power/cpupower/bench/ |
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 …]
|
D | system.c | 58 int set_cpufreq_governor(char *governor, unsigned int cpu) in set_cpufreq_governor() argument 61 dprintf("set %s as cpufreq governor\n", governor); in set_cpufreq_governor() 69 if (cpufreq_modify_policy_governor(cpu, governor) != 0) { in set_cpufreq_governor() 71 fprintf(stderr, "error: unable to set %s governor\n", governor); in set_cpufreq_governor()
|
D | parse.c | 138 strncpy(config->governor, "ondemand", 8); in prepare_default_config() 214 strncpy(config->governor, val, in prepare_config() 215 sizeof(config->governor)); in prepare_config() 216 config->governor[sizeof(config->governor) - 1] = '\0'; in prepare_config()
|
D | main.c | 118 strncpy(config->governor, optarg, 14); in main() 188 config->governor); in main()
|
D | system.h | 24 int set_cpufreq_governor(char *governor, unsigned int cpu);
|
D | example.cfg | 11 governor = ondemand
|
D | parse.h | 32 char governor[15]; /* cpufreq governor */ member
|
D | benchmark.c | 159 if (set_cpufreq_governor(config->governor, config->cpu) != 0) in start_benchmark()
|
/linux-4.4.14/Documentation/cpu-freq/ |
D | governors.txt | 65 and CPUfreq governor to be used 68 / the cpufreq governor decides 87 The CPUfreq governor "performance" sets the CPU statically to the 95 The CPUfreq governor "powersave" sets the CPU statically to the 103 The CPUfreq governor "userspace" allows the user, or any userspace 112 The CPUfreq governor "ondemand" sets the CPU depending on the 173 when ondemand governor would have targeted 1000 MHz, it will target 179 frequency is chosen instead of ondemand governor's original target. 195 The CPUfreq governor "conservative", much like the "ondemand" 196 governor, sets the CPU depending on the current usage. It differs in [all …]
|
D | user-guide.txt | 132 be set. Then, a "governor" must be selected. Such a "governor" decides 134 "governor" is the "userspace" governor. This one allows the user - or 158 work with the ondemand governor, -1 162 frequency for a kernel governor or 171 currently activated governor in 174 governor you can change it. Please note 200 the governor and cpufreq core, in KHz. This is 215 If you have selected the "userspace" governor which allows you to
|
D | intel-pstate.txt | 13 performance governor sets the max_perf_pct and min_perf_pct to 100; that is, 14 the governor selects the highest available P state to maximize the performance 15 of the core. The internal powersave governor selects the appropriate P state 22 internal Intel P-state governor code is disabled. 57 the internal governor algorythm. These files are located at
|
D | pcc-cpufreq.txt | 87 However, OSPM remains in control of policy. The governor (eg: "ondemand") 157 frequency, within limits, requested by the governor. A frequency does not have
|
D | cpu-drivers.txt | 114 policy->governor must contain the "default policy" for 136 "policy,governor,min,max") shall be set, this policy must be validated
|
/linux-4.4.14/tools/power/cpupower/utils/ |
D | cpufreq-set.c | 157 if (!new_pol->governor) in do_new_policy() 158 new_pol->governor = cur_pol->governor; in do_new_policy() 183 else if (new_pol->governor) in do_one_cpu() 185 new_pol->governor); in do_one_cpu() 206 .governor = NULL, in cmd_freq_set() 254 if (new_pol.governor) in cmd_freq_set() 265 new_pol.governor = gov; in cmd_freq_set()
|
D | cpufreq-info.c | 79 max ? max_pctg : 0, policy->governor); in proc_cpufreq_output() 327 printf("%s, ", governors->governor); in debug_output_one() 330 printf("%s\n", governors->governor); in debug_output_one() 344 policy->governor); in debug_output_one() 439 printf("%lu %lu %s\n", policy->min, policy->max, policy->governor); in get_policy() 454 printf("%s ", governors->governor); in get_available_governors() 457 printf("%s\n", governors->governor); in get_available_governors()
|
/linux-4.4.14/Documentation/thermal/ |
D | power_allocator.txt | 1 Power allocator governor tunables 7 The governor works optimally with the following two passive trip points: 9 1. "switch on" trip point: temperature above which the governor 14 "switch on" trip point. This the target temperature the governor 21 The power allocator governor implements a 101 thermal governor allows the configuration of two proportional term 112 value of `k_pu` will result in the governor granting very high power 163 the exact power that the governor requests. When the temperature 178 Cooling devices controlled by this governor must supply the additional 190 allocator governor to calculate how much power to give to each cooling [all …]
|
D | sysfs-api.txt | 159 .governor_name: Name of the thermal governor used for this zone 182 |---policy: Thermal governor used for this zone 325 the thermal zone. Used by the power allocator governor. For 331 The proportional term of the power allocator governor's PID 339 The proportional term of the power allocator governor's PID 347 The integral term of the power allocator governor's PID 354 The derivative term of the power allocator governor's PID 362 governor's PID controller starts accumulating errors. For
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-class-devfreq | 10 What: /sys/class/devfreq/.../governor 14 The /sys/class/devfreq/.../governor show or set the name of the 15 governor used by the corresponding devfreq object. 30 The /sys/class/devfreq/.../target_freq shows the next governor 41 no polling. This value is meaningless if the governor is 42 not polling; thus. If the governor is not using 64 userspace governor is in effect.
|
D | sysfs-devices-system-cpu | 119 Idle policy (governor) is differentiated from idle mechanism
|
/linux-4.4.14/drivers/thermal/ |
D | thermal_core.c | 92 if (tz->governor && tz->governor->bind_to_tz) { in bind_previous_governor() 93 if (tz->governor->bind_to_tz(tz)) { in bind_previous_governor() 96 failed_gov_name, tz->governor->name, tz->type); in bind_previous_governor() 97 tz->governor = NULL; in bind_previous_governor() 116 if (tz->governor && tz->governor->unbind_from_tz) in thermal_set_governor() 117 tz->governor->unbind_from_tz(tz); in thermal_set_governor() 128 tz->governor = new_gov; in thermal_set_governor() 133 int thermal_register_governor(struct thermal_governor *governor) in thermal_register_governor() argument 139 if (!governor) in thermal_register_governor() 145 if (__find_governor(governor->name) == NULL) { in thermal_register_governor() [all …]
|
D | Kconfig | 57 prompt "Default Thermal governor" 60 This option sets which thermal governor shall be loaded at 67 Use the step_wise governor as default. This throttles the 74 Use the fair_share governor as default. This throttles the 90 system and device power allocation. This governor can only 96 bool "Fair-share thermal governor" 98 Enable this to manage platform thermals using fair-share governor. 101 bool "Step_wise thermal governor" 104 governor. 107 bool "Bang Bang thermal governor" [all …]
|
/linux-4.4.14/drivers/cpuidle/ |
D | Kconfig | 21 bool "Ladder governor (for periodic timer tick)" 25 bool "Menu governor (for tickless system)"
|
D | Makefile | 5 obj-y += cpuidle.o driver.o governor.o sysfs.o governors/
|
/linux-4.4.14/include/linux/ |
D | cpufreq.h | 81 struct cpufreq_governor *governor; /* see below */ member 445 int (*governor) (struct cpufreq_policy *policy, member 465 int cpufreq_register_governor(struct cpufreq_governor *governor); 466 void cpufreq_unregister_governor(struct cpufreq_governor *governor);
|
D | devfreq.h | 161 const struct devfreq_governor *governor; member
|
D | thermal.h | 206 struct thermal_governor *governor; member
|
/linux-4.4.14/tools/power/cpupower/po/ |
D | de.po | 236 " minimum CPU frequency - maximum CPU frequency - governor\n" 346 "The governor \"%s\" may decide which speed to use\n" 556 " -d FREQ, --min FREQ new minimum CPU frequency the governor may " 565 " -u FREQ, --max FREQ new maximum CPU frequency the governor may " 573 msgid " -g GOV, --governor GOV new cpufreq governor\n" 580 " governor to be available and loaded\n" 631 "- Is the governor you requested available and modprobed?\n" 633 "- Trying to set a specific frequency, but userspace governor is not " 637 " or because the userspace governor isn't loaded?\n" 655 "-g/--governor parameters\n" [all …]
|
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 …]
|
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 …]
|
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 …]
|
D | cs.po | 240 " minimum CPU frequency - maximum CPU frequency - governor\n" 350 "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" 571 " governor to be available and loaded\n" 620 "- Is the governor you requested available and modprobed?\n" 622 "- Trying to set a specific frequency, but userspace governor is not " 626 " or because the userspace governor isn't loaded?\n" 645 "-g/--governor parameters\n" [all …]
|
/linux-4.4.14/drivers/devfreq/event/ |
D | Kconfig | 12 may be used by devfreq governor and other subsystem.
|
/linux-4.4.14/arch/powerpc/platforms/cell/ |
D | cpufreq_spudemand.c | 142 .governor = spu_gov_govern,
|
D | Kconfig | 105 This governor checks for spu usage to adjust the cpu frequency.
|
/linux-4.4.14/drivers/platform/x86/ |
D | acerhdf.c | 730 if (strcmp(thz_dev->governor->name, in acerhdf_register_thermal()
|
/linux-4.4.14/Documentation/ |
D | kernel-per-CPU-kthreads.txt | 185 governor is not required, possibly enlisting the aid of 189 avoid the CPU-frequency governor periodically running
|
/linux-4.4.14/drivers/usb/gadget/ |
D | Kconfig | 123 an CPU on-demand governor. Especially if DMA is doing IO to
|