devm_pm_set_wake_irq(9)
β¨ 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 π
dev_pm_attach_wake_irq(9)dev_pm_set_wake_irq(9)dev_pm_clear_wake_irq(9)handle_threaded_wake_irq(9)dev_pm_set_dedicated_wake_irq(9)dev_pm_set_dedicated_wake_irq_reverse(9)dev_pm_enable_wake_irq_check(9)dev_pm_disable_wake_irq_check(9)dev_pm_enable_wake_irq_complete(9)dev_pm_arm_wake_irq(9)dev_pm_disarm_wake_irq(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms