Searched refs:TEST_I2C (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/lib/devicetree/devices/src/ |
D | main.c | 12 #define TEST_I2C DT_NODELABEL(test_i2c) macro 38 DEVICE_DT_DEFINE(TEST_I2C, dev_init, NULL, 69 zassert_equal(DEVICE_INIT_DT_GET(TEST_I2C)->dev, in ZTEST() 70 DEVICE_DT_GET(TEST_I2C), NULL); in ZTEST() 90 zassert_equal(DEVICE_INIT_DT_GET(TEST_I2C)->init_fn.dev, dev_init); in ZTEST() 104 zassert_equal(init_order[1], DEV_HDL(TEST_I2C)); in ZTEST() 178 dev = device_get_binding(DEVICE_DT_NAME(TEST_I2C)); in ZTEST() 179 zassert_equal(dev, DEVICE_DT_GET(TEST_I2C)); in ZTEST() 190 zassert_true(check_handle(DEV_HDL(TEST_I2C), hdls, nhdls)); in ZTEST() 206 zassert_true((ctx.rdevs[0] == device_from_handle(DEV_HDL(TEST_I2C))) in ZTEST() [all …]
|
/Zephyr-latest/tests/lib/devicetree/api/src/ |
D | main.c | 35 #define TEST_I2C DT_NODELABEL(test_i2c) macro 431 zassert_true(DT_SAME_NODE(TEST_I2C_BUS, TEST_I2C), ""); in ZTEST() 1918 zassert_true(!strcmp(array_phs[0], DT_NODE_PATH(TEST_I2C)), ""); in ZTEST() 2376 zassert_true(DT_SAME_NODE(DT_GPARENT(TEST_I2C_MUX_CTLR_1), TEST_I2C), ""); in ZTEST() 2377 zassert_true(DT_SAME_NODE(DT_INST_GPARENT(0), TEST_I2C), ""); in ZTEST() 2378 zassert_true(DT_SAME_NODE(DT_INST_GPARENT(1), TEST_I2C), ""); in ZTEST()
|