/Zephyr-latest/include/zephyr/drivers/ |
D | reset.h | 93 #define RESET_DT_SPEC_GET_BY_IDX_OR(node_id, idx, default_value) \ argument 96 (default_value)) 117 #define RESET_DT_SPEC_GET_OR(node_id, default_value) \ argument 118 RESET_DT_SPEC_GET_BY_IDX_OR(node_id, 0, default_value) 142 #define RESET_DT_SPEC_INST_GET_BY_IDX_OR(inst, idx, default_value) \ argument 145 (default_value)) 166 #define RESET_DT_SPEC_INST_GET_OR(inst, default_value) \ argument 167 RESET_DT_SPEC_INST_GET_BY_IDX_OR(inst, 0, default_value)
|
D | pwm.h | 194 #define PWM_DT_SPEC_GET_BY_NAME_OR(node_id, name, default_value) \ argument 197 (default_value)) 213 #define PWM_DT_SPEC_INST_GET_BY_NAME_OR(inst, name, default_value) \ argument 214 PWM_DT_SPEC_GET_BY_NAME_OR(DT_DRV_INST(inst), name, default_value) 297 #define PWM_DT_SPEC_GET_BY_IDX_OR(node_id, idx, default_value) \ argument 300 (default_value)) 315 #define PWM_DT_SPEC_INST_GET_BY_IDX_OR(inst, idx, default_value) \ argument 316 PWM_DT_SPEC_GET_BY_IDX_OR(DT_DRV_INST(inst), idx, default_value) 354 #define PWM_DT_SPEC_GET_OR(node_id, default_value) \ argument 355 PWM_DT_SPEC_GET_BY_IDX_OR(node_id, 0, default_value) [all …]
|
D | gpio.h | 356 #define GPIO_DT_SPEC_GET_BY_IDX_OR(node_id, prop, idx, default_value) \ argument 359 (default_value)) 382 #define GPIO_DT_SPEC_GET_OR(node_id, prop, default_value) \ argument 383 GPIO_DT_SPEC_GET_BY_IDX_OR(node_id, prop, 0, default_value) 409 #define GPIO_DT_SPEC_INST_GET_BY_IDX_OR(inst, prop, idx, default_value) \ argument 412 (default_value)) 435 #define GPIO_DT_SPEC_INST_GET_OR(inst, prop, default_value) \ argument 436 GPIO_DT_SPEC_INST_GET_BY_IDX_OR(inst, prop, 0, default_value)
|
D | led.h | 457 #define LED_DT_SPEC_GET_OR(node_id, default_value) \ argument 460 (default_value))
|
/Zephyr-latest/include/zephyr/ |
D | devicetree.h | 802 #define DT_PROP_LEN_OR(node_id, prop, default_value) \ argument 804 (DT_PROP_LEN(node_id, prop)), (default_value)) 925 #define DT_PROP_OR(node_id, prop, default_value) \ argument 927 (DT_PROP(node_id, prop)), (default_value)) 1122 #define DT_STRING_TOKEN_OR(node_id, prop, default_value) \ argument 1124 (DT_STRING_TOKEN(node_id, prop)), (default_value)) 1200 #define DT_STRING_UPPER_TOKEN_OR(node_id, prop, default_value) \ argument 1202 (DT_STRING_UPPER_TOKEN(node_id, prop)), (default_value)) 1261 #define DT_STRING_UNQUOTED_OR(node_id, prop, default_value) \ argument 1263 (DT_STRING_UNQUOTED(node_id, prop)), (default_value)) [all …]
|
/Zephyr-latest/include/zephyr/drivers/clock_control/ |
D | renesas_ra_cgc.h | 12 #define RA_CGC_PROP_HAS_STATUS_OKAY_OR(node_id, prop, default_value) \ argument 13 COND_CODE_1(DT_NODE_HAS_STATUS(node_id, okay), (DT_PROP(node_id, prop)), (default_value)) 20 #define RA_CGC_CLK_DIV(clk, prop, default_value) \ argument 22 (RA_CGC_PROP_HAS_STATUS_OKAY_OR(clk, prop, default_value))
|
/Zephyr-latest/drivers/flash/ |
D | flash_hp_ra.h | 16 #define GET_SIZE(COND, value, default_value) ((COND) ? (value) : (default_value)) argument
|
D | flash_stm32_ospi.c | 34 #define DT_OSPI_IO_PORT_PROP_OR(prop, default_value) \ argument 37 ((default_value))) 39 #define DT_OSPI_PROP_OR(prop, default_value) \ argument 40 DT_PROP_OR(STM32_OSPI_NODE, prop, default_value) 2568 #define DT_WRITEOC_PROP_OR(inst, default_value) \ argument 2571 ((default_value))) 2573 #define DT_QER_PROP_OR(inst, default_value) \ argument 2577 ((default_value)))
|
D | flash_stm32_qspi.c | 1598 #define DT_WRITEOC_PROP_OR(inst, default_value) \ argument 1601 ((default_value))) 1603 #define DT_QER_PROP_OR(inst, default_value) \ argument 1607 ((default_value)))
|
D | flash_stm32_xspi.c | 35 #define DT_XSPI_IO_PORT_PROP_OR(prop, default_value) \ argument 38 ((default_value))) 2387 #define DT_WRITEOC_PROP_OR(inst, default_value) \ argument 2390 ((default_value))) 2392 #define DT_QER_PROP_OR(inst, default_value) \ argument 2396 ((default_value)))
|
/Zephyr-latest/include/zephyr/devicetree/ |
D | dma.h | 239 #define DT_DMAS_CELL_BY_NAME_OR(node_id, name, cell, default_value) \ argument 240 DT_PHA_BY_NAME_OR(node_id, dmas, name, cell, default_value)
|
/Zephyr-latest/soc/nuvoton/npcx/common/ |
D | soc_dt.h | 28 #define NPCX_DT_PROP_ENUM_OR(node_id, prop, default_value) \ argument 30 (DT_STRING_UPPER_TOKEN(node_id, prop)), (default_value)) 40 #define NPCX_DT_INST_PROP_ENUM_OR(inst, prop, default_value) \ argument 41 NPCX_DT_PROP_ENUM_OR(DT_DRV_INST(inst), prop, default_value)
|
/Zephyr-latest/soc/nordic/common/ |
D | soc_nrf_common.h | 147 #define NRF_DT_GPIOS_TO_PSEL_OR(node_id, prop, default_value) \ argument 150 (default_value))
|
/Zephyr-latest/cmake/flash/ |
D | CMakeLists.txt | 16 function(get_runners_prop prop out_var default_value) 19 # ...-NOTFOUND), 'out_var' is set to 'default_value'. 24 set("${out_var}" "${default_value}" PARENT_SCOPE)
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_obj_server.c | 164 int32_t default_value) in server_get_instance_s32() argument 174 return default_value; in server_get_instance_s32()
|
/Zephyr-latest/drivers/sensor/nxp/mcux_acmp/ |
D | mcux_acmp.c | 59 #define MCUX_ACMP_DT_INST_PROP_OR(inst, prop, depr, default_value) \ argument 63 (default_value) \
|
/Zephyr-latest/drivers/adc/ |
D | adc_stm32.c | 113 #define IS_EQ_PROP_OR(inst, prop, default_value, compare_value) \ argument 114 IS_EQ(DT_INST_PROP_OR(inst, prop, default_value), compare_value) ||
|
/Zephyr-latest/drivers/usb_c/tcpc/ |
D | ucpd_numaker.c | 2346 #define NUMAKER_GPIO_DT_SPEC_INST_GET_BY_NAME_OR(inst, prop, name, default_value) \ argument 2349 (default_value))
|