Searched refs:str_governor (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | cpufreq.c | 620 static struct cpufreq_governor *find_governor(const char *str_governor) in find_governor() argument 625 if (!strncasecmp(str_governor, t->name, CPUFREQ_NAME_LEN)) in find_governor() 631 static struct cpufreq_governor *get_governor(const char *str_governor) in get_governor() argument 636 t = find_governor(str_governor); in get_governor() 649 static unsigned int cpufreq_parse_policy(char *str_governor) in cpufreq_parse_policy() argument 651 if (!strncasecmp(str_governor, "performance", CPUFREQ_NAME_LEN)) in cpufreq_parse_policy() 654 if (!strncasecmp(str_governor, "powersave", CPUFREQ_NAME_LEN)) in cpufreq_parse_policy() 662 * @str_governor: Governor name. 664 static struct cpufreq_governor *cpufreq_parse_governor(char *str_governor) in cpufreq_parse_governor() argument 668 t = get_governor(str_governor); in cpufreq_parse_governor() 775 char str_governor[16]; store_scaling_governor() local [all...] |
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | cpufreq.c | 663 static struct cpufreq_governor *find_governor(const char *str_governor) in find_governor() argument 668 if (!strncasecmp(str_governor, t->name, CPUFREQ_NAME_LEN)) in find_governor() 674 static struct cpufreq_governor *get_governor(const char *str_governor) in get_governor() argument 679 t = find_governor(str_governor); in get_governor() 692 static unsigned int cpufreq_parse_policy(char *str_governor) in cpufreq_parse_policy() argument 694 if (!strncasecmp(str_governor, "performance", CPUFREQ_NAME_LEN)) in cpufreq_parse_policy() 697 if (!strncasecmp(str_governor, "powersave", CPUFREQ_NAME_LEN)) in cpufreq_parse_policy() 705 * @str_governor: Governor name. 707 static struct cpufreq_governor *cpufreq_parse_governor(char *str_governor) in cpufreq_parse_governor() argument 711 t = get_governor(str_governor); in cpufreq_parse_governor() 818 char str_governor[16]; store_scaling_governor() local [all...] |
/kernel/linux/linux-5.10/drivers/devfreq/ |
H A D | devfreq.c | 1352 char str_governor[DEVFREQ_NAME_LEN + 1]; in governor_store() local 1358 ret = sscanf(buf, "%" __stringify(DEVFREQ_NAME_LEN) "s", str_governor); in governor_store() 1363 governor = try_then_request_governor(str_governor); in governor_store()
|
/kernel/linux/linux-6.6/drivers/devfreq/ |
H A D | devfreq.c | 1437 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()
|
Completed in 9 milliseconds