Lines Matching refs:device

42 int pm_device_action_run(const struct device *dev,  in pm_device_action_run()
99 static int power_domain_add_or_remove(const struct device *dev, in power_domain_add_or_remove()
100 const struct device *domain, in power_domain_add_or_remove()
113 STRUCT_SECTION_FOREACH(device, iter_dev) { in power_domain_add_or_remove()
162 int pm_device_power_domain_remove(const struct device *dev, in pm_device_power_domain_remove()
163 const struct device *domain) in pm_device_power_domain_remove()
168 int pm_device_power_domain_add(const struct device *dev, in pm_device_power_domain_add()
169 const struct device *domain) in pm_device_power_domain_add()
180 static int pm_device_children_visitor(const struct device *dev, void *context) in pm_device_children_visitor()
195 void pm_device_children_action_run(const struct device *dev, in pm_device_children_action_run()
208 int pm_device_state_get(const struct device *dev, in pm_device_state_get()
224 const struct device *devs; in pm_device_is_any_busy()
229 for (const struct device *dev = devs; dev < (devs + devc); dev++) { in pm_device_is_any_busy()
244 bool pm_device_is_busy(const struct device *dev) in pm_device_is_busy()
255 void pm_device_busy_set(const struct device *dev) in pm_device_busy_set()
266 void pm_device_busy_clear(const struct device *dev) in pm_device_busy_clear()
277 bool pm_device_wakeup_enable(const struct device *dev, bool enable) in pm_device_wakeup_enable()
302 bool pm_device_wakeup_is_enabled(const struct device *dev) in pm_device_wakeup_is_enabled()
314 bool pm_device_wakeup_is_capable(const struct device *dev) in pm_device_wakeup_is_capable()
326 bool pm_device_on_power_domain(const struct device *dev) in pm_device_on_power_domain()
341 bool pm_device_is_powered(const struct device *dev) in pm_device_is_powered()
358 int pm_device_driver_init(const struct device *dev, in pm_device_driver_init()