Lines Matching refs:DEV_HDL
61 #define DEV_HDL(node_id) device_handle_get(DEVICE_DT_GET(node_id)) macro
103 zassert_equal(init_order[0], DEV_HDL(TEST_GPIO)); in ZTEST()
104 zassert_equal(init_order[1], DEV_HDL(TEST_I2C)); in ZTEST()
105 zassert_equal(init_order[2], DEV_HDL(TEST_DEVA)); in ZTEST()
106 zassert_equal(init_order[3], DEV_HDL(TEST_DEVB)); in ZTEST()
107 zassert_equal(init_order[4], DEV_HDL(TEST_GPIOX)); in ZTEST()
108 zassert_equal(init_order[5], DEV_HDL(TEST_DEVC)); in ZTEST()
109 zassert_equal(init_order[6], DEV_HDL(TEST_PARTITION)); in ZTEST()
110 zassert_equal(init_order[7], DEV_HDL(TEST_GPIO_INJECTED)); in ZTEST()
112 zassert_equal(init_order[9], DEV_HDL(TEST_NOLABEL)); in ZTEST()
190 zassert_true(check_handle(DEV_HDL(TEST_I2C), hdls, nhdls)); in ZTEST()
191 zassert_true(check_handle(DEV_HDL(TEST_GPIO), hdls, nhdls)); in ZTEST()
206 zassert_true((ctx.rdevs[0] == device_from_handle(DEV_HDL(TEST_I2C))) in ZTEST()
207 || (ctx.rdevs[1] == device_from_handle(DEV_HDL(TEST_I2C))), in ZTEST()
209 zassert_true((ctx.rdevs[0] == device_from_handle(DEV_HDL(TEST_GPIO))) in ZTEST()
210 || (ctx.rdevs[1] == device_from_handle(DEV_HDL(TEST_GPIO))), in ZTEST()
218 zassert_true(check_handle(DEV_HDL(TEST_I2C), hdls, nhdls)); in ZTEST()
224 zassert_true(ctx.rdevs[0] == device_from_handle(DEV_HDL(TEST_I2C)), in ZTEST()
232 zassert_true(check_handle(DEV_HDL(TEST_I2C), hdls, nhdls)); in ZTEST()
233 zassert_true(check_handle(DEV_HDL(TEST_GPIOX), hdls, nhdls)); in ZTEST()
262 zassert_true(check_handle(DEV_HDL(TEST_DEVB), hdls, nhdls)); in ZTEST()
287 zassert_true(check_handle(DEV_HDL(TEST_GPIO_INJECTED), hdls, nhdls)); in ZTEST()
298 zassert_true(check_handle(DEV_HDL(TEST_DEVA), hdls, nhdls)); in ZTEST()
311 zassert_true(ctx.rdevs[0] == device_from_handle(DEV_HDL(TEST_DEVA))); in ZTEST()
317 zassert_true(check_handle(DEV_HDL(TEST_DEVA), hdls, nhdls)); in ZTEST()
318 zassert_true(check_handle(DEV_HDL(TEST_GPIOX), hdls, nhdls)); in ZTEST()
319 zassert_true(check_handle(DEV_HDL(TEST_DEVB), hdls, nhdls)); in ZTEST()
320 zassert_true(check_handle(DEV_HDL(TEST_DEVC), hdls, nhdls)); in ZTEST()
321 zassert_true(check_handle(DEV_HDL(TEST_NOLABEL), hdls, nhdls)); in ZTEST()
329 zassert_true(check_handle(DEV_HDL(TEST_PARTITION), hdls, nhdls)); in ZTEST()