Lines Matching refs:rapl_read_data_raw
242 static int rapl_read_data_raw(struct rapl_domain *rd,
290 if (!rapl_read_data_raw(rd, ENERGY_COUNTER, true, &energy_now)) { in get_energy_counter()
364 if (rapl_read_data_raw(rd, PL1_ENABLE, true, &val)) { in get_domain_enable()
509 if (rapl_read_data_raw(rd, prim, true, &val)) in get_current_power_limit()
568 ret = rapl_read_data_raw(rd, TIME_WINDOW1, true, &val); in get_time_window()
571 ret = rapl_read_data_raw(rd, TIME_WINDOW2, true, &val); in get_time_window()
621 if (rapl_read_data_raw(rd, prim, true, &val)) in get_max_power()
796 static int rapl_read_data_raw(struct rapl_domain *rd, in rapl_read_data_raw() function
1192 if (!rapl_read_data_raw(&rp->domains[dmn], prim, in rapl_update_domain_data()
1385 if (!rapl_read_data_raw(rd, FW_LOCK, false, &val64)) { in rapl_detect_powerlimit()
1395 if (rapl_read_data_raw(rd, prim, false, &val64)) in rapl_detect_powerlimit()
1554 ret = rapl_read_data_raw(rd, in power_limit_state_save()
1562 ret = rapl_read_data_raw(rd, in power_limit_state_save()