Home
last modified time | relevance | path

Searched refs:rxRingBufferHead (Results 1 – 18 of 18) sorted by relevance

/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_flexio_uart.c62 uint16_t rxRingBufferHead = handle->rxRingBufferHead; in FLEXIO_UART_TransferGetRxRingBufferLength() local
65 if (rxRingBufferTail > rxRingBufferHead) in FLEXIO_UART_TransferGetRxRingBufferLength()
67 size = (size_t)rxRingBufferHead + handle->rxRingBufferSize - (size_t)rxRingBufferTail; in FLEXIO_UART_TransferGetRxRingBufferLength()
71 size = (size_t)rxRingBufferHead - (size_t)rxRingBufferTail; in FLEXIO_UART_TransferGetRxRingBufferLength()
541 handle->rxRingBufferHead = 0U; in FLEXIO_UART_TransferStartRingBuffer()
568 handle->rxRingBufferHead = 0U; in FLEXIO_UART_TransferStopRingBuffer()
868 uint16_t rxRingBufferHead; in FLEXIO_UART_TransferHandleIRQ() local
939 rxRingBufferHead = handle->rxRingBufferHead; in FLEXIO_UART_TransferHandleIRQ()
940 handle->rxRingBuffer[rxRingBufferHead] = in FLEXIO_UART_TransferHandleIRQ()
944 if ((uint32_t)handle->rxRingBufferHead + 1U == handle->rxRingBufferSize) in FLEXIO_UART_TransferHandleIRQ()
[all …]
Dfsl_lpsci.c155 if (handle->rxRingBufferTail > handle->rxRingBufferHead) in LPSCI_TransferGetRxRingBufferLength()
157 … size = (size_t)(handle->rxRingBufferHead + handle->rxRingBufferSize - handle->rxRingBufferTail); in LPSCI_TransferGetRxRingBufferLength()
161 size = (size_t)(handle->rxRingBufferHead - handle->rxRingBufferTail); in LPSCI_TransferGetRxRingBufferLength()
616 handle->rxRingBufferHead = 0U; in LPSCI_TransferStartRingBuffer()
647 handle->rxRingBufferHead = 0U; in LPSCI_TransferStopRingBuffer()
978 handle->rxRingBuffer[handle->rxRingBufferHead] = base->D; in LPSCI_TransferHandleIRQ()
981 if (handle->rxRingBufferHead + 1U == handle->rxRingBufferSize) in LPSCI_TransferHandleIRQ()
983 handle->rxRingBufferHead = 0U; in LPSCI_TransferHandleIRQ()
987 handle->rxRingBufferHead++; in LPSCI_TransferHandleIRQ()
Dfsl_uart.c158 uint16_t rxRingBufferHead = handle->rxRingBufferHead; in UART_TransferGetRxRingBufferLength() local
161 if (rxRingBufferTail > rxRingBufferHead) in UART_TransferGetRxRingBufferLength()
163 size = (size_t)rxRingBufferHead + handle->rxRingBufferSize - (size_t)rxRingBufferTail; in UART_TransferGetRxRingBufferLength()
167 size = (size_t)rxRingBufferHead - (size_t)rxRingBufferTail; in UART_TransferGetRxRingBufferLength()
988 handle->rxRingBufferHead = 0U; in UART_TransferStartRingBuffer()
1033 handle->rxRingBufferHead = 0U; in UART_TransferStopRingBuffer()
1683 handle->rxRingBuffer[handle->rxRingBufferHead] = tmpdata; in UART_TransferHandleIRQ()
1686 if ((size_t)handle->rxRingBufferHead + 1U == handle->rxRingBufferSize) in UART_TransferHandleIRQ()
1688 handle->rxRingBufferHead = 0U; in UART_TransferHandleIRQ()
1692 handle->rxRingBufferHead++; in UART_TransferHandleIRQ()
Dfsl_lpuart.c141 uint16_t tmpRxRingBufferHead = handle->rxRingBufferHead; in LPUART_TransferGetRxRingBufferLength()
1176 handle->rxRingBufferHead = 0U; in LPUART_TransferStartRingBuffer()
1209 handle->rxRingBufferHead = 0U; in LPUART_TransferStopRingBuffer()
1700 tpmRxRingBufferHead = handle->rxRingBufferHead; in LPUART_TransferHandleIRQ()
1716 if (((uint32_t)handle->rxRingBufferHead + 1U) == handle->rxRingBufferSize) in LPUART_TransferHandleIRQ()
1718 handle->rxRingBufferHead = 0U; in LPUART_TransferHandleIRQ()
1722 handle->rxRingBufferHead++; in LPUART_TransferHandleIRQ()
Dfsl_flexio_uart.h123 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
Dfsl_lpsci.h191 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
Dfsl_uart.h211 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
Dfsl_lpuart.h299 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_flexio_uart.c62 uint16_t rxRingBufferHead = handle->rxRingBufferHead; in FLEXIO_UART_TransferGetRxRingBufferLength() local
65 if (rxRingBufferTail > rxRingBufferHead) in FLEXIO_UART_TransferGetRxRingBufferLength()
67 size = (size_t)rxRingBufferHead + handle->rxRingBufferSize - (size_t)rxRingBufferTail; in FLEXIO_UART_TransferGetRxRingBufferLength()
71 size = (size_t)rxRingBufferHead - (size_t)rxRingBufferTail; in FLEXIO_UART_TransferGetRxRingBufferLength()
559 handle->rxRingBufferHead = 0U; in FLEXIO_UART_TransferStartRingBuffer()
586 handle->rxRingBufferHead = 0U; in FLEXIO_UART_TransferStopRingBuffer()
886 uint16_t rxRingBufferHead; in FLEXIO_UART_TransferHandleIRQ() local
957 rxRingBufferHead = handle->rxRingBufferHead; in FLEXIO_UART_TransferHandleIRQ()
958 handle->rxRingBuffer[rxRingBufferHead] = in FLEXIO_UART_TransferHandleIRQ()
962 if ((uint32_t)handle->rxRingBufferHead + 1U == handle->rxRingBufferSize) in FLEXIO_UART_TransferHandleIRQ()
[all …]
Dfsl_lpuart.c141 uint16_t tmpRxRingBufferHead = handle->rxRingBufferHead; in LPUART_TransferGetRxRingBufferLength()
1176 handle->rxRingBufferHead = 0U; in LPUART_TransferStartRingBuffer()
1209 handle->rxRingBufferHead = 0U; in LPUART_TransferStopRingBuffer()
1700 tpmRxRingBufferHead = handle->rxRingBufferHead; in LPUART_TransferHandleIRQ()
1716 if (((uint32_t)handle->rxRingBufferHead + 1U) == handle->rxRingBufferSize) in LPUART_TransferHandleIRQ()
1718 handle->rxRingBufferHead = 0U; in LPUART_TransferHandleIRQ()
1722 handle->rxRingBufferHead++; in LPUART_TransferHandleIRQ()
Dfsl_flexio_uart.h134 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
Dfsl_lpuart.h299 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_usart.c83 uint16_t rxRingBufferHead = handle->rxRingBufferHead; in USART_TransferGetRxRingBufferLength() local
86 if (rxRingBufferTail > rxRingBufferHead) in USART_TransferGetRxRingBufferLength()
88 size = (size_t)rxRingBufferHead + handle->rxRingBufferSize - (size_t)rxRingBufferTail; in USART_TransferGetRxRingBufferLength()
92 size = (size_t)rxRingBufferHead - (size_t)rxRingBufferTail; in USART_TransferGetRxRingBufferLength()
142 handle->rxRingBufferHead = 0U; in USART_TransferStartRingBuffer()
168 handle->rxRingBufferHead = 0U; in USART_TransferStopRingBuffer()
1099 handle->rxRingBuffer[handle->rxRingBufferHead] = rxdata; in USART_TransferHandleIRQ()
1101 if ((size_t)handle->rxRingBufferHead + 1U == handle->rxRingBufferSize) in USART_TransferHandleIRQ()
1103 handle->rxRingBufferHead = 0U; in USART_TransferHandleIRQ()
1107 handle->rxRingBufferHead++; in USART_TransferHandleIRQ()
Dfsl_usart.h196 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_usart.c83 uint16_t rxRingBufferHead = handle->rxRingBufferHead; in USART_TransferGetRxRingBufferLength() local
86 if (rxRingBufferTail > rxRingBufferHead) in USART_TransferGetRxRingBufferLength()
88 size = (size_t)rxRingBufferHead + handle->rxRingBufferSize - (size_t)rxRingBufferTail; in USART_TransferGetRxRingBufferLength()
92 size = (size_t)rxRingBufferHead - (size_t)rxRingBufferTail; in USART_TransferGetRxRingBufferLength()
142 handle->rxRingBufferHead = 0U; in USART_TransferStartRingBuffer()
168 handle->rxRingBufferHead = 0U; in USART_TransferStopRingBuffer()
1099 handle->rxRingBuffer[handle->rxRingBufferHead] = rxdata; in USART_TransferHandleIRQ()
1101 if ((size_t)handle->rxRingBufferHead + 1U == handle->rxRingBufferSize) in USART_TransferHandleIRQ()
1103 handle->rxRingBufferHead = 0U; in USART_TransferHandleIRQ()
1107 handle->rxRingBufferHead++; in USART_TransferHandleIRQ()
Dfsl_usart.h196 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
/hal_nxp-2.7.6/mcux/drivers/imx8/
Dfsl_uart.c136 if (handle->rxRingBufferTail > handle->rxRingBufferHead) in UART_TransferGetRxRingBufferLength()
138 …size = (size_t)handle->rxRingBufferHead + handle->rxRingBufferSize - (size_t)handle->rxRingBufferT… in UART_TransferGetRxRingBufferLength()
142 size = (size_t)handle->rxRingBufferHead - (size_t)handle->rxRingBufferTail; in UART_TransferGetRxRingBufferLength()
911 handle->rxRingBufferHead = 0U; in UART_TransferStartRingBuffer()
941 handle->rxRingBufferHead = 0U; in UART_TransferStopRingBuffer()
1356 handle->rxRingBuffer[handle->rxRingBufferHead] = in UART_TransferHandleIRQ()
1360 if (handle->rxRingBufferHead + 1U == (uint16_t)handle->rxRingBufferSize) in UART_TransferHandleIRQ()
1362 handle->rxRingBufferHead = 0U; in UART_TransferHandleIRQ()
1366 handle->rxRingBufferHead++; in UART_TransferHandleIRQ()
1435 handle->rxRingBuffer[handle->rxRingBufferHead] = UART_ReadByte(base); in UART_TransferHandleIRQ()
[all …]
Dfsl_uart.h208 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member