Home
last modified time | relevance | path

Searched refs:str_governor (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/cpufreq/
H A Dcpufreq.c653 static struct cpufreq_governor *find_governor(const char *str_governor) in find_governor() argument
658 if (!strncasecmp(str_governor, t->name, CPUFREQ_NAME_LEN)) in find_governor()
664 static struct cpufreq_governor *get_governor(const char *str_governor) in get_governor() argument
669 t = find_governor(str_governor); in get_governor()
682 static unsigned int cpufreq_parse_policy(char *str_governor) in cpufreq_parse_policy() argument
684 if (!strncasecmp(str_governor, "performance", CPUFREQ_NAME_LEN)) in cpufreq_parse_policy()
687 if (!strncasecmp(str_governor, "powersave", CPUFREQ_NAME_LEN)) in cpufreq_parse_policy()
697 static struct cpufreq_governor *cpufreq_parse_governor(char *str_governor) in cpufreq_parse_governor() argument
701 t = get_governor(str_governor); in cpufreq_parse_governor()
705 if (request_module("cpufreq_%s", str_governor)) in cpufreq_parse_governor()
[all …]
/linux/drivers/devfreq/
H A Ddevfreq.c1437 char str_governor[DEVFREQ_NAME_LEN + 1]; in governor_store() local
1443 ret = sscanf(buf, "%" __stringify(DEVFREQ_NAME_LEN) "s", str_governor); in governor_store()
1448 governor = try_then_request_governor(str_governor); in governor_store()