Lines Matching refs:numToCopy
865 uint32_t numToCopy = 0UL; in Cy_SCB_UART_Receive() local
873 numToCopy = Cy_SCB_UART_GetNumInRingBuffer(base, context); in Cy_SCB_UART_Receive()
875 if (numToCopy > 0UL) in Cy_SCB_UART_Receive()
882 if (numToCopy > size) in Cy_SCB_UART_Receive()
884 numToCopy = size; in Cy_SCB_UART_Receive()
888 for (idx = 0UL; idx < numToCopy; ++idx) in Cy_SCB_UART_Receive()
913 size -= numToCopy; in Cy_SCB_UART_Receive()
914 context->rxBufIdx = numToCopy; in Cy_SCB_UART_Receive()
938 tmpBuf = &tmpBuf[(byteMode) ? (numToCopy) : (2UL * numToCopy)]; in Cy_SCB_UART_Receive()
953 context->rxBufIdx = numToCopy; in Cy_SCB_UART_Receive()
1537 uint32_t numToCopy = Cy_SCB_GetNumInRxFifo(base); in HandleRingBuffer() local
1542 while (numToCopy > 0UL) in HandleRingBuffer()
1584 --numToCopy; in HandleRingBuffer()
1591 numToCopy = context->rxRingBufSize - Cy_SCB_UART_GetNumInRingBuffer(base, context); in HandleRingBuffer()
1593 if (numToCopy < irqRxLevel) in HandleRingBuffer()
1596 uint32_t level = (numToCopy > 0UL) ? (numToCopy - 1UL) : 0UL; in HandleRingBuffer()
1620 uint32_t numToCopy; in HandleDataTransmit() local
1632 numToCopy = Cy_SCB_UART_PutArray(base, context->txBuf, (context->txBufSize - 1UL)); in HandleDataTransmit()
1635 context->txBufSize -= numToCopy; in HandleDataTransmit()
1637 buf = &buf[(byteMode) ? (numToCopy) : (2UL * numToCopy)]; in HandleDataTransmit()