dev_pm_set_wake_irq(9)
dev_pm_set_wake_irq π β¨
okay so bestie, welcome to the Kernel API Manual page for dev_pm_set_wake_irq β this is the little function that says βhey, this device IO interrupt? yeah, itβs a wake IRQ now π.β No cap, itβs giving power-management main character energy. π
πΈ NAME πΈ
dev_pm_set_wake_irq β Attach device IO interrupt as wake IRQ π¦
β¨ SYNOPSIS β¨
int dev_pm_set_wake_irq (struct device *dev , int irq );
π ARGUMENTS π
devβ Device entry. Like, the device in question, bestie. π«Άirqβ Device IO interrupt. The interrupt thatβs about to get its wake-IRQ moment. β
π¦ DESCRIPTION π¦
Attach a device IO interrupt as a wake IRQ. Periodt. π
The wake IRQ gets automatically configured for wake-up from suspend based on the device specific sysfs wakeup entry. So itβs not doing mystery magic β itβs tied to that sysfs wakeup situation. π₯
Typically called during driver probe after calling device_init_wakeup. Thatβs the vibe check: driver probe first, device_init_wakeup first, then this. Ngl, order matters, iykyk. π
πΊ SEE ALSO πΊ
- Kernel file
./drivers/base/power/wakeirq.c dev_pm_attach_wake_irq(9)dev_pm_clear_wake_irq(9)devm_pm_set_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)
bestie, thatβs the whole page β every argument, every reference, every little wake-IRQ detail preserved with love. π
π cute little sign-off: this cutie comes from source ./drivers/base/power, dated October 2026. slay. π
π¦ 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