Home
last modified time | relevance | path

Searched refs:gov (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v5.4/drivers/cpuidle/
Dgovernor.c33 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()
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()
66 if (gov) { in cpuidle_switch_governor()
70 printk(KERN_INFO "cpuidle: using governor %s\n", gov->name); in cpuidle_switch_governor()
[all …]
Ddriver.c257 struct cpuidle_governor *gov; in cpuidle_register_driver() local
267 gov = cpuidle_find_governor(drv->governor); in cpuidle_register_driver()
268 if (gov) { in cpuidle_register_driver()
270 if (cpuidle_switch_governor(gov) < 0) in cpuidle_register_driver()
Dsysfs.c91 struct cpuidle_governor *gov; in store_current_governor() local
103 list_for_each_entry(gov, &cpuidle_governors, governor_list) { in store_current_governor()
104 if (strlen(gov->name) == len && !strcmp(gov->name, gov_name)) { in store_current_governor()
105 ret = cpuidle_switch_governor(gov); in store_current_governor()
Dcpuidle.h27 extern int cpuidle_switch_governor(struct cpuidle_governor *gov);
/Linux-v5.4/drivers/watchdog/
Dwatchdog_pretimeout.c35 struct watchdog_governor *gov; member
44 if (sysfs_streq(gov_name, priv->gov->name)) in find_governor_by_name()
58 count += sprintf(buf + count, "%s\n", priv->gov->name); in watchdog_pretimeout_available_governors_get()
70 if (wdd->gov) in watchdog_pretimeout_governor_get()
71 count = sprintf(buf, "%s\n", wdd->gov->name); in watchdog_pretimeout_governor_get()
91 wdd->gov = priv->gov; in watchdog_pretimeout_governor_set()
104 if (!wdd->gov) { in watchdog_notify_pretimeout()
109 wdd->gov->pretimeout(wdd); in watchdog_notify_pretimeout()
114 int watchdog_register_governor(struct watchdog_governor *gov) in watchdog_register_governor() argument
125 if (find_governor_by_name(gov->name)) { in watchdog_register_governor()
[all …]
Dwatchdog_pretimeout.h16 int watchdog_register_governor(struct watchdog_governor *gov);
17 void watchdog_unregister_governor(struct watchdog_governor *gov);
/Linux-v5.4/drivers/cpufreq/
Dcpufreq_governor.c236 struct dbs_governor *gov; in dbs_work_handler() local
240 gov = dbs_governor_of(policy); in dbs_work_handler()
247 gov_update_sample_delay(policy_dbs, gov->gov_dbs_update(policy)); in dbs_work_handler()
350 struct dbs_governor *gov) in alloc_policy_dbs_info() argument
356 policy_dbs = gov->alloc(); in alloc_policy_dbs_info()
376 struct dbs_governor *gov) in free_policy_dbs_info() argument
388 gov->free(policy_dbs); in free_policy_dbs_info()
393 struct dbs_governor *gov = dbs_governor_of(policy); in cpufreq_dbs_governor_init() local
402 policy_dbs = alloc_policy_dbs_info(policy, gov); in cpufreq_dbs_governor_init()
409 dbs_data = gov->gdbs_data; in cpufreq_dbs_governor_init()
[all …]
Dcpufreq_governor.h127 struct cpufreq_governor gov; member
146 return container_of(policy->governor, struct dbs_governor, gov); in dbs_governor_of()
Dcpufreq_conservative.c315 .gov = CPUFREQ_DBS_GOVERNOR_INITIALIZER("conservative"),
325 #define CPU_FREQ_GOV_CONSERVATIVE (&cs_governor.gov)
Dcpufreq.c1047 struct cpufreq_governor *gov = NULL, *def_gov = NULL; in cpufreq_init_policy() local
1059 gov = find_governor(policy->last_governor); in cpufreq_init_policy()
1060 if (gov) { in cpufreq_init_policy()
1066 gov = def_gov; in cpufreq_init_policy()
1068 new_policy.governor = gov; in cpufreq_init_policy()
2187 struct cpufreq_governor *gov = cpufreq_fallback_governor(); in cpufreq_init_governor() local
2189 if (gov) { in cpufreq_init_governor()
2191 policy->governor->name, gov->name); in cpufreq_init_governor()
2192 policy->governor = gov; in cpufreq_init_governor()
Dcpufreq_ondemand.c401 .gov = CPUFREQ_DBS_GOVERNOR_INITIALIZER("ondemand"),
411 #define CPU_FREQ_GOV_ONDEMAND (&od_dbs_gov.gov)
/Linux-v5.4/drivers/soc/renesas/
Drmobile-sysc.c36 struct dev_power_governor *gov; member
114 struct dev_power_governor *gov = rmobile_pd->gov; in rmobile_init_pm_domain() local
126 pm_genpd_init(genpd, gov ? : &simple_qos_governor, false); in rmobile_init_pm_domain()
245 pd->gov = &pm_domain_always_on_gov; in rmobile_setup_pm_domain()
/Linux-v5.4/tools/power/cpupower/utils/
Dcpufreq-set.c199 char gov[20]; in cmd_freq_set() local
260 if ((sscanf(optarg, "%19s", gov)) != 1) { in cmd_freq_set()
264 new_pol.governor = gov; in cmd_freq_set()
/Linux-v5.4/include/linux/
Dpm_domain.h101 struct dev_power_governor *gov; member
204 struct dev_power_governor *gov, bool is_off);
239 struct dev_power_governor *gov, bool is_off) in pm_genpd_init() argument
Dcpuidle.h262 extern int cpuidle_register_governor(struct cpuidle_governor *gov);
265 static inline int cpuidle_register_governor(struct cpuidle_governor *gov) in cpuidle_register_governor() argument
Dwatchdog.h100 const struct watchdog_governor *gov; member
/Linux-v5.4/tools/power/cpupower/lib/
Dcpufreq.c535 char gov[SYSFS_PATH_MAX]; in cpufreq_set_policy() local
546 if (verify_gov(gov, policy->governor)) in cpufreq_set_policy()
575 gov, strlen(gov)); in cpufreq_set_policy()
/Linux-v5.4/drivers/thermal/
Dthermal_core.c208 struct thermal_governor *gov; in thermal_zone_device_set_policy() local
214 gov = __find_governor(strim(policy)); in thermal_zone_device_set_policy()
215 if (!gov) in thermal_zone_device_set_policy()
218 ret = thermal_set_governor(tz, gov); in thermal_zone_device_set_policy()
272 struct thermal_governor **gov; in thermal_register_governors() local
274 for_each_governor_table(gov) { in thermal_register_governors()
275 if (gov == governor) in thermal_register_governors()
277 thermal_unregister_governor(*gov); in thermal_register_governors()
/Linux-v5.4/drivers/base/power/
Ddomain.c538 if (genpd->gov && genpd->gov->power_down_ok) { in genpd_power_off()
539 if (!genpd->gov->power_down_ok(&genpd->domain)) in genpd_power_off()
544 if (!genpd->gov) in genpd_power_off()
768 suspend_ok = genpd->gov ? genpd->gov->suspend_ok : NULL; in genpd_runtime_suspend()
1777 struct dev_power_governor *gov, bool is_off) in pm_genpd_init() argument
1788 genpd->gov = gov; in pm_genpd_init()
1831 } else if (!gov && genpd->state_count > 1) { in pm_genpd_init()
/Linux-v5.4/drivers/net/ethernet/packetengines/
DKconfig38 <http://cesdis.gsfc.nasa.gov/linux/drivers/yellowfin.html> for more
/Linux-v5.4/Documentation/filesystems/
D9p.txt9 This software was originally developed by Ron Minnich <rminnich@sandia.gov>
11 <gwatson@lanl.gov> and most recently Eric Van Hensbergen
/Linux-v5.4/drivers/atm/
Dnicstarmac.copyright16 * R. D. Rechenmacher <ron@fnal.gov>, Aug. 6, 1997
/Linux-v5.4/crypto/
DKconfig384 See: https://csrc.nist.gov/publications/detail/sp/800-38a/addendum/final
529 http://csrc.nist.gov/publications/nistpubs/800-38B/SP_800-38B.pdf
546 http://csrc.nist.gov/encryption/modes/proposedmodes/
971 http://www.oscca.gov.cn/UpFile/20101222141857786.pdf
1043 See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
1090 See <http://csrc.nist.gov/encryption/aes/> for more information.
1119 See <http://csrc.nist.gov/encryption/aes/> for more information.
/Linux-v5.4/kernel/sched/
Dtopology.c349 struct cpufreq_governor *gov; in build_perf_domains() local
372 gov = policy->governor; in build_perf_domains()
374 if (gov != &schedutil_gov) { in build_perf_domains()
/Linux-v5.4/Documentation/watchdog/
Dwatchdog-kernel-api.rst53 const struct watchdog_governor *gov;
82 * gov: a pointer to the assigned watchdog device pretimeout governor or NULL.

12