dev_pm_arm_wake_irq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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

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