Searched refs:linux_cb (Results 1 – 1 of 1) sorted by relevance
157 static tLINUX_CB linux_cb; /* case of multipel port support use array : [MAX_SERIAL_PORT] */ variable338 clock_gettime(CLOCK_MONOTONIC, &linux_cb.write_time); in setWriteDelay()341 linux_cb.write_time.tv_sec += delay / 1000; in setWriteDelay()345 linux_cb.write_time.tv_nsec += write_delay; in setWriteDelay()346 if (linux_cb.write_time.tv_nsec > 1000*1000*1000) in setWriteDelay()348 linux_cb.write_time.tv_nsec -= 1000*1000*1000; in setWriteDelay()349 linux_cb.write_time.tv_sec++; in setWriteDelay()373 if (now.tv_sec > linux_cb.write_time.tv_sec) in doWriteDelay()375 else if (now.tv_sec == linux_cb.write_time.tv_sec) in doWriteDelay()377 if (now.tv_nsec > linux_cb.write_time.tv_nsec) in doWriteDelay()[all …]