Lines Matching refs:rx_len
86 if ((ctx->tx_len == 0) && (ctx->rx_len == 0)) { in spi_mcux_transfer_next_packet()
98 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
99 } else if (ctx->rx_len == 0) { in spi_mcux_transfer_next_packet()
104 } else if (ctx->tx_len == ctx->rx_len) { in spi_mcux_transfer_next_packet()
109 } else if (ctx->tx_len > ctx->rx_len) { in spi_mcux_transfer_next_packet()
116 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
628 while (data->ctx.rx_len > 0 || data->ctx.tx_len > 0) { in transceive_dma()
636 if (data->ctx.rx_len == 0) { in transceive_dma()
640 dma_len = data->ctx.rx_len; in transceive_dma()
642 } else if (data->ctx.tx_len == data->ctx.rx_len) { in transceive_dma()
643 dma_len = data->ctx.rx_len; in transceive_dma()
646 dma_len = MIN(data->ctx.tx_len, data->ctx.rx_len); in transceive_dma()