ti_sci_intr_xlate_irq(9)
π ti_sci_intr_xlate_irq π
okay so bestie, welcome to the Kernel API Manual β¨ β today's main character is ti_sci_intr_xlate_irq(9), and she is literally here to translate hardware IRQs into her parent's IRQ number. no cap, that's the whole gig π
πΈ NAME πΈ
ti_sci_intr_xlate_irq β translate hwirq to parent's hwirq π¦
likeβ¦ she takes a hwirq and tells you what it is in parent-speak. it's giving translator app but for interrupts π
β¨ SYNOPSIS β¨
int ti_sci_intr_xlate_irq (struct ti_sci_intr_irq_domain *intr , u32 irq );
yup, that's the whole signature. two args, one int coming back at you π«Ά
π ARGUMENTS π
intrβ the IRQ domain corresponding to the Interrupt Router π like, this is the domain you're translating out of, bestie, so don't hand her a random one or it's gonna be a whole thing πirqβ the hardware irq corresponding to the above irq domain π (yes, the above one β they're a matched set, iykyk)
π DESCRIPTION π
so here's the tea β: this function returns the parent irq number if a translation is available. that's it, that's the slay β¨
but if the translation isn't available? she returns -ENOENT π no parent irq for you, bestie. not found, not today, go home π
quick vibe check: the return value is either the parent irq number (a real, usable number, iconic) or -ENOENT (the "nope, no translation available" answer). those are your two outcomes β don't go inventing a third one π§
π¦ SEE ALSO π¦
- the kernel file
./drivers/irqchip/irq-ti-sci-intr.cπ (yes, that's where she lives, go visit her) ti_sci_intr_irq_domain(9)β the struct in question πti_sci_intr_irq_domain_translate(9)ti_sci_intr_irq_domain_free(9)ti_sci_intr_alloc_parent_irq(9)ti_sci_intr_irq_domain_alloc(9)
the whole friend group, fr fr π
π cute sign-off π
and that's the page, bestie!! this little gem comes to you from ./drivers/irqchip, dated October 2026 β go forth and translate those IRQs, you absolute icon ππ 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