dev_pm_attach_wake_irq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dev_pm_attach_wake_irq(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… this one's a lil internal helper from the power-management corner of the kernel, and honestly she's giving backstage-pass energy β€” not the headline act, but absolutely essential to the show πŸŽ€


🌸 NAME 🌸

dev_pm_attach_wake_irq β€” attach a device interrupt as a wake IRQ πŸ’€βš‘


πŸ¦‹ SYNOPSIS πŸ¦‹

int dev_pm_attach_wake_irq (struct device *dev , struct wake_irq *wirq
);

πŸ“ ARGUMENTS πŸ“

  • dev β€” the device entry, aka the device we're hooking up 🫢
  • wirq β€” the wake IRQ specific data, like the little info packet that describes the wake interrupt πŸ’Œ

πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the tea β˜•: this is an internal function β€” yes, internal, iykyk β€” and what it does is attach a dedicated wake-up interrupt as a wake IRQ. That's it, that's the whole vibe. She's a helper, she's focused, she does one thing and she slays it ✨

Heads up bestie: it's internal, so this isn't really the front-door API you'd reach for on a whim β€” it's the machinery underneath 🧚

🌈 SEE ALSO 🌈

Kernel file ./drivers/base/power/wakeirq.c β€” go read the source, it's literally right there πŸ“–πŸ’–


and that's the whole page, bestie 🫢 this lil gem lives in ./drivers/base/power, the version situation is October 2026, and the manual it's chilling in is the Kernel API Manual β€” go forth and wake those IRQs responsibly πŸ˜­πŸ’œβ­

πŸ“¦ where this page comes from