/Zephyr-latest/drivers/ethernet/ |
D | eth.h | 30 UTIL_AND(DT_NODE_HAS_PROP(node, local_mac_address),\
|
/Zephyr-latest/tests/unit/util/ |
D | main.c | 157 zassert_equal(UTIL_AND(ZERO, A_BUILD_ERROR), 0); in ZTEST() 158 zassert_equal(UTIL_AND(7, 0), 0); in ZTEST() 159 zassert_equal(UTIL_AND(SEVEN, ZERO), 0); in ZTEST() 160 zassert_equal(UTIL_AND(0, 7), 0); in ZTEST() 161 zassert_equal(UTIL_AND(ZERO, SEVEN), 0); in ZTEST() 162 zassert_equal(UTIL_AND(0, 0), 0); in ZTEST() 163 zassert_equal(UTIL_AND(ZERO, ZERO), 0); in ZTEST() 164 zassert_equal(UTIL_AND(7, 7), 7); in ZTEST() 165 zassert_equal(UTIL_AND(7, SEVEN), 7); in ZTEST() 166 zassert_equal(UTIL_AND(SEVEN, 7), 7); in ZTEST() [all …]
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_xlnx_axi.c | 384 UTIL_AND(DT_NODE_HAS_COMPAT(DT_INST_CHILD(n, gpio2), xlnx_xps_gpio_1_00_a_gpio2), \ 388 IF_ENABLED(UTIL_AND(DT_INST_PROP_OR(n, xlnx_is_dual, 1), \ 423 IF_ENABLED(UTIL_AND(UTIL_AND(DT_INST_NODE_HAS_PROP(n, interrupts), \
|
D | gpio_rv32m1.c | 303 UTIL_AND(DT_INST_NODE_HAS_PROP(n, clocks), DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(n))) 305 UTIL_AND(DT_INST_NODE_HAS_PROP(n, clocks), DT_INST_CLOCKS_CELL(n, name))
|
D | gpio_nxp_s32.c | 536 .eirq_info = UTIL_AND(DT_NODE_HAS_STATUS_OKAY(GPIO_NXP_S32_EIRQ_NODE(n)),\ 563 .wkpu_info = UTIL_AND(DT_NODE_HAS_STATUS_OKAY(GPIO_NXP_S32_WKPU_NODE(n)),\
|
D | gpio_mcux.c | 428 .flags = UTIL_AND(UTIL_OR(DT_INST_IRQ_HAS_IDX(n, 0), \
|
/Zephyr-latest/soc/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-latest/subsys/usb/device_next/class/ |
D | usbd_uac2_macros.h | 129 IF_ENABLED(UTIL_AND(IS_EQ( \ 598 UTIL_AND(AS_HAS_ISOCHRONOUS_DATA_ENDPOINT(node), \ 603 UTIL_AND(AS_HAS_ISOCHRONOUS_DATA_ENDPOINT(node), \ 631 UTIL_AND(UTIL_AND(AS_HAS_ISOCHRONOUS_DATA_ENDPOINT(node), \ 633 UTIL_AND(UTIL_NOT(AS_IS_SOF_SYNCHRONIZED(node)), \ 723 COND_CODE_1(UTIL_AND(DT_PROP(node, implicit_feedback), \
|
/Zephyr-latest/include/zephyr/sys/ |
D | util_macro.h | 419 #define UTIL_AND(a, b) COND_CODE_1(UTIL_BOOL(a), (b), (0)) macro
|
/Zephyr-latest/drivers/i2s/ |
D | i2s_mcux_flexcomm.c | 932 .dev_dma = UTIL_AND( \ 935 .channel = UTIL_AND( \ 945 .dev_dma = UTIL_AND( \ 948 .channel = UTIL_AND( \
|
D | i2s_esp32.c | 901 .dma_dev = UTIL_AND(DT_INST_DMAS_HAS_NAME(index, dir), \ 903 .dma_channel = UTIL_AND(DT_INST_DMAS_HAS_NAME(index, dir), \
|
D | i2s_ll_stm32.c | 1041 UTIL_AND(DT_INST_DMAS_HAS_NAME(index, rx), \ 1043 UTIL_AND(DT_INST_DMAS_HAS_NAME(index, tx), \
|
/Zephyr-latest/include/zephyr/logging/ |
D | log_msg.h | 529 IF_ENABLED(UTIL_AND(IS_ENABLED(CONFIG_LOG_SIMPLE_MSG_OPTIMIZE), \ 530 UTIL_AND(UTIL_NOT(_domain_id), UTIL_NOT(_cstr_cnt))), \
|
/Zephyr-latest/drivers/spi/ |
D | spi_mcux_lpspi.c | 856 .pcs_sck_delay = UTIL_AND(DT_INST_NODE_HAS_PROP(n, pcs_sck_delay), \ 858 .sck_pcs_delay = UTIL_AND(DT_INST_NODE_HAS_PROP(n, sck_pcs_delay), \ 860 .transfer_delay = UTIL_AND(DT_INST_NODE_HAS_PROP(n, transfer_delay), \
|
/Zephyr-latest/include/zephyr/drivers/ |
D | adc.h | 245 UTIL_AND(CONFIG_ADC_CONFIGURABLE_INPUTS, \
|
/Zephyr-latest/drivers/can/ |
D | can_mcux_flexcan.c | 184 if (UTIL_AND(IS_ENABLED(CONFIG_CAN_MCUX_FLEXCAN_FD), config->flexcan_fd)) { in mcux_flexcan_get_capabilities() 362 if (UTIL_AND(IS_ENABLED(CONFIG_CAN_MCUX_FLEXCAN_FD), config->flexcan_fd)) { in mcux_flexcan_stop() 405 if (UTIL_AND(IS_ENABLED(CONFIG_CAN_MCUX_FLEXCAN_FD), config->flexcan_fd)) { in mcux_flexcan_set_mode() 680 if (UTIL_AND(IS_ENABLED(CONFIG_CAN_MCUX_FLEXCAN_FD), in mcux_flexcan_send()
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_mcux_lpi2c_rtio.c | 365 UTIL_AND(DT_INST_NODE_HAS_PROP(n, bus_idle_timeout),\
|
D | i2c_mcux_lpi2c.c | 610 UTIL_AND(DT_INST_NODE_HAS_PROP(n, bus_idle_timeout),\
|
/Zephyr-latest/drivers/sensor/st/iis328dq/ |
D | iis328dq.c | 450 UTIL_AND(DT_INST_NODE_HAS_PROP(inst, drdy_int_pad), \
|
/Zephyr-latest/drivers/ethernet/phy/ |
D | phy_mii.c | 505 .mdio = UTIL_AND(UTIL_NOT(IS_FIXED_LINK(n)), \
|
/Zephyr-latest/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-latest/drivers/serial/ |
D | uart_nrfx_uarte2.c | 33 UTIL_AND(CONFIG_HAS_HW_NRF_UARTE##prefix##id, \ 34 UTIL_AND(COND_CODE_1(CONFIG_UART_##prefix##id##_INTERRUPT_DRIVEN, (0), (1)), \
|
/Zephyr-latest/include/zephyr/ |
D | devicetree.h | 3681 UTIL_AND(DT_HAS_COMPAT_STATUS_OKAY(compat), \ 3729 UTIL_AND(DT_NODE_HAS_COMPAT(node_id, compat), DT_NODE_HAS_STATUS(node_id, status))
|
/Zephyr-latest/include/zephyr/net/ |
D | net_if.h | 3227 IF_ENABLED(UTIL_AND(IS_ENABLED(CONFIG_NET_DHCPV4), \ 3232 IF_ENABLED(UTIL_AND(IS_ENABLED(CONFIG_NET_DHCPV6), \
|
/Zephyr-latest/drivers/adc/ |
D | adc_lmp90xxx.c | 1058 ASSERT_LMP90XXX_CURRENT_VALID(UTIL_AND( \
|