Lines Matching refs:rx_len
96 if ((ctx->tx_len == 0) && (ctx->rx_len == 0)) { in spi_mcux_transfer_next_packet()
122 if (ctx->rx_len != 0) { in spi_mcux_transfer_next_packet()
160 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
161 } else if (ctx->rx_len == 0) { in spi_mcux_transfer_next_packet()
166 } else if (ctx->tx_len == ctx->rx_len) { in spi_mcux_transfer_next_packet()
171 } else if (ctx->tx_len > ctx->rx_len) { in spi_mcux_transfer_next_packet()
178 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
399 if (data->ctx.rx_len == 0) { in update_rx_dma()
420 if (data->ctx.rx_len == 1) { in update_rx_dma()
502 LOG_DBG("ctx.rx_len is %d", data->ctx.rx_len); in dma_callback()
508 data->ctx.rx_len); in dma_callback()
525 data->transfer_len = data->ctx.rx_len; in dma_callback()
526 } else if (data->ctx.rx_len == 0) { in dma_callback()
530 data->ctx.tx_len > data->ctx.rx_len ? in dma_callback()
531 data->ctx.rx_len : in dma_callback()
538 } else if (data->ctx.rx_len == 0 && data->ctx.tx_len == 0) { in dma_callback()
711 data->transfer_len = data->ctx.tx_len > data->ctx.rx_len ? in transceive()
712 data->ctx.rx_len : in transceive()