platform_de...ree_irqs_all(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

ok so bestie, gather round β€” this is the manual page for platform_device_msi_free_irqs_all, and it's literally the cleanup queen πŸ‘‘ of the MSI world. Per the header up top, this lil beauty lives in the Kernel API Manual (section 9, the kernel API section, iykyk), and its whole job is:

platform_device_msi_free_irqs_all β€” free all the interrupts for @dev 🫢

that's it. that's the gig. she frees all of them. not some. all. no crumbs left behind, periodt πŸ’€βœ¨


✨ SYNOPSIS ✨

ok here's the whole dramatic entrance, typed out exactly, don't @ me:

void platform_device_msi_free_irqs_all (struct device *dev );

yep. returns void β€” she doesn't hand back a status code, she just does the thing and dips πŸ™ˆ. takes exactly one argument, and no, you cannot skip it, the compiler will absolutely clock you πŸ‘€


πŸŽ€ ARGUMENTS πŸŽ€

one single argument. one. icon behavior honestly:

  • dev β€” the device you wanna free interrupts for πŸ’– this is your device, the one whose interrupts are getting their goodbye moment. she's the main character of this function call, so pass her in and let the freeing begin 🌸

that's the entire list, bestie β€” dev and vibes. nothing else. no hidden extras, no surprises πŸ¦‹


🌈 SEE ALSO 🌈

if you're the type to go down a rabbit hole (respect), here's where to look next:

  • the kernel file ./drivers/base/platform-msi.c β€” that's the actual source, go peek if you're nosy like me πŸ’œ
  • platform_device_msi_init_and_alloc_irqs(9) β€” the other half of the story! that one *init`*s and *alloc*ates, this one frees. they're giving setup-and-teardown duo energy, fr fr 🧚✨

ngl this page is short and sweet and that's the point β€” if you're freeing all the interrupts for a device, you already know what you're doing. go off πŸ‘‘

okayyy that's the whole page!! source/version vibe check: this one's filed under ./drivers/base (the Kernel API Manual, section 9 bestie), and it's dated October 2026 πŸ“…πŸ’– like... future icon behavior honestly. slay, bye!! πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from