Lines Matching refs:desc_ptp
273 struct macb_dma_desc_ptp *desc_ptp; in gem_ptp_rxstamp() local
277 desc_ptp = macb_ptp_desc(bp, desc); in gem_ptp_rxstamp()
279 if (!desc_ptp) { in gem_ptp_rxstamp()
284 gem_hw_timestamp(bp, desc_ptp->ts_1, desc_ptp->ts_2, &ts); in gem_ptp_rxstamp()
291 struct macb_dma_desc_ptp *desc_ptp) in gem_tstamp_tx() argument
296 gem_hw_timestamp(bp, desc_ptp->ts_1, desc_ptp->ts_2, &ts); in gem_tstamp_tx()
307 struct macb_dma_desc_ptp *desc_ptp; in gem_ptp_txstamp() local
316 desc_ptp = macb_ptp_desc(queue->bp, desc); in gem_ptp_txstamp()
318 if (!desc_ptp) in gem_ptp_txstamp()
325 tx_timestamp->desc_ptp.ts_1 = desc_ptp->ts_1; in gem_ptp_txstamp()
326 tx_timestamp->desc_ptp.ts_2 = desc_ptp->ts_2; in gem_ptp_txstamp()
348 gem_tstamp_tx(queue->bp, tx_ts->skb, &tx_ts->desc_ptp); in gem_tx_timestamp_flush()