Searched refs:rapl_read_data_raw (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/powercap/ |
D | intel_rapl.c | 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() [all …]
|