Searched refs:phs (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/include/zephyr/ |
D | devicetree.h | 1461 #define DT_PROP_BY_PHANDLE_IDX(node_id, phs, idx, prop) \ argument 1462 DT_PROP(DT_PHANDLE_BY_IDX(node_id, phs, idx), prop) 1483 #define DT_PROP_BY_PHANDLE_IDX_OR(node_id, phs, idx, prop, default_value) \ argument 1484 DT_PROP_OR(DT_PHANDLE_BY_IDX(node_id, phs, idx), prop, default_value) 4295 #define DT_INST_PROP_BY_PHANDLE_IDX(inst, phs, idx, prop) \ argument 4296 DT_PROP_BY_PHANDLE_IDX(DT_DRV_INST(inst), phs, idx, prop)
|
/Zephyr-latest/tests/lib/devicetree/api/src/ |
D | main.c | 939 size_t phs_freqs[] = { DT_FOREACH_PROP_ELEM(TEST_PH, phs, CLOCK_FREQUENCY_AND_COMMA) }; 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() 956 zassert_true(DT_SAME_NODE(DT_PROP_BY_IDX(TEST_PH, phs, 1), in ZTEST() 964 zassert_equal(DT_PROP_BY_PHANDLE_IDX(TEST_PH, phs, 0, clock_frequency), in ZTEST() 966 zassert_equal(DT_PROP_BY_PHANDLE_IDX(TEST_PH, phs, 1, clock_frequency), in ZTEST() 1064 zassert_equal(DT_INST_PROP_BY_PHANDLE_IDX(0, phs, 0, clock_frequency), in ZTEST() 1066 zassert_equal(DT_INST_PROP_BY_PHANDLE_IDX(0, phs, 1, clock_frequency), in ZTEST() 1914 DT_FOREACH_PROP_ELEM(TEST_PH, phs, PATH_COMMA) in ZTEST()
|
/Zephyr-latest/tests/lib/devicetree/api/ |
D | app.overlay | 68 phs = <&test_i2c &test_spi>; 69 phs-or = <&test_enum_default_0 &test_enum_default_1>;
|