Searched refs:TEST_I2C (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-2.7.6/tests/lib/devicetree/devices/src/ |
D | main.c | 13 #define TEST_I2C DT_NODELABEL(test_i2c) macro 35 DEVICE_DT_DEFINE(TEST_I2C, dev_init, NULL, 51 zassert_equal(init_order[1], DEV_HDL(TEST_I2C), in test_init_order() 116 dev = device_get_binding(DT_LABEL(TEST_I2C)); in test_requires() 117 zassert_equal(dev, DEVICE_DT_GET(TEST_I2C), NULL); in test_requires() 128 zassert_true(check_handle(DEV_HDL(TEST_I2C), hdls, nhdls), NULL); in test_requires() 144 zassert_true((ctx.rdevs[0] == device_from_handle(DEV_HDL(TEST_I2C))) in test_requires() 145 || (ctx.rdevs[1] == device_from_handle(DEV_HDL(TEST_I2C))), in test_requires() 156 zassert_true(check_handle(DEV_HDL(TEST_I2C), hdls, nhdls), NULL); in test_requires() 162 zassert_true(ctx.rdevs[0] == device_from_handle(DEV_HDL(TEST_I2C)), in test_requires() [all …]
|