Home
last modified time | relevance | path

Searched refs:NR_POWER_LIMITS (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Dintel_rapl.h89 #define NR_POWER_LIMITS (POWER_LIMIT4 + 1) macro
115 struct rapl_power_limit rpl[NR_POWER_LIMITS];
/openbmc/linux/drivers/powercap/
H A Dintel_rapl_common.c108 static const char *pl_names[NR_POWER_LIMITS] = {
329 for (i = 0; i < NR_POWER_LIMITS; i++) { in find_nr_power_limit()
424 for (i = POWER_LIMIT1, j = 0; i < NR_POWER_LIMITS; i++) { in contraint_to_pl()
597 for (t = POWER_LIMIT1; t < NR_POWER_LIMITS; t++) { in rapl_init_domains()
1047 for (i = POWER_LIMIT2; i < NR_POWER_LIMITS; i++) { in set_floor_freq_default()
1456 for (i = POWER_LIMIT1; i < NR_POWER_LIMITS; i++) { in rapl_detect_powerlimit()
1517 for (i = POWER_LIMIT1; i < NR_POWER_LIMITS; i++) { in rapl_remove_package_cpuslocked()
1642 for (i = POWER_LIMIT1; i < NR_POWER_LIMITS; i++) { in power_limit_state_save()
1663 for (i = POWER_LIMIT1; i < NR_POWER_LIMITS; i++) in power_limit_state_restore()