pwrdm_has_hdwr_sar(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pwrdm_has_hdwr_sar(9) β€” a Kernel API Manual moment πŸ’–

okay bestie, welcome to the Kernel API Manual, where today's main character is a tiny little bool-returning function that just wants to tell you if your powerdomain is cool enough for hardware save-and-restore πŸ¦‹


✨ NAME ✨

pwrdm_has_hdwr_sar β€” the vibe check that tells you whether a powerdomain supports hardware SAR πŸ‘‘


🌸 SYNOPSIS 🌸

bool pwrdm_has_hdwr_sar (struct powerdomain *pwrdm );

like, that's it. that's the whole call. one pointer in, one bool out, no drama πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • pwrdm β€” a struct powerdomain *, aka the powerdomain you're asking about. literally just pass the pointer, she's not complicated 🫢

⭐ DESCRIPTION ⭐

okay so here's the whole tea β˜• this one returns 1 if the powerdomain pwrdm supports hardware save-and-restore for some devices, or 0 if it does not. that's the entire personality. no side quests, no hidden state, just a yes-or-no glow-up check ✨

ngl it's giving "small function, big responsibility" energy β€” but fr fr, it only reports what the powerdomain supports, nothing more πŸ’€

🌈 SEE ALSO 🌈

bestie the friend group is huge, buckle up 🧚


and that's the whole page, bestie πŸ“ she lives in ./arch/arm/mach-omap2, the docs are dated October 2026, and the manual is pwrdm_has_hdwr_sar(9) β€” slay, periodt, go read the rest of the powerdomain lore πŸ’œ

πŸ“¦ where this page comes from