smsm_set_irq_type(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… smsm_set_irq_type(9) β€” Kernel API Manual, bestie edition

ok so real talk, this one's from the Kernel API Manual and it's a tiny little function but it's doing important work, so let's not disrespect it. It's called smsm_set_irq_type and honestly it's giving "quiet kid in class who's actually the smartest one there" energy. 🌸


✨ NAME ✨

smsm_set_irq_type β€” updates the requested IRQ type for the cascading

(yes, that's where the original sentence ends, bestie, it just trails off like a text at 2am 😭 we don't invent endings, we respect the source πŸ’€)


✨ SYNOPSIS ✨

int smsm_set_irq_type (struct irq_data *irqd , unsigned int type );

returns an int, takes two args, no cap. 🫢


✨ ARGUMENTS ✨

  • irqd β€” consumer interrupt handle. it's literally the lil handle to the interrupt you care about, the main character of this whole operation πŸ‘‘
  • type β€” requested flags. the vibes you're asking for, flag-style ✨

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/soc/qcom/smsm.c β€” and the whole friend group it hangs with:

like, the entire smsm squad is in the group chat, iykyk πŸ’–


ngl this page is short and i respect that. no weird edge cases listed, no warnings, no exit statuses β€” just vibes and a struct pointer. slay πŸ’…

and that's the whole page, bestie!! πŸŽ€ sign-off time: this one lives at ./drivers/soc/qcom, it's dated October 2026, and yes it's the smsm_set_irq_type(9) page, iconic, no notes, periodt. πŸŒˆβ­πŸ’œ

πŸ“¦ where this page comes from