Home
last modified time | relevance | path

Searched refs:current_rx (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_context.h45 const struct spi_buf *current_rx; member
304 ctx->current_rx = rx_bufs ? rx_bufs->buffers : NULL; in spi_context_buffers_setup()
305 ctx->rx_count = ctx->current_rx ? rx_bufs->count : 0; in spi_context_buffers_setup()
307 spi_context_get_next_buf(&ctx->current_rx, &ctx->rx_count, in spi_context_buffers_setup()
319 ctx->current_rx, ctx->rx_count, in spi_context_buffers_setup()
394 ++ctx->current_rx; in spi_context_update_rx()
397 spi_context_get_next_buf(&ctx->current_rx, in spi_context_update_rx()
458 total_len += ctx->current_rx[n].len; in spi_context_total_rx_len()
Dspi_andes_atcspi200.c429 if (ctx->current_rx->len > data->chunk_len) { in spi_dma_rx_load()
433 data->dma_rx.dma_blk_cfg.block_size = ctx->current_rx->len / in spi_dma_rx_load()
438 if (ctx->current_rx->buf == NULL) { in spi_dma_rx_load()
443 data->dma_rx.dma_blk_cfg.dest_address = (uintptr_t)ctx->current_rx->buf; in spi_dma_rx_load()
452 remain_len = data->chunk_len - ctx->current_rx->len; in spi_dma_rx_load()
453 spi_context_update_rx(ctx, dfs, ctx->current_rx->len); in spi_dma_rx_load()
472 const struct spi_buf *current_rx = ctx->current_rx; in spi_dma_rx_load() local
481 current_rx = ctx->current_rx; in spi_dma_rx_load()
483 next_blk_cfg->block_size = current_rx->len / in spi_dma_rx_load()
487 if (current_rx->buf == NULL) { in spi_dma_rx_load()
[all …]
Dspi_sedi.c138 buf = ctx->current_rx + i; in transceive()
Dspi_mcux_dspi.c404 if (data->ctx.current_rx) { in update_rx_dma()