Searched refs:gov (Results 1 - 6 of 6) sorted by relevance

/drivers/cpuidle/
H A Dgovernor.c28 struct cpuidle_governor *gov; local
30 list_for_each_entry(gov, &cpuidle_governors, governor_list)
31 if (!strncasecmp(str, gov->name, CPUIDLE_NAME_LEN))
32 return gov;
39 * @gov: the new target governor
41 * NOTE: "gov" can be NULL to specify disabled
44 int cpuidle_switch_governor(struct cpuidle_governor *gov) argument
48 if (gov == cpuidle_curr_governor)
59 cpuidle_curr_governor = gov;
61 if (gov) {
77 cpuidle_register_governor(struct cpuidle_governor *gov) argument
[all...]
H A Dcpuidle.h23 extern int cpuidle_switch_governor(struct cpuidle_governor *gov);
H A Dsysfs.c91 struct cpuidle_governor *gov; local
103 list_for_each_entry(gov, &cpuidle_governors, governor_list) {
104 if (strlen(gov->name) == len && !strcmp(gov->name, gov_name)) {
105 ret = cpuidle_switch_governor(gov);
/drivers/cpufreq/
H A Dcpufreq.c945 struct cpufreq_governor *gov = NULL; local
952 gov = __find_governor(per_cpu(cpufreq_cpu_governor, policy->cpu));
953 if (gov)
957 gov = CPUFREQ_DEFAULT_GOVERNOR;
959 new_policy.governor = gov;
963 cpufreq_parse_governor(gov->name, &new_policy.policy, NULL);
2016 struct cpufreq_governor *gov = &cpufreq_gov_performance; local
2018 struct cpufreq_governor *gov = NULL; local
2028 if (!gov)
2032 policy->governor->name, gov
[all...]
/drivers/base/power/
H A Ddomain.c505 if (genpd->gov && genpd->gov->power_down_ok) {
506 if (!genpd->gov->power_down_ok(&genpd->domain))
631 stop_ok = genpd->gov ? genpd->gov->stop_ok : NULL;
1884 * @gov: PM domain governor to associate with the domain (may be NULL).
1888 struct dev_power_governor *gov, bool is_off)
1897 genpd->gov = gov;
1887 pm_genpd_init(struct generic_pm_domain *genpd, struct dev_power_governor *gov, bool is_off) argument
/drivers/thermal/
H A Dthermal_core.c754 struct thermal_governor *gov; local
761 gov = __find_governor(strim(name));
762 if (!gov)
765 tz->governor = gov;

Completed in 482 milliseconds