Lines Matching refs:txRemainingBytes
527 uint32_t tmp32, rxRemainingBytes, txRemainingBytes, dataWidth; in SPI_MasterTransferBlocking() local
546 txRemainingBytes = (txData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferBlocking()
570 while ((txRemainingBytes != 0U) || (rxRemainingBytes != 0U) || (toReceiveCount != 0U)) in SPI_MasterTransferBlocking()
599 …((txRemainingBytes != 0U) || (rxRemainingBytes >= SPI_COUNT_TO_BYTES(dataWidth, toReceiveCount + 1… in SPI_MasterTransferBlocking()
602 if (txRemainingBytes != 0U) in SPI_MasterTransferBlocking()
605 txRemainingBytes--; in SPI_MasterTransferBlocking()
610 txRemainingBytes--; in SPI_MasterTransferBlocking()
612 if (txRemainingBytes == 0U) in SPI_MasterTransferBlocking()
688 handle->txRemainingBytes = (xfer->txData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferNonBlocking()
888 handle->txRemainingBytes = 0U; in SPI_MasterTransferAbort()
899 size_t txRemainingBytes; in SPI_TransferHandleIRQInternal() local
946 txRemainingBytes = handle->txRemainingBytes; in SPI_TransferHandleIRQInternal()
950 ((txRemainingBytes != 0U) || in SPI_TransferHandleIRQInternal()
954 if ((txRemainingBytes != 0U) && (handle->txData != NULL)) in SPI_TransferHandleIRQInternal()
958 handle->txRemainingBytes--; in SPI_TransferHandleIRQInternal()
959 txRemainingBytes = handle->txRemainingBytes; in SPI_TransferHandleIRQInternal()
964 handle->txRemainingBytes--; in SPI_TransferHandleIRQInternal()
965 txRemainingBytes = handle->txRemainingBytes; in SPI_TransferHandleIRQInternal()
968 if (handle->txRemainingBytes == 0U) in SPI_TransferHandleIRQInternal()
1003 size_t txRemainingBytes; in SPI_MasterTransferHandleIRQ() local
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()
1037 if ((0U == handle->txRemainingBytes) && (rxRemainingCount <= toReceiveCount)) in SPI_MasterTransferHandleIRQ()
1045 txRemainingBytes = handle->txRemainingBytes; in SPI_MasterTransferHandleIRQ()
1046 if ((txRemainingBytes == 0U) && (toReceiveCount != 0U) && in SPI_MasterTransferHandleIRQ()