Searched refs:CPUFREQ_NAME_LEN (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.10/include/linux/ |
| D | cpufreq.h | 31 #define CPUFREQ_NAME_LEN 16 macro 33 #define CPUFREQ_NAME_PLEN (CPUFREQ_NAME_LEN + 1) 75 char last_governor[CPUFREQ_NAME_LEN]; /* last governor used */ 306 char name[CPUFREQ_NAME_LEN]; 569 char name[CPUFREQ_NAME_LEN];
|
| /Linux-v5.10/drivers/cpufreq/ |
| D | cpufreq.c | 53 static char default_governor[CPUFREQ_NAME_LEN]; 623 if (!strncasecmp(str_governor, t->name, CPUFREQ_NAME_LEN)) in find_governor() 649 if (!strncasecmp(str_governor, "performance", CPUFREQ_NAME_LEN)) in cpufreq_parse_policy() 652 if (!strncasecmp(str_governor, "powersave", CPUFREQ_NAME_LEN)) in cpufreq_parse_policy() 829 - (CPUFREQ_NAME_LEN + 2))) in show_scaling_available_governors() 1574 CPUFREQ_NAME_LEN); in cpufreq_offline() 2851 strncpy(default_governor, gov->name, CPUFREQ_NAME_LEN); in cpufreq_core_init() 2856 module_param_string(default_governor, default_governor, CPUFREQ_NAME_LEN, 0444);
|