Home
last modified time | relevance | path

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

/drivers/tty/serial/
Dbfin_uart.c227 static struct timeval anomaly_start = { .tv_sec = 0 }; in bfin_serial_rx_chars() local
260 if (anomaly_start.tv_sec) { in bfin_serial_rx_chars()
268 if (curr.tv_sec - anomaly_start.tv_sec > 1) in bfin_serial_rx_chars()
272 if (curr.tv_sec != anomaly_start.tv_sec) in bfin_serial_rx_chars()
274 usecs += curr.tv_usec - anomaly_start.tv_usec; in bfin_serial_rx_chars()
280 anomaly_start.tv_sec = 0; in bfin_serial_rx_chars()
282 anomaly_start = curr; in bfin_serial_rx_chars()
288 anomaly_start.tv_sec = 0; in bfin_serial_rx_chars()
295 do_gettimeofday(&anomaly_start); in bfin_serial_rx_chars()