dev_pm_set_...ted_wake_irq(9)
π dev_pm_set_dedicated_wake_irq β Kernel API Manual π
okay so bestie, this is a page from the Kernel API Manual and it's all about dev_pm_set_dedicated_wake_irq(9). yes that's a mouthful, no we're not changing it, it's iconic π
β¨ NAME β¨
dev_pm_set_dedicated_wake_irq β Request a dedicated wake-up interrupt π
πΈ SYNOPSIS πΈ
int dev_pm_set_dedicated_wake_irq (struct device *dev , int irq );
like, that's the whole signature, slay β¨
π¦ ARGUMENTS π¦
devβ Device entry. literally the device you're doing this for πirqβ Device wake-up interrupt. the actual interrupt number, no cap π
π DESCRIPTION π
okay so real talk: unless your hardware has separate wake-up interrupts in addition to the device IO interrupts, you don't need this. like, at all. go touch grass, your hardware is fine π
but if you do need it β this sets up a threaded interrupt handler for a device that has a dedicated wake-up interrupt in addition to the device IO interrupt. two different interrupts, two different jobs, main character energy for both π
π₯ SEE ALSO π₯
Kernel file ./drivers/base/power/wakeirq.c β go read it, it's giving lore π§
dev_pm_attach_wake_irq(9)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_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 page bestie!! π«Ά
source: ./drivers/base/power Β· October 2026 Β· that's dev_pm_set_...ted_wake_irq(9) in the Kernel API Manual β tysm for reading, ily, go drink some water πβ¨ππ¦πΈπ
π¦ 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