dev_pm_set_...ted_wake_irq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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


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