irq_domain_create_hierarchy(9)
πΈ irq_domain_create_hierarchy (9) β Kernel API Manual πΈ
okay bestie, so this is a page from the Kernel API Manual, section 9, and it's literally all about adopting a brand-new irq domain into the family tree π§β¨
β¨ NAME β¨
irq_domain_create_hierarchy β add an irqdomain into the hierarchy π
(yes, that's the whole vibe: hierarchy enrollment, no cap)
π¦ SYNOPSIS π¦
struct irq_domain * irq_domain_create_hierarchy (struct irq_domain
*parent , unsigned int flags , unsigned int size , struct fwnode_handle
*fwnode , const struct irq_domain_ops *ops , void *host_data );
that's the whole function signature, character for character, don't come for me π«Ά
π ARGUMENTS π
parentβ the parent irq domain you're associating with the new domain. basically the new domain's chosen family πflagsβ the irq domain flags associated to the domain. little labels it wears π·οΈsizeβ size of the domain. see below, i promise i'm getting to it β¬οΈfwnodeβ optional fwnode of the interrupt controller. optional!! very chill of it πopsβ pointer to the interrupt domain callbacks. the domain's whole personality, lowkey π«host_dataβ controller private data pointer. its little secret stash π
π DESCRIPTION π
so here's the tea: if size is 0, a tree domain is created. otherwise β any other size β it's a linear domain. that's it, that's the branch β¨
and if it's successful, the parent gets associated to the new domain and the domain flags are set. slay, the whole family's official now π₯
β RETURN β
a pointer to the IRQ domain π«Ά β¦ or NULL on failure π (if you get NULL, bestie, it did not eat, check your args)
π SEE ALSO π
- Kernel file
./include/linux/irqdomain.h 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_find_mapping(9)irq_domain_alloc_irqs(9)
like, go read all of them, iykyk ππ
ok that's the page!! no cap, every flag and arg survived the glow-up π
and that's a wrap, bestie π this one lives in ./include/linux, dated October 2026, in the irq_domain_create_hierarchy(9) corner of the Kernel API Manual β mwah, go build something iconic π¦β¨
π¦ 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