Searched refs:energy_perf_strings (Results 1 – 3 of 3) sorted by relevance
/linux/arch/x86/kernel/cpu/ |
H A D | intel_epb.c | 122 static const char * const energy_perf_strings[] = { variable 153 ret = __sysfs_match_string(energy_perf_strings, in energy_perf_bias_store() 154 ARRAY_SIZE(energy_perf_strings), buf); in energy_perf_bias_store()
|
/linux/drivers/cpufreq/ |
H A D | amd-pstate.c | 115 static const char * const energy_perf_strings[] = { variable 1150 energy_perf_strings[EPP_INDEX_PERFORMANCE]); in show_energy_performance_available_preferences() 1152 while (energy_perf_strings[i] != NULL) in show_energy_performance_available_preferences() 1153 offset += sysfs_emit_at(buf, offset, "%s ", energy_perf_strings[i++]); in show_energy_performance_available_preferences() 1171 ret = match_string(energy_perf_strings, -1, str_preference); in store_energy_performance_preference() 1192 return sysfs_emit(buf, "%s\n", energy_perf_strings[preference]); in show_energy_performance_preference()
|
H A D | intel_pstate.c | 694 static const char * const energy_perf_strings[] = { variable 814 while (energy_perf_strings[i] != NULL) in show_energy_performance_available_preferences() 815 ret += sprintf(&buf[ret], "%s ", energy_perf_strings[i++]); in show_energy_performance_available_preferences() 839 ret = match_string(energy_perf_strings, -1, str_preference); in store_energy_performance_preference() 907 return sprintf(buf, "%s\n", energy_perf_strings[preference]); in show_energy_performance_preference()
|