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

/linux-master/drivers/cpuidle/
H A Dgovernor.c33 struct cpuidle_governor *gov; local
35 list_for_each_entry(gov, &cpuidle_governors, governor_list)
36 if (!strncasecmp(str, gov->name, CPUIDLE_NAME_LEN))
37 return gov;
44 * @gov: the new target governor
47 int cpuidle_switch_governor(struct cpuidle_governor *gov) argument
51 if (!gov)
54 if (gov == cpuidle_curr_governor)
64 cpuidle_curr_governor = gov;
70 pr_info("cpuidle: using governor %s\n", gov
79 cpuidle_register_governor(struct cpuidle_governor *gov) argument
[all...]
H A Dcpuidle.h27 extern int cpuidle_switch_governor(struct cpuidle_governor *gov);
H A Ddriver.c271 struct cpuidle_governor *gov; local
281 gov = cpuidle_find_governor(drv->governor);
282 if (gov) {
284 if (cpuidle_switch_governor(gov) < 0)
H A Dsysfs.c82 struct cpuidle_governor *gov; local
90 list_for_each_entry(gov, &cpuidle_governors, governor_list) {
91 if (!strncmp(gov->name, gov_name, CPUIDLE_NAME_LEN)) {
92 ret = cpuidle_switch_governor(gov);
/linux-master/drivers/watchdog/
H A Dwatchdog_pretimeout.c18 /* The spinlock protects default_gov, wdd->gov and pretimeout_list */
36 struct watchdog_governor *gov; member in struct:governor_priv
45 if (sysfs_streq(gov_name, priv->gov->name))
59 count += sysfs_emit_at(buf, count, "%s\n", priv->gov->name);
71 if (wdd->gov)
72 count = sysfs_emit(buf, "%s\n", wdd->gov->name);
92 wdd->gov = priv->gov;
105 if (!wdd->gov) {
110 wdd->gov
115 watchdog_register_governor(struct watchdog_governor *gov) argument
152 watchdog_unregister_governor(struct watchdog_governor *gov) argument
[all...]
H A Dwatchdog_pretimeout.h16 int watchdog_register_governor(struct watchdog_governor *gov);
17 void watchdog_unregister_governor(struct watchdog_governor *gov);
/linux-master/drivers/cpufreq/
H A Dcpufreq_governor.c236 struct dbs_governor *gov; local
240 gov = dbs_governor_of(policy);
247 gov_update_sample_delay(policy_dbs, gov->gov_dbs_update(policy));
350 struct dbs_governor *gov)
356 policy_dbs = gov->alloc();
376 struct dbs_governor *gov)
388 gov->free(policy_dbs);
394 struct dbs_governor *gov = dbs_data->gov; local
396 gov
349 alloc_policy_dbs_info(struct cpufreq_policy *policy, struct dbs_governor *gov) argument
375 free_policy_dbs_info(struct policy_dbs_info *policy_dbs, struct dbs_governor *gov) argument
402 struct dbs_governor *gov = dbs_governor_of(policy); local
492 struct dbs_governor *gov = dbs_governor_of(policy); local
515 struct dbs_governor *gov = dbs_governor_of(policy); local
[all...]
H A Dcpufreq_governor.h40 struct dbs_governor *gov; member in struct:dbs_data
126 struct cpufreq_governor gov; member in struct:dbs_governor
145 return container_of(policy->governor, struct dbs_governor, gov);
H A Dcpufreq.c1117 struct cpufreq_governor *gov = NULL; local
1123 gov = get_governor(policy->last_governor);
1124 if (gov) {
1126 gov->name, policy->cpu);
1128 gov = get_governor(default_governor);
1131 if (!gov) {
1132 gov = cpufreq_default_governor();
1133 __module_get(gov->owner);
1156 ret = cpufreq_set_policy(policy, gov, pol);
1157 if (gov)
2414 struct cpufreq_governor *gov = cpufreq_fallback_governor(); local
3004 struct cpufreq_governor *gov = cpufreq_default_governor(); local
[all...]
H A Dcpufreq_conservative.c317 .gov = CPUFREQ_DBS_GOVERNOR_INITIALIZER("conservative"),
327 #define CPU_FREQ_GOV_CONSERVATIVE (cs_governor.gov)
H A Dcpufreq_ondemand.c403 .gov = CPUFREQ_DBS_GOVERNOR_INITIALIZER("ondemand"),
413 #define CPU_FREQ_GOV_ONDEMAND (od_dbs_gov.gov)
/linux-master/drivers/pmdomain/renesas/
H A Drmobile-sysc.c34 struct dev_power_governor *gov; member in struct:rmobile_pm_domain
101 struct dev_power_governor *gov = rmobile_pd->gov; local
113 pm_genpd_init(genpd, gov ? : &simple_qos_governor, false);
232 pd->gov = &pm_domain_always_on_gov;
/linux-master/drivers/devfreq/
H A Dimx-bus.c90 const char *gov = DEVFREQ_GOV_USERSPACE; local
126 gov, NULL);
H A Dimx8m-ddrc.c370 const char *gov = DEVFREQ_GOV_USERSPACE; local
426 gov, NULL);
H A Ddevfreq.c792 const struct devfreq_governor *gov);
794 const struct devfreq_governor *gov);
1929 const struct devfreq_governor *gov)
1931 if (IS_SUPPORTED_ATTR(gov->attrs, POLLING_INTERVAL))
1933 if (IS_SUPPORTED_ATTR(gov->attrs, TIMER))
1939 const struct devfreq_governor *gov)
1941 if (IS_SUPPORTED_ATTR(gov->attrs, POLLING_INTERVAL))
1944 if (IS_SUPPORTED_ATTR(gov->attrs, TIMER))
1928 create_sysfs_files(struct devfreq *devfreq, const struct devfreq_governor *gov) argument
1938 remove_sysfs_files(struct devfreq *devfreq, const struct devfreq_governor *gov) argument
/linux-master/tools/power/cpupower/utils/
H A Dcpufreq-set.c203 char gov[20]; local
264 if ((sscanf(optarg, "%19s", gov)) != 1) {
268 new_pol.governor = gov;
/linux-master/include/linux/
H A Dpm_domain.h157 struct dev_power_governor *gov; member in struct:generic_pm_domain
261 struct dev_power_governor *gov, bool is_off);
301 struct dev_power_governor *gov, bool is_off)
300 pm_genpd_init(struct generic_pm_domain *genpd, struct dev_power_governor *gov, bool is_off) argument
H A Dwatchdog.h66 * @gov: Pointer to watchdog pretimeout governor.
100 const struct watchdog_governor *gov; member in struct:watchdog_device
H A Dcpuidle.h304 extern int cpuidle_register_governor(struct cpuidle_governor *gov);
/linux-master/drivers/thermal/
H A Dthermal_core.c198 struct thermal_governor *gov; local
204 gov = __find_governor(strim(policy));
205 if (!gov)
208 ret = thermal_set_governor(tz, gov);
262 struct thermal_governor **gov; local
264 for_each_governor_table(gov) {
265 if (gov == governor)
267 thermal_unregister_governor(*gov);
550 struct thermal_governor *gov; local
554 list_for_each_entry(gov,
[all...]
/linux-master/tools/power/cpupower/lib/
H A Dcpufreq.c602 char gov[SYSFS_PATH_MAX]; local
613 if (verify_gov(gov, policy->governor))
642 gov, strlen(gov));
/linux-master/drivers/pmdomain/
H A Dcore.c757 if (genpd->gov && genpd->gov->power_down_ok) {
758 if (!genpd->gov->power_down_ok(&genpd->domain))
763 if (!genpd->gov)
989 suspend_ok = genpd->gov ? genpd->gov->suspend_ok : NULL;
2030 if (genpd->gov) {
2083 * @gov: PM domain governor to associate with the domain (may be NULL).
2089 struct dev_power_governor *gov, bool is_off)
2101 genpd->gov
2088 pm_genpd_init(struct generic_pm_domain *genpd, struct dev_power_governor *gov, bool is_off) argument
[all...]
/linux-master/kernel/sched/
H A Dtopology.c219 struct cpufreq_governor *gov; local
264 gov = policy->governor;
266 if (gov != &schedutil_gov) {

Completed in 186 milliseconds