/linux/drivers/watchdog/ |
H A D | watchdog_pretimeout.c | 20 /* The spinlock protects default_gov, wdd->gov and pretimeout_list */ 38 struct watchdog_governor *gov; member 47 if (sysfs_streq(gov_name, priv->gov->name)) in find_governor_by_name() 61 count += sysfs_emit_at(buf, count, "%s\n", priv->gov->name); in watchdog_pretimeout_available_governors_get() 73 if (wdd->gov) in watchdog_pretimeout_governor_get() 74 count = sysfs_emit(buf, "%s\n", wdd->gov->name); in watchdog_pretimeout_governor_get() 94 wdd->gov = priv->gov; in watchdog_pretimeout_governor_set() 107 if (!wdd->gov) { in watchdog_notify_pretimeout() 112 wdd->gov in watchdog_notify_pretimeout() 117 watchdog_register_governor(struct watchdog_governor * gov) watchdog_register_governor() argument 154 watchdog_unregister_governor(struct watchdog_governor * gov) watchdog_unregister_governor() argument [all...] |
H 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/ |
H A D | governor.c | 33 struct cpuidle_governor *gov; in cpuidle_find_governor() local 35 list_for_each_entry(gov, &cpuidle_governors, governor_list) in cpuidle_find_governor() 36 if (!strncasecmp(str, gov->name, CPUIDLE_NAME_LEN)) in cpuidle_find_governor() 37 return gov; in cpuidle_find_governor() 44 * @gov: the new target governor 47 int cpuidle_switch_governor(struct cpuidle_governor *gov) in cpuidle_switch_governor() argument 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() 70 pr_info("cpuidle: using governor %s\n", gov in cpuidle_switch_governor() 79 cpuidle_register_governor(struct cpuidle_governor * gov) cpuidle_register_governor() argument [all...] |
H A D | driver.c | 271 struct cpuidle_governor *gov; in cpuidle_register_driver() local 281 gov = cpuidle_find_governor(drv->governor); in cpuidle_register_driver() 282 if (gov) { in cpuidle_register_driver() 284 if (cpuidle_switch_governor(gov) < 0) in cpuidle_register_driver()
|
H A D | cpuidle.h | 27 extern int cpuidle_switch_governor(struct cpuidle_governor *gov);
|
H 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()
|
/linux/drivers/cpufreq/ |
H A D | cpufreq_governor.c | 237 struct dbs_governor *gov; in dbs_work_handler() local 241 gov = dbs_governor_of(policy); in dbs_work_handler() 248 gov_update_sample_delay(policy_dbs, gov->gov_dbs_update(policy)); in dbs_work_handler() 351 struct dbs_governor *gov) in alloc_policy_dbs_info() argument 357 policy_dbs = gov->alloc(); in alloc_policy_dbs_info() 377 struct dbs_governor *gov) in free_policy_dbs_info() argument 389 gov->free(policy_dbs); in free_policy_dbs_info() 395 struct dbs_governor *gov = dbs_data->gov; in cpufreq_dbs_data_release() local 397 gov in cpufreq_dbs_data_release() 403 struct dbs_governor *gov = dbs_governor_of(policy); cpufreq_dbs_governor_init() local 493 struct dbs_governor *gov = dbs_governor_of(policy); cpufreq_dbs_governor_exit() local 516 struct dbs_governor *gov = dbs_governor_of(policy); cpufreq_dbs_governor_start() local [all...] |
H A D | cpufreq_governor.h | 40 struct dbs_governor *gov; member 126 struct cpufreq_governor gov; member 145 return container_of(policy->governor, struct dbs_governor, gov); in dbs_governor_of()
|
H A D | cpufreq.c | 1118 struct cpufreq_governor *gov = NULL; in cpufreq_init_policy() local 1124 gov = get_governor(policy->last_governor); in cpufreq_init_policy() 1125 if (gov) { in cpufreq_init_policy() 1127 gov->name, policy->cpu); in cpufreq_init_policy() 1129 gov = get_governor(default_governor); in cpufreq_init_policy() 1132 if (!gov) { in cpufreq_init_policy() 1133 gov = cpufreq_default_governor(); in cpufreq_init_policy() 1134 __module_get(gov->owner); in cpufreq_init_policy() 1157 ret = cpufreq_set_policy(policy, gov, pol); in cpufreq_init_policy() 1158 if (gov) in cpufreq_init_policy() 2430 struct cpufreq_governor *gov = cpufreq_fallback_governor(); cpufreq_init_governor() local 3038 struct cpufreq_governor *gov = cpufreq_default_governor(); cpufreq_core_init() local [all...] |
H A D | cpufreq_conservative.c | 317 .gov = CPUFREQ_DBS_GOVERNOR_INITIALIZER("conservative"), 327 #define CPU_FREQ_GOV_CONSERVATIVE (cs_governor.gov)
|
H A D | cpufreq_ondemand.c | 404 .gov = CPUFREQ_DBS_GOVERNOR_INITIALIZER("ondemand"), 414 #define CPU_FREQ_GOV_ONDEMAND (od_dbs_gov.gov)
|
/linux/drivers/pmdomain/renesas/ |
H A D | rmobile-sysc.c | 34 struct dev_power_governor *gov; member 101 struct dev_power_governor *gov = rmobile_pd->gov; in rmobile_init_pm_domain() local 113 pm_genpd_init(genpd, gov ? : &simple_qos_governor, false); in rmobile_init_pm_domain() 232 pd->gov = &pm_domain_always_on_gov; in rmobile_setup_pm_domain()
|
/linux/tools/power/cpupower/utils/ |
H 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/devfreq/ |
H A D | imx-bus.c | 90 const char *gov = DEVFREQ_GOV_USERSPACE; in imx_bus_probe() local 126 gov, NULL); in imx_bus_probe()
|
H A D | imx8m-ddrc.c | 370 const char *gov = DEVFREQ_GOV_USERSPACE; in imx8m_ddrc_probe() local 426 gov, NULL); in imx8m_ddrc_probe()
|
H A D | devfreq.c | 789 const struct devfreq_governor *gov); 791 const struct devfreq_governor *gov); 1920 const struct devfreq_governor *gov) in create_sysfs_files() argument 1922 if (IS_SUPPORTED_ATTR(gov->attrs, POLLING_INTERVAL)) in create_sysfs_files() 1924 if (IS_SUPPORTED_ATTR(gov->attrs, TIMER)) in create_sysfs_files() 1930 const struct devfreq_governor *gov) in remove_sysfs_files() argument 1932 if (IS_SUPPORTED_ATTR(gov->attrs, POLLING_INTERVAL)) in remove_sysfs_files() 1935 if (IS_SUPPORTED_ATTR(gov->attrs, TIMER)) in remove_sysfs_files()
|
/linux/drivers/thermal/ |
H A D | thermal_core.c | 194 struct thermal_governor *gov; in thermal_zone_device_set_policy() local 200 gov = __find_governor(strim(policy)); in thermal_zone_device_set_policy() 201 if (gov) in thermal_zone_device_set_policy() 202 ret = thermal_set_governor(tz, gov); in thermal_zone_device_set_policy() 250 struct thermal_governor **gov; in thermal_register_governors() local 252 for_each_governor_table(gov) { in thermal_register_governors() 253 if (gov == governor) in thermal_register_governors() 255 thermal_unregister_governor(*gov); in thermal_register_governors() 714 struct thermal_governor *gov; in for_each_thermal_governor() local 718 list_for_each_entry(gov, in for_each_thermal_governor() [all...] |
/linux/include/linux/ |
H A D | pm_domain.h | 193 struct dev_power_governor *gov; member 310 struct dev_power_governor *gov, bool is_off); 357 struct dev_power_governor *gov, bool is_off) in pm_genpd_init() argument
|
H A D | watchdog.h | 70 * @gov: Pointer to watchdog pretimeout governor. 104 const struct watchdog_governor *gov; member
|
H A D | cpuidle.h | 304 extern int cpuidle_register_governor(struct cpuidle_governor *gov);
|
/linux/tools/power/cpupower/lib/ |
H A D | cpufreq.c | 620 char gov[SYSFS_PATH_MAX]; in cpufreq_set_policy() local 631 if (verify_gov(gov, policy->governor)) in cpufreq_set_policy() 660 gov, strlen(gov)); in cpufreq_set_policy()
|
/linux/drivers/net/ethernet/packetengines/ |
H A D | Kconfig | 38 <http://cesdis.gsfc.nasa.gov/linux/drivers/yellowfin.html> for more
|
/linux/drivers/atm/ |
H A D | nicstarmac.copyright | 16 * R. D. Rechenmacher <ron@fnal.gov>, Aug. 6, 1997
|
/linux/Documentation/filesystems/ |
H 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/Documentation/driver-api/thermal/ |
H A D | sysfs-api.rst | 297 |---k_i: PID's integral term in the power allocator gov
|