device_resume_early(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… device_resume_early(9) β€” Kernel API Manual πŸŽ€

okay so bestie, welcome to device_resume_early(9) β€” literally the "wake up babe, the early resume callback is calling" page from the Kernel API Manual. grab a snack, this one's short and sweet. ✨


✨ NAME ✨

device_resume_early β€” Execute an "early resume" callback for given device.

πŸ¦‹ SYNOPSIS πŸ¦‹

void device_resume_early (struct device *dev , pm_message_t state , bool async );

🌸 ARGUMENTS 🌸

  • dev β€” Device to handle. the whole point, honestly. 🫢
  • state β€” PM transition of the system being carried out. big "what kind of nap were we taking" energy.
  • async β€” If true, the device is being resumed asynchronously. no cap, that's the whole flag.

πŸ’œ DESCRIPTION πŸ’œ

Runtime PM is disabled for dev while this function is being executed. that's it, that's the tea β˜• β€” literally the spotlight moment for dev and nobody else gets to touch the runtime PM knob. periodt.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/base/power/main.c

and the whole friend group, fr fr:


that's the whole page, bestie. mwah πŸ’‹

source path: ./drivers/base/power 🧚 dated: October 2026 🌈 stay slay, keep your callbacks early, and see u in device_resume(9) πŸ’–

πŸ“¦ where this page comes from