Searched refs:linux_cb (Results 1 – 1 of 1) sorted by relevance
187 static tLINUX_CB linux_cb; /* case of multipel port support use array : [MAX_SERIAL_PORT] */ variable369 clock_gettime(CLOCK_MONOTONIC, &linux_cb.write_time); in setWriteDelay()372 linux_cb.write_time.tv_sec += delay / 1000; in setWriteDelay()376 linux_cb.write_time.tv_nsec += write_delay; in setWriteDelay()377 if (linux_cb.write_time.tv_nsec > 1000*1000*1000) in setWriteDelay()379 linux_cb.write_time.tv_nsec -= 1000*1000*1000; in setWriteDelay()380 linux_cb.write_time.tv_sec++; in setWriteDelay()404 if (now.tv_sec > linux_cb.write_time.tv_sec) in doWriteDelay()406 else if (now.tv_sec == linux_cb.write_time.tv_sec) in doWriteDelay()408 if (now.tv_nsec > linux_cb.write_time.tv_nsec) in doWriteDelay()[all …]