irq_domain_instantiate(9)
π irq_domain_instantiate(9) π
okay bestie, so this is a page from the Kernel API Manual β irq_domain_instantiate(9) β and honestly? it's short, it's sweet, and it's about to make a whole new irq domain data structure exist in the world. main character behavior fr fr π
β¨ NAME β¨
irq_domain_instantiate β instantiate a new irq domain data structure. that's it, that's the job. she creates, she instantiates, she slays π
πΈ SYNOPSIS πΈ
struct irq_domain * irq_domain_instantiate (const struct irq_domain_info
*info );
like literally one function, one pointer in, one pointer out. minimalism is the vibe ngl β¨
π¦ ARGUMENTS π¦
infoβ a Domain information pointer that points at the information for this domain. yep, that's the whole description β she points at the info, the info is for this domain, we move π«Ά
π RETURN π
you get back either:
- a pointer to the instantiated irq domain</>, or
- an
ERR_PTRvalue π
so bestie, please check withIS_ERR()before you go dereferencing anything, okay? no cap, anERR_PTRis not a real domain, it's a little encoded error being sneaky ππ
π SEE ALSO π
this section is long and she ate, so buckle up β everything lives in the kernel file ./kernel/irq/irqdomain.c π:
__irq_domain_alloc_fwnode(9)irq_domain_free_fwnode(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_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)
like, go read them, they're all right there and they're all iconic πβ¨
and that's the whole page bestie!! π§ββοΈ this one came straight out of ./kernel/irq and the version/date on the tin is October 2026 β so mark your calendar, screenshot it, send it to the group chat, the whole thing πππ
π¦ 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