Lines Matching refs:tx_len
92 size_t tx_len; member
423 if (ctx->rx_len || ctx->tx_len) { in spi_smartbond_transfer_mode_get()
514 while (data->tx_len) { in spi_smartbond_transfer()
527 data->tx_len--; in spi_smartbond_transfer()
548 while (data->tx_len) { in spi_smartbond_read()
554 data->tx_len--; in spi_smartbond_read()
567 data->tx_len = spi_context_total_rx_len(ctx); in spi_smartbond_isr_trigger()
580 data->tx_len = data->rx_len; in spi_smartbond_isr_trigger()
645 if (!data->rx_len && !data->tx_len) { in spi_smartbond_isr()
649 data->tx_len = spi_context_total_rx_len(ctx) - data->transferred; in spi_smartbond_isr()
657 data->tx_len = data->rx_len; in spi_smartbond_isr()
776 spi_context_update_tx(ctx, data->dfs, data->tx_len); in spi_smartbond_tx_dma_cb()
937 data->tx_len = data->rx_len; in spi_smartbond_dma_trigger()
966 data->tx_len = spi_context_max_continuous_chunk(ctx); in spi_smartbond_dma_trigger()
967 data->rx_len = data->tx_len; in spi_smartbond_dma_trigger()
969 tx_block->block_size = data->tx_len * data->dfs; in spi_smartbond_dma_trigger()
986 data->tx_len = data->rx_len; in spi_smartbond_dma_trigger()
991 tx_block->block_size = data->tx_len * data->dfs; in spi_smartbond_dma_trigger()