Lines Matching refs:ts
24 void igc_ptp_read(struct igc_adapter *adapter, struct timespec64 *ts)
33 ts->tv_sec = sec;
34 ts->tv_nsec = nsec;
38 const struct timespec64 *ts)
42 wr32(IGC_SYSTIML, ts->tv_nsec);
43 wr32(IGC_SYSTIMH, ts->tv_sec);
91 struct timespec64 *ts,
102 ts->tv_nsec = rd32(IGC_SYSTIML);
103 ts->tv_sec = rd32(IGC_SYSTIMH);
112 const struct timespec64 *ts)
120 igc_ptp_write_i225(igc, ts);
252 struct timespec64 ts;
312 ts.tv_sec = rq->perout.period.sec;
313 ts.tv_nsec = rq->perout.period.nsec;
314 ns = timespec64_to_ns(&ts);
322 ts = ns_to_timespec64(ns);
382 igc->perout[i].period.tv_sec = ts.tv_sec;
383 igc->perout[i].period.tv_nsec = ts.tv_nsec;
1029 struct timespec64 *ts,
1039 ts->tv_nsec = rd32(IGC_SYSTIML_1);
1040 ts->tv_sec = rd32(IGC_SYSTIMH_1);
1150 struct timespec64 ts = adapter->prev_ptp_time;
1155 timespec64_add_ns(&ts, ktime_to_ns(delta));
1157 igc_ptp_write_i225(adapter, &ts);