irq_domain_create_linear(9)
πΈ irq_domain_create_linear(9) πΈ
okay so bestie, welcome to the Kernel API Manual page for irq_domain_create_linear(9). This is the one where we allocate and register a linear revmap irq_domain, and honestly? iconic. π
β¨ NAME β¨
irq_domain_create_linear β allocate and register a linear revmap irq_domain. no cap, that's the whole vibe. π¦
π SYNOPSIS π
Here's the exact signature, bestie β don't let the line wraps scare you:
struct irq_domain * irq_domain_create_linear (struct fwnode_handle
*fwnode , unsigned int size , const struct irq_domain_ops *ops , void
*host_data );
π ARGUMENTS π
fwnodeβ pointer to the interrupt controller's FW node. yes, firmware node energy. β¨sizeβ number of interrupts in the domain. that's the count, periodt. π’opsβ map/unmap domain callbacks. the little handlers that do the mapping/unmapping thing. π«Άhost_dataβ controller private data pointer. private data stays private, iykyk. π
π RETURN π
Newly created irq_domain. that's it β fresh domain, newly created, slay. π
π¦ SEE ALSO π¦
Kernel file ./include/linux/irqdomain.h is the main character here, and these cross-refs are all invited to the group chat:
struct irq_fwspec(9)struct irq_fwspec_info(9)struct irq_domain_ops(9)struct irq_domain(9)struct irq_domain_info(9)irq_create_mapping(9)irq_resolve_mapping(9)irq_find_mapping(9)irq_domain_create_hierarchy(9)irq_domain_alloc_irqs(9)
okay bye bestie π«Ά β source/version: ./include/linux; date: October 2026; page: irq_domain_create_linear(9). mwah π
π¦ 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