Home
last modified time | relevance | path

Searched refs:PTP_MAX_TIMESTAMPS (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/ptp/
H A Dptp_private.h19 #define PTP_MAX_TIMESTAMPS 128 macro
23 struct ptp_extts_event buf[PTP_MAX_TIMESTAMPS];
65 return cnt < 0 ? PTP_MAX_TIMESTAMPS + cnt : cnt; in queue_cnt()
H A Dptp_clock.c38 return PTP_MAX_TIMESTAMPS - queue_cnt(q) - 1; in queue_free()
60 WRITE_ONCE(queue->head, (queue->head + 1) % PTP_MAX_TIMESTAMPS); in enqueue_external_timestamp()
62 WRITE_ONCE(queue->tail, (queue->tail + 1) % PTP_MAX_TIMESTAMPS); in enqueue_external_timestamp()
H A Dptp_sysfs.c82 WRITE_ONCE(queue->head, (queue->head + 1) % PTP_MAX_TIMESTAMPS); in extts_fifo_show()
H A Dptp_chardev.c491 WRITE_ONCE(queue->head, (queue->head + 1) % PTP_MAX_TIMESTAMPS); in ptp_read()
/kernel/linux/linux-6.6/drivers/ptp/
H A Dptp_private.h19 #define PTP_MAX_TIMESTAMPS 128 macro
24 struct ptp_extts_event buf[PTP_MAX_TIMESTAMPS];
86 return cnt < 0 ? PTP_MAX_TIMESTAMPS + cnt : cnt; in queue_cnt()
H A Dptp_clock.c39 return PTP_MAX_TIMESTAMPS - queue_cnt(q) - 1; in queue_free()
61 WRITE_ONCE(queue->head, (queue->head + 1) % PTP_MAX_TIMESTAMPS); in enqueue_external_timestamp()
63 WRITE_ONCE(queue->tail, (queue->tail + 1) % PTP_MAX_TIMESTAMPS); in enqueue_external_timestamp()
H A Dptp_sysfs.c94 WRITE_ONCE(queue->head, (queue->head + 1) % PTP_MAX_TIMESTAMPS); in extts_fifo_show()
H A Dptp_chardev.c494 WRITE_ONCE(queue->head, (queue->head + 1) % PTP_MAX_TIMESTAMPS); in ptp_read()

Completed in 6 milliseconds