Home
last modified time | relevance | path

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

/drivers/hdf_core/adapter/platform/uart/
Duart_asr.c230 uint32_t recv_len = 0; in UartHostDevRead() local
249 while (recv_len != size) { in UartHostDevRead()
251 data[recv_len++] = src[rx_tail[port]++]; in UartHostDevRead()
256 while ((recv_len != size) && (rx_head[port] != rx_tail[port])) { in UartHostDevRead()
257 data[recv_len++] = src[rx_tail[port]++]; in UartHostDevRead()
263 return recv_len; in UartHostDevRead()