Searched refs:UTIL_OR (Results 1 – 16 of 16) sorted by relevance
/Zephyr-latest/subsys/usb/device_next/class/ |
D | usbd_uac2_macros.h | 131 UTIL_OR( \ 1000 UTIL_OR(UTIL_NOT(DT_NODE_HAS_PROP(entity, assoc_terminal)), \ 1005 UTIL_OR(UTIL_NOT(DT_NODE_HAS_PROP(entity, assoc_terminal)), \ 1010 UTIL_OR(DT_NODE_HAS_COMPAT(DT_PROP(entity, data_source), \ 1020 BUILD_ASSERT(UTIL_OR(UTIL_NOT(DT_NODE_HAS_PROP(fu, control)), \ 1045 #define NEEDS_SUBSLOT_SIZE_AND_BIT_RESOLUTION(node) UTIL_OR( \ 1046 UTIL_OR(IS_EQ(AUDIO_STREAMING_FORMAT_TYPE(node), FORMAT_TYPE_I), \ 1048 UTIL_OR(IS_EQ(AUDIO_STREAMING_FORMAT_TYPE(node), EXT_FORMAT_TYPE_I), \ 1058 UTIL_OR(DT_NODE_HAS_COMPAT(DT_PROP(node, linked_terminal), \
|
/Zephyr-latest/tests/unit/util/ |
D | main.c | 147 zassert_equal(UTIL_OR(SEVEN, A_BUILD_ERROR), 7); in ZTEST() 148 zassert_equal(UTIL_OR(7, 0), 7); in ZTEST() 149 zassert_equal(UTIL_OR(SEVEN, ZERO), 7); in ZTEST() 150 zassert_equal(UTIL_OR(0, 7), 7); in ZTEST() 151 zassert_equal(UTIL_OR(ZERO, SEVEN), 7); in ZTEST() 152 zassert_equal(UTIL_OR(0, 0), 0); in ZTEST() 153 zassert_equal(UTIL_OR(ZERO, ZERO), 0); in ZTEST()
|
/Zephyr-latest/include/zephyr/sys/ |
D | util_macro.h | 406 #define UTIL_OR(a, b) COND_CODE_1(UTIL_BOOL(a), (a), (b)) macro
|
/Zephyr-latest/soc/nuvoton/npcx/common/ |
D | pinctrl_soc.h | 157 UTIL_OR(DT_PROP(node_id, bias_pull_down), \
|
/Zephyr-latest/drivers/sensor/st/lis2dux12/ |
D | lis2dux12.c | 259 IF_ENABLED(UTIL_OR(DT_INST_NODE_HAS_PROP(inst, int1_gpios), \
|
/Zephyr-latest/include/zephyr/drivers/ |
D | adc.h | 244 IF_ENABLED(UTIL_OR(DT_PROP(node_id, zephyr_differential), \
|
/Zephyr-latest/drivers/sensor/st/lis2de12/ |
D | lis2de12.c | 428 IF_ENABLED(UTIL_OR(DT_INST_NODE_HAS_PROP(inst, int1_gpios), \
|
/Zephyr-latest/drivers/sensor/st/lis2du12/ |
D | lis2du12.c | 426 IF_ENABLED(UTIL_OR(DT_INST_NODE_HAS_PROP(inst, int1_gpios), \
|
/Zephyr-latest/drivers/sensor/st/iis328dq/ |
D | iis328dq.c | 392 IF_ENABLED(UTIL_OR(DT_INST_NODE_HAS_PROP(inst, int1_gpios), \
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_mcux.c | 428 .flags = UTIL_AND(UTIL_OR(DT_INST_IRQ_HAS_IDX(n, 0), \
|
/Zephyr-latest/soc/nordic/ |
D | validate_base_addresses.c | 101 UTIL_OR(UTIL_NOT(DT_REG_HAS_IDX(DT_NODELABEL(lbl), 0)), \
|
/Zephyr-latest/modules/hal_nordic/nrfx/ |
D | nrfx_config.h | 1025 UTIL_OR(DT_NODE_HAS_PROP(DT_NODELABEL(_CONCAT(dppic, inst_num)), source_channels), \
|
/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | bap.h | 83 IF_ENABLED(UTIL_OR(IS_ENABLED(CONFIG_BT_BAP_BROADCAST_SOURCE), \
|
/Zephyr-latest/drivers/spi/ |
D | spi_nrfx_spim.c | 49 #define SPIM_REQUESTS_CLOCK(idx) UTIL_OR(IS_EQ(idx, 120), \
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_nxp_s32_emios.c | 576 UTIL_OR(DT_ENUM_HAS_VALUE(node_id, pwm_mode, OPWMCB_TRAIL_EDGE), \
|
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/ |
D | lsm6dsv16x.c | 1144 IF_ENABLED(UTIL_OR(DT_INST_NODE_HAS_PROP(inst, int1_gpios), \
|