Home
last modified time | relevance | path

Searched refs:txRemainingBytes (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
541 txRemainingBytes = (txData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferBlocking()
565 while ((txRemainingBytes != 0U) || (rxRemainingBytes != 0U) || (toReceiveCount != 0U)) in SPI_MasterTransferBlocking()
594 …((txRemainingBytes != 0U) || (rxRemainingBytes >= SPI_COUNT_TO_BYTES(dataWidth, toReceiveCount + 1… in SPI_MasterTransferBlocking()
597 if (txRemainingBytes != 0U) in SPI_MasterTransferBlocking()
600 txRemainingBytes--; in SPI_MasterTransferBlocking()
605 txRemainingBytes--; in SPI_MasterTransferBlocking()
607 if (txRemainingBytes == 0U) in SPI_MasterTransferBlocking()
683 handle->txRemainingBytes = (xfer->txData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferNonBlocking()
883 handle->txRemainingBytes = 0U; in SPI_MasterTransferAbort()
[all …]
Dfsl_spi.h273 volatile size_t txRemainingBytes; /*!< Number of data to be transmitted [in bytes] */ member
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_spi.c523 uint32_t tmp32, rxRemainingBytes, txRemainingBytes, dataWidth; in SPI_MasterTransferBlocking() local
541 txRemainingBytes = (txData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferBlocking()
565 while ((txRemainingBytes != 0U) || (rxRemainingBytes != 0U) || (toReceiveCount != 0U)) in SPI_MasterTransferBlocking()
594 …((txRemainingBytes != 0U) || (rxRemainingBytes >= SPI_COUNT_TO_BYTES(dataWidth, toReceiveCount + 1… in SPI_MasterTransferBlocking()
597 if (txRemainingBytes != 0U) in SPI_MasterTransferBlocking()
600 txRemainingBytes--; in SPI_MasterTransferBlocking()
605 txRemainingBytes--; in SPI_MasterTransferBlocking()
607 if (txRemainingBytes == 0U) in SPI_MasterTransferBlocking()
683 handle->txRemainingBytes = (xfer->txData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferNonBlocking()
883 handle->txRemainingBytes = 0U; in SPI_MasterTransferAbort()
[all …]
Dfsl_spi.h273 volatile size_t txRemainingBytes; /*!< Number of data to be transmitted [in bytes] */ member
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_spi.c276 handle->txRemainingBytes -= bytestoTransfer; in SPI_SendInitialTransfer()
298 handle->txRemainingBytes -= bytes; in SPI_SendTransfer()
304 while ((base->S & SPI_S_SPTEF_MASK) && (handle->txRemainingBytes >= bytes)) in SPI_SendTransfer()
313 handle->txRemainingBytes -= bytes; in SPI_SendTransfer()
324 if (handle->txRemainingBytes < 8U) in SPI_SendTransfer()
326 bytestoTransfer = handle->txRemainingBytes; in SPI_SendTransfer()
336 handle->txRemainingBytes -= bytestoTransfer; in SPI_SendTransfer()
842 handle->txRemainingBytes = xfer->dataSize; in SPI_MasterTransferNonBlocking()
913 *count = handle->transferSize - handle->txRemainingBytes; in SPI_MasterTransferGetCount()
943 handle->txRemainingBytes = 0; in SPI_MasterTransferAbort()
[all …]
Dfsl_flexio_spi.c100 handle->txRemainingBytes -= handle->bytePerFrame; in FLEXIO_SPI_TransferSendTransaction()
104 if (0U == handle->txRemainingBytes) in FLEXIO_SPI_TransferSendTransaction()
1059 handle->txRemainingBytes = xfer->dataSize - handle->bytePerFrame; in FLEXIO_SPI_MasterTransferNonBlocking()
1094 *count = handle->transferSize - handle->txRemainingBytes; in FLEXIO_SPI_MasterTransferGetCount()
1118 handle->txRemainingBytes = 0; in FLEXIO_SPI_MasterTransferAbort()
1150 …if (((status & (uint32_t)kFLEXIO_SPI_TxBufferEmptyFlag) != 0U) && (handle->txRemainingBytes != 0U)) in FLEXIO_SPI_MasterTransferHandleIRQ()
1156 if ((handle->txRemainingBytes == 0U) && (handle->rxRemainingBytes == 0U)) in FLEXIO_SPI_MasterTransferHandleIRQ()
1270 handle->txRemainingBytes = xfer->dataSize; in FLEXIO_SPI_SlaveTransferNonBlocking()
1306 …if (((status & (uint32_t)kFLEXIO_SPI_TxBufferEmptyFlag) != 0U) && (handle->txRemainingBytes != 0U)) in FLEXIO_SPI_SlaveTransferHandleIRQ()
1318 if ((handle->txRemainingBytes == 0U) && (handle->rxRemainingBytes == 0U)) in FLEXIO_SPI_SlaveTransferHandleIRQ()
Dfsl_flexio_spi.h176 volatile size_t txRemainingBytes; /*!< Send data remaining in bytes. */ member
Dfsl_spi.h239 volatile size_t txRemainingBytes; /*!< Send data remaining in bytes */ member
/hal_nxp-2.7.6/mcux/drivers/imx8/
Dfsl_ecspi.c178 uint32_t txRemainingBytes = (uint32_t)(handle->txRemainingBytes); in ECSPI_SendTransfer() local
181 …)FSL_FEATURE_ECSPI_TX_FIFO_SIZEn(base) - (uint32_t)ECSPI_GetTxFifoCount(base)) < txRemainingBytes ? in ECSPI_SendTransfer()
183 txRemainingBytes; in ECSPI_SendTransfer()
191 handle->txRemainingBytes -= 1U; in ECSPI_SendTransfer()
746 handle->txRemainingBytes = xfer->dataSize; in ECSPI_MasterTransferNonBlocking()
811 *count = handle->transferSize - handle->txRemainingBytes; in ECSPI_MasterTransferGetCount()
843 handle->txRemainingBytes = 0; in ECSPI_MasterTransferAbort()
873 if ((handle->txRemainingBytes) != 0UL) in ECSPI_MasterTransferHandleIRQ()
879 if ((handle->txRemainingBytes == 0UL) && (handle->rxRemainingBytes == 0UL)) in ECSPI_MasterTransferHandleIRQ()
941 if ((handle->txRemainingBytes) != 0UL) in ECSPI_SlaveTransferHandleIRQ()
[all …]
Dfsl_ecspi.h224 volatile size_t txRemainingBytes; /*!< Send data remaining in bytes */ member
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_flexio_spi.c100 handle->txRemainingBytes -= handle->bytePerFrame; in FLEXIO_SPI_TransferSendTransaction()
104 if (0U == handle->txRemainingBytes) in FLEXIO_SPI_TransferSendTransaction()
1061 handle->txRemainingBytes = xfer->dataSize - handle->bytePerFrame; in FLEXIO_SPI_MasterTransferNonBlocking()
1096 *count = handle->transferSize - handle->txRemainingBytes; in FLEXIO_SPI_MasterTransferGetCount()
1120 handle->txRemainingBytes = 0; in FLEXIO_SPI_MasterTransferAbort()
1152 …if (((status & (uint32_t)kFLEXIO_SPI_TxBufferEmptyFlag) != 0U) && (handle->txRemainingBytes != 0U)) in FLEXIO_SPI_MasterTransferHandleIRQ()
1158 if ((handle->txRemainingBytes == 0U) && (handle->rxRemainingBytes == 0U)) in FLEXIO_SPI_MasterTransferHandleIRQ()
1274 handle->txRemainingBytes = xfer->dataSize; in FLEXIO_SPI_SlaveTransferNonBlocking()
1310 …if (((status & (uint32_t)kFLEXIO_SPI_TxBufferEmptyFlag) != 0U) && (handle->txRemainingBytes != 0U)) in FLEXIO_SPI_SlaveTransferHandleIRQ()
1322 if ((handle->txRemainingBytes == 0U) && (handle->rxRemainingBytes == 0U)) in FLEXIO_SPI_SlaveTransferHandleIRQ()
Dfsl_flexio_spi.h176 volatile size_t txRemainingBytes; /*!< Send data remaining in bytes. */ member