Searched refs:energy_perf_strings (Results 1 – 3 of 3) sorted by relevance
/openbmc/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()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | amd-pstate.c | 96 static const char * const energy_perf_strings[] = { variable 1005 energy_perf_strings[EPP_INDEX_PERFORMANCE]); in show_energy_performance_available_preferences() 1007 while (energy_perf_strings[i] != NULL) in show_energy_performance_available_preferences() 1008 offset += sysfs_emit_at(buf, offset, "%s ", energy_perf_strings[i++]); in show_energy_performance_available_preferences() 1026 ret = match_string(energy_perf_strings, -1, str_preference); in store_energy_performance_preference() 1047 return sysfs_emit(buf, "%s\n", energy_perf_strings[preference]); in show_energy_performance_preference()
|
H A D | intel_pstate.c | 693 static const char * const energy_perf_strings[] = { variable 813 while (energy_perf_strings[i] != NULL) in show_energy_performance_available_preferences() 814 ret += sprintf(&buf[ret], "%s ", energy_perf_strings[i++]); in show_energy_performance_available_preferences() 838 ret = match_string(energy_perf_strings, -1, str_preference); in store_energy_performance_preference() 906 return sprintf(buf, "%s\n", energy_perf_strings[preference]); in show_energy_performance_preference()
|