POWER_LIMIT1
rapl_write_pl_data(rd, POWER_LIMIT1, PL_CLAMP, mode);
[POWER_LIMIT1] = "long_term",
if (pl < POWER_LIMIT1 || pl > POWER_LIMIT4)
if (pl == POWER_LIMIT1)
for (i = POWER_LIMIT1; i < NR_POWER_LIMITS; i++) {
case POWER_LIMIT1:
return POWER_LIMIT1;
for (i = POWER_LIMIT1; i < NR_POWER_LIMITS; i++) {
for (i = POWER_LIMIT1; i < NR_POWER_LIMITS; i++) {
for (i = POWER_LIMIT1; i < NR_POWER_LIMITS; i++)
ret = rapl_write_pl_data(rd, POWER_LIMIT1, PL_ENABLE, mode);
ret = rapl_read_pl_data(rd, POWER_LIMIT1, PL_ENABLE, false, &val);
if (rd->rpl[POWER_LIMIT1].locked) {
ret = rapl_read_pl_data(rd, POWER_LIMIT1, PL_ENABLE, true, &val);
for (i = POWER_LIMIT1, j = 0; i < NR_POWER_LIMITS; i++) {
rp->priv->limits[i] |= BIT(POWER_LIMIT1);
for (t = POWER_LIMIT1; t < NR_POWER_LIMITS; t++) {
[POWER_LIMIT1] = PRIMITIVE_INFO_INIT(POWER_LIMIT1, POWER_LIMIT1_MASK, 0,
[POWER_LIMIT1] = PRIMITIVE_INFO_INIT(POWER_LIMIT1, TPMI_POWER_LIMIT_MASK, 0,
case POWER_LIMIT1:
trp->priv.limits[domain_type] |= BIT(POWER_LIMIT1);