Home
last modified time | relevance | path

Searched refs:default_value (Results 1 – 10 of 10) sorted by relevance

/Zephyr-Core-3.4.0/include/zephyr/
Ddevicetree.h660 #define DT_PROP_LEN_OR(node_id, prop, default_value) \ argument
662 (DT_PROP_LEN(node_id, prop)), (default_value))
772 #define DT_PROP_OR(node_id, prop, default_value) \ argument
774 (DT_PROP(node_id, prop)), (default_value))
933 #define DT_STRING_TOKEN_OR(node_id, prop, default_value) \ argument
935 (DT_STRING_TOKEN(node_id, prop)), (default_value))
1011 #define DT_STRING_UPPER_TOKEN_OR(node_id, prop, default_value) \ argument
1013 (DT_STRING_UPPER_TOKEN(node_id, prop)), (default_value))
1072 #define DT_STRING_UNQUOTED_OR(node_id, prop, default_value) \ argument
1074 (DT_STRING_UNQUOTED(node_id, prop)), (default_value))
[all …]
/Zephyr-Core-3.4.0/include/zephyr/drivers/
Dpwm.h192 #define PWM_DT_SPEC_GET_BY_NAME_OR(node_id, name, default_value) \ argument
195 (default_value))
211 #define PWM_DT_SPEC_INST_GET_BY_NAME_OR(inst, name, default_value) \ argument
212 PWM_DT_SPEC_GET_BY_NAME_OR(DT_DRV_INST(inst), name, default_value)
295 #define PWM_DT_SPEC_GET_BY_IDX_OR(node_id, idx, default_value) \ argument
298 (default_value))
313 #define PWM_DT_SPEC_INST_GET_BY_IDX_OR(inst, idx, default_value) \ argument
314 PWM_DT_SPEC_GET_BY_IDX_OR(DT_DRV_INST(inst), idx, default_value)
352 #define PWM_DT_SPEC_GET_OR(node_id, default_value) \ argument
353 PWM_DT_SPEC_GET_BY_IDX_OR(node_id, 0, default_value)
[all …]
Dgpio.h353 #define GPIO_DT_SPEC_GET_BY_IDX_OR(node_id, prop, idx, default_value) \ argument
356 (default_value))
379 #define GPIO_DT_SPEC_GET_OR(node_id, prop, default_value) \ argument
380 GPIO_DT_SPEC_GET_BY_IDX_OR(node_id, prop, 0, default_value)
406 #define GPIO_DT_SPEC_INST_GET_BY_IDX_OR(inst, prop, idx, default_value) \ argument
409 (default_value))
432 #define GPIO_DT_SPEC_INST_GET_OR(inst, prop, default_value) \ argument
433 GPIO_DT_SPEC_INST_GET_BY_IDX_OR(inst, prop, 0, default_value)
/Zephyr-Core-3.4.0/soc/arm/nuvoton_npcx/common/
Dsoc_dt.h28 #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-Core-3.4.0/soc/arm/nordic_nrf/common/
Dsoc_nrf_common.h147 #define NRF_DT_GPIOS_TO_PSEL_OR(node_id, prop, default_value) \ argument
150 (default_value))
/Zephyr-Core-3.4.0/cmake/flash/
DCMakeLists.txt16 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-Core-3.4.0/subsys/net/lib/lwm2m/
Dlwm2m_obj_server.c185 int32_t default_value) in server_get_instance_s32() argument
195 return default_value; in server_get_instance_s32()
/Zephyr-Core-3.4.0/drivers/flash/
Dflash_stm32_qspi.c1321 #define DT_WRITEOC_PROP_OR(inst, default_value) \ argument
1324 ((default_value)))
1326 #define DT_QER_PROP_OR(inst, default_value) \ argument
1330 ((default_value)))
Dflash_stm32_ospi.c2261 #define DT_WRITEOC_PROP_OR(inst, default_value) \ argument
2264 ((default_value)))
2266 #define DT_QER_PROP_OR(inst, default_value) \ argument
2270 ((default_value)))
/Zephyr-Core-3.4.0/drivers/adc/
Dadc_stm32.c69 #define IS_EQ_PROP_OR(inst, prop, default_value, compare_value) \ argument
70 IS_EQ(DT_INST_PROP_OR(inst, prop, default_value), compare_value) ||