Lines Matching refs:deva
18 static const struct device *const deva = DEVICE_DT_GET(TEST_DEVA); variable
126 pm_device_init_suspended(deva); in ZTEST()
131 pm_device_runtime_enable(deva); in ZTEST()
145 pm_device_state_get(deva, &state); in ZTEST()
155 ret = pm_device_runtime_get(deva); in ZTEST()
158 pm_device_state_get(deva, &state); in ZTEST()
170 ret = pm_device_runtime_put(deva); in ZTEST()
200 pm_device_state_get(deva, &state); in ZTEST()
285 zassert_true(device_is_ready(deva), "Device is not ready!"); in ZTEST()
289 pm_device_power_domain_remove(deva, domain); in ZTEST()
290 zassert_false(pm_device_on_power_domain(deva), "deva is in the power domain."); in ZTEST()
291 pm_device_power_domain_add(deva, domain); in ZTEST()
292 zassert_true(pm_device_on_power_domain(deva), "deva is not in the power domain."); in ZTEST()