Searched refs:str_governor (Results 1 – 1 of 1) sorted by relevance
/drivers/cpufreq/ |
D | cpufreq.c | 369 static struct cpufreq_governor *__find_governor(const char *str_governor) in __find_governor() argument 374 if (!strnicmp(str_governor,t->name,CPUFREQ_NAME_LEN)) in __find_governor() 383 static int cpufreq_parse_governor(char *str_governor, unsigned int *policy, in cpufreq_parse_governor() argument 392 if (!strnicmp(str_governor, "performance", CPUFREQ_NAME_LEN)) { in cpufreq_parse_governor() 395 } else if (!strnicmp(str_governor, "powersave", in cpufreq_parse_governor() 405 t = __find_governor(str_governor); in cpufreq_parse_governor() 409 str_governor); in cpufreq_parse_governor() 419 t = __find_governor(str_governor); in cpufreq_parse_governor() 527 char str_governor[16]; in store_scaling_governor() local 534 ret = sscanf (buf, "%15s", str_governor); in store_scaling_governor() [all …]
|