Home
last modified time | relevance | path

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

123

/linux/drivers/thermal/
H A Dthermal_core.c50 * the thermal core and by the thermal governor code.
68 * bind_previous_governor() - bind the previous governor of the thermal zone
70 * @failed_gov_name: the name of the governor that failed to register
72 * Register the previous governor of the thermal zone after a new
73 * governor has failed to be bound.
78 if (tz->governor && tz->governor->bind_to_tz) { in bind_previous_governor()
79 if (tz->governor->bind_to_tz(tz)) { in bind_previous_governor()
81 "governor %s failed to bind and the previous one (%s) failed to bind again, thermal zone %s has no governor\ in bind_previous_governor()
119 thermal_register_governor(struct thermal_governor * governor) thermal_register_governor() argument
170 thermal_unregister_governor(struct thermal_governor * governor) thermal_unregister_governor() argument
228 struct thermal_governor **governor; thermal_unregister_governors() local
237 struct thermal_governor **governor; thermal_register_governors() local
458 thermal_governor_trip_crossed(struct thermal_governor * governor,struct thermal_zone_device * tz,const struct thermal_trip * trip,bool upward) thermal_governor_trip_crossed() argument
472 thermal_trip_crossed(struct thermal_zone_device * tz,struct thermal_trip_desc * td,struct thermal_governor * governor,bool upward) thermal_trip_crossed() argument
564 thermal_zone_handle_trips(struct thermal_zone_device * tz,struct thermal_governor * governor,int * low,int * high) thermal_zone_handle_trips() argument
614 struct thermal_governor *governor = thermal_get_tz_governor(tz); __thermal_zone_device_update() local
1435 struct thermal_governor *governor; thermal_zone_init_governor() local
[all...]
/linux/tools/power/cpupower/bench/
H 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.
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 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()
H A Dmain.c105 strncpy(config->governor, optarg, 14); in main()
175 config->governor); in main()
/linux/drivers/cpufreq/
H A Dcpufreq.c665 * cpufreq_parse_governor - parse a governor string only for has_target() in get_governor()
788 else if (policy->governor) in show_cpuinfo_cur_freq()
789 return sysfs_emit(buf, "%s\n", policy->governor->name); in show_cpuinfo_cur_freq()
907 if (!policy->governor || !policy->governor->store_setspeed) in cpufreq_show_cpus()
914 policy->governor->store_setspeed(policy, freq);
921 if (!policy->governor || !policy->governor->show_setspeed)
924 return policy->governor->show_setspeed(policy, buf); in show_affected_cpus()
1111 /* Update policy governor t in cpufreq_add_dev_interface()
2513 cpufreq_register_governor(struct cpufreq_governor * governor) cpufreq_register_governor() argument
2536 cpufreq_unregister_governor(struct cpufreq_governor * governor) cpufreq_unregister_governor() argument
[all...]
/linux/tools/power/cpupower/utils/
H A Dcpufreq-set.c26 {"governor", required_argument, NULL, 'g'},
36 "- Is the governor you requested available and modprobed?\n" in print_error()
38 "- Trying to set a specific frequency, but userspace governor is not available,\n" in print_error()
40 " or because the userspace governor isn't loaded?\n")); in print_error()
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()
207 .governor in cmd_freq_set()
[all...]
H A Dcpufreq-info.c64 printf(_(" minimum CPU frequency - maximum CPU frequency - governor\n")); in proc_cpufreq_output()
80 max ? max_pctg : 0, policy->governor); in proc_cpufreq_output()
342 printf(_("The governor \"%s\" may decide which speed to use\n" in get_policy()
344 policy->governor); in get_policy()
363 printf("%s ", governors->governor); in get_available_governors()
366 printf("%s\n", governors->governor); in get_available_governors()
/linux/Documentation/driver-api/thermal/
H 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
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/drivers/devfreq/
H A DKconfig8 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/Documentation/driver-api/pm/
H A Dcpuidle.rst43 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 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
102 no polling. This value is meaningless if the governor is
115 userspace governor is in effect.
H 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/
H 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/power/cpupower/bindings/python/
H A Draw_pylibcpupower.i
/linux/tools/testing/selftests/cpufreq/
H A Dgovernor.sh138 for governor in $governors; do
139 $1 $2 $governor
/linux/tools/testing/selftests/amd-pstate/
H A Dgitsource.sh344 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 Dtbench.sh324 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 Drun.sh93 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 Dtsn_lib.sh113 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 Dka.po257 " 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 Dpt.po233 " 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 Dfr.po235 " 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 Dit.po235 " 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 …]
H A Dcs.po240 " 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 …]
H A Dde.po249 " minimum CPU frequency - maximum CPU frequency - governor\n"
359 "The governor \"%s\" may decide which speed to use\n"
565 " -d FREQ, --min FREQ new minimum CPU frequency the governor may "
574 " -u FREQ, --max FREQ new maximum CPU frequency the governor may "
582 msgid " -g GOV, --governor GOV new cpufreq governor\n"
589 " governor to be available and loaded\n"
640 "- Is the governor you requested available and modprobed?\n"
642 "- Trying to set a specific frequency, but userspace governor is not "
646 " or because the userspace governor isn't loaded?\n"
668 "-g/--governor parameters\n"
[all …]

123