omap3xxx_prm_restore_irqen(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… omap3xxx_prm_restore_irqen(9)

okay so this is a page from the Kernel API Manual, and bestie, it's literally about putting your interrupt-enable register back the way you found it. no cap. πŸŽ€


✨ NAME ✨

omap3xxx_prm_restore_irqen β€” set the PRM_IRQENABLE_MPU register from args 🫢


🌸 SYNOPSIS 🌸

void omap3xxx_prm_restore_irqen (u32 *saved_mask );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • saved_mask β€” ptr to a u32 array of IRQENABLE bits saved previously. like, you already stashed these bits somewhere earlier, and this is you handing the pointer over πŸ’œ

πŸ”₯ DESCRIPTION πŸ”₯

So the whole vibe here is: restore the PRM_IRQENABLE_MPU register from saved_mask. that's it, that's the job. πŸ’…

It's intended to be used in the PRM interrupt handler resume callback β€” the one that brings back the values that omap3xxx_prm_save_and_clear_irqen saved earlier. so it's giving "you cleared them, now put them back" energy. ✨

No OCP barrier should be needed here β€” like, none. any pending PRM interrupts will fire once the writes reach the PRM. that's the whole reason the barrier isn't invited to the party πŸ™ˆ

And there's no return value. void. nothing. don't @ me, there's just nothing to return 😭


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./arch/arm/mach-omap2/prm3xxx.c, plus the whole friend group of siblings:


okay that's the whole page, you ate that πŸ’– this one's living in ./arch/arm/mach-omap2 and it's dated October 2026 β€” so like, future vibes but make it kernel. slay, go restore those irqenable bits bestie 🌈⭐

πŸ“¦ where this page comes from