Lines Matching refs:tv_nsec
228 ts->tv_nsec = nsec; in lan966x_get_hwtimestamp()
315 shhwtstamps.hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in lan966x_ptp_irq_handler()
451 lan_wr(ts->tv_nsec, lan966x, PTP_TOD_NSEC(TOD_ACC_PIN)); in lan966x_ptp_settime64()
630 ts_phase.tv_nsec = rq->perout.phase.nsec; in lan966x_ptp_perout()
633 ts_phase.tv_nsec = rq->perout.start.nsec; in lan966x_ptp_perout()
636 if (ts_phase.tv_sec || (ts_phase.tv_nsec && !pps)) { in lan966x_ptp_perout()
646 ts_on.tv_nsec = rq->perout.on.nsec; in lan966x_ptp_perout()
655 lan_wr(PTP_WF_LOW_PERIOD_PIN_WFL(ts_phase.tv_nsec), in lan966x_ptp_perout()
671 ts_period.tv_nsec = rq->perout.period.nsec; in lan966x_ptp_perout()
887 if (ts.tv_nsec < timestamp) in lan966x_ptp_rxtstamp()
889 ts.tv_nsec = timestamp; in lan966x_ptp_rxtstamp()
890 full_ts_in_ns = ktime_set(ts.tv_sec, ts.tv_nsec); in lan966x_ptp_rxtstamp()