Home
last modified time | relevance | path

Searched refs:DT_PROP_OR (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-Core-2.7.6/tests/subsys/modbus/src/
Dtest_modbus_server.c189 const char iface_name[] = {DT_PROP_OR(DT_INST(1, zephyr_modbus_serial), in test_server_setup_low_odd()
208 const char iface_name[] = {DT_PROP_OR(DT_INST(1, zephyr_modbus_serial), in test_server_setup_low_none()
227 const char iface_name[] = {DT_PROP_OR(DT_INST(1, zephyr_modbus_serial), in test_server_setup_high_even()
246 const char iface_name[] = {DT_PROP_OR(DT_INST(1, zephyr_modbus_serial), in test_server_setup_ascii()
Dtest_modbus_client.c217 const char iface_name[] = {DT_PROP_OR(DT_INST(0, zephyr_modbus_serial), in test_client_setup_low_none()
232 const char iface_name[] = {DT_PROP_OR(DT_INST(0, zephyr_modbus_serial), in test_client_setup_low_odd()
247 const char iface_name[] = {DT_PROP_OR(DT_INST(0, zephyr_modbus_serial), in test_client_setup_high_even()
262 const char iface_name[] = {DT_PROP_OR(DT_INST(0, zephyr_modbus_serial), in test_client_setup_ascii()
/Zephyr-Core-2.7.6/include/
Dcache.h148 return DT_PROP_OR(CPU, d_cache_line_size, 0); in sys_cache_data_line_size_get()
167 return DT_PROP_OR(CPU, i_cache_line_size, 0); in sys_cache_instr_line_size_get()
Ddevicetree.h640 #define DT_PROP_OR(node_id, prop, default_value) \ macro
1010 DT_PROP_OR(DT_PHANDLE_BY_IDX(node_id, phs, idx), prop, default_value)
1095 DT_PROP_OR(node_id, pha##_IDX_##idx##_VAL_##cell, default_value)
1180 DT_PROP_OR(node_id, pha##_NAME_##name##_VAL_##cell, default_value)
2150 DT_PROP_OR(DT_DRV_INST(inst), prop, default_value)
Ddevice.h156 DT_PROP_OR(node_id, label, DT_NODE_FULL_NAME(node_id))
/Zephyr-Core-2.7.6/samples/basic/threads/src/
Dmain.c46 .gpio_pin_name = DT_PROP_OR(LED0_NODE, label, ""),
51 .gpio_pin_name = DT_PROP_OR(LED1_NODE, label, ""),
/Zephyr-Core-2.7.6/drivers/dma/
Ddmamux_stm32.c259 #define DMA_1_BEGIN_DMAMUX_CHANNEL DT_PROP_OR(DT_NODELABEL(dma1), dma_offset, 0)
261 DT_PROP_OR(DT_NODELABEL(dma1), dma_requests, 0))
265 #define DMA_2_BEGIN_DMAMUX_CHANNEL DT_PROP_OR(DT_NODELABEL(dma2), dma_offset, 0)
267 DT_PROP_OR(DT_NODELABEL(dma2), dma_requests, 0))
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio_df.c70 #define PDU_ANTENNA DT_PROP_OR(RADIO_NODE, dfe_pdu_antenna, 0)
127 #define ANTENNA_NUM DT_PROP_OR(RADIO_NODE, dfe_antenna_num, 0)
/Zephyr-Core-2.7.6/drivers/can/
Dcan_stm32.c1135 .sample_point = DT_PROP_OR(DT_NODELABEL(can1), sample_point, 0),
1136 .sjw = DT_PROP_OR(DT_NODELABEL(can1), sjw, 1),
1137 .prop_ts1 = DT_PROP_OR(DT_NODELABEL(can1), prop_seg, 0) +
1138 DT_PROP_OR(DT_NODELABEL(can1), phase_seg1, 0),
1139 .ts2 = DT_PROP_OR(DT_NODELABEL(can1), phase_seg2, 0),
1234 .sample_point = DT_PROP_OR(DT_NODELABEL(can2), sample_point, 0),
1235 .sjw = DT_PROP_OR(DT_NODELABEL(can2), sjw, 1),
1236 .prop_ts1 = DT_PROP_OR(DT_NODELABEL(can2), prop_seg, 0) +
1237 DT_PROP_OR(DT_NODELABEL(can2), phase_seg1, 0),
1238 .ts2 = DT_PROP_OR(DT_NODELABEL(can2), phase_seg2, 0),
/Zephyr-Core-2.7.6/soc/arm/nxp_kinetis/kwx/
Dsoc_kw4xz.c23 DT_PROP_OR(CLOCK_NODEID(clk), clock_div, 1) - 1
Dsoc_kw2xd.c33 DT_PROP_OR(CLOCK_NODEID(clk), clock_div, 1) - 1
/Zephyr-Core-2.7.6/soc/arm/nxp_kinetis/k2x/
Dsoc.c34 DT_PROP_OR(CLOCK_NODEID(clk), clock_div, 1) - 1
/Zephyr-Core-2.7.6/soc/arm/nxp_kinetis/kl2x/
Dsoc.c21 DT_PROP_OR(CLOCK_NODEID(clk), clock_div, 1) - 1
/Zephyr-Core-2.7.6/soc/arm/nxp_kinetis/kv5x/
Dsoc.c25 DT_PROP_OR(CLOCK_NODEID(clk), clock_div, 1) - 1
/Zephyr-Core-2.7.6/tests/drivers/led/led_api/src/
Dtest_led_api.c33 .index = DT_PROP_OR(led_node_id, index, 0), \
42 .index = DT_PROP_OR(led_node_id, index, 0), \
/Zephyr-Core-2.7.6/soc/arm/nxp_kinetis/k8x/
Dsoc.c29 DT_PROP_OR(CLOCK_NODEID(clk), clock_div, 1) - 1
/Zephyr-Core-2.7.6/samples/drivers/led_pwm/src/
Dmain.c23 #define LED_PWM_LABEL(led_node_id) DT_PROP_OR(led_node_id, label, NULL),
/Zephyr-Core-2.7.6/include/pm/
Ddevice.h134 (DT_PROP_OR(node_id, wakeup_source, 0)),\
/Zephyr-Core-2.7.6/soc/arm/nxp_kinetis/k6x/
Dsoc.c34 DT_PROP_OR(CLOCK_NODEID(clk), clock_div, 1) - 1
/Zephyr-Core-2.7.6/drivers/clock_control/
Dclock_control_mchp_xec.c81 DT_PROP_OR(PCR_NODE_LBL, core_clk_div, CONFIG_SOC_MEC172X_PROC_CLK_DIV)
626 DT_PROP_OR(PCR_NODE_LBL, pll_32k_src, CLK32K_SRC_SIL_OSC); in xec_clock_control_init()
628 DT_PROP_OR(PCR_NODE_LBL, periph_32k_src, CLK32K_SRC_SIL_OSC); in xec_clock_control_init()
/Zephyr-Core-2.7.6/drivers/i2c/
Di2c_ll_stm32.c319 DT_PROP_OR(DT_NODELABEL(name), timings, {});
/Zephyr-Core-2.7.6/include/net/
Dnet_if.h2314 DT_PROP_OR(node_id, label, ""), init_fn, \
2477 DT_PROP_OR(node_id, label, NULL), \
Dethernet.h893 DT_PROP_OR(node_id, label, ""), \
/Zephyr-Core-2.7.6/drivers/audio/
Ddmic_nrfx_pdm.c143 ? DT_PROP_OR(DT_NODELABEL(clock), hfclkaudio_frequency, in check_pdm_frequencies()
/Zephyr-Core-2.7.6/drivers/ethernet/
Ddsa_ksz8xxx.c1106 .mac_addr = DT_PROP_OR(slave, local_mac_address, {0}) \

12