platform_get_irq_byname(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

platform_get_irq_byname(9) πŸ¦‹

okay so welcome to the Kernel API Manual, bestie β€” this page is literally all about platform_get_irq_byname, and it's giving main character energy in the platform-device friend group. No cap, it's short and sweet. πŸ’…


✨ NAME ✨

platform_get_irq_byname β€” get an IRQ for a device by name

🌸 SYNOPSIS 🌸

int platform_get_irq_byname (struct platform_device *dev , const char
*name );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” platform device
  • name β€” IRQ name

πŸ’… DESCRIPTION πŸ’…

Okay so it gets an IRQ exactly like platform_get_irq does, but then by name rather than by index. That's the whole plot. The way that name-based lookup ate and left no crumbs β€” obsessed. 🫢

πŸ”₯ RETURN πŸ”₯

On success, you get a non-zero IRQ number; on failure, you get a negative error number. That's the vibe check, fr fr. πŸ’–

🌈 SEE ALSO 🌈

Kernel file: ./drivers/base/platform.c β€” and now the iconic bestie lineup, no skips, no cuts:

xoxo, your kernel bestie πŸ’œ β€” this gem came from ./drivers/base, dated October 2026. periodt πŸ’…

πŸ“¦ where this page comes from