Lines Matching refs:rapl_read_data_raw
147 static int rapl_read_data_raw(struct rapl_domain *rd,
179 if (!rapl_read_data_raw(rd, ENERGY_COUNTER, true, &energy_now)) { in get_energy_counter()
253 if (rapl_read_data_raw(rd, PL1_ENABLE, true, &val)) { in get_domain_enable()
403 if (rapl_read_data_raw(rd, prim, true, &val)) in get_current_power_limit()
463 ret = rapl_read_data_raw(rd, TIME_WINDOW1, true, &val); in get_time_window()
466 ret = rapl_read_data_raw(rd, TIME_WINDOW2, true, &val); in get_time_window()
525 if (rapl_read_data_raw(rd, prim, true, &val)) in get_max_power()
745 static int rapl_read_data_raw(struct rapl_domain *rd, in rapl_read_data_raw() function
1147 if (!rapl_read_data_raw(&rp->domains[dmn], prim, in rapl_update_domain_data()
1269 if (!rapl_read_data_raw(rd, FW_LOCK, false, &val64)) { in rapl_detect_powerlimit()
1280 if (rapl_read_data_raw(rd, prim, false, &val64)) in rapl_detect_powerlimit()
1429 ret = rapl_read_data_raw(rd, in power_limit_state_save()
1436 ret = rapl_read_data_raw(rd, in power_limit_state_save()
1443 ret = rapl_read_data_raw(rd, in power_limit_state_save()