/linux/drivers/watchdog/ |
A D | watchdog_pretimeout.c | 71 if (wdd->gov) in watchdog_pretimeout_governor_get() 92 wdd->gov = priv->gov; in watchdog_pretimeout_governor_set() 105 if (!wdd->gov) { in watchdog_notify_pretimeout() 110 wdd->gov->pretimeout(wdd); in watchdog_notify_pretimeout() 132 priv->gov = gov; in watchdog_register_governor() 138 default_gov = gov; in watchdog_register_governor() 141 if (!p->wdd->gov) in watchdog_register_governor() 160 if (priv->gov == gov) { in watchdog_unregister_governor() 169 if (p->wdd->gov == gov) in watchdog_unregister_governor() 191 wdd->gov = default_gov; in watchdog_register_pretimeout() [all …]
|
A D | watchdog_pretimeout.h | 16 int watchdog_register_governor(struct watchdog_governor *gov); 17 void watchdog_unregister_governor(struct watchdog_governor *gov);
|
/linux/drivers/cpuidle/ |
A D | governor.c | 33 struct cpuidle_governor *gov; in cpuidle_find_governor() local 36 if (!strncasecmp(str, gov->name, CPUIDLE_NAME_LEN)) in cpuidle_find_governor() 37 return gov; in cpuidle_find_governor() 51 if (!gov) in cpuidle_switch_governor() 54 if (gov == cpuidle_curr_governor) in cpuidle_switch_governor() 64 cpuidle_curr_governor = gov; in cpuidle_switch_governor() 66 if (gov) { in cpuidle_switch_governor() 84 if (!gov || !gov->select) in cpuidle_register_governor() 91 if (cpuidle_find_governor(gov->name) == NULL) { in cpuidle_register_governor() 96 (cpuidle_curr_governor->rating < gov->rating && in cpuidle_register_governor() [all …]
|
A D | driver.c | 266 struct cpuidle_governor *gov; in cpuidle_register_driver() local 276 gov = cpuidle_find_governor(drv->governor); in cpuidle_register_driver() 277 if (gov) { in cpuidle_register_driver() 279 if (cpuidle_switch_governor(gov) < 0) in cpuidle_register_driver()
|
A D | sysfs.c | 82 struct cpuidle_governor *gov; in store_current_governor() local 90 list_for_each_entry(gov, &cpuidle_governors, governor_list) { in store_current_governor() 91 if (!strncmp(gov->name, gov_name, CPUIDLE_NAME_LEN)) { in store_current_governor() 92 ret = cpuidle_switch_governor(gov); in store_current_governor()
|
A D | cpuidle.h | 27 extern int cpuidle_switch_governor(struct cpuidle_governor *gov);
|
/linux/drivers/cpufreq/ |
A D | cpufreq_governor.c | 236 struct dbs_governor *gov; in dbs_work_handler() local 356 policy_dbs = gov->alloc(); in alloc_policy_dbs_info() 388 gov->free(policy_dbs); in free_policy_dbs_info() 409 dbs_data = gov->gdbs_data; in cpufreq_dbs_governor_init() 430 ret = gov->init(dbs_data); in cpufreq_dbs_governor_init() 452 "%s", gov->gov.name); in cpufreq_dbs_governor_init() 464 gov->gdbs_data = NULL; in cpufreq_dbs_governor_init() 465 gov->exit(dbs_data); in cpufreq_dbs_governor_init() 493 gov->gdbs_data = NULL; in cpufreq_dbs_governor_exit() 495 gov->exit(dbs_data); in cpufreq_dbs_governor_exit() [all …]
|
A D | cpufreq.c | 1062 struct cpufreq_governor *gov = NULL; in cpufreq_init_policy() local 1069 if (gov) { in cpufreq_init_policy() 1071 gov->name, policy->cpu); in cpufreq_init_policy() 1073 gov = get_governor(default_governor); in cpufreq_init_policy() 1076 if (!gov) { in cpufreq_init_policy() 1077 gov = cpufreq_default_governor(); in cpufreq_init_policy() 1078 __module_get(gov->owner); in cpufreq_init_policy() 1102 if (gov) in cpufreq_init_policy() 1103 module_put(gov->owner); in cpufreq_init_policy() 2321 if (gov) { in cpufreq_init_governor() [all …]
|
A D | cpufreq_governor.h | 127 struct cpufreq_governor gov; member 146 return container_of(policy->governor, struct dbs_governor, gov); in dbs_governor_of()
|
A D | cpufreq_conservative.c | 317 .gov = CPUFREQ_DBS_GOVERNOR_INITIALIZER("conservative"), 327 #define CPU_FREQ_GOV_CONSERVATIVE (cs_governor.gov)
|
A D | cpufreq_ondemand.c | 403 .gov = CPUFREQ_DBS_GOVERNOR_INITIALIZER("ondemand"), 413 #define CPU_FREQ_GOV_ONDEMAND (od_dbs_gov.gov)
|
/linux/drivers/soc/renesas/ |
A D | rmobile-sysc.c | 34 struct dev_power_governor *gov; member 112 struct dev_power_governor *gov = rmobile_pd->gov; in rmobile_init_pm_domain() local 124 pm_genpd_init(genpd, gov ? : &simple_qos_governor, false); in rmobile_init_pm_domain() 243 pd->gov = &pm_domain_always_on_gov; in rmobile_setup_pm_domain()
|
/linux/tools/power/cpupower/utils/ |
A D | cpufreq-set.c | 203 char gov[20]; in cmd_freq_set() local 264 if ((sscanf(optarg, "%19s", gov)) != 1) { in cmd_freq_set() 268 new_pol.governor = gov; in cmd_freq_set()
|
/linux/drivers/thermal/ |
A D | thermal_core.c | 200 struct thermal_governor *gov; in thermal_zone_device_set_policy() local 206 gov = __find_governor(strim(policy)); in thermal_zone_device_set_policy() 207 if (!gov) in thermal_zone_device_set_policy() 210 ret = thermal_set_governor(tz, gov); in thermal_zone_device_set_policy() 265 struct thermal_governor **gov; in thermal_register_governors() local 267 for_each_governor_table(gov) { in thermal_register_governors() 268 if (gov == governor) in thermal_register_governors() 270 thermal_unregister_governor(*gov); in thermal_register_governors() 524 struct thermal_governor *gov; in for_each_thermal_governor() local 528 list_for_each_entry(gov, &thermal_governor_list, governor_list) { in for_each_thermal_governor() [all …]
|
/linux/drivers/devfreq/ |
A D | imx-bus.c | 90 const char *gov = DEVFREQ_GOV_USERSPACE; in imx_bus_probe() local 126 gov, NULL); in imx_bus_probe()
|
A D | devfreq.c | 769 const struct devfreq_governor *gov); 771 const struct devfreq_governor *gov); 1885 const struct devfreq_governor *gov) in create_sysfs_files() argument 1887 if (IS_SUPPORTED_ATTR(gov->attrs, POLLING_INTERVAL)) in create_sysfs_files() 1889 if (IS_SUPPORTED_ATTR(gov->attrs, TIMER)) in create_sysfs_files() 1895 const struct devfreq_governor *gov) in remove_sysfs_files() argument 1897 if (IS_SUPPORTED_ATTR(gov->attrs, POLLING_INTERVAL)) in remove_sysfs_files() 1900 if (IS_SUPPORTED_ATTR(gov->attrs, TIMER)) in remove_sysfs_files()
|
A D | imx8m-ddrc.c | 370 const char *gov = DEVFREQ_GOV_USERSPACE; in imx8m_ddrc_probe() local 426 gov, NULL); in imx8m_ddrc_probe()
|
/linux/include/linux/ |
A D | pm_domain.h | 116 struct dev_power_governor *gov; member 225 struct dev_power_governor *gov, bool is_off); 263 struct dev_power_governor *gov, bool is_off) in pm_genpd_init() argument
|
A D | watchdog.h | 100 const struct watchdog_governor *gov; member
|
A D | cpuidle.h | 274 extern int cpuidle_register_governor(struct cpuidle_governor *gov);
|
/linux/tools/power/cpupower/lib/ |
A D | cpufreq.c | 593 char gov[SYSFS_PATH_MAX]; in cpufreq_set_policy() local 604 if (verify_gov(gov, policy->governor)) in cpufreq_set_policy() 633 gov, strlen(gov)); in cpufreq_set_policy()
|
/linux/drivers/base/power/ |
A D | domain.c | 658 if (genpd->gov && genpd->gov->power_down_ok) { in genpd_power_off() 659 if (!genpd->gov->power_down_ok(&genpd->domain)) in genpd_power_off() 664 if (!genpd->gov) in genpd_power_off() 888 suspend_ok = genpd->gov ? genpd->gov->suspend_ok : NULL; in genpd_runtime_suspend() 1962 struct dev_power_governor *gov, bool is_off) in pm_genpd_init() argument 1974 genpd->gov = gov; in pm_genpd_init() 2018 } else if (!gov && genpd->state_count > 1) { in pm_genpd_init()
|
/linux/drivers/net/ethernet/packetengines/ |
A D | Kconfig | 38 <http://cesdis.gsfc.nasa.gov/linux/drivers/yellowfin.html> for more
|
/linux/Documentation/filesystems/ |
A D | 9p.rst | 12 This software was originally developed by Ron Minnich <rminnich@sandia.gov> 14 <gwatson@lanl.gov> and most recently Eric Van Hensbergen
|
/linux/drivers/atm/ |
A D | nicstarmac.copyright | 16 * R. D. Rechenmacher <ron@fnal.gov>, Aug. 6, 1997
|