pwrdm_set_logic_retst(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pwrdm_set_logic_retst(9) πŸ’–

Okay so this is the Kernel API Manual page for pwrdm_set_logic_retst(9), and we’re gonna get you fluent in it, bestie. No cap. 🫢

🌸 NAME 🌸

pwrdm_set_logic_retst β€” set powerdomain logic power state upon retention. That’s the whole vibe: logic power state, retention, done. Periodt. ✨

✨ SYNOPSIS ✨

int pwrdm_set_logic_retst (struct powerdomain *pwrdm , u8 pwrst );

πŸŽ€ ARGUMENTS πŸŽ€

  • pwrdm β€” a struct powerdomain * to set. This is the powerdomain you’re working with, bestie.
  • pwrst β€” one of the PWRDM_POWER_* macros. Pick your power-state moment πŸ’….

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay here’s the actual tea: this sets the next power state pwrst that the logic portion of the powerdomain pwrdm will enter when the powerdomain enters retention. So yes, it’s setting up the logic-side retention state, literally.

That next state will be either RETENTION or OFF, if supported. That’s the menu, no cap.

Return-wise, it’s giving -EINVAL if the powerdomain pointer is null or if the target power state is not supported. Otherwise it returns 0 upon success. Slay. βœ…

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./arch/arm/mach-omap2/powerdomain.c

And here’s the whole related-page squad β€” every single one, because we do not skip the β€œboring” parts in this group chat:


Source/version + date sign-off: this page is from ./arch/arm/mach-omap2, dated October 2026. Bye bestie β€” go make retention iconic πŸ’–

πŸ“¦ where this page comes from