Lines Matching defs:pwrst
414 * @pwrst: one of the PWRDM_POWER_* macros
416 * Set the powerdomain @pwrdm's next power state to @pwrst. The powerdomain
422 int pwrdm_set_next_pwrst(struct powerdomain *pwrdm, u8 pwrst)
427 if (!(pwrdm->pwrsts & (1 << pwrst)))
431 pwrdm->name, pwrst);
434 (pwrst << OMAP_POWERSTATE_SHIFT),
494 * @pwrst: one of the PWRDM_POWER_* macros
496 * Set the next power state @pwrst that the logic portion of the
502 int pwrdm_set_logic_retst(struct powerdomain *pwrdm, u8 pwrst)
509 if (!(pwrdm->pwrsts_logic_ret & (1 << pwrst)))
513 pwrdm->name, pwrst);
521 v = pwrst << __ffs(OMAP3430_LOGICL1CACHERETSTATE_MASK);
532 * @pwrst: one of the PWRDM_POWER_* macros
534 * Set the next power state @pwrst that memory bank @bank of the
543 int pwrdm_set_mem_onst(struct powerdomain *pwrdm, u8 bank, u8 pwrst)
553 if (!(pwrdm->pwrsts_mem_on[bank] & (1 << pwrst)))
557 "bank %0x while pwrdm-ON to %0x\n", pwrdm->name, bank, pwrst);
586 prm_rmw_mod_reg_bits(m, (pwrst << __ffs(m)),
596 * @pwrst: one of the PWRDM_POWER_* macros
598 * Set the next power state @pwrst that memory bank @bank of the
601 * different types of memory, depending on the powerdomain. @pwrst
608 int pwrdm_set_mem_retst(struct powerdomain *pwrdm, u8 bank, u8 pwrst)
618 if (!(pwrdm->pwrsts_mem_ret[bank] & (1 << pwrst)))
622 "bank %0x while pwrdm-RET to %0x\n", pwrdm->name, bank, pwrst);
651 prm_rmw_mod_reg_bits(m, (pwrst << __ffs(m)), pwrdm->prcm_offs,