Searched refs:TEST_PH (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/lib/devicetree/api/src/ |
D | main.c | 23 #define TEST_PH DT_NODELABEL(test_phandles) macro 938 bool gpio_controller = DT_PROP_BY_PHANDLE(TEST_PH, ph, gpio_controller); in ZTEST() 939 size_t phs_freqs[] = { DT_FOREACH_PROP_ELEM(TEST_PH, phs, CLOCK_FREQUENCY_AND_COMMA) }; in ZTEST() 940 struct gpios_struct gps[] = DT_GPIO_LISTIFY(TEST_PH, gpios); in ZTEST() 943 zassert_true(DT_NODE_HAS_PROP(TEST_PH, ph), ""); in ZTEST() 944 zassert_true(DT_SAME_NODE(DT_PROP(TEST_PH, ph), in ZTEST() 946 zassert_equal(DT_PROP_LEN(TEST_PH, ph), 1, ""); in ZTEST() 947 zassert_true(DT_SAME_NODE(DT_PROP_BY_IDX(TEST_PH, ph, 0), in ZTEST() 953 zassert_true(DT_NODE_HAS_PROP(TEST_PH, phs), ""); in ZTEST() 955 zassert_equal(DT_PROP_LEN(TEST_PH, phs), 2, ""); in ZTEST() [all …]
|