Searched refs:rx_tail (Results 1 – 1 of 1) sorted by relevance
79 static uint16_t rx_tail[ASR_UART_NUM]; variable250 if (rx_head[port] != rx_tail[port]) { in UartHostDevRead()251 data[recv_len++] = src[rx_tail[port]++]; in UartHostDevRead()252 rx_tail[port] %= UART_RX_BUF_LEN; 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()258 rx_tail[port] %= UART_RX_BUF_LEN; in UartHostDevRead()