Lines Matching refs:rxRemainingBytes
527 uint32_t tmp32, rxRemainingBytes, txRemainingBytes, dataWidth; in SPI_MasterTransferBlocking() local
547 rxRemainingBytes = (rxData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferBlocking()
570 while ((txRemainingBytes != 0U) || (rxRemainingBytes != 0U) || (toReceiveCount != 0U)) in SPI_MasterTransferBlocking()
583 if (rxRemainingBytes != 0U) in SPI_MasterTransferBlocking()
586 rxRemainingBytes--; in SPI_MasterTransferBlocking()
591 rxRemainingBytes--; in SPI_MasterTransferBlocking()
599 …((txRemainingBytes != 0U) || (rxRemainingBytes >= SPI_COUNT_TO_BYTES(dataWidth, toReceiveCount + 1… in SPI_MasterTransferBlocking()
622 if (rxRemainingBytes == SPI_COUNT_TO_BYTES(dataWidth, toReceiveCount + 1U)) in SPI_MasterTransferBlocking()
689 handle->rxRemainingBytes = (xfer->rxData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferNonBlocking()
866 *count = handle->totalByteCount - handle->rxRemainingBytes; in SPI_MasterTransferGetCount()
889 handle->rxRemainingBytes = 0U; in SPI_MasterTransferAbort()
900 size_t rxRemainingBytes; in SPI_TransferHandleIRQInternal() local
924 if (handle->rxRemainingBytes != 0U) in SPI_TransferHandleIRQInternal()
928 handle->rxRemainingBytes--; in SPI_TransferHandleIRQInternal()
933 handle->rxRemainingBytes--; in SPI_TransferHandleIRQInternal()
947 rxRemainingBytes = handle->rxRemainingBytes; in SPI_TransferHandleIRQInternal()
951 … (rxRemainingBytes >= SPI_COUNT_TO_BYTES(handle->dataWidth, (uint32_t)toReceiveCount + 1U)))) in SPI_TransferHandleIRQInternal()
978 … if (rxRemainingBytes == SPI_COUNT_TO_BYTES(handle->dataWidth, (uint32_t)toReceiveCount + 1U)) in SPI_TransferHandleIRQInternal()
1020 …if ((handle->txRemainingBytes != 0U) || (handle->rxRemainingBytes != 0U) || (handle->toReceiveCoun… in SPI_MasterTransferHandleIRQ()
1026 …if ((0U == handle->txRemainingBytes) && (0U == handle->rxRemainingBytes) && (0 == handle->toReceiv… in SPI_MasterTransferHandleIRQ()
1033 … uint32_t rxRemainingCount = SPI_BYTES_TO_COUNT(handle->dataWidth, handle->rxRemainingBytes); in SPI_MasterTransferHandleIRQ()