Home
last modified time | relevance | path

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

/external/libnfc-nci/halimpl/bcm2079x/adaptation/
Duserial_linux.c188 static tLINUX_CB linux_cb; /* case of multipel port support use array : [MAX_SERIAL_PORT] */ variable
370 clock_gettime(CLOCK_MONOTONIC, &linux_cb.write_time); in setWriteDelay()
373 linux_cb.write_time.tv_sec += delay / 1000; in setWriteDelay()
377 linux_cb.write_time.tv_nsec += write_delay; in setWriteDelay()
378 if (linux_cb.write_time.tv_nsec > 1000*1000*1000) in setWriteDelay()
380 linux_cb.write_time.tv_nsec -= 1000*1000*1000; in setWriteDelay()
381 linux_cb.write_time.tv_sec++; in setWriteDelay()
405 if (now.tv_sec > linux_cb.write_time.tv_sec) in doWriteDelay()
407 else if (now.tv_sec == linux_cb.write_time.tv_sec) in doWriteDelay()
409 if (now.tv_nsec > linux_cb.write_time.tv_nsec) in doWriteDelay()
[all …]