Home
last modified time | relevance | path

Searched refs:bytesToCopy (Results 1 – 9 of 9) sorted by relevance

/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_flexio_uart.c699 size_t bytesToCopy = 0U; in FLEXIO_UART_TransferReceiveNonBlocking() local
737 bytesToCopy = FLEXIO_UART_TransferGetRxRingBufferLength(handle); in FLEXIO_UART_TransferReceiveNonBlocking()
739 if (bytesToCopy != 0U) in FLEXIO_UART_TransferReceiveNonBlocking()
741 bytesToCopy = MIN(bytesToReceive, bytesToCopy); in FLEXIO_UART_TransferReceiveNonBlocking()
743 bytesToReceive -= bytesToCopy; in FLEXIO_UART_TransferReceiveNonBlocking()
746 for (i = 0U; i < bytesToCopy; i++) in FLEXIO_UART_TransferReceiveNonBlocking()
Dfsl_lpsci.c719 size_t bytesToCopy = 0U; in LPSCI_TransferReceiveNonBlocking() local
751 bytesToCopy = LPSCI_TransferGetRxRingBufferLength(handle); in LPSCI_TransferReceiveNonBlocking()
753 if (bytesToCopy) in LPSCI_TransferReceiveNonBlocking()
755 bytesToCopy = MIN(bytesToReceive, bytesToCopy); in LPSCI_TransferReceiveNonBlocking()
757 bytesToReceive -= bytesToCopy; in LPSCI_TransferReceiveNonBlocking()
760 for (i = 0U; i < bytesToCopy; i++) in LPSCI_TransferReceiveNonBlocking()
Dfsl_uart.c1188 size_t bytesToCopy = 0U; in UART_TransferReceiveNonBlocking() local
1225 bytesToCopy = UART_TransferGetRxRingBufferLength(handle); in UART_TransferReceiveNonBlocking()
1227 if (bytesToCopy != 0U) in UART_TransferReceiveNonBlocking()
1229 bytesToCopy = MIN(bytesToReceive, bytesToCopy); in UART_TransferReceiveNonBlocking()
1231 bytesToReceive -= bytesToCopy; in UART_TransferReceiveNonBlocking()
1234 for (i = 0U; i < bytesToCopy; i++) in UART_TransferReceiveNonBlocking()
Dfsl_lpuart.c1372 size_t bytesToCopy = 0U; in LPUART_TransferReceiveNonBlocking() local
1408 bytesToCopy = LPUART_TransferGetRxRingBufferLength(base, handle); in LPUART_TransferReceiveNonBlocking()
1410 if (0U != bytesToCopy) in LPUART_TransferReceiveNonBlocking()
1412 bytesToCopy = MIN(bytesToReceive, bytesToCopy); in LPUART_TransferReceiveNonBlocking()
1414 bytesToReceive -= bytesToCopy; in LPUART_TransferReceiveNonBlocking()
1417 for (i = 0U; i < bytesToCopy; i++) in LPUART_TransferReceiveNonBlocking()
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_flexio_uart.c717 size_t bytesToCopy = 0U; in FLEXIO_UART_TransferReceiveNonBlocking() local
755 bytesToCopy = FLEXIO_UART_TransferGetRxRingBufferLength(handle); in FLEXIO_UART_TransferReceiveNonBlocking()
757 if (bytesToCopy != 0U) in FLEXIO_UART_TransferReceiveNonBlocking()
759 bytesToCopy = MIN(bytesToReceive, bytesToCopy); in FLEXIO_UART_TransferReceiveNonBlocking()
761 bytesToReceive -= bytesToCopy; in FLEXIO_UART_TransferReceiveNonBlocking()
764 for (i = 0U; i < bytesToCopy; i++) in FLEXIO_UART_TransferReceiveNonBlocking()
Dfsl_lpuart.c1372 size_t bytesToCopy = 0U; in LPUART_TransferReceiveNonBlocking() local
1408 bytesToCopy = LPUART_TransferGetRxRingBufferLength(base, handle); in LPUART_TransferReceiveNonBlocking()
1410 if (0U != bytesToCopy) in LPUART_TransferReceiveNonBlocking()
1412 bytesToCopy = MIN(bytesToReceive, bytesToCopy); in LPUART_TransferReceiveNonBlocking()
1414 bytesToReceive -= bytesToCopy; in LPUART_TransferReceiveNonBlocking()
1417 for (i = 0U; i < bytesToCopy; i++) in LPUART_TransferReceiveNonBlocking()
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_usart.c841 size_t bytesToCopy = 0U; in USART_TransferReceiveNonBlocking() local
892 bytesToCopy = USART_TransferGetRxRingBufferLength(handle); in USART_TransferReceiveNonBlocking()
893 if (bytesToCopy != 0U) in USART_TransferReceiveNonBlocking()
895 bytesToCopy = MIN(bytesToReceive, bytesToCopy); in USART_TransferReceiveNonBlocking()
896 bytesToReceive -= bytesToCopy; in USART_TransferReceiveNonBlocking()
898 for (i = 0U; i < bytesToCopy; i++) in USART_TransferReceiveNonBlocking()
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_usart.c841 size_t bytesToCopy = 0U; in USART_TransferReceiveNonBlocking() local
892 bytesToCopy = USART_TransferGetRxRingBufferLength(handle); in USART_TransferReceiveNonBlocking()
893 if (bytesToCopy != 0U) in USART_TransferReceiveNonBlocking()
895 bytesToCopy = MIN(bytesToReceive, bytesToCopy); in USART_TransferReceiveNonBlocking()
896 bytesToReceive -= bytesToCopy; in USART_TransferReceiveNonBlocking()
898 for (i = 0U; i < bytesToCopy; i++) in USART_TransferReceiveNonBlocking()
/hal_nxp-2.7.6/mcux/drivers/imx8/
Dfsl_uart.c1079 size_t bytesToCopy = 0U; in UART_TransferReceiveNonBlocking() local
1111 bytesToCopy = UART_TransferGetRxRingBufferLength(handle); in UART_TransferReceiveNonBlocking()
1113 if (bytesToCopy != 0U) in UART_TransferReceiveNonBlocking()
1115 bytesToCopy = MIN(bytesToReceive, bytesToCopy); in UART_TransferReceiveNonBlocking()
1117 bytesToReceive -= bytesToCopy; in UART_TransferReceiveNonBlocking()
1120 for (i = 0U; i < bytesToCopy; i++) in UART_TransferReceiveNonBlocking()