Home
last modified time | relevance | path

Searched refs:rxRemainingBytes (Results 1 – 12 of 12) sorted by relevance

/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_spi.c523 uint32_t tmp32, rxRemainingBytes, txRemainingBytes, dataWidth; in SPI_MasterTransferBlocking() local
542 rxRemainingBytes = (rxData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferBlocking()
565 while ((txRemainingBytes != 0U) || (rxRemainingBytes != 0U) || (toReceiveCount != 0U)) in SPI_MasterTransferBlocking()
578 if (rxRemainingBytes != 0U) in SPI_MasterTransferBlocking()
581 rxRemainingBytes--; in SPI_MasterTransferBlocking()
586 rxRemainingBytes--; in SPI_MasterTransferBlocking()
594 …((txRemainingBytes != 0U) || (rxRemainingBytes >= SPI_COUNT_TO_BYTES(dataWidth, toReceiveCount + 1… in SPI_MasterTransferBlocking()
617 if (rxRemainingBytes == SPI_COUNT_TO_BYTES(dataWidth, toReceiveCount + 1U)) in SPI_MasterTransferBlocking()
684 handle->rxRemainingBytes = (xfer->rxData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferNonBlocking()
861 *count = handle->totalByteCount - handle->rxRemainingBytes; in SPI_MasterTransferGetCount()
[all …]
Dfsl_spi.h274 volatile size_t rxRemainingBytes; /*!< Number of data to be received [in bytes] */ member
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_spi.c523 uint32_t tmp32, rxRemainingBytes, txRemainingBytes, dataWidth; in SPI_MasterTransferBlocking() local
542 rxRemainingBytes = (rxData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferBlocking()
565 while ((txRemainingBytes != 0U) || (rxRemainingBytes != 0U) || (toReceiveCount != 0U)) in SPI_MasterTransferBlocking()
578 if (rxRemainingBytes != 0U) in SPI_MasterTransferBlocking()
581 rxRemainingBytes--; in SPI_MasterTransferBlocking()
586 rxRemainingBytes--; in SPI_MasterTransferBlocking()
594 …((txRemainingBytes != 0U) || (rxRemainingBytes >= SPI_COUNT_TO_BYTES(dataWidth, toReceiveCount + 1… in SPI_MasterTransferBlocking()
617 if (rxRemainingBytes == SPI_COUNT_TO_BYTES(dataWidth, toReceiveCount + 1U)) in SPI_MasterTransferBlocking()
684 handle->rxRemainingBytes = (xfer->rxData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferNonBlocking()
861 *count = handle->totalByteCount - handle->rxRemainingBytes; in SPI_MasterTransferGetCount()
[all …]
Dfsl_spi.h274 volatile size_t rxRemainingBytes; /*!< Number of data to be received [in bytes] */ member
/hal_nxp-2.7.6/mcux/drivers/imx8/
Dfsl_ecspi.c202 …(ECSPI_GetRxFifoCount(base) < handle->rxRemainingBytes) ? ECSPI_GetRxFifoCount(base) : handle->rxR… in ECSPI_ReceiveTransfer()
209 handle->rxRemainingBytes -= dataCounts; in ECSPI_ReceiveTransfer()
747 handle->rxRemainingBytes = xfer->dataSize; in ECSPI_MasterTransferNonBlocking()
807 *count = handle->transferSize - handle->rxRemainingBytes; in ECSPI_MasterTransferGetCount()
842 handle->rxRemainingBytes = 0; in ECSPI_MasterTransferAbort()
867 if ((handle->rxRemainingBytes) != 0UL) in ECSPI_MasterTransferHandleIRQ()
879 if ((handle->txRemainingBytes == 0UL) && (handle->rxRemainingBytes == 0UL)) in ECSPI_MasterTransferHandleIRQ()
935 if ((handle->rxRemainingBytes) != 0UL) in ECSPI_SlaveTransferHandleIRQ()
947 if ((handle->txRemainingBytes == 0UL) && (handle->rxRemainingBytes == 0UL)) in ECSPI_SlaveTransferHandleIRQ()
Dfsl_ecspi.h225 volatile size_t rxRemainingBytes; /*!< Receive data remaining in bytes */ member
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_spi.c357 handle->rxRemainingBytes -= bytes; in SPI_ReceiveTransfer()
374 handle->rxRemainingBytes -= bytes; in SPI_ReceiveTransfer()
377 if (handle->rxRemainingBytes == (handle->watermark * 2U)) in SPI_ReceiveTransfer()
843 handle->rxRemainingBytes = xfer->dataSize; in SPI_MasterTransferNonBlocking()
909 *count = handle->transferSize - handle->rxRemainingBytes; in SPI_MasterTransferGetCount()
942 handle->rxRemainingBytes = 0; in SPI_MasterTransferAbort()
951 if (handle->rxRemainingBytes) in SPI_MasterTransferHandleIRQ()
963 if ((handle->txRemainingBytes == 0) && (handle->rxRemainingBytes == 0)) in SPI_MasterTransferHandleIRQ()
999 if (handle->rxRemainingBytes) in SPI_SlaveTransferHandleIRQ()
1005 if ((handle->txRemainingBytes == 0) && (handle->rxRemainingBytes == 0)) in SPI_SlaveTransferHandleIRQ()
Dfsl_flexio_spi.c140 handle->rxRemainingBytes -= handle->bytePerFrame; in FLEXIO_SPI_TransferReceiveTransaction()
1025 handle->rxRemainingBytes = xfer->dataSize; in FLEXIO_SPI_MasterTransferNonBlocking()
1090 *count = handle->transferSize - handle->rxRemainingBytes; in FLEXIO_SPI_MasterTransferGetCount()
1117 handle->rxRemainingBytes = 0; in FLEXIO_SPI_MasterTransferAbort()
1144 … if (((status & (uint32_t)kFLEXIO_SPI_RxBufferFullFlag) != 0U) && (handle->rxRemainingBytes != 0U)) in FLEXIO_SPI_MasterTransferHandleIRQ()
1156 if ((handle->txRemainingBytes == 0U) && (handle->rxRemainingBytes == 0U)) in FLEXIO_SPI_MasterTransferHandleIRQ()
1271 handle->rxRemainingBytes = xfer->dataSize; in FLEXIO_SPI_SlaveTransferNonBlocking()
1312 … if (((status & (uint32_t)kFLEXIO_SPI_RxBufferFullFlag) != 0U) && (handle->rxRemainingBytes != 0U)) in FLEXIO_SPI_SlaveTransferHandleIRQ()
1318 if ((handle->txRemainingBytes == 0U) && (handle->rxRemainingBytes == 0U)) in FLEXIO_SPI_SlaveTransferHandleIRQ()
Dfsl_flexio_spi.h177 volatile size_t rxRemainingBytes; /*!< Receive data remaining in bytes. */ member
Dfsl_spi.h240 volatile size_t rxRemainingBytes; /*!< Receive data remaining in bytes */ member
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_flexio_spi.c140 handle->rxRemainingBytes -= handle->bytePerFrame; in FLEXIO_SPI_TransferReceiveTransaction()
1027 handle->rxRemainingBytes = xfer->dataSize; in FLEXIO_SPI_MasterTransferNonBlocking()
1092 *count = handle->transferSize - handle->rxRemainingBytes; in FLEXIO_SPI_MasterTransferGetCount()
1119 handle->rxRemainingBytes = 0; in FLEXIO_SPI_MasterTransferAbort()
1146 … if (((status & (uint32_t)kFLEXIO_SPI_RxBufferFullFlag) != 0U) && (handle->rxRemainingBytes != 0U)) in FLEXIO_SPI_MasterTransferHandleIRQ()
1158 if ((handle->txRemainingBytes == 0U) && (handle->rxRemainingBytes == 0U)) in FLEXIO_SPI_MasterTransferHandleIRQ()
1275 handle->rxRemainingBytes = xfer->dataSize; in FLEXIO_SPI_SlaveTransferNonBlocking()
1316 … if (((status & (uint32_t)kFLEXIO_SPI_RxBufferFullFlag) != 0U) && (handle->rxRemainingBytes != 0U)) in FLEXIO_SPI_SlaveTransferHandleIRQ()
1322 if ((handle->txRemainingBytes == 0U) && (handle->rxRemainingBytes == 0U)) in FLEXIO_SPI_SlaveTransferHandleIRQ()
Dfsl_flexio_spi.h177 volatile size_t rxRemainingBytes; /*!< Receive data remaining in bytes. */ member