Home
last modified time | relevance | path

Searched refs:SPI_OP_MODE_GET (Results 1 – 25 of 25) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_numaker.c71 if (SPI_OP_MODE_GET(config->operation) == SPI_OP_MODE_SLAVE) { in spi_numaker_configure()
89 (SPI_OP_MODE_GET(config->operation) == SPI_OP_MODE_SLAVE) ? QSPI_SLAVE in spi_numaker_configure()
95 (SPI_OP_MODE_GET(config->operation) == SPI_OP_MODE_SLAVE) ? SPI_SLAVE in spi_numaker_configure()
Dspi_ifx_cat1.c157 if (SPI_OP_MODE_GET(spi_cfg->operation) == SPI_OP_MODE_SLAVE) { in spi_config()
212 if (SPI_OP_MODE_GET(spi_cfg->operation) == SPI_OP_MODE_SLAVE) { in spi_config()
Dspi_cc13xx_cc26xx.c57 if (SPI_OP_MODE_GET(config->operation) != SPI_OP_MODE_MASTER) { in spi_cc13xx_cc26xx_configure()
Dspi_sifive.c41 if (SPI_OP_MODE_GET(operation) != SPI_OP_MODE_MASTER) { in spi_config()
Dspi_opentitan.c86 if (SPI_OP_MODE_GET(operation) != SPI_OP_MODE_MASTER) { in spi_config()
Dspi_ll_stm32.c467 if (SPI_OP_MODE_GET(operation) == SPI_OP_MODE_MASTER) { in spi_stm32_shift_frames()
724 if (SPI_OP_MODE_GET(config->operation) == SPI_OP_MODE_MASTER) { in spi_stm32_configure()
851 if (SPI_OP_MODE_GET(config->operation) == SPI_OP_MODE_MASTER) { in spi_stm32_half_duplex_switch_to_receive()
946 if (cfg->fifo_enabled && SPI_OP_MODE_GET(config->operation) == SPI_OP_MODE_MASTER) { in transceive()
Dspi_b91.c287 if (SPI_OP_MODE_GET(config->operation) == SPI_OP_MODE_SLAVE) { in spi_b91_is_config_supported()
Dspi_npcx_spip.c62 if (SPI_OP_MODE_GET(operation) != SPI_OP_MODE_MASTER) { in spi_npcx_spip_configure()
Dspi_nrfx_spi.c107 if (SPI_OP_MODE_GET(spi_cfg->operation) != SPI_OP_MODE_MASTER) { in configure()
Dspi_nrfx_spis.c81 if (SPI_OP_MODE_GET(spi_cfg->operation) == SPI_OP_MODE_MASTER) { in configure()
Dspi_psoc6.c232 if (SPI_OP_MODE_GET(spi_cfg->operation) == SPI_OP_MODE_MASTER) { in spi_psoc6_configure()
Dspi_mcux_flexio.c239 if (SPI_OP_MODE_GET(spi_cfg->operation) != SPI_OP_MODE_MASTER) { in spi_mcux_flexio_configure()
Dspi_it8xxx2.c156 if (SPI_OP_MODE_GET(spi_cfg->operation) == SPI_OP_MODE_SLAVE) { in spi_it8xxx2_configure()
Dspi_nxp_s32.c296 slave_mode = !!(SPI_OP_MODE_GET(spi_cfg->operation)); in spi_nxp_s32_configure()
Dspi_gd32.c133 if (SPI_OP_MODE_GET(config->operation) == SPI_OP_MODE_SLAVE) { in spi_gd32_configure()
Dspi_sam0.c91 if (SPI_OP_MODE_GET(config->operation) != SPI_OP_MODE_MASTER) { in spi_sam0_configure()
Dspi_nrfx_spim.c237 if (SPI_OP_MODE_GET(spi_cfg->operation) != SPI_OP_MODE_MASTER) { in configure()
Dspi_sam.c113 if (SPI_OP_MODE_GET(config->operation) != SPI_OP_MODE_MASTER) { in spi_sam_configure()
Dspi_b_renesas_ra8.c269 if (SPI_OP_MODE_GET(operation) == SPI_OP_MODE_MASTER) { in ra_spi_b_transceive_data()
Dspi_mcux_flexcomm.c201 if (SPI_OP_MODE_GET(spi_cfg->operation) == SPI_OP_MODE_MASTER) { in spi_mcux_configure()
Dspi_pl022.c383 if (SPI_OP_MODE_GET(op) != SPI_OP_MODE_MASTER) { in spi_pl022_configure()
Dspi_renesas_ra.c308 if (SPI_OP_MODE_GET(operation) == SPI_OP_MODE_MASTER) { in ra_spi_transceive_data()
Dspi_andes_atcspi200.c169 if (SPI_OP_MODE_GET(config->operation) != SPI_OP_MODE_MASTER) { in configure()
Dspi_max32.c94 if (SPI_OP_MODE_GET(config->operation) & SPI_OP_MODE_SLAVE) { in spi_configure()
/Zephyr-latest/include/zephyr/drivers/
Dspi.h48 #define SPI_OP_MODE_GET(_operation_) ((_operation_) & SPI_OP_MODE_MASK) macro