Lines Matching full:pm
30 /** @brief Device PM flags. */
49 /** Indicates if device runtime PM should be automatically enabled */
51 /** Indicates that device runtime PM supports suspending and resuming from any context. */
57 /** @brief Flag indicating that runtime PM API for the device can be called from any context.
59 * If @ref PM_DEVICE_ISR_SAFE flag is used for device definition, it indicates that PM actions
62 * less resources (~80 byte less RAM) and allows to use device runtime PM from any context
89 /** @brief Device PM actions. */
110 * @brief Device PM action callback.
123 * @brief Device PM action failed callback
134 * @brief Device PM info
136 * Structure holds fields which are common for two PM devices: generic and
140 /** Device PM status flags. */
144 /** Device PM action callback */
157 * @brief Runtime PM info for device with generic PM.
159 * Generic PM involves suspending and resuming operations which can be blocking,
160 * long lasting or asynchronous. Runtime PM API is limited when used from
179 * @brief Runtime PM info for device with synchronous PM.
181 * Synchronous PM can be used with devices which suspend and resume operations can
183 * Runtime PM API can be used from any context in that case.
240 * @param pm_action_cb Device PM control callback function.
259 * @param pm_action_cb Device PM control callback function.
269 * Get the name of device PM resources.
277 * @brief Define device PM slot.
280 * When invoked for each device with PM, it will effectively result in a device
281 * pointer array with the same size of the actual devices with PM enabled. This
282 * is used internally by the PM subsystem to keep track of suspended devices
296 * Define device PM resources for the given node identifier.
300 * @param pm_action_cb PM control callback.
310 * Get a reference to the device PM resources.
324 * Define device PM resources for the given device name.
329 * @param pm_action_cb PM control callback.
339 * Define device PM resources for the given node identifier.
344 * @param pm_action_cb PM control callback.
354 * Define device PM resources for the given instance.
359 * @param pm_action_cb PM control callback.
371 * @brief Obtain a reference to the device PM resources for the given device.
375 * @return Reference to the device PM resources (NULL if device
382 * @brief Obtain a reference to the device PM resources for the given node.
386 * @return Reference to the device PM resources (NULL if device
393 * @brief Obtain a reference to the device PM resources for the given instance.
397 * @return Reference to the device PM resources (NULL if device
404 * @brief Get name of device PM state
411 * @brief Run a pm action on a device.
413 * This function calls the device PM control callback so that the device does
417 * @param action Device pm action.
423 * @retval -ENOSYS If device does not support PM.
431 * @brief Run a pm action on all children of a device.
433 * This function calls all child devices PM control callback so that the device
437 * @param action Device pm action.
463 * This function can therefore be used to notify the PM subsystem that the
470 struct pm_device_base *pm = dev->pm_base; in pm_device_init_suspended() local
472 pm->state = PM_DEVICE_STATE_SUSPENDED; in pm_device_init_suspended()
483 * therefore be used to notify the PM subsystem that the device is in
490 struct pm_device_base *pm = dev->pm_base; in pm_device_init_off() local
492 pm->state = PM_DEVICE_STATE_OFF; in pm_device_init_off()
617 * (i.e. it does not support PM or is not under a PM domain)
632 * @param action_cb Device PM control callback function.