Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/cpufreq/
Dcpufreq.c575 static struct cpufreq_governor *find_governor(const char *str_governor) in find_governor() argument
580 if (!strncasecmp(str_governor, t->name, CPUFREQ_NAME_LEN)) in find_governor()
589 static int cpufreq_parse_governor(char *str_governor, in cpufreq_parse_governor() argument
593 if (!strncasecmp(str_governor, "performance", CPUFREQ_NAME_LEN)) { in cpufreq_parse_governor()
598 if (!strncasecmp(str_governor, "powersave", CPUFREQ_NAME_LEN)) { in cpufreq_parse_governor()
607 t = find_governor(str_governor); in cpufreq_parse_governor()
613 ret = request_module("cpufreq_%s", str_governor); in cpufreq_parse_governor()
619 t = find_governor(str_governor); in cpufreq_parse_governor()
745 char str_governor[16]; in store_scaling_governor() local
750 ret = sscanf(buf, "%15s", str_governor); in store_scaling_governor()
[all …]