Home
last modified time | relevance | path

Searched refs:ts_phase (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/mscc/
Docelot_ptp.c187 struct timespec64 ts_phase, ts_period; in ocelot_ptp_enable() local
232 ts_phase.tv_sec = rq->perout.phase.sec; in ocelot_ptp_enable()
233 ts_phase.tv_nsec = rq->perout.phase.nsec; in ocelot_ptp_enable()
236 ts_phase.tv_sec = rq->perout.start.sec; in ocelot_ptp_enable()
237 ts_phase.tv_nsec = rq->perout.start.nsec; in ocelot_ptp_enable()
239 if (ts_phase.tv_sec || (ts_phase.tv_nsec && !pps)) { in ocelot_ptp_enable()
270 ocelot_write_rix(ocelot, ts_phase.tv_nsec, in ocelot_ptp_enable()