ti_sci_inta_set_type(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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


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