omap3xxx_prm_clear_mod_irqs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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, 1 or 3 ⭐
  • 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 πŸ‘‘


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