Searched refs:current_rx (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/drivers/spi/ |
D | spi_context.h | 45 const struct spi_buf *current_rx; member 373 ctx->current_rx = rx_bufs ? rx_bufs->buffers : NULL; in spi_context_buffers_setup() 374 ctx->rx_count = ctx->current_rx ? rx_bufs->count : 0; in spi_context_buffers_setup() 376 spi_context_get_next_buf(&ctx->current_rx, &ctx->rx_count, in spi_context_buffers_setup() 388 ctx->current_rx, ctx->rx_count, in spi_context_buffers_setup() 473 ++ctx->current_rx; in spi_context_update_rx() 476 spi_context_get_next_buf(&ctx->current_rx, in spi_context_update_rx() 550 total_len += ctx->current_rx[n].len; in spi_context_count_rx_buf_lens()
|
D | spi_andes_atcspi200.c | 429 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 …]
|
D | spi_sedi.c | 138 buf = ctx->current_rx + i; in transceive()
|
D | spi_silabs_eusart.c | 492 ret = spi_eusart_prepare_dma_channel(dev, data->ctx.current_rx, data->ctx.rx_count, in spi_eusart_prepare_dma_transaction()
|
D | spi_mcux_dspi.c | 404 if (data->ctx.current_rx) { in update_rx_dma()
|