ti_sci_intr_...domain_alloc(9)
π ti_sci_intr_irq_domain_alloc β bestie's guide to the kernel API manual β¨
okay so this is a page straight out of the Kernel API Manual, and it's lowkey the whole saga of one little function. the name? ti_sci_intr_irq_domain_alloc. say it three times fast, i dare you π she's iconic, she's niche, she allocates interrupt router IRQs and she does NOT miss.
π NAME π
ti_sci_intr_irq_domain_alloc β literally just: Allocate Interrupt router IRQs π¦ that's the whole vibe. no cap, that's her job description.
β¨ SYNOPSIS β¨
int ti_sci_intr_irq_domain_alloc (struct irq_domain *domain , unsigned
int virq , unsigned int nr_irqs , void *data );
bestie she takes four things and she gives you back an int. that's the whole shape of her. main character energy fr fr π
πΈ ARGUMENTS πΈ
okay so let's do a little vibe check on each of her params, one by one, no skipping π
domainβ this one points at the interrupt router IRQ domain. she's the setting, the stage, the location of the whole situation πvirqβ the corresponding Linux virtual IRQ number. yes bestie it's a virtual number, it's giving digital realness πnr_irqsβ the continuous irqs to be allocated. plural! continuous!! a whole little squad of them π«Άdataβ a pointer to the firmware specifier. idk what's in there but she knows ππ
π¦ DESCRIPTION π¦
so what does she do? literally:
Return 0 if all went well else appropriate error value.
that's it. that's the whole tea π 0 = slay, we ate, everything worked. anything else = an appropriate error value, which is a very polite way of saying "girl something went wrong and she's telling you about it" π not me refreshing my whole personality over a return code.
π SEE ALSO π
the girlies she hangs out with π :
- Kernel file
./drivers/irqchip/irq-ti-sci-intr.c struct ti_sci_intr_irq_domain(9)ti_sci_intr_irq_domain_translate(9)ti_sci_intr_xlate_irq(9)ti_sci_intr_irq_domain_free(9)ti_sci_intr_alloc_parent_irq(9)
it's giving friend group, it's giving family, it's giving iykyk π§ββοΈ
okay and finally, the lil sign-off: this page lives under ./drivers/irqchip and it's dated October 2026 β so yeah, she's from the future, she's timeless, she's everything π°οΈπ mwah, go read the actual source bestie, ily, bye! πβ¨π₯
π¦ 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