omap_prm_clear_mod_irqs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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

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