Lines Matching refs:dma_size
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()
435 size_t dma_size; in transceive_dma_sync() local
443 ret = spi_mcux_dma_rxtx_load(dev, &dma_size); in transceive_dma_sync()
473 spi_context_update_tx(ctx, 1, dma_size); in transceive_dma_sync()
474 spi_context_update_rx(ctx, 1, dma_size); in transceive_dma_sync()