Lines Matching refs:transfer
83 spi_transfer_t transfer; in spi_mcux_transfer_next_packet() local
93 transfer.configFlags = 0; in spi_mcux_transfer_next_packet()
96 transfer.txData = NULL; in spi_mcux_transfer_next_packet()
97 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
98 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
101 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
102 transfer.rxData = NULL; in spi_mcux_transfer_next_packet()
103 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
106 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
107 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
108 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
114 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
115 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
116 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
122 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
123 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
124 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
128 transfer.configFlags = kSPI_FrameAssert; in spi_mcux_transfer_next_packet()
131 data->transfer_len = transfer.dataSize; in spi_mcux_transfer_next_packet()
133 status = SPI_MasterTransferNonBlocking(base, &data->handle, &transfer); in spi_mcux_transfer_next_packet()