omap44xx_prm_restore_irqen(9)
π 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 au32array ofIRQENABLEbits 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:
omap44xx_prm_read_pending_irqs(9)omap44xx_prm_ocp_barrier(9)omap44xx_prm_save_and_clear_irqen(9)omap44xx_prm_reconfigure_io_chain(9)omap44xx_prm_enable_io_wakeup(9)omap44xx_prm_read_reset_sources(9)omap44xx_prm_was_any_context_lost_old(9)omap44xx_prm_clear_context_loss_flags_old(9)omap4_pwrdm_read_prev_logic_pwrst(9)omap4_pwrdm_read_prev_mem_pwrst(9)omap4_pwrdm_save_context(9)omap4_pwrdm_restore_context(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms