Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/powercap/
Dintel_rapl_common.c147 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()
[all …]