Lines Matching refs:ts
60 static void i40e_ptp_read(struct i40e_pf *pf, struct timespec64 *ts) in i40e_ptp_read() argument
72 *ts = ns_to_timespec64(ns); in i40e_ptp_read()
84 static void i40e_ptp_write(struct i40e_pf *pf, const struct timespec64 *ts) in i40e_ptp_write() argument
87 u64 ns = timespec64_to_ns(ts); in i40e_ptp_write()
184 static int i40e_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in i40e_ptp_gettime() argument
190 i40e_ptp_read(pf, ts); in i40e_ptp_gettime()
205 const struct timespec64 *ts) in i40e_ptp_settime() argument
211 i40e_ptp_write(pf, ts); in i40e_ptp_settime()
676 struct timespec64 ts; in i40e_ptp_init() local
698 ts = ktime_to_timespec64(ktime_get_real()); in i40e_ptp_init()
699 i40e_ptp_settime(&pf->ptp_caps, &ts); in i40e_ptp_init()