Home
last modified time | relevance | path

Searched refs:current_tx (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.4.0/drivers/spi/
Dspi_context.h43 const struct spi_buf *current_tx; member
298 ctx->current_tx = tx_bufs ? tx_bufs->buffers : NULL; in spi_context_buffers_setup()
299 ctx->tx_count = ctx->current_tx ? tx_bufs->count : 0; in spi_context_buffers_setup()
301 spi_context_get_next_buf(&ctx->current_tx, &ctx->tx_count, in spi_context_buffers_setup()
318 ctx->current_tx, ctx->tx_count, in spi_context_buffers_setup()
339 ++ctx->current_tx; in spi_context_update_tx()
342 spi_context_get_next_buf(&ctx->current_tx, in spi_context_update_tx()
438 total_len += ctx->current_tx[n].len; in spi_context_total_tx_len()
Dspi_mcux_dspi.c271 get_size_byte_by_frame_size(ctx->current_tx->len, frame_size_bit)) { in mcux_spi_context_data_update()
274 ctx->current_tx->len * 8 / frame_size_bit, in mcux_spi_context_data_update()
292 } while (i < ctx->current_tx->len && in mcux_spi_context_data_update()
296 if (i == ctx->current_tx->len) { in mcux_spi_context_data_update()
312 } while (i < ctx->current_tx->len && in mcux_spi_context_data_update()
315 if (i == ctx->current_tx->len) { in mcux_spi_context_data_update()
348 if (data->ctx.current_tx && data->ctx.current_tx->len > 0 && in update_tx_dma()
349 data->ctx.current_tx->buf != NULL) { in update_tx_dma()
356 tx_size = get_size_byte_by_frame_size(data->ctx.current_tx->len, in update_tx_dma()
359 tx_buf = data->ctx.current_tx->buf; in update_tx_dma()