dev_pm_attach_wake_irq(9)
β¨ 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 ππ
dev_pm_set_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)
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
- 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