fwnode_irq_get_byname(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 fwnode_irq_get_byname(9) 🌸

okay so bestie, welcome to the Kernel API Manual β€” this one's a kernel function page and it's genuinely so useful, i promise. it's giving "i just need my IRQ number and i need it now" energy. let's get into it πŸ’…


✨ NAME ✨

fwnode_irq_get_byname β€” Get IRQ from a fwnode using its name

like, you hand it a name and it hands you an IRQ. simple as that, no cap 🫢


✨ SYNOPSIS ✨

int fwnode_irq_get_byname (const struct fwnode_handle *fwnode , const
char *name );

✨ ARGUMENTS ✨

  • fwnode β€” Pointer to the firmware node. yeah, this is the thing you're searching in πŸŽ€
  • name β€” IRQ name. the string you're hunting for, bestie πŸ”

✨ DESCRIPTION ✨

okay so here's the vibe: it finds a match to the string name in the 'interrupt-names' string array in _DSD for ACPI, or in of_node for Device Tree. (two different worlds, one function, we love a bilingual icon πŸ‘‘)

then β€” and this is the main character moment β€” it gets the Linux IRQ number of the IRQ resource corresponding to the index of the matched string. so the position of your name in that array is literally the whole plot. iykyk ✨


✨ RETURN ✨

Linux IRQ number on success πŸŽ‰ β€” or a negative errno otherwise 😭 (so like, always check, fr fr)


✨ SEE ALSO ✨

Kernel file ./drivers/base/property.c, plus the whole friend group:

that's a lot of siblings and honestly? iconic. go read them all, i'll wait πŸ’œ


lowkey a tip: this page lives under ./drivers/base, and the whole thing is dated October 2026. if you're citing it in a bug report, that's your receipt 🧾✨

okay that's the whole page bestie, slay, go get your IRQ πŸŽ€πŸ’–πŸŒŸ β€” fwnode_irq_get_byname(9), from the Kernel API Manual, ./drivers/base, October 2026. periodt. πŸ’…

πŸ“¦ where this page comes from