devm_pm_set_wake_irq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ devm_pm_set_wake_irq(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” this one's about the device-managed glow-up of a wake IRQ situation πŸ’…


🌸 NAME 🌸

devm_pm_set_wake_irq β€” the device-managed variant of dev_pm_set_wake_irq, and yes she's iconic for it πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

int devm_pm_set_wake_irq (struct device *dev , int irq );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the device entry, aka the main character we're doing all this for 🫢
  • irq β€” the device IO interrupt, literally the little signal bestie we're attaching πŸ‘€

πŸ’– DESCRIPTION πŸ’–

So what she does is attach a device IO interrupt as a wake IRQ β€” same energy as dev_pm_set_wake_irq, no cap β€” but here's the slay: the device will be auto clear wake capability on driver detach. periodt. ✨


🌈 SEE ALSO 🌈

Kernel file ./drivers/base/power/wakeirq.c β€” go read it, iykyk πŸ“–


okay that's the whole vibe check πŸ’€ she's sourced from ./drivers/base/power and dated October 2026 β€” so like, future iconic behavior fr fr πŸ§šπŸ’œ

stay woke, bestie πŸ’…πŸ¦‹

πŸ“¦ where this page comes from