irq_find_mapping(9)
π 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 caphwirqβ 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 π«Ά
struct irq_fwspec(9)struct irq_fwspec_info(9)struct irq_domain_ops(9)struct irq_domain(9)struct irq_domain_info(9)irq_domain_create_linear(9)irq_create_mapping(9)irq_resolve_mapping(9)irq_domain_create_hierarchy(9)irq_domain_alloc_irqs(9)
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
- 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