Lines Matching refs:ts
89 struct pps_event_time *ts, int event, void *data);
94 struct timespec64 ts)
96 kt->sec = ts.tv_sec;
97 kt->nsec = ts.tv_nsec;
100 static inline void pps_get_ts(struct pps_event_time *ts)
105 ts->ts_real = ktime_to_timespec64(snap.real);
107 ts->ts_raw = ktime_to_timespec64(snap.raw);
112 static inline void pps_sub_ts(struct pps_event_time *ts, struct timespec64 delta)
114 ts->ts_real = timespec64_sub(ts->ts_real, delta);
116 ts->ts_raw = timespec64_sub(ts->ts_raw, delta);