Lines Matching refs:tx_len
96 if ((ctx->tx_len == 0) && (ctx->rx_len == 0)) { in spi_mcux_transfer_next_packet()
108 if (ctx->tx_len != 0) { in spi_mcux_transfer_next_packet()
156 if (ctx->tx_len == 0) { in spi_mcux_transfer_next_packet()
165 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
166 } else if (ctx->tx_len == ctx->rx_len) { in spi_mcux_transfer_next_packet()
170 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
171 } else if (ctx->tx_len > ctx->rx_len) { in spi_mcux_transfer_next_packet()
187 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
344 if (data->ctx.tx_len == 0) { in update_tx_dma()
492 LOG_DBG("ctx.tx_len is %d", data->ctx.tx_len); in dma_callback()
498 data->ctx.tx_len); in dma_callback()
524 if (data->ctx.tx_len == 0) { in dma_callback()
527 data->transfer_len = data->ctx.tx_len; in dma_callback()
530 data->ctx.tx_len > data->ctx.rx_len ? in dma_callback()
532 data->ctx.tx_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()
713 data->ctx.tx_len; in transceive()