omap_prm_clear_mod_irqs(9)
π omap_prm_clear_mod_irqs(9) π
okay so bestie, welcome to the Kernel API Manual β yes it's giving very serious kernel energy but I promise this one is actually chill. This page is all about omap_prm_clear_mod_irqs and clearing wake-up events from the PRCM interrupt. Let's get into it π
β¨ SYNOPSIS β¨
int omap_prm_clear_mod_irqs (s16 module , u8 regs , u32 wkst_mask );
literal main character function signature, no cap π
πΈ ARGUMENTS πΈ
moduleβ the PRM module you want to clear wakeups from. yeah. that one.regsβ the register to clear. tell it which one, it's not a mind reader π«Άwkst_maskβ the wkst bits to clear. mask them out, queen π
π¦ DESCRIPTION π¦
So what does it actually do? It clears any wakeup events for the module and the register set you defined. Like, you point at the module, you point at the registers, and it handles the clearing for you. obsessed.
The way it works: it uses the SoC specific implementation to do the actual wakeup status clearing. so it's not doing the dirty work itself, it's delegating to whatever your specific SoC needs β very much "I know a guy" behavior and honestly? iconic πβ¨
π₯ SEE ALSO π₯
Kernel file ./arch/arm/mach-omap2/prm_common.c
omap_prcm_event_to_irq(9)omap_prcm_irq_cleanup(9)omap_prcm_register_chain_handler(9)prm_was_any_context_lost_old(9)prm_clear_context_loss_flags_old(9)omap_prm_assert_hardreset(9)omap_prm_deassert_hardreset(9)omap_prm_is_hardreset_asserted(9)omap_prm_reset_system(9)omap_prm_vp_check_txdone(9)omap_prm_vp_clear_txdone(9)prm_register(9)prm_unregister(9)omap2_prm_base_init(9)omap_prcm_init(9)
like a whole friend group of PRM functions, fr fr π
ngl there's no return-value section on this page, so don't come for me β everything above is everything the page says. periodt π
and that's the whole vibe check, bestie! this page lives in ./arch/arm/mach-omap2 and the version/date stamp on it is October 2026 β so yeah, she's dated, she's official, and she ate πβ π π§
π¦ 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