Home
last modified time | relevance | path

Searched refs:spi_context_is_slave (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_context.h84 static inline bool spi_context_is_slave(struct spi_context *ctx) in spi_context_is_slave() function
153 if (IS_ENABLED(CONFIG_SPI_SLAVE) && spi_context_is_slave(ctx)) { in spi_context_wait_for_completion()
175 if (spi_context_is_slave(ctx) && !status) { in spi_context_wait_for_completion()
194 if (spi_context_is_slave(ctx) && !status) { in spi_context_complete()
376 if (spi_context_is_slave(ctx)) { in spi_context_update_rx()
Dspi_b_renesas_ra8.c315 data->data_len = spi_context_is_slave(&data->ctx) in transceive()
319 data->data_len = spi_context_is_slave(&data->ctx) in transceive()
323 data->data_len = spi_context_is_slave(&data->ctx) in transceive()
367 if (spi_context_is_slave(&data->ctx) && !ret) { in transceive()
546 if (spi_context_is_slave(&data->ctx) && data->spi.rx_count == data->spi.count) { in ra_spi_rxi_isr()
Dspi_renesas_ra.c353 data->data_len = spi_context_is_slave(&data->ctx) in transceive()
357 data->data_len = spi_context_is_slave(&data->ctx) in transceive()
361 data->data_len = spi_context_is_slave(&data->ctx) in transceive()
427 if (spi_context_is_slave(&data->ctx) && !ret) { in transceive()
594 if (spi_context_is_slave(&data->ctx) && data->spi.rx_count == data->spi.count) { in ra_spi_rxi_isr()
Dspi_xlnx_axi_quadspi.c126 if (IS_ENABLED(CONFIG_SPI_SLAVE) && spi_context_is_slave(ctx)) { in xlnx_quadspi_cs_control()
261 if (!IS_ENABLED(CONFIG_SPI_SLAVE) || !spi_context_is_slave(ctx)) { in xlnx_quadspi_start_tx()
329 if (!IS_ENABLED(CONFIG_SPI_SLAVE) || !spi_context_is_slave(ctx)) { in xlnx_quadspi_start_tx()
Dspi_oc_simple.c52 if (spi_context_is_slave(&spi->ctx)) { in spi_oc_simple_configure()
Dspi_dw.c47 spi_context_is_slave(&spi->ctx)); in spi_dw_is_slave()
447 if (spi_context_is_slave(&spi->ctx) && !ret) { in transceive()
Dspi_ll_stm32.c878 if (spi_context_is_slave(&data->ctx) && !ret) { in transceive()
903 if (IS_ENABLED(CONFIG_SPI_SLAVE) && spi_context_is_slave(&data->ctx)) { in wait_dma_rx_tx_done()
1106 if (spi_context_is_slave(&data->ctx) && !ret) { in transceive_dma()
Dspi_nxp_s32.c451 if (spi_context_is_slave(context) && !ret) { in transceive()