Searched refs:rapl_read_pl_data (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/powercap/ |
| H A D | intel_rapl_common.c | 168 static int rapl_read_pl_data(struct rapl_domain *rd, int pl, 260 ret = rapl_read_pl_data(rd, POWER_LIMIT1, PL_ENABLE, false, &val); in set_domain_enable() 290 ret = rapl_read_pl_data(rd, POWER_LIMIT1, PL_ENABLE, true, &val); in get_domain_enable() 394 ret = rapl_read_pl_data(rd, id, PL_LIMIT, true, &val); in get_current_power_limit() 432 ret = rapl_read_pl_data(rd, id, PL_TIME_WINDOW, true, &val); in get_time_window() 466 ret = rapl_read_pl_data(rd, id, PL_MAX_POWER, true, &val); in get_max_power() 689 static int rapl_read_pl_data(struct rapl_domain *rd, int pl, in rapl_read_pl_data() function 1038 if (!rapl_read_pl_data(rd, i, PL_LOCK, false, &val64)) { in rapl_detect_powerlimit() 1046 if (rapl_read_pl_data(rd, i, PL_LIMIT, false, &val64)) in rapl_detect_powerlimit() 1843 ret = rapl_read_pl_data(rd, i, PL_LIMIT, true, in power_limit_state_save()
|