Lines Matching refs:ts
220 c.u.ts.sc = FW_PTP_SC_ADJ_FREQ; in cxgb4_ptp_adjfine()
221 c.u.ts.sign = (ppb < 0) ? 1 : 0; in cxgb4_ptp_adjfine()
224 c.u.ts.ppb = cpu_to_be32(ppb); in cxgb4_ptp_adjfine()
252 c.u.ts.sc = FW_PTP_SC_ADJ_FTIME; in cxgb4_ptp_fineadjtime()
253 c.u.ts.sign = (delta < 0) ? 1 : 0; in cxgb4_ptp_fineadjtime()
256 c.u.ts.tm = cpu_to_be64(delta); in cxgb4_ptp_fineadjtime()
291 c.u.ts.sc = FW_PTP_SC_ADJ_TIME; in cxgb4_ptp_adjtime()
292 c.u.ts.sign = (delta < 0) ? 1 : 0; in cxgb4_ptp_adjtime()
295 c.u.ts.tm = cpu_to_be64(delta); in cxgb4_ptp_adjtime()
316 static int cxgb4_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in cxgb4_ptp_gettime() argument
327 *ts = ns_to_timespec64(ns); in cxgb4_ptp_gettime()
340 const struct timespec64 *ts) in cxgb4_ptp_settime() argument
354 c.u.ts.sc = FW_PTP_SC_SET_TIME; in cxgb4_ptp_settime()
356 ns = timespec64_to_ns(ts); in cxgb4_ptp_settime()
357 c.u.ts.tm = cpu_to_be64(ns); in cxgb4_ptp_settime()