pwrdm_read_logic_retst(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pwrdm_read_logic_retst(9) πŸ’–

okay so this is straight out of the Kernel API Manual, and it's giving β€œniche OMAP powerdomain lore” in the best way. bestie, we're reading a logic power state. let's get into it 🫢


✨ NAME ✨

pwrdm_read_logic_retst β€” get next powerdomain logic power state


🌸 SYNOPSIS 🌸

int pwrdm_read_logic_retst (struct powerdomain *pwrdm );

πŸŽ€ ARGUMENTS πŸŽ€

  • pwrdm β€” the struct powerdomain * you're using to get the next logic power state πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

bestie, this returns the logic power state of the powerdomain pwrdm. if the powerdomain pointer is null, it returns -EINVAL 😭. on success, it returns the next logic power state. that's the whole vibe, no cap ✨

lowkey important: -EINVAL is the null-pointer outcome, and success gives you the next logic power state. that's it πŸ’…

πŸ’œ SEE ALSO πŸ’œ

the kernel file ./arch/arm/mach-omap2/powerdomain.c has the receipts, and the whole squad is:


xoxo, bestie πŸ’– β€” source/version stamp: ./arch/arm/mach-omap2 Β· date: October 2026 πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from