Lines Matching refs:device
28 struct device;
119 typedef int (*pm_device_action_cb_t)(const struct device *dev,
130 typedef bool (*pm_device_action_failed_cb_t)(const struct device *dev,
152 const struct device *domain;
168 const struct device *dev;
288 static STRUCT_SECTION_ITERABLE_ALTERNATE(pm_device_slots, device, \
427 int pm_device_action_run(const struct device *dev,
440 void pm_device_children_action_run(const struct device *dev,
454 int pm_device_state_get(const struct device *dev,
468 static inline void pm_device_init_suspended(const struct device *dev) in pm_device_init_suspended()
488 static inline void pm_device_init_off(const struct device *dev) in pm_device_init_off()
506 void pm_device_busy_set(const struct device *dev);
515 void pm_device_busy_clear(const struct device *dev);
533 bool pm_device_is_busy(const struct device *dev);
548 bool pm_device_wakeup_enable(const struct device *dev, bool enable);
558 bool pm_device_wakeup_is_enabled(const struct device *dev);
568 bool pm_device_wakeup_is_capable(const struct device *dev);
578 bool pm_device_on_power_domain(const struct device *dev);
593 int pm_device_power_domain_add(const struct device *dev,
594 const struct device *domain);
608 int pm_device_power_domain_remove(const struct device *dev,
609 const struct device *domain);
620 bool pm_device_is_powered(const struct device *dev);
636 int pm_device_driver_init(const struct device *dev, pm_device_action_cb_t action_cb);
639 static inline int pm_device_state_get(const struct device *dev, in pm_device_state_get()
649 static inline void pm_device_init_suspended(const struct device *dev) in pm_device_init_suspended()
653 static inline void pm_device_init_off(const struct device *dev) in pm_device_init_off()
657 static inline void pm_device_busy_set(const struct device *dev) in pm_device_busy_set()
661 static inline void pm_device_busy_clear(const struct device *dev) in pm_device_busy_clear()
666 static inline bool pm_device_is_busy(const struct device *dev) in pm_device_is_busy()
671 static inline bool pm_device_wakeup_enable(const struct device *dev, in pm_device_wakeup_enable()
678 static inline bool pm_device_wakeup_is_enabled(const struct device *dev) in pm_device_wakeup_is_enabled()
683 static inline bool pm_device_wakeup_is_capable(const struct device *dev) in pm_device_wakeup_is_capable()
688 static inline bool pm_device_on_power_domain(const struct device *dev) in pm_device_on_power_domain()
694 static inline int pm_device_power_domain_add(const struct device *dev, in pm_device_power_domain_add()
695 const struct device *domain) in pm_device_power_domain_add()
702 static inline int pm_device_power_domain_remove(const struct device *dev, in pm_device_power_domain_remove()
703 const struct device *domain) in pm_device_power_domain_remove()
710 static inline bool pm_device_is_powered(const struct device *dev) in pm_device_is_powered()
716 static inline int pm_device_driver_init(const struct device *dev, pm_device_action_cb_t action_cb) in pm_device_driver_init()