dev_pm_arm_wake_irq(9)
π dev_pm_arm_wake_irq β like, the kernel API manual, bestie π
okay so real quick before we dive in: this whole thing lives in the Kernel API Manual, and the page is literally titled dev_pm_arm_wake_irq. Yes the title is the function name, yes that's just how manpages do. anyway. grab a strawberry π and let's go.
β¨ NAME β¨
dev_pm_arm_wake_irq β Arm device wake-up π«Ά
like, that's it, that's the whole job. it arms the wake-up. slay.
β¨ SYNOPSIS β¨
void dev_pm_arm_wake_irq (struct wake_irq *wirq );
no return value, it's a void, she doesn't owe you anything π
β¨ ARGUMENTS β¨
wirqβ Device wake-up interrupt. that's the one you're handing over, the wake-up IRQ in question. she's the main character here π
β¨ DESCRIPTION β¨
okay so here's the vibe: this sets up the wake-up event conditionally, based on device_may_wake. that's the whole bit β no device_may_wake, no wake-up setup. it's giving "we'll see if you're allowed" energy πβ¨
no cap, that one condition is literally the entire description. iconic behavior tbh.
π SEE ALSO π
kernel file ./drivers/base/power/wakeirq.c β that's where the lore lives, iykyk
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(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_disarm_wake_irq(9)
like, the whole wakeirq friend group fr fr π¦
quick reminder bestie: these are function references, not options β don't @ me, that's just how the SEE ALSO section works β¨
kisses and good vibes, babe π this page came straight out of ./drivers/base/power, dated October 2026, and it's all about dev_pm_arm_wake_irq(9). go arm that wake-up. periodt. ππ₯
π¦ 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