Home
last modified time | relevance | path

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

/system/nfc/halimpl/bcm2079x/adaptation/
Duserial_linux.c195 linux_cb; /* case of multipel port support use array : [MAX_SERIAL_PORT] */ variable
373 clock_gettime(CLOCK_MONOTONIC, &linux_cb.write_time); in setWriteDelay()
375 linux_cb.write_time.tv_sec += delay / 1000; in setWriteDelay()
379 linux_cb.write_time.tv_nsec += write_delay; in setWriteDelay()
380 if (linux_cb.write_time.tv_nsec > 1000 * 1000 * 1000) { in setWriteDelay()
381 linux_cb.write_time.tv_nsec -= 1000 * 1000 * 1000; in setWriteDelay()
382 linux_cb.write_time.tv_sec++; in setWriteDelay()
406 if (now.tv_sec > linux_cb.write_time.tv_sec) in doWriteDelay()
408 else if (now.tv_sec == linux_cb.write_time.tv_sec) { in doWriteDelay()
409 if (now.tv_nsec > linux_cb.write_time.tv_nsec) return; in doWriteDelay()
[all …]