Home
last modified time | relevance | path

Searched refs:device_from_handle (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/lib/devicetree/devices/src/
Dmain.c206 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()
224 zassert_true(ctx.rdevs[0] == device_from_handle(DEV_HDL(TEST_I2C)), in ZTEST()
311 zassert_true(ctx.rdevs[0] == device_from_handle(DEV_HDL(TEST_DEVA))); in ZTEST()
/Zephyr-latest/kernel/
Ddevice.c155 const struct device *rdev = device_from_handle(dh); in device_visitor()
/Zephyr-latest/include/zephyr/
Ddevice.h481 device_from_handle(device_handle_t dev_handle) in device_from_handle() function