Lines Matching refs:rpl
205 if (rd->rpl[i].name) in find_nr_power_limit()
302 if ((rd->rpl[i].name) && j++ == cid) { in contraint_to_pl()
337 switch (rd->rpl[id].prim_id) { in set_power_limit()
374 switch (rd->rpl[id].prim_id) { in get_current_power_limit()
414 switch (rd->rpl[id].prim_id) { in set_time_window()
446 switch (rd->rpl[id].prim_id) { in get_time_window()
482 return rd->rpl[id].name; in get_constraint_name()
496 switch (rd->rpl[id].prim_id) { in get_max_power()
516 if (rd->rpl[id].prim_id == PL4_ENABLE) in get_max_power()
556 rd->rpl[0].prim_id = PL1_ENABLE; in rapl_init_domains()
557 rd->rpl[0].name = pl1_name; in rapl_init_domains()
564 rd->rpl[1].prim_id = PL2_ENABLE; in rapl_init_domains()
565 rd->rpl[1].name = pl2_name; in rapl_init_domains()
570 rd->rpl[2].prim_id = PL4_ENABLE; in rapl_init_domains()
571 rd->rpl[2].name = pl4_name; in rapl_init_domains()
1212 int prim = rd->rpl[i].prim_id; in rapl_detect_powerlimit()
1215 rd->rpl[i].name = NULL; in rapl_detect_powerlimit()
1361 switch (rd->rpl[i].prim_id) { in power_limit_state_save()
1365 &rd->rpl[i].last_power_limit); in power_limit_state_save()
1367 rd->rpl[i].last_power_limit = 0; in power_limit_state_save()
1372 &rd->rpl[i].last_power_limit); in power_limit_state_save()
1374 rd->rpl[i].last_power_limit = 0; in power_limit_state_save()
1379 &rd->rpl[i].last_power_limit); in power_limit_state_save()
1381 rd->rpl[i].last_power_limit = 0; in power_limit_state_save()
1402 switch (rd->rpl[i].prim_id) { in power_limit_state_restore()
1404 if (rd->rpl[i].last_power_limit) in power_limit_state_restore()
1406 rd->rpl[i].last_power_limit); in power_limit_state_restore()
1409 if (rd->rpl[i].last_power_limit) in power_limit_state_restore()
1411 rd->rpl[i].last_power_limit); in power_limit_state_restore()
1414 if (rd->rpl[i].last_power_limit) in power_limit_state_restore()
1416 rd->rpl[i].last_power_limit); in power_limit_state_restore()