irq_domain_t...late_twocell(9)
β¨ irq_domain_translate_twocell π
okay so bestie, we're looking at the manual page for irq_domain_translate_twocell β it's a kernel API thing, and honestly? it's giving "small function, big main character energy." π
πΈ NAME πΈ
irq_domain_translate_twocell β the generic translate for direct two cell bindings, no cap β¨
π¦ SYNOPSIS π¦
int irq_domain_translate_twocell (struct irq_domain *d , struct
irq_fwspec *fwspec , unsigned long *out_hwirq , unsigned int *out_type
);
π ARGUMENTS π
dβ the interrupt domain that's involved in the translation π«Ά like, this is the domain doing the work.fwspecβ the firmware interrupt specifier that we're translating. the thing getting decoded, periodt.out_hwirqβ pointer to storage for the hardware interrupt number. drop the hwirq in here bestie πout_typeβ pointer to storage for the interrupt type. and the type goes here too π
β DESCRIPTION β
so this is a Device Tree IRQ specifier translation function π« it works with two cell bindings, where the cell values map directly to the hwirq number and the linux irq flags. that's it, that's the whole vibe β no fancy middleman, the cells just walk straight into their seats like they own the place π
literally the "direct" girlie of the translate family. iykyk π
π₯ SEE ALSO π₯
Kernel file ./kernel/irq/irqdomain.c β and the whole friend group is here, bestie, we're doing a full roll call π€β¨
__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_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)
π gentle reminder bestie: i didn't add one single thing to that list, and i didn't drop one either. all 33 of these icons showed up to the party and they're all staying. π«Ά
and that's the page!! mwah π sourced from ./kernel/irq, dated October 2026, and the manual is still repping irq_domain_t...late_twocell(9) in the corner like the abbreviation icon it is. slay, ate, 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