ti_sci_inta_set_type(9)
π ti_sci_inta_set_type β the Kernel API Manual page, bestie edition
okay so this is ti_sci_inta_set_type(9), straight outta the Kernel API Manual β¨ it's a lil function that changes up how an irq gets triggered, and honestly? iconic behaviour.
πΈ NAME πΈ
ti_sci_inta_set_type β literally just updates the trigger type of the irq. that's it, that's the whole gig π
β¨ SYNOPSIS β¨
int ti_sci_inta_set_type (struct irq_data *data , unsigned int type );
like, it hands you back an int and takes those two args. slay π«Ά
π ARGUMENTS π
dataβ a pointer to the correspondingirq_data. that's your main character right there πtypeβ the trigger type, as specified by user. yes, that means you get to decide π¦
π NOTE π
this updates the handle_irq callback for level msi. no cap, that's the actual vibe of it.
and the return? it returns 0 if all went well β else it returns the appropriate error π so like, check your return value, bestie, fr fr.
ngl, if you get something that isn't 0, that's your sign something went sideways. handle it π
π SEE ALSO π
all the siblings in the family, iykyk π β they all live in the kernel file ./drivers/irqchip/irq-ti-sci-inta.c:
struct ti_sci_inta_event_desc(9)struct ti_sci_inta_vint_desc(9)struct ti_sci_inta_irq_domain(9)ti_sci_inta_irq_handler(9)ti_sci_inta_xlate_irq(9)ti_sci_inta_alloc_parent_irq(9)ti_sci_inta_alloc_event(9)ti_sci_inta_alloc_irq(9)ti_sci_inta_free_parent_irq(9)ti_sci_inta_free_irq(9)ti_sci_inta_request_resources(9)ti_sci_inta_release_resources(9)ti_sci_inta_manage_event(9)ti_sci_inta_mask_irq(9)ti_sci_inta_unmask_irq(9)ti_sci_inta_ack_irq(9)ti_sci_inta_irq_domain_free(9)ti_sci_inta_irq_domain_alloc(9)
and that's the whole page, bestie! π§π this lil baddie shipped from ./drivers/irqchip back in October 2026, and it's still serving ti_sci_inta_set_type(9) realness to this day. 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