Searched refs:current_rx (Results 1 – 7 of 7) sorted by relevance
| /drivers/spi/ |
| A D | spi_context.h | 61 const struct spi_buf *current_rx; member 479 ctx->current_rx = rx_bufs ? rx_bufs->buffers : NULL; in spi_context_buffers_setup() 480 ctx->rx_count = ctx->current_rx ? rx_bufs->count : 0; in spi_context_buffers_setup() 482 spi_context_get_next_buf(&ctx->current_rx, &ctx->rx_count, in spi_context_buffers_setup() 494 ctx->current_rx, ctx->rx_count, in spi_context_buffers_setup() 579 ++ctx->current_rx; in spi_context_update_rx() 582 spi_context_get_next_buf(&ctx->current_rx, in spi_context_update_rx() 656 total_len += ctx->current_rx[n].len; in spi_context_count_rx_buf_lens()
|
| A D | spi_egis_et171.c | 517 const struct spi_buf *current_rx = ctx->current_rx; in spi_dma_rx_load() local 523 MIN(ctx->current_rx->len, data->chunk_len) / data->dma_rx.dma_cfg.dest_data_size; in spi_dma_rx_load() 526 configure_rx_dma_block_dest(blk_cfg, current_rx, data, current_rx->len); in spi_dma_rx_load() 528 remain_len = data->chunk_len - ctx->current_rx->len; in spi_dma_rx_load() 529 spi_context_update_rx(ctx, dfs, ctx->current_rx->len); in spi_dma_rx_load() 547 current_rx = ctx->current_rx; in spi_dma_rx_load() 549 next_blk_cfg->block_size = current_rx->len / in spi_dma_rx_load() 553 configure_rx_dma_block_dest(next_blk_cfg, current_rx, data, in spi_dma_rx_load() 554 current_rx->len); in spi_dma_rx_load() 559 remain_len -= ctx->current_rx->len; in spi_dma_rx_load() [all …]
|
| A D | spi_andes_atcspi200.c | 424 data->dma_rx.dma_blk_cfg.block_size = ctx->current_rx->len / in spi_dma_rx_load() 426 if (ctx->current_rx->buf != NULL) { in spi_dma_rx_load() 427 data->dma_rx.dma_blk_cfg.dest_address = (uintptr_t)ctx->current_rx->buf; in spi_dma_rx_load() 433 data->rx_cnt -= ctx->current_rx->len; in spi_dma_rx_load() 434 spi_context_update_rx(ctx, dfs, ctx->current_rx->len); in spi_dma_rx_load() 465 next_blk_cfg->block_size = ctx->current_rx->len / in spi_dma_rx_load() 468 if (ctx->current_rx->buf != NULL) { in spi_dma_rx_load() 470 (uintptr_t)ctx->current_rx->buf; in spi_dma_rx_load() 478 data->rx_cnt -= ctx->current_rx->len; in spi_dma_rx_load() 479 spi_context_update_rx(ctx, dfs, ctx->current_rx->len); in spi_dma_rx_load()
|
| A D | spi_sedi.c | 139 buf = ctx->current_rx + i; in transceive()
|
| A D | spi_silabs_siwx91x_gspi.c | 379 ret = gspi_siwx91x_prepare_dma_channel(dev, data->ctx.current_rx, data->ctx.rx_count, in gspi_siwx91x_prepare_dma_transaction()
|
| A 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()
|
| A D | spi_mcux_dspi.c | 404 if (data->ctx.current_rx) { in update_rx_dma()
|
Completed in 25 milliseconds