Lines Matching refs:transfer
120 lpspi_transfer_t transfer; in spi_mcux_transfer_next_packet() local
131 transfer.configFlags = LPSPI_MASTER_XFER_CFG_FLAGS(ctx->config->slave); in spi_mcux_transfer_next_packet()
132 transfer.txData = (ctx->tx_len == 0 ? NULL : ctx->tx_buf); in spi_mcux_transfer_next_packet()
133 transfer.rxData = (ctx->rx_len == 0 ? NULL : ctx->rx_buf); in spi_mcux_transfer_next_packet()
134 transfer.dataSize = max_chunk; in spi_mcux_transfer_next_packet()
136 status = LPSPI_MasterTransferNonBlocking(base, &data->handle, &transfer); in spi_mcux_transfer_next_packet()
552 lpspi_transfer_t transfer; in spi_mcux_iodev_start() local
563 transfer.configFlags = LPSPI_MASTER_XFER_CFG_FLAGS(spi_cfg->slave); in spi_mcux_iodev_start()
567 transfer.txData = NULL; in spi_mcux_iodev_start()
568 transfer.rxData = sqe->rx.buf; in spi_mcux_iodev_start()
569 transfer.dataSize = sqe->rx.buf_len; in spi_mcux_iodev_start()
572 transfer.rxData = NULL; in spi_mcux_iodev_start()
573 transfer.txData = sqe->tx.buf; in spi_mcux_iodev_start()
574 transfer.dataSize = sqe->tx.buf_len; in spi_mcux_iodev_start()
577 transfer.rxData = NULL; in spi_mcux_iodev_start()
578 transfer.txData = sqe->tiny_tx.buf; in spi_mcux_iodev_start()
579 transfer.dataSize = sqe->tiny_tx.buf_len; in spi_mcux_iodev_start()
582 transfer.txData = sqe->txrx.tx_buf; in spi_mcux_iodev_start()
583 transfer.rxData = sqe->txrx.rx_buf; in spi_mcux_iodev_start()
584 transfer.dataSize = sqe->txrx.buf_len; in spi_mcux_iodev_start()
592 data->transfer_len = transfer.dataSize; in spi_mcux_iodev_start()
596 status = LPSPI_MasterTransferNonBlocking(base, &data->handle, &transfer); in spi_mcux_iodev_start()