Searched refs:UTIL_AND (Results 1 – 17 of 17) sorted by relevance
/Zephyr-Core-3.5.0/drivers/ethernet/ |
D | eth.h | 30 UTIL_AND(DT_NODE_HAS_PROP(node, local_mac_address),\
|
/Zephyr-Core-3.5.0/tests/unit/util/ |
D | test.inc | 133 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/ |
D | gpio_xlnx_axi.c | 401 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), \
|
D | gpio_rv32m1.c | 301 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))
|
D | gpio_nxp_s32.c | 549 .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),\
|
D | gpio_mcux.c | 325 .flags = UTIL_AND(DT_INST_IRQ_HAS_IDX(n, 0), GPIO_INT_ENABLE),\
|
/Zephyr-Core-3.5.0/soc/arm/nuvoton_npcx/common/ |
D | pinctrl_soc.h | 161 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/ |
D | util_macro.h | 367 #define UTIL_AND(a, b) COND_CODE_1(UTIL_BOOL(a), (b), (0)) macro
|
/Zephyr-Core-3.5.0/drivers/i2s/ |
D | i2s_mcux_flexcomm.c | 911 .dev_dma = UTIL_AND( \ 914 .channel = UTIL_AND( \ 924 .dev_dma = UTIL_AND( \ 927 .channel = UTIL_AND( \
|
D | i2s_ll_stm32.c | 926 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/ |
D | spi_mcux_lpspi.c | 712 .pcs_sck_delay = UTIL_AND( \ 715 .sck_pcs_delay = UTIL_AND( \ 718 .transfer_delay = UTIL_AND( \
|
/Zephyr-Core-3.5.0/drivers/can/ |
D | can_mcux_flexcan.c | 225 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/ |
D | phy_mii.c | 483 .mdio = UTIL_AND(UTIL_NOT(IS_FIXED_LINK(n)), \
|
/Zephyr-Core-3.5.0/drivers/ieee802154/ |
D | ieee802154_rf2xx.c | 1112 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/ |
D | i2c_mcux_lpi2c.c | 562 UTIL_AND(DT_INST_NODE_HAS_PROP(n, bus_idle_timeout),\
|
/Zephyr-Core-3.5.0/include/zephyr/ |
D | devicetree.h | 3049 UTIL_AND(DT_HAS_COMPAT_STATUS_OKAY(compat), \
|
/Zephyr-Core-3.5.0/drivers/adc/ |
D | adc_lmp90xxx.c | 1054 ASSERT_LMP90XXX_CURRENT_VALID(UTIL_AND( \
|