Searched refs:TEST_GPIO (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/lib/devicetree/devices/src/ |
D | main.c | 11 #define TEST_GPIO DT_NODELABEL(test_gpio_0) macro 36 DEVICE_DT_DEFINE(TEST_GPIO, dev_init, NULL, 67 zassert_equal(DEVICE_INIT_DT_GET(TEST_GPIO)->dev, in ZTEST() 68 DEVICE_DT_GET(TEST_GPIO), NULL); in ZTEST() 89 zassert_equal(DEVICE_INIT_DT_GET(TEST_GPIO)->init_fn.dev, dev_init); in ZTEST() 103 zassert_equal(init_order[0], DEV_HDL(TEST_GPIO)); in ZTEST() 162 dev = device_get_binding(DEVICE_DT_NAME(TEST_GPIO)); in ZTEST() 163 zassert_equal(dev, DEVICE_DT_GET(TEST_GPIO)); in ZTEST() 191 zassert_true(check_handle(DEV_HDL(TEST_GPIO), hdls, nhdls)); in ZTEST() 209 zassert_true((ctx.rdevs[0] == device_from_handle(DEV_HDL(TEST_GPIO))) in ZTEST() [all …]
|