ti_sci_inta_alloc_irq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ti_sci_inta_alloc_irq(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for ti_sci_inta_alloc_irq(9) β€” yes the whole page is literally named after the function, iconic behavior honestly ✨


🌸 NAME 🌸

ti_sci_inta_alloc_irq β€” Allocate an irq within INTA domain πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct ti_sci_inta_event_desc * ti_sci_inta_alloc_irq (struct irq_domain
*domain , u32 hwirq );

like, that's the whole signature, no cap πŸ’…


⭐ ARGUMENTS ⭐

  • domain β€” irq_domain pointer corresponding to INTA 🫢
  • hwirq β€” hwirq of the input event πŸ‘‘

πŸ”₯ NOTE πŸ”₯

okay so Allocation happens in the following manner: β€” here's the tea, step by step:

  • Find a free bit available in any of the vints available in the list. πŸ”
  • If not found, allocate a vint from the vint pool. 🧚
  • Attach the free bit to input hwirq. Return event_desc if all went ok else appropriate error value. 😭
fr fr, if everything slays you get the event_desc, and if it doesn't you get the appropriate error value back. no skipping steps, bestie πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./drivers/irqchip/irq-ti-sci-inta.c β€” and like, the whole friend group:


✨ mwah, that's the page! this lil gem lives in ./drivers/irqchip, dated October 2026, and it's brought to you by ti_sci_inta_alloc_irq(9) β€” go read the whole squad, iykyk πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from