Searched refs:dma_size (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/spi/ |
D | spi_mcux_lpspi.c | 263 size_t dma_size = spi_context_max_continuous_chunk(data->ctx); in spi_mcux_dma_callback() local 265 if (dma_size != 0) { in spi_mcux_dma_callback() 269 spi_context_update_tx(&data->ctx, 1, dma_size); in spi_mcux_dma_callback() 270 spi_context_update_rx(&data->ctx, 1, dma_size); in spi_mcux_dma_callback() 372 static inline int spi_mcux_dma_rxtx_load(const struct device *dev, size_t *dma_size) in spi_mcux_dma_rxtx_load() argument 382 *dma_size = spi_context_max_continuous_chunk(ctx); in spi_mcux_dma_rxtx_load() 384 ret = spi_mcux_dma_tx_load(dev, ctx->tx_buf, *dma_size); in spi_mcux_dma_rxtx_load() 389 ret = spi_mcux_dma_rx_load(dev, ctx->rx_buf, *dma_size); in spi_mcux_dma_rxtx_load() 409 size_t dma_size; in transceive_dma_async() local 416 ret = spi_mcux_dma_rxtx_load(dev, &dma_size); in transceive_dma_async() [all …]
|