Lines Matching full:pm

84  * dev_pm_domain_attach - Attach a device to its PM domain.
88 * The @dev may only be attached to a single PM domain. By iterating through
89 * the available alternatives we try to find a valid PM domain for the device.
95 * power management through PM domains.
100 * Returns 0 on successfully attached PM domain, or when it is found that the
101 * device doesn't need a PM domain, else a negative error code.
119 * dev_pm_domain_attach_by_id - Associate a device with one of its PM domains.
120 * @dev: The device used to lookup the PM domain.
121 * @index: The index of the PM domain.
123 * As @dev may only be attached to a single PM domain, the backend PM domain
130 * in case its device requires power management through multiple PM domains. The
134 * the power to the PM domains independently from each other.
139 * Returns the virtual created device when successfully attached to its PM
140 * domain, NULL in case @dev don't need a PM domain, else an ERR_PTR().
155 * dev_pm_domain_attach_by_name - Associate a device with one of its PM domains.
156 * @dev: The device used to lookup the PM domain.
157 * @name: The name of the PM domain.
172 * dev_pm_domain_attach_list - Associate a device with its PM domains.
173 * @dev: The device used to lookup the PM domains for.
174 * @data: The data used for attaching to the PM domains.
175 * @list: An out-parameter with an allocated list of attached PM domains.
177 * This function helps to attach a device to its multiple PM domains. The
179 * names for the PM domains that we should try to attach the device to, but it
181 * the available PM domains.
186 * Returns the number of attached PM domains or a negative error code in case of
187 * a failure. Note that, to detach the list of PM domains, the driver shall call
301 * @_list: The list of PM domains to detach.
305 * uses devm_pm_domain_attach_list() to attach the PM domains.
316 * @dev: The device used to lookup the PM domains for.
317 * @data: The data used for attaching to the PM domains.
318 * @list: An out-parameter with an allocated list of attached PM domains.
323 * Returns the number of attached PM domains or a negative error code in case of
345 * dev_pm_domain_detach - Detach a device from its PM domain.
351 * detaches @dev from its PM domain. Typically it should be invoked during the
365 * dev_pm_domain_detach_list - Detach a list of PM domains.
366 * @list: The list of PM domains to detach.
394 * dev_pm_domain_start - Start the device through its PM domain.
398 * when it needs to start its device from the PM domain's perspective. Note
399 * that, it's assumed that the PM domain is already powered on when this
414 * dev_pm_domain_set - Set PM domain of a device.
415 * @dev: Device whose PM domain is to be set.
416 * @pd: PM domain to be set, or NULL.
418 * Sets the PM domain the device belongs to. The PM domain of a device needs
429 "PM domains can only be changed for unbound devices\n"); in dev_pm_domain_set()
441 * requested for a device that is attached to a PM domain. Note that, the
442 * support for performance scaling for PM domains is optional.