Searched refs:PTP_MAX_TIMESTAMPS (Results 1 – 4 of 4) sorted by relevance
19 #define PTP_MAX_TIMESTAMPS 128 macro24 struct ptp_extts_event buf[PTP_MAX_TIMESTAMPS];80 return cnt < 0 ? PTP_MAX_TIMESTAMPS + cnt : cnt; in queue_cnt()
39 return PTP_MAX_TIMESTAMPS - queue_cnt(q) - 1; in queue_free()60 queue->head = (queue->head + 1) % PTP_MAX_TIMESTAMPS; in enqueue_external_timestamp()62 queue->tail = (queue->tail + 1) % PTP_MAX_TIMESTAMPS; in enqueue_external_timestamp()
82 queue->head = (queue->head + 1) % PTP_MAX_TIMESTAMPS; in extts_fifo_show()
490 queue->head = (queue->head + 1) % PTP_MAX_TIMESTAMPS; in ptp_read()
Completed in 5 milliseconds