dev_pm_domain_start(9)
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β thestruct 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:
dev_pm_get_subsys_data(9)dev_pm_put_subsys_data(9)dev_pm_domain_attach(9)dev_pm_domain_attach_by_id(9)dev_pm_domain_attach_by_name(9)dev_pm_domain_attach_list(9)devm_pm_domain_detach_list(9)devm_pm_domain_attach_list(9)dev_pm_domain_detach(9)dev_pm_domain_detach_list(9)dev_pm_domain_set(9)dev_pm_domain_set_performance_state(9)
Signed off from ./drivers/base/power with the October 2026 version energy, for dev_pm_domain_start(9) β 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