Home
last modified time | relevance | path

Searched refs:UTIL_AND (Results 1 – 17 of 17) sorted by relevance

/Zephyr-Core-3.5.0/drivers/ethernet/
Deth.h30 UTIL_AND(DT_NODE_HAS_PROP(node, local_mac_address),\
/Zephyr-Core-3.5.0/tests/unit/util/
Dtest.inc133 zassert_equal(UTIL_AND(ZERO, A_BUILD_ERROR), 0);
134 zassert_equal(UTIL_AND(7, 0), 0);
135 zassert_equal(UTIL_AND(SEVEN, ZERO), 0);
136 zassert_equal(UTIL_AND(0, 7), 0);
137 zassert_equal(UTIL_AND(ZERO, SEVEN), 0);
138 zassert_equal(UTIL_AND(0, 0), 0);
139 zassert_equal(UTIL_AND(ZERO, ZERO), 0);
140 zassert_equal(UTIL_AND(7, 7), 7);
141 zassert_equal(UTIL_AND(7, SEVEN), 7);
142 zassert_equal(UTIL_AND(SEVEN, 7), 7);
[all …]
/Zephyr-Core-3.5.0/drivers/gpio/
Dgpio_xlnx_axi.c401 UTIL_AND(DT_NODE_HAS_COMPAT(DT_INST_CHILD(n, gpio2), xlnx_xps_gpio_1_00_a_gpio2), \
405 IF_ENABLED(UTIL_AND(DT_INST_PROP_OR(n, xlnx_is_dual, 1), \
440 IF_ENABLED(UTIL_AND(UTIL_AND(DT_INST_NODE_HAS_PROP(n, interrupts), \
Dgpio_rv32m1.c301 UTIL_AND(DT_INST_NODE_HAS_PROP(n, clocks), DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(n)))
303 UTIL_AND(DT_INST_NODE_HAS_PROP(n, clocks), DT_INST_CLOCKS_CELL(n, name))
Dgpio_nxp_s32.c549 .eirq_info = UTIL_AND(DT_NODE_HAS_STATUS(GPIO_NXP_S32_EIRQ_NODE(n), okay),\
576 .wkpu_info = UTIL_AND(DT_NODE_HAS_STATUS(GPIO_NXP_S32_WKPU_NODE(n), okay),\
Dgpio_mcux.c325 .flags = UTIL_AND(DT_INST_IRQ_HAS_IDX(n, 0), GPIO_INT_ENABLE),\
/Zephyr-Core-3.5.0/soc/arm/nuvoton_npcx/common/
Dpinctrl_soc.h161 UTIL_AND(DT_PROP(node_id, drive_open_drain), \
165 UTIL_AND(DT_NODE_HAS_PROP(node_id, psl_in_pol), \
/Zephyr-Core-3.5.0/include/zephyr/sys/
Dutil_macro.h367 #define UTIL_AND(a, b) COND_CODE_1(UTIL_BOOL(a), (b), (0)) macro
/Zephyr-Core-3.5.0/drivers/i2s/
Di2s_mcux_flexcomm.c911 .dev_dma = UTIL_AND( \
914 .channel = UTIL_AND( \
924 .dev_dma = UTIL_AND( \
927 .channel = UTIL_AND( \
Di2s_ll_stm32.c926 UTIL_AND(DT_INST_DMAS_HAS_NAME(index, rx), \
928 UTIL_AND(DT_INST_DMAS_HAS_NAME(index, tx), \
/Zephyr-Core-3.5.0/drivers/spi/
Dspi_mcux_lpspi.c712 .pcs_sck_delay = UTIL_AND( \
715 .sck_pcs_delay = UTIL_AND( \
718 .transfer_delay = UTIL_AND( \
/Zephyr-Core-3.5.0/drivers/can/
Dcan_mcux_flexcan.c225 if (UTIL_AND(IS_ENABLED(CONFIG_CAN_MCUX_FLEXCAN_FD), config->flexcan_fd)) { in mcux_flexcan_get_capabilities()
397 if (UTIL_AND(IS_ENABLED(CONFIG_CAN_MCUX_FLEXCAN_FD), config->flexcan_fd)) { in mcux_flexcan_stop()
436 if (UTIL_AND(IS_ENABLED(CONFIG_CAN_MCUX_FLEXCAN_FD), config->flexcan_fd)) { in mcux_flexcan_set_mode()
708 if (UTIL_AND(IS_ENABLED(CONFIG_CAN_MCUX_FLEXCAN_FD), data->fd_mode)) { in mcux_flexcan_send()
809 if (UTIL_AND(IS_ENABLED(CONFIG_CAN_MCUX_FLEXCAN_FD), config->flexcan_fd)) { in mcux_flexcan_add_rx_filter()
/Zephyr-Core-3.5.0/drivers/ethernet/phy/
Dphy_mii.c483 .mdio = UTIL_AND(UTIL_NOT(IS_FIXED_LINK(n)), \
/Zephyr-Core-3.5.0/drivers/ieee802154/
Dieee802154_rf2xx.c1112 UTIL_AND(DT_INST_NODE_HAS_PROP(n, local_mac_address), \
1113 UTIL_AND(DT_INST_PROP_LEN(n, local_mac_address) == 8, \
/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_mcux_lpi2c.c562 UTIL_AND(DT_INST_NODE_HAS_PROP(n, bus_idle_timeout),\
/Zephyr-Core-3.5.0/include/zephyr/
Ddevicetree.h3049 UTIL_AND(DT_HAS_COMPAT_STATUS_OKAY(compat), \
/Zephyr-Core-3.5.0/drivers/adc/
Dadc_lmp90xxx.c1054 ASSERT_LMP90XXX_CURRENT_VALID(UTIL_AND( \