Lines Matching refs:rxRemainingByteCount
814 uint32_t rxRemainingByteCount = transfer->dataSize; in LPSPI_MasterTransferBlocking() local
903 if (((NULL == rxData) || (rxRemainingByteCount - txRemainingByteCount) < rxFifoMaxBytes)) in LPSPI_MasterTransferBlocking()
926 if (rxRemainingByteCount < bytesEachRead) in LPSPI_MasterTransferBlocking()
928 bytesEachRead = (uint8_t)rxRemainingByteCount; in LPSPI_MasterTransferBlocking()
934 rxRemainingByteCount -= bytesEachRead; in LPSPI_MasterTransferBlocking()
967 while (rxRemainingByteCount > 0U) in LPSPI_MasterTransferBlocking()
978 if (rxRemainingByteCount < bytesEachRead) in LPSPI_MasterTransferBlocking()
980 bytesEachRead = (uint8_t)rxRemainingByteCount; in LPSPI_MasterTransferBlocking()
986 rxRemainingByteCount -= bytesEachRead; in LPSPI_MasterTransferBlocking()
1070 handle->rxRemainingByteCount = transfer->dataSize; in LPSPI_MasterTransferNonBlocking()
1133 handle->rxRemainingByteCount = 0; in LPSPI_MasterTransferNonBlocking()
1313 remainingByte = handle->rxRemainingByteCount; in LPSPI_MasterTransferGetCount()
1344 handle->rxRemainingByteCount = 0; in LPSPI_MasterTransferAbort()
1366 if (handle->rxRemainingByteCount != 0U) in LPSPI_MasterTransferHandleIRQ()
1374 while ((LPSPI_GetRxFifoCount(base) != 0U) && (handle->rxRemainingByteCount != 0U)) in LPSPI_MasterTransferHandleIRQ()
1383 if (handle->rxRemainingByteCount < (size_t)bytesEachRead) in LPSPI_MasterTransferHandleIRQ()
1385 handle->bytesEachRead = (uint8_t)(handle->rxRemainingByteCount); in LPSPI_MasterTransferHandleIRQ()
1393 handle->rxRemainingByteCount -= (size_t)bytesEachRead; in LPSPI_MasterTransferHandleIRQ()
1399 if (handle->rxRemainingByteCount != 0U) in LPSPI_MasterTransferHandleIRQ()
1432 …if ((handle->txRemainingByteCount == 0U) && (handle->rxRemainingByteCount == 0U) && (!handle->writ… in LPSPI_MasterTransferHandleIRQ()
1536 handle->rxRemainingByteCount = transfer->dataSize; in LPSPI_SlaveTransferNonBlocking()
1588 handle->rxRemainingByteCount = 0U; in LPSPI_SlaveTransferNonBlocking()
1767 remainingByte = handle->rxRemainingByteCount; in LPSPI_SlaveTransferGetCount()
1798 handle->rxRemainingByteCount = 0U; in LPSPI_SlaveTransferAbort()
1822 if (handle->rxRemainingByteCount > 0U) in LPSPI_SlaveTransferHandleIRQ()
1832 if (handle->rxRemainingByteCount < (size_t)bytesEachRead) in LPSPI_SlaveTransferHandleIRQ()
1834 handle->bytesEachRead = (uint8_t)handle->rxRemainingByteCount; in LPSPI_SlaveTransferHandleIRQ()
1842 handle->rxRemainingByteCount -= (size_t)bytesEachRead; in LPSPI_SlaveTransferHandleIRQ()
1862 if (handle->rxRemainingByteCount == 0U) in LPSPI_SlaveTransferHandleIRQ()
1884 if ((handle->txRemainingByteCount == 0U) && (handle->rxRemainingByteCount == 0U)) in LPSPI_SlaveTransferHandleIRQ()