/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/tests/drivers/mbox/mbox_data/remote/src/ |
D | main.c | 24 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), tx0), 25 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), rx0), 28 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), tx1), 29 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), rx1), 32 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), tx2), 33 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), rx2), 36 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), tx3), 37 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), rx3),
|
/Zephyr-latest/tests/drivers/mbox/mbox_error_cases/src/ |
D | main.c | 55 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), local_valid); in ZTEST() 57 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), remote_valid); in ZTEST() 88 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), local_incorrect); in ZTEST() 90 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), remote_incorrect); in ZTEST() 119 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), remote_incorrect); in ZTEST() 141 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), local_valid); in ZTEST() 163 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), remote_valid); in ZTEST() 194 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), remote_valid); in ZTEST() 231 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), remote_valid); in ZTEST() 253 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), local_incorrect); in ZTEST() [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/soc/telink/tlsr/tlsr951x/ |
D | soc.c | 60 #if ((DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_16MHZ) && \ 61 (DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_24MHZ) && \ 62 (DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_32MHZ) && \ 63 (DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_48MHZ) && \ 64 (DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_64MHZ) && \ 65 (DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_96MHZ)) 76 unsigned int cclk = DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency); in soc_early_init_hook()
|
/Zephyr-latest/subsys/pm/ |
D | state.c | 11 BUILD_ASSERT(DT_NODE_EXISTS(DT_PATH(cpus)), 40 DT_FOREACH_CHILD(DT_PATH(cpus), CHECK_POWER_STATES_CONSISTENCY) 47 DT_FOREACH_CHILD(DT_PATH(cpus), DEFINE_CPU_STATES); 51 DT_FOREACH_CHILD_STATUS_OKAY_SEP(DT_PATH(cpus), CPU_STATE_REF, (,)) 56 DT_FOREACH_CHILD_STATUS_OKAY_SEP(DT_PATH(cpus), DT_NUM_CPU_POWER_STATES, (,))
|
/Zephyr-latest/tests/drivers/mbox/mbox_data/src/ |
D | main.c | 32 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), tx0), 33 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), rx0), 36 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), tx1), 37 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), rx1), 40 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), tx2), 41 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), rx2), 44 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), tx3), 45 MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), rx3),
|
/Zephyr-latest/tests/drivers/regulator/fixed/src/ |
D | main.c | 12 static const struct device *const reg = DEVICE_DT_GET(DT_PATH(regulator)); 14 GPIO_DT_SPEC_GET(DT_PATH(resources), check_gpios); 15 static const uint32_t startup_delay_ms = DT_PROP(DT_PATH(regulator), 17 static const uint32_t off_on_delay_ms = DT_PROP(DT_PATH(regulator),
|
/Zephyr-latest/tests/drivers/adc/adc_accuracy_test/src/ |
D | dac_source.c | 14 #define DAC_DEVICE_NODE DT_PROP(DT_PATH(zephyr_user), dac) 19 .channel_id = DT_PROP(DT_PATH(zephyr_user), dac_channel_id), 20 .resolution = DT_PROP(DT_PATH(zephyr_user), dac_resolution), 53 ret = dac_write_value(dac_dev, DT_PROP(DT_PATH(zephyr_user), dac_channel_id), write_val); in test_dac_to_adc()
|
D | main.c | 10 #if DT_NODE_HAS_PROP(DT_PATH(zephyr_user), io_channels) 11 static const struct adc_dt_spec adc_channel = ADC_DT_SPEC_GET(DT_PATH(zephyr_user));
|
D | ref_volt.c | 10 #define REF_V DT_PROP(DT_PATH(zephyr_user), reference_mv) 11 #define EXP_ACC DT_PROP(DT_PATH(zephyr_user), expected_accuracy)
|
/Zephyr-latest/boards/norik/octopus_io_board/ |
D | board.c | 14 #define SIM_SELECT_NODE DT_PATH(sim_select) 18 const struct gpio_dt_spec simctrl = GPIO_DT_SPEC_GET(DT_PATH(sim_select), sim_gpios); in board_late_init_hook()
|
/Zephyr-latest/boards/norik/octopus_som/ |
D | board.c | 14 #define SIM_SELECT_NODE DT_PATH(sim_select) 18 const struct gpio_dt_spec simctrl = GPIO_DT_SPEC_GET(DT_PATH(sim_select), sim_gpios); in board_late_init_hook()
|
/Zephyr-latest/samples/boards/st/power_mgmt/adc/src/ |
D | main.c | 15 #if !DT_NODE_EXISTS(DT_PATH(zephyr_user)) || \ 16 !DT_NODE_HAS_PROP(DT_PATH(zephyr_user), io_channels) 25 DT_FOREACH_PROP_ELEM(DT_PATH(zephyr_user), io_channels,
|
/Zephyr-latest/samples/drivers/adc/adc_dt/src/ |
D | main.c | 18 #if !DT_NODE_EXISTS(DT_PATH(zephyr_user)) || \ 19 !DT_NODE_HAS_PROP(DT_PATH(zephyr_user), io_channels) 28 DT_FOREACH_PROP_ELEM(DT_PATH(zephyr_user), io_channels,
|
/Zephyr-latest/samples/boards/nordic/dynamic_pinctrl/src/ |
D | remap.c | 19 PINCTRL_DT_STATE_PINS_DEFINE(DT_PATH(zephyr_user), uart0_alt_default); 21 PINCTRL_DT_STATE_PINS_DEFINE(DT_PATH(zephyr_user), uart0_alt_sleep);
|
/Zephyr-latest/samples/drivers/mbox/remote/src/ |
D | main.c | 30 const struct mbox_dt_spec rx_channel = MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), rx); in main() 48 const struct mbox_dt_spec tx_channel = MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), tx); in main()
|
/Zephyr-latest/samples/drivers/mbox/src/ |
D | main.c | 26 const struct mbox_dt_spec rx_channel = MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), rx); in main() 44 const struct mbox_dt_spec tx_channel = MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), tx); in main()
|
/Zephyr-latest/samples/drivers/mbox_data/remote/src/ |
D | main.c | 29 const struct mbox_dt_spec tx_channel = MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), tx); in main() 30 const struct mbox_dt_spec rx_channel = MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), rx); in main()
|
/Zephyr-latest/samples/drivers/mbox_data/src/ |
D | main.c | 29 const struct mbox_dt_spec tx_channel = MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), tx); in main() 30 const struct mbox_dt_spec rx_channel = MBOX_DT_SPEC_GET(DT_PATH(mbox_consumer), rx); in main()
|
/Zephyr-latest/soc/atmel/sam/common/ |
D | atmel_sam_dt.h | 19 DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
|
/Zephyr-latest/soc/snps/arc_iot/ |
D | soc.c | 16 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
|
/Zephyr-latest/boards/blues/swan_r5/ |
D | board.c | 13 GPIO_DT_SPEC_GET(DT_PATH(zephyr_user), dischrg_gpios); in board_swan_init()
|
/Zephyr-latest/samples/boards/bbc/microbit/line_follower_robot/src/ |
D | main.c | 19 GPIO_DT_SPEC_GET(DT_PATH(zephyr_user), left_gpios); 21 GPIO_DT_SPEC_GET(DT_PATH(zephyr_user), right_gpios);
|
/Zephyr-latest/boards/arduino/nano_33_ble/ |
D | board.c | 15 GPIO_DT_SPEC_GET(DT_PATH(zephyr_user), pull_up_gpios); in board_init()
|