ti_sci_intr_xlate_irq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 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