omap3xxx_prm_clear_mod_irqs(9)
okay so bestie, welcome to the Kernel API Manual entry for omap3xxx_prm_clear_mod_irqs(9) β this one is all about clearing wake-up events from the PRCM interrupt, and it's lowkey kinda iconic πβ¨
β¨ NAME β¨
omap3xxx_prm_clear_mod_irqs β clear wake-up events from PRCM interrupt π
πΈ SYNOPSIS πΈ
int omap3xxx_prm_clear_mod_irqs (s16 module , u8 regs , u32 wkst_mask );
π ARGUMENTS π
moduleβ the PRM module to clear wakeups from π«Άregsβ register set to clear,1or3βwkst_maskβ wkst bits to clear π₯
π¦ DESCRIPTION π¦
The whole point of this function is to clear any wake-up events latched in the PRCM PM_WKST_x registers. It is possible that a wake-up event may occur whilst attempting to clear a PM_WKST_x register β and that can set another bit in this register, which is giving βnot me thinking I'm done but actually there's one more thingβ energy π
A while loop is used to ensure that any peripheral wake-up events occurring while attempting to clear the PM_WKST_x are detected and cleared. no cap, it stays on it until the vibes are actually clear π§π
π₯ SEE ALSO π₯
Kernel file: ./arch/arm/mach-omap2/prm3xxx.c π
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_restore_irqen(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)
xoxo, your Kernel API Manual bestie π β this one's sourced from ./arch/arm/mach-omap2, dated October 2026, and filed under omap3xxx_prm_clear_mod_irqs(9) π«Άπ
π¦ 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