Lines Matching full:pm

13 #include <linux/pm.h>
17 /* Runtime PM flag argument bits */
26 * Use this for defining a set of PM operations to be used in all situations
27 * (system suspend, hibernation or runtime PM).
30 * macro, which uses the provided callbacks for both runtime PM and system
99 * pm_suspend_ignore_children - Set runtime PM behavior regarding children.
104 * the runtime PM framework going forward if @enable is %true, or they will
113 * pm_runtime_get_noresume - Bump up runtime PM usage counter of a device.
122 * pm_runtime_put_noidle - Drop runtime PM usage counter of a device.
125 * Decrement the runtime PM usage counter of @dev unless it is 0 already.
136 * Return %true if runtime PM is enabled for @dev and its runtime PM status is
140 * called under the runtime PM lock of @dev or under conditions in which
141 * runtime PM cannot be either disabled or enabled for @dev and its runtime PM
154 * Return %true if runtime PM is disabled for @dev or its runtime PM status is
158 * called under the runtime PM lock of @dev or under conditions in which
159 * runtime PM cannot be either disabled or enabled for @dev and its runtime PM
169 * pm_runtime_status_suspended - Check if runtime PM status is "suspended".
172 * Return %true if the runtime PM status of @dev is %RPM_SUSPENDED, or %false
173 * otherwise, regardless of whether or not runtime PM has been enabled for @dev.
176 * called under the runtime PM lock of @dev or under conditions in which the
177 * runtime PM status of @dev cannot change.
185 * pm_runtime_enabled - Check if runtime PM is enabled.
188 * Return %true if runtime PM is enabled for @dev or %false otherwise.
191 * called under the runtime PM lock of @dev or under conditions in which
192 * runtime PM cannot be either disabled or enabled for @dev.
200 * pm_runtime_has_no_callbacks - Check if runtime PM callbacks may be present.
203 * Return %true if @dev is a special device without runtime PM callbacks or
215 * Update the last access time of @dev used by the runtime PM autosuspend
224 * pm_runtime_is_irq_safe - Check if runtime PM can work in interrupt context.
228 * to runtime PM), in which case its runtime PM callabcks can be expected to
391 * Bump up the runtime PM usage counter of @dev and queue up a work item to
403 * Bump up the runtime PM usage counter of @dev and carry out runtime-resume of
407 * pm_runtime_resume() and the runtime PM usage counter of @dev remains
423 * PM usage counter. Return 0 if the runtime PM usage counter of @dev has been
443 * Decrement the runtime PM usage counter of @dev and if it turns out to be
455 * Decrement the runtime PM usage counter of @dev and if it turns out to be
467 * Decrement the runtime PM usage counter of @dev and if it turns out to be
480 * Decrement the runtime PM usage counter of @dev and if it turns out to be
486 * pm_runtime_idle() and the runtime PM usage counter of @dev remains
498 * Decrement the runtime PM usage counter of @dev and if it turns out to be
502 * pm_runtime_suspend() and the runtime PM usage counter of @dev remains
514 * Decrement the runtime PM usage counter of @dev and if it turns out to be
519 * pm_runtime_autosuspend() and the runtime PM usage counter of @dev remains
528 * pm_runtime_set_active - Set runtime PM status to "active".
531 * Set the runtime PM status of @dev to %RPM_ACTIVE and ensure that dependencies
534 * It is not valid to call this function for devices with runtime PM enabled.
542 * pm_runtime_set_suspended - Set runtime PM status to "suspended".
545 * Set the runtime PM status of @dev to %RPM_SUSPENDED and ensure that
548 * It is not valid to call this function for devices with runtime PM enabled.
556 * pm_runtime_disable - Disable runtime PM for a device.
559 * Prevent the runtime PM framework from working with @dev (by incrementing its
563 * pm_runtime_enable() call in order for runtime PM to be enabled for it.
574 * Allow the runtime PM autosuspend mechanism to be used for @dev whenever
591 * Prevent the runtime PM autosuspend mechanism from being used for @dev which