Searched refs:rapl_read_pl_data (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/powercap/ |
H A D | intel_rapl_common.c | 257 static int rapl_read_pl_data(struct rapl_domain *rd, int pl, 363 ret = rapl_read_pl_data(rd, POWER_LIMIT1, PL_ENABLE, true, &val); in get_domain_enable() 467 ret = rapl_read_pl_data(rd, id, PL_LIMIT, true, &val); in get_current_power_limit() 505 ret = rapl_read_pl_data(rd, id, PL_TIME_WINDOW, true, &val); in get_time_window() 539 ret = rapl_read_pl_data(rd, id, PL_MAX_POWER, true, &val); in get_max_power() 880 static int rapl_read_pl_data(struct rapl_domain *rd, int pl, in rapl_read_pl_data() function 1458 if (!rapl_read_pl_data(rd, i, PL_LOCK, false, &val64)) { in rapl_detect_powerlimit() 1466 if (rapl_read_pl_data(rd, i, PL_LIMIT, false, &val64)) in rapl_detect_powerlimit() 1644 ret = rapl_read_pl_data(rd, i, PL_LIMIT, true, in power_limit_state_save()
|