Home
last modified time | relevance | path

Searched refs:DT_NODE_HAS_PROP (Results 1 – 25 of 165) sorted by relevance

1234567

/Zephyr-latest/soc/nordic/common/
Dsoc_nrf_common.h46 COND_CODE_1(DT_NODE_HAS_PROP(node_id, psel_prop), \
49 DT_NODE_HAS_PROP(node_id, gpios_prop), \
70 !(DT_NODE_HAS_PROP(node_id, psel_prop) && \
71 DT_NODE_HAS_PROP(node_id, gpios_prop)), \
86 (DT_NODE_HAS_PROP(node_id, psel_prop) ^ \
87 DT_NODE_HAS_PROP(node_id, gpios_prop)), \
148 COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \
210 COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \
Ddmm.h30 COND_CODE_1(DT_NODE_HAS_PROP(node_id, zephyr_memory_attr), \
60 COND_CODE_1(DT_NODE_HAS_PROP(node_id, memory_regions), \
69 COND_CODE_1(DT_NODE_HAS_PROP(node_id, memory_regions), \
/Zephyr-latest/soc/nuvoton/numaker/m2l31x/
Dsoc.c28 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), hxt) in soc_reset_hook()
39 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), lxt) in soc_reset_hook()
60 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), hirc48m) in soc_reset_hook()
71 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), clk_pclkdiv) in soc_reset_hook()
76 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), core_clock) in soc_reset_hook()
/Zephyr-latest/soc/nuvoton/numaker/m46x/
Dsoc.c28 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), hxt) in soc_reset_hook()
39 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), lxt) in soc_reset_hook()
60 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), hirc48m) in soc_reset_hook()
71 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), clk_pclkdiv) in soc_reset_hook()
76 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), core_clock) in soc_reset_hook()
/Zephyr-latest/tests/drivers/gpio/gpio_reserved_ranges/src/
Dmain.c24 zassert_true(DT_NODE_HAS_PROP(TEST_GPIO_1, gpio_reserved_ranges), ""); in ZTEST()
25 zassert_true(DT_NODE_HAS_PROP(TEST_GPIO_2, gpio_reserved_ranges), ""); in ZTEST()
26 zassert_true(DT_NODE_HAS_PROP(TEST_GPIO_3, gpio_reserved_ranges), ""); in ZTEST()
27 zassert_true(DT_NODE_HAS_PROP(TEST_GPIO_4, gpio_reserved_ranges), ""); in ZTEST()
28 zassert_true(DT_NODE_HAS_PROP(TEST_GPIO_5, gpio_reserved_ranges), ""); in ZTEST()
29 zassert_false(DT_NODE_HAS_PROP(TEST_GPIO_6, gpio_reserved_ranges), ""); in ZTEST()
/Zephyr-latest/include/zephyr/drivers/clock_control/
Dstm32_clock_control.h83 #if DT_NODE_HAS_PROP(DT_NODELABEL(rcc), ahb_prescaler)
85 #elif DT_NODE_HAS_PROP(DT_NODELABEL(rcc), cpu1_prescaler)
89 #if DT_NODE_HAS_PROP(DT_NODELABEL(rcc), ahb3_prescaler)
91 #elif DT_NODE_HAS_PROP(DT_NODELABEL(rcc), ahb4_prescaler)
163 #define STM32_PLL_P_ENABLED DT_NODE_HAS_PROP(DT_NODELABEL(pll), div_p)
165 #define STM32_PLL_Q_ENABLED DT_NODE_HAS_PROP(DT_NODELABEL(pll), div_q)
167 #define STM32_PLL_R_ENABLED DT_NODE_HAS_PROP(DT_NODELABEL(pll), div_r)
169 #define STM32_PLL_S_ENABLED DT_NODE_HAS_PROP(DT_NODELABEL(pll), div_s)
171 #define STM32_PLL_FRACN_ENABLED DT_NODE_HAS_PROP(DT_NODELABEL(pll), fracn)
179 #define STM32_PLLI2S_R_ENABLED DT_NODE_HAS_PROP(DT_NODELABEL(plli2s), div_r)
[all …]
/Zephyr-latest/samples/drivers/dac/src/
Dmain.c13 #if (DT_NODE_HAS_PROP(ZEPHYR_USER_NODE, dac) && \
14 DT_NODE_HAS_PROP(ZEPHYR_USER_NODE, dac_channel_id) && \
15 DT_NODE_HAS_PROP(ZEPHYR_USER_NODE, dac_resolution))
/Zephyr-latest/soc/nxp/imx/imx8m/a53/
Dsoc.c31 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(uart2)) && DT_NODE_HAS_PROP(DT_NODELABEL(uart2), rdc) in soc_rdc_init()
37 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(uart4)) && DT_NODE_HAS_PROP(DT_NODELABEL(uart4), rdc) in soc_rdc_init()
43 #if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(enet)) && DT_NODE_HAS_PROP(DT_NODELABEL(enet), rdc) in soc_rdc_init()
/Zephyr-latest/soc/snps/arc_iot/
Dlinker.ld17 #if DT_NODE_HAS_PROP(DT_CHOSEN(zephyr_sram), reg) && \
23 #if DT_NODE_HAS_PROP(DT_CHOSEN(zephyr_flash), reg) && \
30 #if DT_NODE_HAS_PROP(DT_INST(0, arc_iccm), reg) && \
39 #if DT_NODE_HAS_PROP(DT_INST(0, arc_dccm), reg) && \
/Zephyr-latest/drivers/clock_control/
Dclock_control_mcux_sim.c72 #if DT_NODE_HAS_PROP(DT_INST(0, nxp_kinetis_ke1xf_sim), clkout_source)
76 #if DT_NODE_HAS_PROP(DT_INST(0, nxp_kinetis_ke1xf_sim), clkout_divider)
82 #if DT_NODE_HAS_PROP(DT_INST(0, nxp_kinetis_sim), clkout_source)
86 #if DT_NODE_HAS_PROP(DT_INST(0, nxp_kinetis_sim), clkout_divider)
Dclock_control_numaker_scc.c122 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), hxt) in numaker_scc_init()
125 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), lxt) in numaker_scc_init()
128 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), hirc48) in numaker_scc_init()
131 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), clk_pclkdiv) in numaker_scc_init()
134 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), core_clock) in numaker_scc_init()
Dclock_stm32_ll_common.c37 #if DT_NODE_HAS_PROP(DT_NODELABEL(rcc), apb2_prescaler)
64 #if DT_NODE_HAS_PROP(DT_NODELABEL(rcc), ahb4_prescaler)
67 #elif DT_NODE_HAS_PROP(DT_NODELABEL(rcc), ahb3_prescaler)
342 #if DT_NODE_HAS_PROP(DT_NODELABEL(rcc), apb2_prescaler) in stm32_clock_control_get_subsys_rate()
348 #if DT_NODE_HAS_PROP(DT_NODELABEL(rcc), ahb3_prescaler) in stm32_clock_control_get_subsys_rate()
883 #if DT_NODE_HAS_PROP(DT_NODELABEL(rcc), apb2_prescaler) in stm32_clock_control_init()
886 #if DT_NODE_HAS_PROP(DT_NODELABEL(rcc), cpu2_prescaler) in stm32_clock_control_init()
889 #if DT_NODE_HAS_PROP(DT_NODELABEL(rcc), ahb3_prescaler) in stm32_clock_control_init()
892 #if DT_NODE_HAS_PROP(DT_NODELABEL(rcc), ahb4_prescaler) in stm32_clock_control_init()
895 #if DT_NODE_HAS_PROP(DT_NODELABEL(rcc), adc_prescaler) in stm32_clock_control_init()
[all …]
/Zephyr-latest/include/zephyr/drivers/mspi/
Ddevicetree.h52 .mem_boundary = COND_CODE_1(DT_NODE_HAS_PROP(mspi_dev, ce_break_config), \
55 .time_to_break = COND_CODE_1(DT_NODE_HAS_PROP(mspi_dev, ce_break_config), \
97 COND_CODE_1(DT_NODE_HAS_PROP(mspi_dev, xip_config), \
137 COND_CODE_1(DT_NODE_HAS_PROP(mspi_dev, scramble_config), \
243 COND_CODE_1(DT_NODE_HAS_PROP(node_id, ce_gpios), \
/Zephyr-latest/soc/snps/nsim/arc_classic/
Dlinker.ld14 #if DT_NODE_HAS_PROP(DT_INST(0, arc_iccm), reg) && \
24 #if DT_NODE_HAS_PROP(DT_INST(0, arc_dccm), reg) && \
31 #if DT_NODE_HAS_PROP(DT_CHOSEN(zephyr_sram), reg) && (DT_REG_SIZE(DT_CHOSEN(zephyr_sram)) > 0)
37 #if DT_NODE_HAS_PROP(DT_CHOSEN(zephyr_flash), reg) && \
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio_nrf5_fem.h18 #if DT_NODE_HAS_PROP(DT_NODELABEL(radio), fem)
29 #define FEM_HAS_PROP(prop) DT_NODE_HAS_PROP(FEM_NODE, prop)
/Zephyr-latest/include/zephyr/arch/arc/v2/
Dxy_mem.ld7 #if DT_NODE_HAS_PROP(DT_INST(0, arc_xccm), reg) && \
13 #if DT_NODE_HAS_PROP(DT_INST(0, arc_yccm), reg) && \
/Zephyr-latest/soc/snps/emsdp/
Dlinker.ld17 #if DT_NODE_HAS_PROP(DT_CHOSEN(zephyr_sram), reg) && \
25 #if DT_NODE_HAS_PROP(DT_INST(0, arc_iccm), reg) && \
35 #if DT_NODE_HAS_PROP(DT_INST(0, arc_dccm), reg) && \
/Zephyr-latest/drivers/pwm/
Dpwm_nxp_s32_emios.c597 BUILD_ASSERT(DT_NODE_HAS_PROP(node_id, duty_cycle), \
599 BUILD_ASSERT(DT_NODE_HAS_PROP(node_id, polarity), \
601 BUILD_ASSERT(DT_NODE_HAS_PROP(node_id, input_filter), \
606 BUILD_ASSERT(DT_NODE_HAS_PROP(node_id, period), \
613 BUILD_ASSERT(!DT_NODE_HAS_PROP(node_id, master_bus), \
632 BUILD_ASSERT(!DT_NODE_HAS_PROP(node_id, period), \
635 BUILD_ASSERT(!DT_NODE_HAS_PROP(node_id, prescaler), \
646 BUILD_ASSERT(!DT_NODE_HAS_PROP(node_id, period), \
654 BUILD_ASSERT(!DT_NODE_HAS_PROP(node_id, prescaler), \
661 IF_ENABLED(DT_NODE_HAS_PROP(node_id, master_bus), \
[all …]
/Zephyr-latest/include/zephyr/devicetree/
Dcan.h75 COND_CODE_1(DT_NODE_HAS_PROP(node_id, phys), \
118 COND_CODE_1(DT_NODE_HAS_PROP(node_id, phys), \
/Zephyr-latest/soc/snps/emsk/
Dlinker.ld19 #if DT_NODE_HAS_PROP(DT_NODELABEL(ddr0), reg) && \
26 #if DT_NODE_HAS_PROP(DT_INST(0, arc_iccm), reg) && \
36 #if DT_NODE_HAS_PROP(DT_INST(0, arc_dccm), reg) && \
/Zephyr-latest/soc/snps/qemu_arc/
Dlinker.ld12 #if DT_NODE_HAS_PROP(DT_CHOSEN(zephyr_sram), reg) && \
21 #if DT_NODE_HAS_PROP(DT_CHOSEN(zephyr_flash), reg) && \
/Zephyr-latest/soc/nuvoton/npcx/common/
Dpinctrl_soc.h162 DT_NODE_HAS_PROP(node_periph, pwm_channel))
165 UTIL_AND(DT_NODE_HAS_PROP(node_id, psl_in_pol), \
166 DT_NODE_HAS_PROP(node_id, psl_in_mode))
264 COND_CODE_1(DT_NODE_HAS_PROP(DT_PROP_BY_IDX(node_id, prop, idx), dev_ctl), \
267 COND_CODE_1(DT_NODE_HAS_PROP(DT_PROP_BY_IDX(node_id, prop, idx), pinmux), \
/Zephyr-latest/soc/xlnx/zynq7000/common/
Dpinctrl_soc.h372 COND_CODE_1(DT_NODE_HAS_PROP(node_id, groups), \
375 COND_CODE_1(DT_NODE_HAS_PROP(node_id, pins), \
401 COND_CODE_1(DT_NODE_HAS_PROP(node_id, function), \
425 COND_CODE_1(DT_NODE_HAS_PROP(node_id, function), (MIO_PIN_LX_SEL_MASK), (0U)) | \
429 COND_CODE_1(DT_NODE_HAS_PROP(node_id, power_source), (MIO_PIN_IO_TYPE_MASK), (0U)) | \
430 COND_CODE_1(DT_NODE_HAS_PROP(node_id, slew_rate), (MIO_PIN_SPEED_MASK), (0U))
433 COND_CODE_1(DT_NODE_HAS_PROP(node_id, function), \
/Zephyr-latest/drivers/watchdog/
Dwdt_intel_adsp.c45 #define WDT_INTEL_ADSP_INTERRUPT_SUPPORT DT_NODE_HAS_PROP(DEV_NODE, interrupts)
226 #if !(DT_NODE_HAS_PROP(DEV_NODE, clock_frequency) || DT_NODE_HAS_PROP(DEV_NODE, clocks))
232 COND_CODE_1(DT_NODE_HAS_PROP(DEV_NODE, clock_frequency),
/Zephyr-latest/drivers/spi/
Dspi_nrfx_common.h16 COND_CODE_1(DT_NODE_HAS_PROP(node_id, wake_gpios), \

1234567