Searched refs:rapl_read_pl_data (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/powercap/ |
D | intel_rapl_common.c | 256 static int rapl_read_pl_data(struct rapl_domain *rd, int pl, 362 ret = rapl_read_pl_data(rd, POWER_LIMIT1, PL_ENABLE, true, &val); in get_domain_enable() 466 ret = rapl_read_pl_data(rd, id, PL_LIMIT, true, &val); in get_current_power_limit() 504 ret = rapl_read_pl_data(rd, id, PL_TIME_WINDOW, true, &val); in get_time_window() 538 ret = rapl_read_pl_data(rd, id, PL_MAX_POWER, true, &val); in get_max_power() 874 static int rapl_read_pl_data(struct rapl_domain *rd, int pl, in rapl_read_pl_data() function 1451 if (!rapl_read_pl_data(rd, i, PL_LOCK, false, &val64)) { in rapl_detect_powerlimit() 1459 if (rapl_read_pl_data(rd, i, PL_LIMIT, false, &val64)) in rapl_detect_powerlimit() 1615 ret = rapl_read_pl_data(rd, i, PL_LIMIT, true, in power_limit_state_save()
|