/linux-4.1.27/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.1.27/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.1.27/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.1.27/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 | 452 struct cpufreq_governor **governor) in cpufreq_parse_governor() argument 487 *governor = t; in cpufreq_parse_governor() 582 else if (policy->governor) in show_scaling_governor() 584 policy->governor->name); in show_scaling_governor() 607 &new_policy.governor)) in store_scaling_governor() 613 policy->user_policy.governor = policy->governor; in store_scaling_governor() 694 if (!policy->governor || !policy->governor->store_setspeed) in store_scaling_setspeed() 701 policy->governor->store_setspeed(policy, freq); in store_scaling_setspeed() 708 if (!policy->governor || !policy->governor->show_setspeed) in show_scaling_setspeed() 711 return policy->governor->show_setspeed(policy, buf); in show_scaling_setspeed() [all …]
|
D | cpufreq_governor.c | 44 if (dbs_data->cdata->governor == GOV_ONDEMAND) { in dbs_check_cpu() 81 if (dbs_data->cdata->governor == GOV_ONDEMAND) in dbs_check_cpu() 233 if (dbs_data->cdata->governor == GOV_CONSERVATIVE) { in set_sampling_rate() 312 if ((cdata->governor == GOV_CONSERVATIVE) && in cpufreq_governor_dbs() 313 (!policy->governor->initialized)) { in cpufreq_governor_dbs() 332 if ((dbs_data->cdata->governor == GOV_CONSERVATIVE) && in cpufreq_governor_dbs() 333 (policy->governor->initialized == 1)) { in cpufreq_governor_dbs() 351 if (dbs_data->cdata->governor == GOV_CONSERVATIVE) { in cpufreq_governor_dbs() 396 if (dbs_data->cdata->governor == GOV_CONSERVATIVE) { in cpufreq_governor_dbs() 416 if (dbs_data->cdata->governor == GOV_CONSERVATIVE) in cpufreq_governor_dbs()
|
D | cpufreq_performance.c | 41 .governor = cpufreq_governor_performance,
|
D | cpufreq_powersave.c | 41 .governor = cpufreq_governor_powersave,
|
D | cpufreq_ondemand.c | 269 if (policy->governor != &cpufreq_gov_ondemand) { in update_sampling_rate() 534 .governor = GOV_ONDEMAND, 568 if (policy->governor != &cpufreq_gov_ondemand) in od_set_powersave_bias() 605 .governor = od_cpufreq_governor_dbs,
|
D | cpufreq_userspace.c | 97 .governor = cpufreq_governor_userspace,
|
D | cpufreq_conservative.c | 359 .governor = GOV_CONSERVATIVE, 382 .governor = cs_cpufreq_governor_dbs,
|
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 | 197 int governor; member
|
/linux-4.1.27/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.1.27/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 202 the governor and cpufreq core, in KHz. This is 217 If you have selected the "userspace" governor which allows you to
|
D | intel-pstate.txt | 10 governor for Intel Core processors. The driver follows the same model 15 within the driver; no external governor is used by the cpufreq core. 21 internal governor code is disabled. 56 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.1.27/tools/power/cpupower/utils/ |
D | cpufreq-set.c | 156 if (!new_pol->governor) in do_new_policy() 157 new_pol->governor = cur_pol->governor; in do_new_policy() 182 else if (new_pol->governor) in do_one_cpu() 184 new_pol->governor); in do_one_cpu() 205 .governor = NULL, in cmd_freq_set() 253 if (new_pol.governor) in cmd_freq_set() 264 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.1.27/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.1.27/drivers/thermal/ |
D | Kconfig | 46 prompt "Default Thermal governor" 49 This option sets which thermal governor shall be loaded at 56 Use the step_wise governor as default. This throttles the 63 Use the fair_share governor as default. This throttles the 77 bool "Fair-share thermal governor" 79 Enable this to manage platform thermals using fair-share governor. 82 bool "Step_wise thermal governor" 85 governor. 88 bool "Bang Bang thermal governor" 91 Enable this to manage platform thermals using bang bang governor. [all …]
|
D | thermal_core.c | 81 int thermal_register_governor(struct thermal_governor *governor) in thermal_register_governor() argument 87 if (!governor) in thermal_register_governor() 93 if (__find_governor(governor->name) == NULL) { in thermal_register_governor() 95 list_add(&governor->governor_list, &thermal_governor_list); in thermal_register_governor() 96 if (!def_governor && !strncmp(governor->name, in thermal_register_governor() 98 def_governor = governor; in thermal_register_governor() 108 if (pos->governor) in thermal_register_governor() 113 if (!strncasecmp(name, governor->name, THERMAL_NAME_LENGTH)) in thermal_register_governor() 114 pos->governor = governor; in thermal_register_governor() 123 void thermal_unregister_governor(struct thermal_governor *governor) in thermal_unregister_governor() argument [all …]
|
/linux-4.1.27/include/linux/ |
D | cpufreq.h | 58 struct cpufreq_governor *governor; /* see below */ member 80 struct cpufreq_governor *governor; /* see below */ member 443 int (*governor) (struct cpufreq_policy *policy, member 463 int cpufreq_register_governor(struct cpufreq_governor *governor); 464 void cpufreq_unregister_governor(struct cpufreq_governor *governor);
|
D | devfreq.h | 158 const struct devfreq_governor *governor; member
|
D | thermal.h | 197 struct thermal_governor *governor; member
|
/linux-4.1.27/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.1.27/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.1.27/drivers/devfreq/event/ |
D | Kconfig | 12 may be used by devfreq governor and other subsystem.
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
D | cpufreq_spudemand.c | 142 .governor = spu_gov_govern,
|
D | Kconfig | 120 This governor checks for spu usage to adjust the cpu frequency.
|
/linux-4.1.27/drivers/platform/x86/ |
D | acerhdf.c | 730 if (strcmp(thz_dev->governor->name, in acerhdf_register_thermal()
|
/linux-4.1.27/Documentation/thermal/ |
D | sysfs-api.txt | 151 .governor_name: Name of the thermal governor used for this zone 174 |---policy: Thermal governor used for this zone
|
/linux-4.1.27/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.1.27/drivers/usb/gadget/ |
D | Kconfig | 123 an CPU on-demand governor. Especially if DMA is doing IO to
|