Home
last modified time | relevance | path

Searched refs:UTIL_OR (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_uac2_macros.h131 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/
Dmain.c147 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/
Dutil_macro.h406 #define UTIL_OR(a, b) COND_CODE_1(UTIL_BOOL(a), (a), (b)) macro
/Zephyr-latest/soc/nuvoton/npcx/common/
Dpinctrl_soc.h157 UTIL_OR(DT_PROP(node_id, bias_pull_down), \
/Zephyr-latest/drivers/sensor/st/lis2dux12/
Dlis2dux12.c259 IF_ENABLED(UTIL_OR(DT_INST_NODE_HAS_PROP(inst, int1_gpios), \
/Zephyr-latest/include/zephyr/drivers/
Dadc.h244 IF_ENABLED(UTIL_OR(DT_PROP(node_id, zephyr_differential), \
/Zephyr-latest/drivers/sensor/st/lis2de12/
Dlis2de12.c428 IF_ENABLED(UTIL_OR(DT_INST_NODE_HAS_PROP(inst, int1_gpios), \
/Zephyr-latest/drivers/sensor/st/lis2du12/
Dlis2du12.c426 IF_ENABLED(UTIL_OR(DT_INST_NODE_HAS_PROP(inst, int1_gpios), \
/Zephyr-latest/drivers/sensor/st/iis328dq/
Diis328dq.c392 IF_ENABLED(UTIL_OR(DT_INST_NODE_HAS_PROP(inst, int1_gpios), \
/Zephyr-latest/drivers/gpio/
Dgpio_mcux.c428 .flags = UTIL_AND(UTIL_OR(DT_INST_IRQ_HAS_IDX(n, 0), \
/Zephyr-latest/soc/nordic/
Dvalidate_base_addresses.c101 UTIL_OR(UTIL_NOT(DT_REG_HAS_IDX(DT_NODELABEL(lbl), 0)), \
/Zephyr-latest/modules/hal_nordic/nrfx/
Dnrfx_config.h1025 UTIL_OR(DT_NODE_HAS_PROP(DT_NODELABEL(_CONCAT(dppic, inst_num)), source_channels), \
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dbap.h83 IF_ENABLED(UTIL_OR(IS_ENABLED(CONFIG_BT_BAP_BROADCAST_SOURCE), \
/Zephyr-latest/drivers/spi/
Dspi_nrfx_spim.c49 #define SPIM_REQUESTS_CLOCK(idx) UTIL_OR(IS_EQ(idx, 120), \
/Zephyr-latest/drivers/pwm/
Dpwm_nxp_s32_emios.c576 UTIL_OR(DT_ENUM_HAS_VALUE(node_id, pwm_mode, OPWMCB_TRAIL_EDGE), \
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x.c1144 IF_ENABLED(UTIL_OR(DT_INST_NODE_HAS_PROP(inst, int1_gpios), \