irq_domain_xlate_twocell(9)
πΈ NAME πΈ
okay bestie, say hi to irq_domain_xlate_twocell(9) β sheβs from the Kernel API Manual, and she is literally the Generic xlate for direct two cell bindings β¨. This is the function handling that two-cell device tree interrupt translation, and she keeps it direct, no cap π
.
β¨ SYNOPSIS β¨
int irq_domain_xlate_twocell (struct irq_domain *d , struct device_node
*ctrlr , const u32 *intspec , unsigned int intsize , irq_hw_number_t
*out_hwirq , unsigned int *out_type );
π ARGUMENTS π
These are the besties she takes, and every single one matters π«Ά:
dβ the interrupt domain involved in the translation. main character domain energy fr fr πctrlrβ the device tree node for the device whose interrupt is translated.intspecβ the interrupt specifier data from the device tree.intsizeβ the number of entries inintspec.out_hwirqβ pointer to storage for the hardware interrupt number.out_typeβ pointer to storage for the interrupt type.
π¦ DESCRIPTION π¦
This is the Device Tree IRQ specifier translation function, and she works with two cell bindings where the cell values map directly to the hwirq number and linux irq flags. The way thatβs so direct? Obsessed, honestly π. No detours, no extra drama β the values map straight through, periodt.
π SEE ALSO π
Kernel file ./kernel/irq/irqdomain.c is where she lives, and hereβs the whole linked-up squad β every single one, no skips, bestie π:
__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_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)
irq_domain_xlate_twocell(9) is serving from ./kernel/irq, dated October 2026 β thatβs the cute little source/version footer, bestie. Now go translate those two cells and slay πβ¨
π¦ 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