Home
last modified time | relevance | path

Searched refs:DT_NODE_EXISTS (Results 1 – 25 of 79) sorted by relevance

1234

/Zephyr-latest/tests/cmake/snippets/src/
Dmain.c83 zassert_true(DT_NODE_EXISTS(DT_PATH(deleted_by_foo))); in ZTEST()
84 zassert_true(DT_NODE_EXISTS(DT_PATH(deleted_by_bar))); in ZTEST()
85 zassert_false(DT_NODE_EXISTS(DT_PATH(added_by_foo))); in ZTEST()
86 zassert_false(DT_NODE_EXISTS(DT_PATH(added_by_bar))); in ZTEST()
92 zassert_false(DT_NODE_EXISTS(DT_PATH(deleted_by_foo))); in ZTEST()
93 zassert_true(DT_NODE_EXISTS(DT_PATH(deleted_by_bar))); in ZTEST()
94 zassert_true(DT_NODE_EXISTS(DT_PATH(added_by_foo))); in ZTEST()
95 zassert_false(DT_NODE_EXISTS(DT_PATH(added_by_bar))); in ZTEST()
101 zassert_true(DT_NODE_EXISTS(DT_PATH(deleted_by_foo))); in ZTEST()
102 zassert_false(DT_NODE_EXISTS(DT_PATH(deleted_by_bar))); in ZTEST()
[all …]
/Zephyr-latest/samples/bluetooth/mesh/src/
Dboard.c14 #if DT_NODE_EXISTS(DT_ALIAS(led0))
16 #elif DT_NODE_EXISTS(DT_NODELABEL(led0))
23 #if DT_NODE_EXISTS(DT_ALIAS(sw0))
25 #elif DT_NODE_EXISTS(DT_ALIAS(button0))
27 #elif DT_NODE_EXISTS(DT_NODELABEL(sw0))
29 #elif DT_NODE_EXISTS(DT_NODELABEL(button0))
35 #if DT_NODE_EXISTS(LED0)
43 #if DT_NODE_EXISTS(BUTTON0)
60 #if DT_NODE_EXISTS(LED0) in led_init()
81 #if DT_NODE_EXISTS(BUTTON0) in button_init()
[all …]
/Zephyr-latest/tests/cmake/hwm/board_extend/src/
Dmain.c56 zassert_true(DT_NODE_EXISTS(DT_PATH(added_by_native_one)));
57 zassert_false(DT_NODE_EXISTS(DT_PATH(added_by_native_two)));
58 zassert_false(DT_NODE_EXISTS(DT_PATH(adc)));
65 zassert_false(DT_NODE_EXISTS(DT_PATH(added_by_native_one)));
66 zassert_true(DT_NODE_EXISTS(DT_PATH(added_by_native_two)));
67 zassert_false(DT_NODE_EXISTS(DT_PATH(adc)));
/Zephyr-latest/modules/hal_silabs/simplicity_sdk/config/
Dsl_clock_manager_tree_config.h58 : COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(hfrcoem23)), ( \
92 : COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(hfrcoem23)), ( \
96 : COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(hfrcodpllrt)), ( \
111 #if DT_NODE_EXISTS(DT_NODELABEL(em01grpbclk))
121 : COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(hfrcodpllrt)), ( \
136 #if DT_NODE_EXISTS(DT_NODELABEL(em01grpcclk))
144 : COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(hfrcoem23)), ( \
162 #if DT_NODE_EXISTS(DT_NODELABEL(iadcclk))
168 : COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(hfrcoem23)), ( \
180 #if DT_NODE_EXISTS(DT_NODELABEL(lesensehfclk))
[all …]
Dsl_clock_manager_oscillator_config.h66 #if DT_NODE_EXISTS(DT_NODELABEL(hfrcoem23))
71 #if DT_NODE_EXISTS(DT_NODELABEL(lfrco))
/Zephyr-latest/include/zephyr/devicetree/
Dport-endpoint.h37 COND_CODE_1(DT_NODE_EXISTS(DT_INST_CHILD(inst, ports)), \
88 COND_CODE_1(DT_NODE_EXISTS(_DT_INST_PORT_BY_ID(inst, pid)), \
164 COND_CODE_1(DT_NODE_EXISTS(_DT_INST_ENDPOINT_BY_ID(inst, pid, eid)), \
216 COND_CODE_1(DT_NODE_EXISTS(DT_CHILD(DT_PARENT(DT_GPARENT(ep)), ports)), \
Dfixed-partitions.h97 COND_CODE_1(DT_NODE_EXISTS(DT_MEM_FROM_FIXED_PARTITION(node_id)), \
/Zephyr-latest/samples/drivers/can/babbling/src/
Dmain.c18 #if DT_NODE_EXISTS(BUTTON_NODE)
43 #if DT_NODE_EXISTS(BUTTON_NODE) in main()
74 #if DT_NODE_EXISTS(BUTTON_NODE) in main()
120 #if DT_NODE_EXISTS(BUTTON_NODE) in main()
132 #if DT_NODE_EXISTS(BUTTON_NODE) in main()
/Zephyr-latest/samples/sensor/dht_polling/src/
Dmain.c20 IF_ENABLED(DT_NODE_EXISTS(DHT_ALIAS(i)), (DEVICE_DT_GET(DHT_ALIAS(i)),))
26 IF_ENABLED(DT_NODE_EXISTS(DHT_ALIAS(i)), \
34 COND_CODE_1(DT_NODE_EXISTS(DHT_ALIAS(i)), (CONCAT(&dht_iodev, i)), (NULL))
/Zephyr-latest/samples/sensor/qdec/src/
Dmain.c13 DT_NODE_EXISTS(DT_ALIAS(qenca)) && DT_NODE_EXISTS(DT_ALIAS(qencb))
/Zephyr-latest/samples/application_development/code_relocation_nocopy/
Dlinker_arm_nocopy.ld29 #elif defined(CONFIG_STM32_MEMMAP) && DT_NODE_EXISTS(DT_INST(0, st_stm32_ospi_nor))
36 #elif defined(CONFIG_STM32_MEMMAP) && DT_NODE_EXISTS(DT_INST(0, st_stm32_qspi_nor))
43 #elif defined(CONFIG_STM32_MEMMAP) && DT_NODE_EXISTS(DT_INST(0, st_stm32_xspi_nor))
/Zephyr-latest/tests/drivers/uart/uart_async_api/src/
Dtest_uart.h22 #if DT_NODE_EXISTS(DT_NODELABEL(dut))
/Zephyr-latest/samples/boards/nordic/clock_control/src/
Dmain.c12 #if DT_NODE_EXISTS(DT_ALIAS(sample_device))
14 #elif DT_NODE_EXISTS(DT_ALIAS(sample_clock))
/Zephyr-latest/drivers/pinctrl/
Dpinctrl_sam.c13 IF_ENABLED(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
18 IF_ENABLED(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
Dpinctrl_gd32_af.c38 COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
43 COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
Dpinctrl_sam0.c12 IF_ENABLED(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
Dpinctrl_gd32_afio.c28 COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
33 COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
/Zephyr-latest/include/zephyr/
Ddevice.h872 DT_NODE_EXISTS(node_id), \
878 COND_CODE_1(DT_NODE_EXISTS(node_id), \
992 COND_CODE_1(DT_NODE_EXISTS(node_id), \
1036 (IF_ENABLED(DT_NODE_EXISTS(node_id_), \
1079 COND_CODE_1(DT_NODE_EXISTS(node_id), (), (static)) \
1170 (IF_ENABLED(DT_NODE_EXISTS(node_id), \
1181 (IF_ENABLED(DT_NODE_EXISTS(node_id), \
/Zephyr-latest/samples/basic/custom_dts_binding/src/
Dmain.c13 #if !DT_NODE_EXISTS(DT_NODELABEL(load_switch))
/Zephyr-latest/arch/arc/core/
Dirq_offload.c19 #if DT_NODE_EXISTS(DT_NODELABEL(test_irq_offload_line_0))
/Zephyr-latest/samples/sensor/proximity_polling/src/
Dmain.c17 IF_ENABLED(DT_NODE_EXISTS(PROX_ALIASES(i)),\
/Zephyr-latest/samples/sensor/soc_voltage/src/
Dmain.c14 IF_ENABLED(DT_NODE_EXISTS(VOLT_SENSOR_ALIAS(i)), (DEVICE_DT_GET(VOLT_SENSOR_ALIAS(i)),))
/Zephyr-latest/samples/sensor/die_temp_polling/src/
Dmain.c14 IF_ENABLED(DT_NODE_EXISTS(DIE_TEMP_ALIAS(i)), (DEVICE_DT_GET(DIE_TEMP_ALIAS(i)),))
/Zephyr-latest/subsys/pm/
Dstate.c11 BUILD_ASSERT(DT_NODE_EXISTS(DT_PATH(cpus)),
/Zephyr-latest/samples/subsys/input/draw_touch_events/src/
Dmain.c16 #if !DT_NODE_EXISTS(DT_CHOSEN(zephyr_touch))
20 #if !DT_NODE_EXISTS(DT_CHOSEN(zephyr_display))

1234