Searched defs:gov (Results 1 - 4 of 4) 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 (!strnicmp(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 107 struct cpuidle_governor *gov; local 127 cpuidle_unregister_governor(struct cpuidle_governor *gov) argument [all...] |
H A D | sysfs.c | 85 struct cpuidle_governor *gov; local 97 list_for_each_entry(gov, &cpuidle_governors, governor_list) { 98 if (strlen(gov->name) == len && !strcmp(gov->name, gov_name)) { 99 ret = cpuidle_switch_governor(gov);
|
/drivers/base/power/ |
H A D | domain.c | 384 if (genpd->gov && genpd->gov->power_down_ok) { 385 if (!genpd->gov->power_down_ok(&genpd->domain)) 506 stop_ok = genpd->gov ? genpd->gov->stop_ok : NULL; 1538 * @gov: PM domain governor to associate with the domain (may be NULL). 1542 struct dev_power_governor *gov, bool is_off) 1551 genpd->gov = gov; 1541 pm_genpd_init(struct generic_pm_domain *genpd, struct dev_power_governor *gov, bool is_off) argument
|
/drivers/cpufreq/ |
H A D | cpufreq.c | 688 struct cpufreq_governor *gov; local 690 gov = __find_governor(per_cpu(cpufreq_cpu_governor, cpu)); 691 if (gov) { 692 policy->governor = gov; 1507 struct cpufreq_governor *gov = &cpufreq_gov_performance; local 1509 struct cpufreq_governor *gov = NULL; local 1515 if (!gov) 1522 gov->name); 1523 policy->governor = gov;
|
Completed in 81 milliseconds