Lines Matching refs:ts

116 			      struct timespec64 *ts)  in igb_ptp_read_i210()  argument
129 ts->tv_sec = sec; in igb_ptp_read_i210()
130 ts->tv_nsec = nsec; in igb_ptp_read_i210()
134 const struct timespec64 *ts) in igb_ptp_write_i210() argument
141 wr32(E1000_SYSTIML, ts->tv_nsec); in igb_ptp_write_i210()
142 wr32(E1000_SYSTIMH, (u32)ts->tv_sec); in igb_ptp_write_i210()
260 struct timespec64 *ts, in igb_ptp_gettimex_82576() argument
281 *ts = ns_to_timespec64(ns); in igb_ptp_gettimex_82576()
287 struct timespec64 *ts, in igb_ptp_gettimex_82580() argument
309 *ts = ns_to_timespec64(ns); in igb_ptp_gettimex_82580()
315 struct timespec64 *ts, in igb_ptp_gettimex_i210() argument
328 ts->tv_nsec = rd32(E1000_SYSTIML); in igb_ptp_gettimex_i210()
329 ts->tv_sec = rd32(E1000_SYSTIMH); in igb_ptp_gettimex_i210()
337 const struct timespec64 *ts) in igb_ptp_settime_82576() argument
344 ns = timespec64_to_ns(ts); in igb_ptp_settime_82576()
356 const struct timespec64 *ts) in igb_ptp_settime_i210() argument
364 igb_ptp_write_i210(igb, ts); in igb_ptp_settime_i210()
497 struct timespec64 ts, start; in igb_ptp_feature_enable_82580() local
552 ts.tv_sec = rq->perout.period.sec; in igb_ptp_feature_enable_82580()
553 ts.tv_nsec = rq->perout.period.nsec; in igb_ptp_feature_enable_82580()
554 ns = timespec64_to_ns(&ts); in igb_ptp_feature_enable_82580()
558 ts = ns_to_timespec64(ns); in igb_ptp_feature_enable_82580()
621 igb->perout[i].period.tv_sec = ts.tv_sec; in igb_ptp_feature_enable_82580()
622 igb->perout[i].period.tv_nsec = ts.tv_nsec; in igb_ptp_feature_enable_82580()
649 struct timespec64 ts; in igb_ptp_feature_enable_i210() local
708 ts.tv_sec = rq->perout.period.sec; in igb_ptp_feature_enable_i210()
709 ts.tv_nsec = rq->perout.period.nsec; in igb_ptp_feature_enable_i210()
710 ns = timespec64_to_ns(&ts); in igb_ptp_feature_enable_i210()
718 ts = ns_to_timespec64(ns); in igb_ptp_feature_enable_i210()
757 igb->perout[i].period.tv_sec = ts.tv_sec; in igb_ptp_feature_enable_i210()
758 igb->perout[i].period.tv_nsec = ts.tv_nsec; in igb_ptp_feature_enable_i210()
850 struct timespec64 ts; in igb_ptp_overflow_check() local
856 ts = ns_to_timespec64(ns); in igb_ptp_overflow_check()
858 (long long) ts.tv_sec, ts.tv_nsec); in igb_ptp_overflow_check()
1007 struct skb_shared_hwtstamps ts; in igb_ptp_rx_pktstamp() local
1023 igb_ptp_systim_to_hwtstamp(adapter, &ts, le64_to_cpu(regval[1])); in igb_ptp_rx_pktstamp()
1040 *timestamp = ktime_sub_ns(ts.hwtstamp, adjust); in igb_ptp_rx_pktstamp()
1511 struct timespec64 ts = ktime_to_timespec64(ktime_get_real()); in igb_ptp_reset() local
1513 igb_ptp_write_i210(adapter, &ts); in igb_ptp_reset()