Lines Matching refs:hwtstamp
881 ktime_t hwtstamp; in get_timestamp() local
887 hwtstamp = netdev_get_tstamp(orig_dev, shhwtstamps, cycles); in get_timestamp()
889 hwtstamp = shhwtstamps->hwtstamp; in get_timestamp()
893 return hwtstamp; in get_timestamp()
935 skb_hwtstamps(skb)->hwtstamp; in skb_has_tx_timestamp()
942 ktime_t hwtstamp; in skb_get_tx_timestamp() local
954 hwtstamp = get_timestamp(sk, skb, &if_index); in skb_get_tx_timestamp()
956 hwtstamp = skb_hwtstamps(skb)->hwtstamp; in skb_get_tx_timestamp()
959 hwtstamp = ptp_convert_timestamp(&hwtstamp, in skb_get_tx_timestamp()
961 if (!ktime_to_timespec64_cond(hwtstamp, ts)) in skb_get_tx_timestamp()
979 ktime_t hwtstamp; in __sock_recv_timestamp() local
1037 hwtstamp = get_timestamp(sk, skb, &if_index); in __sock_recv_timestamp()
1039 hwtstamp = shhwtstamps->hwtstamp; in __sock_recv_timestamp()
1042 hwtstamp = ptp_convert_timestamp(&hwtstamp, in __sock_recv_timestamp()
1045 if (hwtstamp) { in __sock_recv_timestamp()
1046 tss.ts[2] = hwtstamp; in __sock_recv_timestamp()