Home
last modified time | relevance | path

Searched refs:rxDataSize (Results 1 – 25 of 43) sorted by relevance

12

/hal_nxp-latest/mcux/mcux-sdk/components/video/display/mipi_dsi_cmd/
Dfsl_mipi_dsi_cmd.c233 …_device_t *device, const uint8_t *txData, int32_t txDataSize, uint8_t *rxData, int32_t *rxDataSize) in MIPI_DSI_GenericRead() argument
241 dsiXfer.rxDataSize = (uint16_t)*rxDataSize; in MIPI_DSI_GenericRead()
244 *rxDataSize = 0; in MIPI_DSI_GenericRead()
266 *rxDataSize = (int32_t)dsiXfer.rxDataSize; in MIPI_DSI_GenericRead()
271 …DSI_ReadCMD(mipi_dsi_device_t *device, enum _mipi_dcs dcsCmd, uint8_t *rxData, int32_t *rxDataSize) in MIPI_DSI_ReadCMD() argument
277 if (kStatus_Success == MIPI_DSI_DCS_SetMaxReturnPktSize(device, (uint16_t)*rxDataSize)) in MIPI_DSI_ReadCMD()
279 status = MIPI_DSI_GenericRead(device, txData, 1, rxData, rxDataSize); in MIPI_DSI_ReadCMD()
Dfsl_mipi_dsi_cmd.h240 …device_t *device, const uint8_t *txData, int32_t txDataSize, uint8_t *rxData, int32_t *rxDataSize);
252 …SI_ReadCMD(mipi_dsi_device_t *device, enum _mipi_dcs dcsCmd, uint8_t *rxData, int32_t *rxDataSize);
/hal_nxp-latest/mcux/mcux-sdk/drivers/uart/
Dfsl_uart.c1255 handle->rxDataSize = bytesToReceive; in UART_TransferReceiveNonBlocking()
1280 handle->rxDataSize = bytesToReceive; in UART_TransferReceiveNonBlocking()
1341 handle->rxDataSize = 0U; in UART_TransferAbortReceive()
1372 *count = handle->rxDataSizeAll - handle->rxDataSize; in UART_TransferGetReceiveCount()
1501 handle->rxDataSize = 0U; in UART_TransferHandleIRQ()
1523 handle->rxDataSize = 0U; in UART_TransferHandleIRQ()
1557 while ((count != 0U) && (handle->rxDataSize != 0U)) in UART_TransferHandleIRQ()
1559 tempCount = (uint8_t)MIN(handle->rxDataSize, (uint32_t)count); in UART_TransferHandleIRQ()
1564 handle->rxDataSize -= tempCount; in UART_TransferHandleIRQ()
1568 if (0U == handle->rxDataSize) in UART_TransferHandleIRQ()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/iuart/
Dfsl_uart.c1132 handle->rxDataSize = bytesToReceive; in UART_TransferReceiveNonBlocking()
1153 handle->rxDataSize = bytesToReceive; in UART_TransferReceiveNonBlocking()
1197 handle->rxDataSize = 0U; in UART_TransferAbortReceive()
1228 *count = handle->rxDataSizeAll - handle->rxDataSize; in UART_TransferGetReceiveCount()
1256 handle->rxDataSize = 0U; in UART_TransferHandleIRQ()
1271 handle->rxDataSize = 0U; in UART_TransferHandleIRQ()
1298 while ((count != 0U) && (handle->rxDataSize != 0U)) in UART_TransferHandleIRQ()
1300 tempCount = (uint8_t)MIN(handle->rxDataSize, count); in UART_TransferHandleIRQ()
1304 handle->rxDataSize -= tempCount; in UART_TransferHandleIRQ()
1308 if (handle->rxDataSize == 0U) in UART_TransferHandleIRQ()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/mipi_dsi_imx/
Dfsl_mipi_dsi.c808 assert(xfer->rxDataSize <= maxReadLength); in DSI_PrepareApbTransfer()
810 if (xfer->rxDataSize > maxReadLength) in DSI_PrepareApbTransfer()
819 if (xfer->rxDataSize != 0U) in DSI_PrepareApbTransfer()
1019 xfer->rxDataSize = 0U; in DSI_TransferBlocking()
1023 xfer->rxDataSize = MIN(xfer->rxDataSize, actualRxByteCount); in DSI_TransferBlocking()
1025 if (xfer->rxDataSize > 0U) in DSI_TransferBlocking()
1029 DSI_ReadRxData(base, xfer->rxData, xfer->rxDataSize); in DSI_TransferBlocking()
1035 if (2U == xfer->rxDataSize) in DSI_TransferBlocking()
Dfsl_mipi_dsi.h354 uint16_t rxDataSize; /*!< Size of the RX data. */ member
/hal_nxp-latest/mcux/mcux-sdk/drivers/lpsci/
Dfsl_lpsci.c781 handle->rxDataSize = bytesToReceive; in LPSCI_TransferReceiveNonBlocking()
802 handle->rxDataSize = bytesToReceive; in LPSCI_TransferReceiveNonBlocking()
845 handle->rxDataSize = 0U; in LPSCI_TransferAbortReceive()
859 *count = handle->rxDataSizeAll - handle->rxDataSize; in LPSCI_TransferGetReceiveCount()
923 while ((count) && (handle->rxDataSize)) in LPSCI_TransferHandleIRQ()
926 tempCount = MIN(handle->rxDataSize, count); in LPSCI_TransferHandleIRQ()
934 handle->rxDataSize -= tempCount; in LPSCI_TransferHandleIRQ()
938 if (!handle->rxDataSize) in LPSCI_TransferHandleIRQ()
992 else if (!handle->rxDataSize) in LPSCI_TransferHandleIRQ()
Dfsl_lpsci.h186 volatile size_t rxDataSize; /*!< Size of the remaining data to receive. */ member
/hal_nxp-latest/mcux/mcux-sdk/drivers/flexcomm/usart/
Dfsl_usart.c1021 handle->rxDataSize = bytesToReceive; in USART_TransferReceiveNonBlocking()
1033 handle->rxDataSize = bytesToReceive; in USART_TransferReceiveNonBlocking()
1084 handle->rxDataSize = 0U; in USART_TransferAbortReceive()
1110 *count = handle->rxDataSizeAll - handle->rxDataSize; in USART_TransferGetReceiveCount()
1128 bool receiveEnabled = ((handle->rxDataSize != 0U) || (handle->rxRingBuffer != NULL)); in USART_TransferHandleIRQ()
1205 if (handle->rxDataSize != 0U) in USART_TransferHandleIRQ()
1209 handle->rxDataSize--; in USART_TransferHandleIRQ()
1211 receiveEnabled = ((handle->rxDataSize != 0U) || (handle->rxRingBuffer != NULL)); in USART_TransferHandleIRQ()
1212 if (0U == handle->rxDataSize) in USART_TransferHandleIRQ()
1300 tmpsize = handle->rxDataSize; in USART_TransferHandleIRQ()
/hal_nxp-latest/mcux/mcux-sdk/drivers/lpc_miniusart/
Dfsl_usart.c791 handle->rxDataSize = bytesToReceive; in USART_TransferReceiveNonBlocking()
810 handle->rxDataSize = bytesToReceive; in USART_TransferReceiveNonBlocking()
846 handle->rxDataSize = 0U; in USART_TransferAbortReceive()
874 *count = handle->rxDataSizeAll - handle->rxDataSize; in USART_TransferGetReceiveCount()
893 bool receiveEnabled = (handle->rxDataSize != 0U) || (handle->rxRingBuffer != NULL); in USART_TransferHandleIRQ()
926 if (handle->rxDataSize != 0U) in USART_TransferHandleIRQ()
929 handle->rxDataSize--; in USART_TransferHandleIRQ()
932 if (handle->rxDataSize == 0U) in USART_TransferHandleIRQ()
Dfsl_usart.h246 volatile size_t rxDataSize; /*!< Size of the remaining data to receive. */ member
/hal_nxp-latest/mcux/mcux-sdk/drivers/lpflexcomm/lpuart/
Dfsl_lpuart.c1761 handle->rxDataSize = bytesToReceive; in LPUART_TransferReceiveNonBlocking()
1793 handle->rxDataSize = bytesToReceive; in LPUART_TransferReceiveNonBlocking()
1841 handle->rxDataSize = 0U; in LPUART_TransferAbortReceive()
1863 size_t tmprxDataSize = handle->rxDataSize; in LPUART_TransferGetReceiveCount()
1919 while ((0U != handle->rxDataSize) && (0U != count)) in LPUART_TransferHandleIRQ()
1921 tempCount = (uint8_t)MIN(handle->rxDataSize, count); in LPUART_TransferHandleIRQ()
1934 handle->rxDataSize -= tempCount; in LPUART_TransferHandleIRQ()
1938 if (0U == (handle->rxDataSize)) in LPUART_TransferHandleIRQ()
1953 if (0U == handle->rxDataSize) in LPUART_TransferHandleIRQ()
1983 while ((0U != handle->rxDataSize) && (0U != count)) in LPUART_TransferHandleIRQ()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/flexio/uart/
Dfsl_flexio_uart.c785 handle->rxDataSize = bytesToReceive; in FLEXIO_UART_TransferReceiveNonBlocking()
806 handle->rxDataSize = bytesToReceive; in FLEXIO_UART_TransferReceiveNonBlocking()
843 handle->rxDataSize = 0U; in FLEXIO_UART_TransferAbortReceive()
868 *count = handle->rxDataSizeAll - handle->rxDataSize; in FLEXIO_UART_TransferGetReceiveCount()
909 if (handle->rxDataSize != 0U) in FLEXIO_UART_TransferHandleIRQ()
913 handle->rxDataSize--; in FLEXIO_UART_TransferHandleIRQ()
918 if (0U == handle->rxDataSize) in FLEXIO_UART_TransferHandleIRQ()
973 else if (0U == handle->rxDataSize) in FLEXIO_UART_TransferHandleIRQ()
Dfsl_flexio_uart.h128 volatile size_t rxDataSize; /*!< Size of the remaining data to receive. */ member
/hal_nxp-latest/mcux/mcux-sdk/drivers/mipi_dsi/
Dfsl_mipi_dsi.c928 assert(xfer->rxDataSize <= FSL_DSI_RX_MAX_PAYLOAD_BYTE); in DSI_PrepareApbTransfer()
939 if (xfer->rxDataSize > FSL_DSI_RX_MAX_PAYLOAD_BYTE) in DSI_PrepareApbTransfer()
945 if (xfer->rxDataSize != 0U) in DSI_PrepareApbTransfer()
1192 xfer->rxDataSize = 0U; in DSI_HandleResult()
1196 xfer->rxDataSize = MIN(xfer->rxDataSize, actualRxByteCount); in DSI_HandleResult()
1198 if (xfer->rxDataSize > 0U) in DSI_HandleResult()
1202 DSI_ReadApbRxPayload(base, xfer->rxData, xfer->rxDataSize); in DSI_HandleResult()
1208 if (2U == xfer->rxDataSize) in DSI_HandleResult()
/hal_nxp-latest/mcux/mcux-sdk/drivers/mipi_dsi_split/
Dfsl_mipi_dsi.c932 assert(xfer->rxDataSize <= FSL_DSI_RX_MAX_PAYLOAD_BYTE); in DSI_PrepareApbTransfer()
943 if (xfer->rxDataSize > FSL_DSI_RX_MAX_PAYLOAD_BYTE) in DSI_PrepareApbTransfer()
949 if (xfer->rxDataSize != 0U) in DSI_PrepareApbTransfer()
1193 xfer->rxDataSize = 0U; in DSI_HandleResult()
1197 xfer->rxDataSize = MIN(xfer->rxDataSize, actualRxByteCount); in DSI_HandleResult()
1199 if (xfer->rxDataSize > 0U) in DSI_HandleResult()
1203 DSI_ReadApbRxPayload(base, xfer->rxData, xfer->rxDataSize); in DSI_HandleResult()
1209 if (2U == xfer->rxDataSize) in DSI_HandleResult()
Dfsl_mipi_dsi.h331 uint16_t rxDataSize; /*!< Size of the RX data. */ member
/hal_nxp-latest/mcux/mcux-sdk/drivers/lpuart/
Dfsl_lpuart.c1823 handle->rxDataSize = bytesToReceive; in LPUART_TransferReceiveNonBlocking()
1855 handle->rxDataSize = bytesToReceive; in LPUART_TransferReceiveNonBlocking()
1903 handle->rxDataSize = 0U; in LPUART_TransferAbortReceive()
1925 size_t tmprxDataSize = handle->rxDataSize; in LPUART_TransferGetReceiveCount()
1947 while ((0U != handle->rxDataSize) && (0U != count)) in LPUART_TransferHandleIDLEReady()
1949 tempCount = (uint8_t)MIN(handle->rxDataSize, count); in LPUART_TransferHandleIDLEReady()
1961 handle->rxDataSize -= tempCount; in LPUART_TransferHandleIDLEReady()
1965 if (0U == (handle->rxDataSize)) in LPUART_TransferHandleIDLEReady()
1980 if (0U == handle->rxDataSize) in LPUART_TransferHandleIDLEReady()
2015 while ((0U != handle->rxDataSize) && (0U != count)) in LPUART_TransferHandleReceiveDataFull()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/flexcomm/spi/
Dfsl_spi.c732 tempXfer.dataSize = xfer->rxDataSize; in SPI_MasterHalfDuplexTransferBlocking()
755 tempXfer.dataSize = xfer->rxDataSize; in SPI_MasterHalfDuplexTransferBlocking()
803 tempXfer.dataSize = xfer->rxDataSize; in SPI_MasterHalfDuplexTransferNonBlocking()
825 tempXfer.dataSize = xfer->rxDataSize; in SPI_MasterHalfDuplexTransferNonBlocking()
Dfsl_spi_dma.c475 tempXfer.dataSize = xfer->rxDataSize; in SPI_MasterHalfDuplexTransferDMA()
497 tempXfer.dataSize = xfer->rxDataSize; in SPI_MasterHalfDuplexTransferDMA()
Dfsl_spi.h254 size_t rxDataSize; /*!< Transfer bytes */ member
/hal_nxp-latest/mcux/mcux-sdk/drivers/i3c/
Dfsl_i3c_edma.c762 if (i3cHandle->transfer.rxDataSize > 1U) in I3C_SlaveTransferEDMACallback()
770 … *(uint8_t *)((uintptr_t)i3cHandle->transfer.rxData + i3cHandle->transfer.rxDataSize - 1U) = in I3C_SlaveTransferEDMACallback()
867 size_t dataSize = xfer->rxDataSize; in I3C_SlavePrepareRxEDMA()
937 if ((transfer->rxData != NULL) && (transfer->rxDataSize != 0U)) in I3C_SlaveTransferEDMA()
Dfsl_i3c_edma.h81 size_t rxDataSize; /*!< Transfer size */ member
Dfsl_i3c_dma.h85 size_t rxDataSize; /*!< Transfer size */ member
/hal_nxp-latest/mcux/mcux-sdk/drivers/dspi/
Dfsl_dspi.c1291 tempXfer.dataSize = xfer->rxDataSize; in DSPI_MasterHalfDuplexTransferBlocking()
1313 tempXfer.dataSize = xfer->rxDataSize; in DSPI_MasterHalfDuplexTransferBlocking()
1360 tempXfer.dataSize = xfer->rxDataSize; in DSPI_MasterHalfDuplexTransferNonBlocking()
1382 tempXfer.dataSize = xfer->rxDataSize; in DSPI_MasterHalfDuplexTransferNonBlocking()

12