pwrdm_disable_hdwr_sar(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pwrdm_disable_hdwr_sar(9) πŸ’…

okay bestie, welcome to the Kernel API Manual glow-up for pwrdm_disable_hdwr_sar(9). this is the page where we turn off automatic hardware SAR for a powerdomain, and yes we’re keeping every detail because facts are the main character too ✨


🌸 NAME 🌸

pwrdm_disable_hdwr_sar β€” disable automatic hardware SAR for a pwrdm πŸ’…

✨ SYNOPSIS ✨

int pwrdm_disable_hdwr_sar (struct powerdomain *pwrdm );

πŸŽ€ ARGUMENTS πŸŽ€

  • pwrdm β€” a struct powerdomain *. that’s the powerdomain bestie we’re talking about 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this one disables automatic context save-and-restore upon power state change for some devices in the powerdomain pwrdm. literally only some devices, though.

⚠️ warning, bestie: this only affects a subset of devices in a powerdomain. check the TRM closely β€” no cap, don’t skip that part. πŸ‘€

Return vibes: it returns -EINVAL if the powerdomain pointer is null, or if the powerdomain does not support automatic save-and-restore. on success it returns 0. periodt. πŸ’–

🌈 SEE ALSO 🌈

Kernel file ./arch/arm/mach-omap2/powerdomain.c and the whole friend group:


and that’s the whole page, bestie! brought to you by the ./arch/arm/mach-omap2 source vibe and dated October 2026 β€” mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from