Lines Matching refs:current_tx
311 if (ctx->current_tx->len > data->chunk_len) { in spi_dma_tx_load()
315 data->dma_tx.dma_blk_cfg.block_size = ctx->current_tx->len / in spi_dma_tx_load()
320 if (ctx->current_tx->buf == NULL) { in spi_dma_tx_load()
326 data->dma_tx.dma_blk_cfg.source_address = (uintptr_t)ctx->current_tx->buf; in spi_dma_tx_load()
335 remain_len = data->chunk_len - ctx->current_tx->len; in spi_dma_tx_load()
336 spi_context_update_tx(ctx, dfs, ctx->current_tx->len); in spi_dma_tx_load()
357 const struct spi_buf *current_tx = ctx->current_tx; in spi_dma_tx_load() local
366 current_tx = ctx->current_tx; in spi_dma_tx_load()
368 next_blk_cfg->block_size = current_tx->len / in spi_dma_tx_load()
372 if (current_tx->buf == NULL) { in spi_dma_tx_load()
378 next_blk_cfg->source_address = (uintptr_t)current_tx->buf; in spi_dma_tx_load()
396 remain_len -= ctx->current_tx->len; in spi_dma_tx_load()
397 spi_context_update_tx(ctx, dfs, ctx->current_tx->len); in spi_dma_tx_load()