Lines Matching refs:TEST_TEMP
27 #define TEST_TEMP DT_NODELABEL(test_temp_sensor) macro
286 zassert_equal(DT_PHA_BY_IDX_OR(TEST_TEMP, dmas, 1, channel, X), 3, ""); in ZTEST()
287 zassert_equal(DT_PHA_BY_IDX_OR(TEST_TEMP, dmas, 1, not_a_cell, -1), -1, in ZTEST()
290 zassert_equal(DT_PHA_OR(TEST_TEMP, dmas, channel, X), 1, ""); in ZTEST()
291 zassert_equal(DT_PHA_OR(TEST_TEMP, dmas, not_a_cell, -1), -1, ""); in ZTEST()
293 zassert_equal(DT_PHA_BY_NAME_OR(TEST_TEMP, dmas, tx, channel, X), 1, in ZTEST()
295 zassert_equal(DT_PHA_BY_NAME_OR(TEST_TEMP, dmas, tx, not_a_cell, -1), in ZTEST()
898 zassert_equal(DT_IRQ_LEVEL(TEST_TEMP), 0, ""); in ZTEST()
1206 zassert_true(DT_SAME_NODE(DT_IO_CHANNELS_CTLR_BY_IDX(TEST_TEMP, 0), in ZTEST()
1208 zassert_true(DT_SAME_NODE(DT_IO_CHANNELS_CTLR_BY_IDX(TEST_TEMP, 1), in ZTEST()
1212 zassert_true(DT_SAME_NODE(DT_IO_CHANNELS_CTLR_BY_NAME(TEST_TEMP, ch1), in ZTEST()
1214 zassert_true(DT_SAME_NODE(DT_IO_CHANNELS_CTLR_BY_NAME(TEST_TEMP, ch2), in ZTEST()
1218 zassert_true(DT_SAME_NODE(DT_IO_CHANNELS_CTLR(TEST_TEMP), in ZTEST()
1237 zassert_equal(DT_IO_CHANNELS_INPUT_BY_IDX(TEST_TEMP, 0), 10, ""); in ZTEST()
1238 zassert_equal(DT_IO_CHANNELS_INPUT_BY_IDX(TEST_TEMP, 1), 20, ""); in ZTEST()
1239 zassert_equal(DT_IO_CHANNELS_INPUT_BY_NAME(TEST_TEMP, ch1), 10, ""); in ZTEST()
1240 zassert_equal(DT_IO_CHANNELS_INPUT_BY_NAME(TEST_TEMP, ch2), 20, ""); in ZTEST()
1241 zassert_equal(DT_IO_CHANNELS_INPUT(TEST_TEMP), 10, ""); in ZTEST()
1257 adc_spec = (struct adc_dt_spec)ADC_DT_SPEC_GET_BY_NAME(TEST_TEMP, ch1); in ZTEST()
1260 adc_spec = (struct adc_dt_spec)ADC_DT_SPEC_GET_BY_NAME(TEST_TEMP, ch2); in ZTEST()
1276 zassert_true(DT_SAME_NODE(DT_DMAS_CTLR_BY_IDX(TEST_TEMP, 0), in ZTEST()
1278 zassert_true(DT_SAME_NODE(DT_DMAS_CTLR_BY_IDX(TEST_TEMP, 1), in ZTEST()
1282 zassert_true(DT_SAME_NODE(DT_DMAS_CTLR_BY_NAME(TEST_TEMP, tx), in ZTEST()
1284 zassert_true(DT_SAME_NODE(DT_DMAS_CTLR_BY_NAME(TEST_TEMP, rx), in ZTEST()
1288 zassert_true(DT_SAME_NODE(DT_DMAS_CTLR(TEST_TEMP), in ZTEST()
1306 zassert_equal(DT_DMAS_CELL_BY_NAME(TEST_TEMP, rx, channel), 3, ""); in ZTEST()
1308 zassert_equal(DT_DMAS_CELL_BY_NAME(TEST_TEMP, rx, slot), 4, ""); in ZTEST()
1311 zassert_equal(DT_DMAS_CELL_BY_IDX(TEST_TEMP, 1, channel), 3, ""); in ZTEST()
1313 zassert_equal(DT_DMAS_CELL_BY_IDX(TEST_TEMP, 1, slot), 4, ""); in ZTEST()
1316 zassert_true(DT_DMAS_HAS_NAME(TEST_TEMP, tx), ""); in ZTEST()
1318 zassert_false(DT_DMAS_HAS_NAME(TEST_TEMP, output), ""); in ZTEST()
1321 zassert_true(DT_DMAS_HAS_IDX(TEST_TEMP, 1), ""); in ZTEST()
1323 zassert_false(DT_DMAS_HAS_IDX(TEST_TEMP, 2), ""); in ZTEST()
2245 zassert_true(DT_SAME_NODE(DT_CLOCKS_CTLR_BY_IDX(TEST_TEMP, 1), in ZTEST()
2249 zassert_true(DT_SAME_NODE(DT_CLOCKS_CTLR(TEST_TEMP), in ZTEST()
2253 zassert_true(DT_SAME_NODE(DT_CLOCKS_CTLR_BY_NAME(TEST_TEMP, clk_b), in ZTEST()
2257 zassert_equal(DT_NUM_CLOCKS(TEST_TEMP), 3, ""); in ZTEST()
2260 zassert_true(DT_CLOCKS_HAS_IDX(TEST_TEMP, 2), ""); in ZTEST()
2261 zassert_false(DT_CLOCKS_HAS_IDX(TEST_TEMP, 3), ""); in ZTEST()
2264 zassert_true(DT_CLOCKS_HAS_NAME(TEST_TEMP, clk_a), ""); in ZTEST()
2265 zassert_false(DT_CLOCKS_HAS_NAME(TEST_TEMP, clk_z), ""); in ZTEST()
2268 zassert_equal(DT_CLOCKS_CELL_BY_IDX(TEST_TEMP, 2, bits), 2, ""); in ZTEST()
2269 zassert_equal(DT_CLOCKS_CELL_BY_IDX(TEST_TEMP, 2, bus), 8, ""); in ZTEST()
2272 zassert_equal(DT_CLOCKS_CELL_BY_NAME(TEST_TEMP, clk_a, bits), 7, ""); in ZTEST()
2273 zassert_equal(DT_CLOCKS_CELL_BY_NAME(TEST_TEMP, clk_b, bus), 8, ""); in ZTEST()
2276 zassert_equal(DT_CLOCKS_CELL(TEST_TEMP, bits), 7, ""); in ZTEST()
2277 zassert_equal(DT_CLOCKS_CELL(TEST_TEMP, bus), 3, ""); in ZTEST()
2280 zassert_equal(DT_PROP_BY_PHANDLE_IDX(TEST_TEMP, clocks, 1, in ZTEST()
2892 zassert_equal(atoi(STRINGIFY(DT_DEP_ORD_STR_SORTABLE(TEST_TEMP))), in ZTEST()
2893 DT_DEP_ORD(TEST_TEMP), "Invalid sortable string"); in ZTEST()
2910 zassert_true(!strcmp(DT_NODE_FULL_NAME(TEST_TEMP), in ZTEST()
2941 zassert_true(DT_SAME_NODE(DT_PINCTRL_BY_IDX(TEST_TEMP, 0, 1), in ZTEST()
2943 zassert_true(DT_SAME_NODE(DT_PINCTRL_BY_IDX(TEST_TEMP, 1, 0), in ZTEST()
2946 zassert_true(DT_SAME_NODE(DT_PINCTRL_0(TEST_TEMP, 0), in ZTEST()
2949 zassert_true(DT_SAME_NODE(DT_PINCTRL_BY_NAME(TEST_TEMP, default, 1), in ZTEST()
2951 zassert_true(DT_SAME_NODE(DT_PINCTRL_BY_NAME(TEST_TEMP, sleep, 0), in ZTEST()
2953 zassert_true(DT_SAME_NODE(DT_PINCTRL_BY_NAME(TEST_TEMP, f_o_o2, 0), in ZTEST()
2956 zassert_equal(DT_PINCTRL_NAME_TO_IDX(TEST_TEMP, default), 0, ""); in ZTEST()
2957 zassert_equal(DT_PINCTRL_NAME_TO_IDX(TEST_TEMP, sleep), 1, ""); in ZTEST()
2958 zassert_equal(DT_PINCTRL_NAME_TO_IDX(TEST_TEMP, f_o_o2), 2, ""); in ZTEST()
2960 zassert_equal(DT_NUM_PINCTRLS_BY_IDX(TEST_TEMP, 0), 2, ""); in ZTEST()
2962 zassert_equal(DT_NUM_PINCTRLS_BY_NAME(TEST_TEMP, default), 2, ""); in ZTEST()
2963 zassert_equal(DT_NUM_PINCTRLS_BY_NAME(TEST_TEMP, f_o_o2), 1, ""); in ZTEST()
2965 zassert_equal(DT_NUM_PINCTRL_STATES(TEST_TEMP), 3, ""); in ZTEST()
2967 zassert_equal(DT_PINCTRL_HAS_IDX(TEST_TEMP, 0), 1, ""); in ZTEST()
2968 zassert_equal(DT_PINCTRL_HAS_IDX(TEST_TEMP, 1), 1, ""); in ZTEST()
2969 zassert_equal(DT_PINCTRL_HAS_IDX(TEST_TEMP, 2), 1, ""); in ZTEST()
2970 zassert_equal(DT_PINCTRL_HAS_IDX(TEST_TEMP, 3), 0, ""); in ZTEST()
2972 zassert_equal(DT_PINCTRL_HAS_NAME(TEST_TEMP, default), 1, ""); in ZTEST()
2973 zassert_equal(DT_PINCTRL_HAS_NAME(TEST_TEMP, sleep), 1, ""); in ZTEST()
2974 zassert_equal(DT_PINCTRL_HAS_NAME(TEST_TEMP, f_o_o2), 1, ""); in ZTEST()
2975 zassert_equal(DT_PINCTRL_HAS_NAME(TEST_TEMP, bar), 0, ""); in ZTEST()
2980 DT_PINCTRL_IDX_TO_NAME_TOKEN(TEST_TEMP, pc_idx)) in ZTEST()
2984 DT_PINCTRL_IDX_TO_NAME_UPPER_TOKEN(TEST_TEMP, pc_idx)) in ZTEST()
3098 const struct mbox_dt_spec channel_tx = MBOX_DT_SPEC_GET(TEST_TEMP, tx); in ZTEST()
3099 const struct mbox_dt_spec channel_rx = MBOX_DT_SPEC_GET(TEST_TEMP, rx); in ZTEST()
3104 zassert_equal(DT_MBOX_CHANNEL_BY_NAME(TEST_TEMP, tx), 1, ""); in ZTEST()
3105 zassert_equal(DT_MBOX_CHANNEL_BY_NAME(TEST_TEMP, rx), 2, ""); in ZTEST()
3107 zassert_true(DT_SAME_NODE(DT_MBOX_CTLR_BY_NAME(TEST_TEMP, tx), in ZTEST()
3109 zassert_true(DT_SAME_NODE(DT_MBOX_CTLR_BY_NAME(TEST_TEMP, rx), in ZTEST()
3112 zassert_equal(DT_MBOX_CHANNEL_BY_NAME(TEST_TEMP, tx), 1, ""); in ZTEST()
3113 zassert_equal(DT_MBOX_CHANNEL_BY_NAME(TEST_TEMP, rx), 2, ""); in ZTEST()
3115 const struct mbox_dt_spec channel_zero = MBOX_DT_SPEC_GET(TEST_TEMP, zero); in ZTEST()
3119 zassert_equal(DT_MBOX_CHANNEL_BY_NAME(TEST_TEMP, zero), 0, ""); in ZTEST()
3121 zassert_true(DT_SAME_NODE(DT_MBOX_CTLR_BY_NAME(TEST_TEMP, zero), in ZTEST()
3608 zassert_true(DT_SAME_NODE(DT_RESET_CTLR_BY_IDX(TEST_TEMP, 1), in ZTEST()
3612 zassert_true(DT_SAME_NODE(DT_RESET_CTLR(TEST_TEMP), in ZTEST()
3616 zassert_true(DT_SAME_NODE(DT_RESET_CTLR_BY_NAME(TEST_TEMP, reset_b), in ZTEST()
3620 zassert_equal(DT_RESET_CELL_BY_IDX(TEST_TEMP, 1, id), 20, ""); in ZTEST()
3621 zassert_equal(DT_RESET_CELL_BY_IDX(TEST_TEMP, 0, id), 10, ""); in ZTEST()
3624 zassert_equal(DT_RESET_CELL_BY_NAME(TEST_TEMP, reset_a, id), 10, ""); in ZTEST()
3625 zassert_equal(DT_RESET_CELL_BY_NAME(TEST_TEMP, reset_b, id), 20, ""); in ZTEST()
3628 zassert_equal(DT_RESET_CELL(TEST_TEMP, id), 10, ""); in ZTEST()
3631 zassert_equal(DT_PROP_BY_PHANDLE_IDX(TEST_TEMP, resets, 1, reg_width), 4, ""); in ZTEST()
3663 zassert_equal(DT_RESET_ID_BY_IDX(TEST_TEMP, 0), 10, ""); in ZTEST()
3664 zassert_equal(DT_RESET_ID_BY_IDX(TEST_TEMP, 1), 20, ""); in ZTEST()
3667 zassert_equal(DT_RESET_ID(TEST_TEMP), 10, ""); in ZTEST()