Searched refs:rapl_read_data_raw (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/powercap/
H A Dintel_rapl.c228 static int rapl_read_data_raw(struct rapl_domain *rd,
300 if (!rapl_read_data_raw(rd, ENERGY_COUNTER, true, &energy_now)) { get_energy_counter()
380 if (rapl_read_data_raw(rd, PL1_ENABLE, true, &val)) { get_domain_enable()
486 if (rapl_read_data_raw(rd, prim, true, &val)) get_current_power_limit()
528 ret = rapl_read_data_raw(rd, TIME_WINDOW1, true, &val); get_time_window()
531 ret = rapl_read_data_raw(rd, TIME_WINDOW2, true, &val); get_time_window()
577 if (rapl_read_data_raw(rd, prim, true, &val)) get_max_power()
757 static int rapl_read_data_raw(struct rapl_domain *rd, rapl_read_data_raw() function
1125 if (!rapl_read_data_raw(&rp->domains[dmn], prim, rapl_update_domain_data()
1344 ret = rapl_read_data_raw(rd, FW_LOCK, false, &locked); rapl_detect_domains()

Completed in 41 milliseconds