omap_prcm_event_to_irq(9)
π omap_prcm_event_to_irq(9) π
okay so welcome to the Kernel API Manual, bestie β yes, we're doing kernel docs with main character energy today β¨. This page is about omap_prcm_event_to_irq, and it's genuinely useful: you bring a PRCM event name, it gives you back the IRQ you should register your handler on. Slay. π
πΈ NAME πΈ
omap_prcm_event_to_irq β given a PRCM event name, returns the corresponding IRQ on which the handler should be registered π
β¨ SYNOPSIS β¨
int omap_prcm_event_to_irq (const char *name );
π«Ά ARGUMENTS π«Ά
nameβ the name of the PRCM interrupt bit we're looking up, bestie. For the full lore, go seestruct omap_prcm_irqπ
π DESCRIPTION π
bestie, here's the return vibe: on success, you get the Linux internal IRQ ID that corresponds to name β that's the one. On failure, you get -ENOENT. That's the success/failure split, periodt. β¨
π¦ SEE ALSO π¦
Kernel file: ./arch/arm/mach-omap2/prm_common.c β yes, that's the one this page points you at π«Ά
Also, the whole function friend group (iykyk):
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_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)
mwah π β source/version: ./arch/arm/mach-omap2; date: October 2026; page: omap_prcm_event_to_irq(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