irq_find_mapping(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… irq_find_mapping

okay bestie, welcome to the Kernel API Manual entry for irq_find_mapping β€” literally the "where's my linux irq" of the irq subsystem πŸŽ€


🌸 NAME

irq_find_mapping β€” find a linux irq from a hw irq number πŸ’–


✨ SYNOPSIS

unsigned int irq_find_mapping (struct irq_domain *domain ,
irq_hw_number_t hwirq );

πŸ¦‹ ARGUMENTS

  • domain β€” the domain that owns this hardware interrupt πŸ‘‘ like, this is its turf, no cap
  • hwirq β€” the hardware irq number inside that domain's space πŸ”’

⭐ RETURN

gives you back the linux irq number, or 0 if it wasn't found 😭 that's the whole vibe check, fr fr


🌈 SEE ALSO

peep the kernel file ./include/linux/irqdomain.h and all these iconic friends 🫢


lowkey a mood that 0 means "not found" β€” don't forget it, bestie πŸ’€

mwah πŸ’‹ this page came from ./include/linux, version vibes of October 2026, and it's literally irq_find_mapping(9) β€” slay, go map some interrupts πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from