irq_domain_...irq_and_chip(9)
π
irq_domain_...irq_and_chip(9) β Kernel API Manual π
okay so bestie, welcome to the kernel API manual, specifically the page for irq_domain_set_hwirq_and_chip. yes the title got truncated to irq_domain_...irq_and_chip(9) β that's just the man page being dramatic about long function names, no cap. sit down, hydrate, let's get into it π«Ά
β¨ NAME β¨
irq_domain_set_hwirq_and_chip β sets the hwirq and irqchip of @virq over at @domain. literally what it says on the tin, she's an icon, she's straightforward π
πΈ SYNOPSIS πΈ
int irq_domain_set_hwirq_and_chip (struct irq_domain *domain , unsigned
int virq , irq_hw_number_t hwirq , const struct irq_chip *chip , void
*chip_data );
five args, one int back. she ate and left no crumbs π₯
π ARGUMENTS π
domainβ the interrupt domain we're matching up. the venue for this whole situation πvirqβ the IRQ number. the virtual one, the vibe, the main character πhwirqβ the hwirq number. the hardware-side bestie, the real one behind the scenes π§chipβ the associated interrupt chip. theconst struct irq_chip *, iconic, untouchable, don't @ her πchip_dataβ the associated chip data. avoid *, so she contains multitudes, truly mysterious energy π¦
π SEE ALSO π
bestie the kernel file is ./kernel/irq/irqdomain.c and there is a whole friend group of related functions. iykyk, go read them all, i'm not gatekeeping:
__irq_domain_alloc_fwnode(9),irq_domain_free_fwnode(9),irq_domain_instantiate(9),irq_domain_remove(9)irq_domain_create_simple(9),irq_find_matching_fwspec(9),irq_set_default_domain(9),irq_get_default_domain(9)irq_create_direct_mapping(9),irq_create_mapping_affinity(9),irq_dispose_mapping(9),__irq_resolve_mapping(9)irq_domain_xlate_onecell(9),irq_domain_xlate_twocell(9),irq_domain_xlate_twothreecell(9),irq_domain_xlate_onetwocell(9)irq_domain_translate_onecell(9),irq_domain_translate_twocell(9),irq_domain_translate_twothreecell(9),irq_domain_reset_irq_data(9)irq_domain_disconnect_hierarchy(9),irq_domain_get_irq_data(9),irq_domain_set_info(9),irq_domain_free_irqs_common(9)irq_domain_free_irqs_top(9),__irq_domain_alloc_irqs(9),irq_domain_push_irq(9),irq_domain_pop_irq(9)irq_domain_free_irqs(9),irq_domain_alloc_irqs_parent(9),irq_domain_free_irqs_parent(9),irq_domain_activate_irq(9),irq_domain_deactivate_irq(9)
ngl that's the entire page. no hidden lore, no sketchy caveats, just five arguments and a whole lot of friends in SEE ALSO. slay π
and that's a wrap bestie!! this page lives in ./kernel/irq, it's from the Kernel API Manual, dated October 2026 β so like, future-coded of her honestly πβ go forth and map those interrupts, periodt π§ββοΈπ
π¦ 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