Home
last modified time | relevance | path

Searched refs:recvedLen (Results 1 – 2 of 2) sorted by relevance

/drivers/hdf_core/adapter/platform/uart/
Duart_wm.c120 uint32_t recvedLen = 0; in HalUartRecv() local
132 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()
Duart_bes.c234 uint32_t recvedLen = 0; in HalUartRecv() local
248 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()