Searched refs:gov (Results 1 - 6 of 6) sorted by relevance
/drivers/cpuidle/ |
H A D | governor.c | 28 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 D | cpuidle.h | 23 extern int cpuidle_switch_governor(struct cpuidle_governor *gov);
|
H A D | sysfs.c | 91 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 D | cpufreq.c | 945 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 D | domain.c | 505 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 D | thermal_core.c | 754 struct thermal_governor *gov; local 761 gov = __find_governor(strim(name)); 762 if (!gov) 765 tz->governor = gov;
|
Completed in 482 milliseconds