Lines Matching refs:domain
17 static const struct device *const domain = DEVICE_DT_GET(TEST_DOMAIN); variable
125 pm_device_init_suspended(domain); in ZTEST()
130 pm_device_runtime_enable(domain); in ZTEST()
135 ret = pm_device_power_domain_remove(devc, domain); in ZTEST()
138 ret = pm_device_power_domain_add(devc, domain); in ZTEST()
142 pm_device_state_get(domain, &state); in ZTEST()
161 pm_device_state_get(domain, &state); in ZTEST()
177 pm_device_state_get(domain, &state); in ZTEST()
190 pm_device_state_get(domain, &state); in ZTEST()
210 ret = pm_device_runtime_get(domain); in ZTEST()
216 ret = pm_device_runtime_put(domain); in ZTEST()
221 ret = pm_device_power_domain_remove(devc, domain); in ZTEST()
284 zassert_true(device_is_ready(domain), "Device is not ready!"); in ZTEST()
289 pm_device_power_domain_remove(deva, domain); in ZTEST()
291 pm_device_power_domain_add(deva, domain); in ZTEST()
294 pm_device_power_domain_add(devc, domain); in ZTEST()
296 pm_device_power_domain_remove(devc, domain); in ZTEST()