Lines Matching +full:wakeup +full:- +full:source +full:- +full:id

4  * SPDX-License-Identifier: Apache-2.0
43 /** Indicates if the device is being used as wakeup source. */
116 * @retval -ENOTSUP If the requested action is not supported.
182 * be performed in the critical section as they are short and non-blocking.
271 * @param dev_id Device id.
285 * @param dev_id Device id.
299 * @param dev_id Device id.
312 * @param dev_id Device id.
326 * @note This macro is a no-op if @kconfig{CONFIG_PM_DEVICE} is not enabled.
328 * @param dev_id Device id.
341 * @note This macro is a no-op if @kconfig{CONFIG_PM_DEVICE} is not enabled.
356 * @note This macro is a no-op if @kconfig{CONFIG_PM_DEVICE} is not enabled.
373 * @param dev_id Device id.
406 * @param state State id which name should be returned
420 * @retval -ENOTSUP If requested state is not supported.
421 * @retval -EALREADY If device is already at the requested state.
422 * @retval -EBUSY If device is changing its state.
423 * @retval -ENOSYS If device does not support PM.
424 * @retval -EPERM If device has power state locked.
452 * @retval -ENOSYS If device does not implement power management.
470 struct pm_device_base *pm = dev->pm_base; in pm_device_init_suspended()
472 pm->state = PM_DEVICE_STATE_SUSPENDED; in pm_device_init_suspended()
482 * source, in which case it won't be powered at boot. This function can
490 struct pm_device_base *pm = dev->pm_base; in pm_device_init_off()
492 pm->state = PM_DEVICE_STATE_OFF; in pm_device_init_off()
499 * low-power states. This can be useful if, for example, the device is in the
536 * @brief Enable or disable a device as a wake up source.
538 * A device marked as a wake up source will not be suspended when the system
539 * goes into low-power modes, thus allowing to use it as a wake up source for
545 * @retval true If the wakeup source was successfully enabled.
546 * @retval false If the wakeup source was not successfully enabled.
551 * @brief Check if a device is enabled as a wake up source.
555 * @retval true if the wakeup source is enabled.
556 * @retval false if the wakeup source is not enabled.
589 * @retval -EALREADY If device is already part of the power domain.
590 * @retval -ENOSYS If the application was built without power domain support.
591 * @retval -ENOSPC If there is no space available in the power domain to add the device.
605 * @retval -ENOSYS If the application was built without power domain support.
606 * @retval -ENOENT If device is not in the given domain.
634 * @retval -errno Error code from @a action_cb on failure.
699 return -ENOSYS; in pm_device_power_domain_add()
707 return -ENOSYS; in pm_device_power_domain_remove()
722 if ((rc < 0) && (rc != -ENOTSUP)) { in pm_device_driver_init()