pwrdm_read_prev_pwrst(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

pwrdm_read_prev_pwrst β€” get previous powerdomain power state, bestie ✨

okay so this is one of those Kernel API Manual pages, and the whole vibe is: ask a powerdomain what its previous power state was. iconic little lookup behavior, no cap πŸ‘‘


🌸 SYNOPSIS 🌸

int pwrdm_read_prev_pwrst (struct powerdomain *pwrdm );

πŸŽ€ ARGUMENTS πŸŽ€

  • pwrdm β€” a struct powerdomain *, and this is the one we’re asking for its previous power state 🫢

✨ DESCRIPTION ✨

So basically, this returns the powerdomain pwrdm’s previous power state. That’s the main character move πŸ’…

If the powerdomain pointer is null, it returns -EINVAL. On success, it returns the previous power state. periodt πŸ’–


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./arch/arm/mach-omap2/powerdomain.c, plus the whole friend group of related functions:


and that’s the whole page, bestie πŸ¦‹πŸ’– this cutie came from ./arch/arm/mach-omap2, dated October 2026, and it’s literally the manual page for pwrdm_read_prev_pwrst(9) β€” slay βœ¨πŸŽ€

πŸ“¦ where this page comes from