/Zephyr-latest/tests/cmake/snippets/src/ |
D | main.c | 83 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/ |
D | board.c | 14 #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/ |
D | main.c | 56 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/ |
D | sl_clock_manager_tree_config.h | 58 : 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 …]
|
D | sl_clock_manager_oscillator_config.h | 66 #if DT_NODE_EXISTS(DT_NODELABEL(hfrcoem23)) 71 #if DT_NODE_EXISTS(DT_NODELABEL(lfrco))
|
/Zephyr-latest/include/zephyr/devicetree/ |
D | port-endpoint.h | 37 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)), \
|
D | fixed-partitions.h | 97 COND_CODE_1(DT_NODE_EXISTS(DT_MEM_FROM_FIXED_PARTITION(node_id)), \
|
/Zephyr-latest/samples/drivers/can/babbling/src/ |
D | main.c | 18 #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/ |
D | main.c | 20 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/ |
D | main.c | 13 DT_NODE_EXISTS(DT_ALIAS(qenca)) && DT_NODE_EXISTS(DT_ALIAS(qencb))
|
/Zephyr-latest/samples/application_development/code_relocation_nocopy/ |
D | linker_arm_nocopy.ld | 29 #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/ |
D | test_uart.h | 22 #if DT_NODE_EXISTS(DT_NODELABEL(dut))
|
/Zephyr-latest/samples/boards/nordic/clock_control/src/ |
D | main.c | 12 #if DT_NODE_EXISTS(DT_ALIAS(sample_device)) 14 #elif DT_NODE_EXISTS(DT_ALIAS(sample_clock))
|
/Zephyr-latest/drivers/pinctrl/ |
D | pinctrl_sam.c | 13 IF_ENABLED(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \ 18 IF_ENABLED(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
|
D | pinctrl_gd32_af.c | 38 COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \ 43 COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
|
D | pinctrl_sam0.c | 12 IF_ENABLED(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
|
D | pinctrl_gd32_afio.c | 28 COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \ 33 COND_CODE_1(DT_NODE_EXISTS(DT_NODELABEL(nodelabel)), \
|
/Zephyr-latest/include/zephyr/ |
D | device.h | 872 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/ |
D | main.c | 13 #if !DT_NODE_EXISTS(DT_NODELABEL(load_switch))
|
/Zephyr-latest/arch/arc/core/ |
D | irq_offload.c | 19 #if DT_NODE_EXISTS(DT_NODELABEL(test_irq_offload_line_0))
|
/Zephyr-latest/samples/sensor/proximity_polling/src/ |
D | main.c | 17 IF_ENABLED(DT_NODE_EXISTS(PROX_ALIASES(i)),\
|
/Zephyr-latest/samples/sensor/soc_voltage/src/ |
D | main.c | 14 IF_ENABLED(DT_NODE_EXISTS(VOLT_SENSOR_ALIAS(i)), (DEVICE_DT_GET(VOLT_SENSOR_ALIAS(i)),))
|
/Zephyr-latest/samples/sensor/die_temp_polling/src/ |
D | main.c | 14 IF_ENABLED(DT_NODE_EXISTS(DIE_TEMP_ALIAS(i)), (DEVICE_DT_GET(DIE_TEMP_ALIAS(i)),))
|
/Zephyr-latest/subsys/pm/ |
D | state.c | 11 BUILD_ASSERT(DT_NODE_EXISTS(DT_PATH(cpus)),
|
/Zephyr-latest/samples/subsys/input/draw_touch_events/src/ |
D | main.c | 16 #if !DT_NODE_EXISTS(DT_CHOSEN(zephyr_touch)) 20 #if !DT_NODE_EXISTS(DT_CHOSEN(zephyr_display))
|