Lines Matching +full:prop +full:- +full:2
4 * SPDX-License-Identifier: Apache-2.0
16 #define PHANDLE_TO_DEVICE(node_id, prop, idx) DEVICE_DT_GET(DT_PHANDLE_BY_IDX(node_id, prop, idx)) argument
21 #define PHANDLE_TO_NAME(node_id, prop, idx) DT_NODE_FULL_NAME(DT_PHANDLE_BY_IDX(node_id, prop, idx)) argument
26 #define PHANDLE_TO_TEXT(node_id, prop, idx) \ argument
27 "Hello, " DT_NODE_FULL_NAME(DT_PHANDLE_BY_IDX(node_id, prop, idx)) "!"
37 for (size_t i = 0, j = 0, N = ARRAY_SIZE(devs); i < 2 * N; i++, j++, j %= N) { in ZTEST()
39 /* skip testing non-emul uart */ in ZTEST()
50 ret[2] = devmux_select_set(devmux_dev, normal_uart); in ZTEST()
53 zassert_ok(ret[2], "Switching back to selection %zu failed", normal_uart); in ZTEST()
71 for (size_t i = 0, j = 0, N = ARRAY_SIZE(devs); i < 2 * N; i++, j++, j %= N) { in ZTEST()
73 /* skip testing non-emul uart */ in ZTEST()
86 ret[2] = devmux_select_set(devmux_dev, normal_uart); in ZTEST()
89 zassert_ok(ret[2], "Switching back to selection %zu failed", normal_uart); in ZTEST()
106 /* ensure that non-default initial selection via DT works */ in setup()