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

/linux-4.4.14/drivers/tty/serial/
H A Dbfin_uart.c216 static struct timeval anomaly_start = { .tv_sec = 0 }; bfin_serial_rx_chars() local
249 if (anomaly_start.tv_sec) { bfin_serial_rx_chars()
257 if (curr.tv_sec - anomaly_start.tv_sec > 1) bfin_serial_rx_chars()
261 if (curr.tv_sec != anomaly_start.tv_sec) bfin_serial_rx_chars()
263 usecs += curr.tv_usec - anomaly_start.tv_usec; bfin_serial_rx_chars()
269 anomaly_start.tv_sec = 0; bfin_serial_rx_chars()
271 anomaly_start = curr; bfin_serial_rx_chars()
277 anomaly_start.tv_sec = 0; bfin_serial_rx_chars()
284 do_gettimeofday(&anomaly_start); bfin_serial_rx_chars()

Completed in 39 milliseconds