dev_pm_domain_start(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to dev_pm_domain_start(9) β€” straight out of the Kernel API Manual and ready to explain itself. πŸ’… This is the little API that starts a device through its PM domain, and we’re keeping every detail on deck. ✨

πŸŽ€ NAME πŸŽ€

dev_pm_domain_start β€” start the device through its PM domain. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

int dev_pm_domain_start (struct device *dev );

🌸 ARGUMENTS 🌸

  • dev β€” the struct device * you’re starting. Literally β€œDevice to start.” Periodt. 🫢

✨ DESCRIPTION ✨

Typically, a subsystem/driver calls this during probe when it needs to start its device from the PM domain’s perspective. πŸŽ€

Important vibe check: it’s assumed that the PM domain is already powered on when this function is called. ⚑ Don’t come for this function if the domain is still asleep, okay?

It returns 0 on success and negative error values on failures. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/base/power/common.c is the source-side hangout, and these functions are the friend group:


Signed off from ./drivers/base/power with the October 2026 version energy, for dev_pm_domain_start(9) β€” periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from