omap_prcm_re...hain_handler(9)
π omap_prcm_register_chain_handler(9) π
okay bestie, welcome to the Kernel API Manual β this is the page for omap_prcm_register_chain_handler, and yes the title got truncated with ... in the header, that's just how it is, we don't make the rules β¨
πΈ NAME πΈ
omap_prcm_register_chain_handler β sets up the PRCM chained interrupt handler using the parameters you hand it π
π¦ SYNOPSIS π¦
int omap_prcm_register_chain_handler (struct omap_prcm_irq_setup
*irq_setup );
like, that's the whole call. one struct pointer, one int coming back at you. iconic π
β¨ ARGUMENTS β¨
irq_setupβ the hardware data describing the underlying PRM/PRCM. that's it, that's the vibe check. it's the hardware gossip the function needs π«Ά
π DESCRIPTION π
okay so here's the tea: this function sets up the PRCM chained interrupt handler on the PRCM IRQ π₯
it also sets up one generic IRQ chip per PRM interrupt status/enable register pair β like, one chip per pair, no cap, that's just how it goes π
and it returns stuff:
0when everything slays (success π)-EINVALif you call it twice, or if you pass invalid arguments β so don't do that π-ENOMEMon any other error π
lowkey important: calling it twice is a -EINVAL situation, so pls don't double-call. the kernel will not be amused π
π SEE ALSO π
- Kernel file
./arch/arm/mach-omap2/prm_common.c omap_prcm_event_to_irq(9)omap_prcm_irq_cleanup(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_clear_mod_irqs(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 related manpages, tbh β go read them, iykyk π
and that's the page bestie!! π
β¨ source/version vibes live at ./arch/arm/mach-omap2, dated October 2026, and the page itself goes by omap_prcm_re...hain_handler(9) β yes, still truncated, we stan a mysterious queen π§ββοΈπ mwah, bye!! π
π¦ 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