Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/cpufreq/
Dcpufreq.c437 static struct cpufreq_governor *find_governor(const char *str_governor) in find_governor() argument
442 if (!strncasecmp(str_governor, t->name, CPUFREQ_NAME_LEN)) in find_governor()
451 static int cpufreq_parse_governor(char *str_governor, unsigned int *policy, in cpufreq_parse_governor() argument
460 if (!strncasecmp(str_governor, "performance", CPUFREQ_NAME_LEN)) { in cpufreq_parse_governor()
463 } else if (!strncasecmp(str_governor, "powersave", in cpufreq_parse_governor()
473 t = find_governor(str_governor); in cpufreq_parse_governor()
479 ret = request_module("cpufreq_%s", str_governor); in cpufreq_parse_governor()
483 t = find_governor(str_governor); in cpufreq_parse_governor()
595 char str_governor[16]; in store_scaling_governor() local
602 ret = sscanf(buf, "%15s", str_governor); in store_scaling_governor()
[all …]
/linux-4.1.27/drivers/devfreq/
Ddevfreq.c785 char str_governor[DEVFREQ_NAME_LEN + 1]; in governor_store() local
788 ret = sscanf(buf, "%" __stringify(DEVFREQ_NAME_LEN) "s", str_governor); in governor_store()
793 governor = find_devfreq_governor(str_governor); in governor_store()