Searched refs:PTP_TS_BUFFER_SIZE (Results 1 – 2 of 2) sorted by relevance
315 if (CIRC_SPACE(head, tail, PTP_TS_BUFFER_SIZE) == 0) in gem_ptp_txstamp()326 (head + 1) & (PTP_TS_BUFFER_SIZE - 1)); in gem_ptp_txstamp()343 while (CIRC_CNT(head, tail, PTP_TS_BUFFER_SIZE)) { in gem_tx_timestamp_flush()350 (tail + 1) & (PTP_TS_BUFFER_SIZE - 1)); in gem_tx_timestamp_flush()
692 #define PTP_TS_BUFFER_SIZE 128 /* must be power of 2 */ macro1128 struct gem_tx_ts tx_timestamps[PTP_TS_BUFFER_SIZE];