Lines Matching refs:transfer
93 dspi_transfer_t transfer; in spi_mcux_transfer_next_packet() local
153 transfer.configFlags = kDSPI_MasterCtar0 | kDSPI_MasterPcsContinuous | in spi_mcux_transfer_next_packet()
158 transfer.txData = NULL; in spi_mcux_transfer_next_packet()
159 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
160 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
163 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
164 transfer.rxData = NULL; in spi_mcux_transfer_next_packet()
165 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
168 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
169 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
170 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
176 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
177 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
178 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
179 transfer.configFlags |= kDSPI_MasterActiveAfterTransfer; in spi_mcux_transfer_next_packet()
185 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
186 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
187 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
188 transfer.configFlags |= kDSPI_MasterActiveAfterTransfer; in spi_mcux_transfer_next_packet()
192 transfer.configFlags |= kDSPI_MasterActiveAfterTransfer; in spi_mcux_transfer_next_packet()
195 data->transfer_len = transfer.dataSize; in spi_mcux_transfer_next_packet()
197 status = DSPI_MasterTransferNonBlocking(base, &data->handle, &transfer); in spi_mcux_transfer_next_packet()