irq_domain_set_info(9)
π irq_domain_set_info(9) π
Okay bestie, welcome to the Kernel API Manual β yes, the manual name is literally Kernel API Manual, we're in the kernel club now π. This page is about one very specific little function that sets up all the interrupt info for a virtual IRQ, and honestly? It's giving βone stop shopβ energy β¨.
π NAME π
irq_domain_set_info β literally sets the complete data for a @virq in @domain π
. That's the whole vibe. No cap.
β¨ SYNOPSIS β¨
void irq_domain_set_info (struct irq_domain *domain , unsigned int virq
, irq_hw_number_t hwirq , const struct irq_chip *chip , void *chip_data
, irq_flow_handler_t handler , void *handler_data , const char
*handler_name );
Like, yes, it's a long signature β but she's iconic for it π.
π ARGUMENTS π
domainβ the interrupt domain to match. Think of it as the group chat this IRQ belongs to π«Ά.virqβ the IRQ number. The virtual one, bestie π«.hwirqβ the hardware interrupt number. The original, the real one, the main character π₯.chipβ the associated interrupt chip. The hardware bestie that handles the actual work π .chip_dataβ the associated interrupt chip data. Extra lilβ context for the chip π.handlerβ the interrupt flow handler. The one who knows the flow, fr fr π.handler_dataβ the interrupt flow handler data. More context for the handler, because she needs her details too π§.handler_nameβ the interrupt handler name. Name her, don't leave her unnamed π.
π¦ SEE ALSO π¦
Kernel file: ./kernel/irq/irqdomain.c β that's the home base for all this IRQ domain lore, iykyk π‘.
__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_hwirq_and_chip(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)
That's the whole friend group right there π. Go read them, bestie β they all ate π.
So yeah, that's the page π«Ά. It came from the source/version thingy ./kernel/irq, dated October 2026, and it's filed under irq_domain_set_info(9) β 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