Lines Matching refs:domain
100 const struct device *domain, in power_domain_add_or_remove() argument
104 device_handle_t *rv = domain->deps; in power_domain_add_or_remove()
138 dev->pm_base->domain = NULL; in power_domain_add_or_remove()
144 dev->pm_base->domain = domain; in power_domain_add_or_remove()
155 ARG_UNUSED(domain); in power_domain_add_or_remove()
163 const struct device *domain) in pm_device_power_domain_remove() argument
165 return power_domain_add_or_remove(dev, domain, false); in pm_device_power_domain_remove()
169 const struct device *domain) in pm_device_power_domain_add() argument
171 return power_domain_add_or_remove(dev, domain, true); in pm_device_power_domain_add()
334 return pm->domain != NULL; in pm_device_on_power_domain()
350 (pm->domain == NULL) || in pm_device_is_powered()
351 (pm->domain->pm_base->state == PM_DEVICE_STATE_ACTIVE); in pm_device_is_powered()