omap44xx_prm_restore_irqen(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… omap44xx_prm_restore_irqen(9) πŸ’…

okay so bestie, this is a page straight out of the Kernel API Manual and honestly? it's a little baddie with one job and it does it. let's get into it 🫢


✨ NAME ✨

omap44xx_prm_restore_irqen β€” set the PRM_IRQENABLE_MPU* registers back from args, no cap πŸŽ€


✨ SYNOPSIS ✨

void omap44xx_prm_restore_irqen (u32 *saved_mask );

literally that's it. one function, one pointer, moving on πŸ’–


✨ ARGUMENTS ✨

  • saved_mask β€” a ptr to a u32 array of IRQENABLE bits that you saved previously. yeah, previously β€” like, before this. it's giving "you already did the saving part, queen" 🌸

✨ DESCRIPTION ✨

so what this icon does is restore the PRM_IRQENABLE_MPU and PRM_IRQENABLE_MPU_2 registers from saved_mask. both of them. the whole set. slay πŸ’…

it's intended to be used in the PRM interrupt handler resume callback, to restore the values that got saved by omap44xx_prm_save_and_clear_irqen. so like, save-and-clear girlies up top, restore girlies on the way back πŸ¦‹

no OCP barrier should be needed here β€” any pending PRM interrupts will fire once the writes reach the PRM. so don't go adding one, bestie, that's not the vibe 😭

and the biggest flex? no return value. it's void. it just does the thing and leaves πŸ”₯


✨ SEE ALSO ✨

the kernel file lives at ./arch/arm/mach-omap2/prm44xx.c if you wanna go read the source (you should, honestly, it's iconic) 🧚

and here's the whole friend group:


that's the whole page, bestie, you ate it up πŸ’œ

mwah πŸ’‹ β€” this one came from ./arch/arm/mach-omap2, dated October 2026, and the page itself is omap44xx_prm_restore_irqen(9). go forth and restore those registers πŸ‘‘

πŸ“¦ where this page comes from