Lines Matching defs:timestamp
360 u64 timestamp)
363 hwtstamp->hwtstamp = ns_to_ktime(timestamp);
531 * if the timestamp is valid, we convert it into the timecounter ns
535 void aq_ptp_tx_hwtstamp(struct aq_nic_s *aq_nic, u64 timestamp)
542 netdev_err(aq_nic->ndev, "have timestamp but tx_queues empty\n");
546 timestamp += atomic_read(&aq_ptp->offset_egress);
547 aq_ptp_convert_to_hwtstamp(aq_ptp, &hwtstamp, timestamp);
556 * @shhwtstamps: particular skb_shared_hwtstamps to save timestamp
558 * if the timestamp is valid, we convert it into the timecounter ns
563 u64 timestamp)
565 timestamp -= atomic_read(&aq_ptp->offset_ingress);
566 aq_ptp_convert_to_hwtstamp(aq_ptp, shhwtstamps, timestamp);
646 u64 timestamp = 0;
648 p, len, ×tamp);
651 aq_ptp_rx_hwtstamp(aq_ptp, shhwtstamps, timestamp);
1358 ptp_event.timestamp = time;