Searched refs:recvedLen (Results 1 – 2 of 2) sorted by relevance
120 uint32_t recvedLen = 0; in HalUartRecv() local132 fifoPopLen = tls_uart_read(uartId, (uint8_t *)data + recvedLen, expectLen); in HalUartRecv()133 recvedLen += fifoPopLen; in HalUartRecv()135 if (recvedLen >= expectSize) { in HalUartRecv()139 if (recvedLen == 0) { in HalUartRecv()152 *recvSize = recvedLen; in HalUartRecv()
234 uint32_t recvedLen = 0; in HalUartRecv() local248 fifoPopLen = kfifo_get(&g_uartCtx[uartId].fifo, (uint8_t *)data + recvedLen, expectLen); in HalUartRecv()249 recvedLen += fifoPopLen; in HalUartRecv()251 if (recvedLen >= expectSize) { in HalUartRecv()255 if (recvedLen == 0) { in HalUartRecv()267 *recvSize = recvedLen; in HalUartRecv()