Lines Matching refs:tx_len
86 if ((ctx->tx_len == 0) && (ctx->rx_len == 0)) { in spi_mcux_transfer_next_packet()
94 if (ctx->tx_len == 0) { in spi_mcux_transfer_next_packet()
103 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
104 } else if (ctx->tx_len == ctx->rx_len) { in spi_mcux_transfer_next_packet()
108 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
109 } else if (ctx->tx_len > ctx->rx_len) { in spi_mcux_transfer_next_packet()
124 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
628 while (data->ctx.rx_len > 0 || data->ctx.tx_len > 0) { in transceive_dma()
637 dma_len = data->ctx.tx_len; in transceive_dma()
639 } else if (data->ctx.tx_len == 0) { in transceive_dma()
642 } else if (data->ctx.tx_len == data->ctx.rx_len) { in transceive_dma()
646 dma_len = MIN(data->ctx.tx_len, data->ctx.rx_len); in transceive_dma()