omap3xxx_prm_restore_irqen(9)
π 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 au32array ofIRQENABLEbits 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:
omap3xxx_prm_dpll3_reset(9)omap3xxx_prm_read_pending_irqs(9)omap3xxx_prm_ocp_barrier(9)omap3xxx_prm_save_and_clear_irqen(9)omap3xxx_prm_clear_mod_irqs(9)omap3_prm_reset_modem(9)omap3_prm_init_pm(9)omap3430_pre_es3_1_reconfigure_io_chain(9)omap3_prm_reconfigure_io_chain(9)omap3xxx_prm_enable_io_wakeup(9)omap3xxx_prm_read_reset_sources(9)omap3xxx_prm_iva_idle(9)omap3xxx_prm_clear_global_cold_reset(9)
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
- 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