Lines Matching defs:ns
83 u64 ns;
89 ns = timecounter_read(&ptp->tc);
92 DP_VERBOSE(edev, QED_MSG_DEBUG, "PTP gettime called, ns = %llu\n", ns);
94 *ts = ns_to_timespec64(ns);
104 u64 ns;
109 ns = timespec64_to_ns(ts);
111 DP_VERBOSE(edev, QED_MSG_DEBUG, "PTP settime called, ns = %llu\n", ns);
115 timecounter_init(&ptp->tc, &ptp->cc, ns);
142 u64 timestamp, ns;
170 ns = timecounter_cyc2time(&ptp->tc, timestamp);
172 shhwtstamps.hwtstamp = ns_to_ktime(ns);
179 "Tx timestamp, timestamp cycles = %llu, ns = %llu\n",
180 timestamp, ns);
529 u64 timestamp, ns;
544 ns = timecounter_cyc2time(&ptp->tc, timestamp);
546 skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(ns);
548 "Rx timestamp, timestamp cycles = %llu, ns = %llu\n",
549 timestamp, ns);