Lines Matching refs:ts
59 static void i40e_ptp_read(struct i40e_pf *pf, struct timespec64 *ts) in i40e_ptp_read() argument
71 *ts = ns_to_timespec64(ns); in i40e_ptp_read()
83 static void i40e_ptp_write(struct i40e_pf *pf, const struct timespec64 *ts) in i40e_ptp_write() argument
86 u64 ns = timespec64_to_ns(ts); in i40e_ptp_write()
183 static int i40e_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in i40e_ptp_gettime() argument
189 i40e_ptp_read(pf, ts); in i40e_ptp_gettime()
204 const struct timespec64 *ts) in i40e_ptp_settime() argument
210 i40e_ptp_write(pf, ts); in i40e_ptp_settime()
674 struct timespec64 ts; in i40e_ptp_init() local
696 ts = ktime_to_timespec64(ktime_get_real()); in i40e_ptp_init()
697 i40e_ptp_settime(&pf->ptp_caps, &ts); in i40e_ptp_init()