Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_ptp.c201 struct timespec64 ts_phase, ts_period; in ocelot_ptp_enable() local
246 ts_phase.tv_sec = rq->perout.phase.sec; in ocelot_ptp_enable()
247 ts_phase.tv_nsec = rq->perout.phase.nsec; in ocelot_ptp_enable()
250 ts_phase.tv_sec = rq->perout.start.sec; in ocelot_ptp_enable()
251 ts_phase.tv_nsec = rq->perout.start.nsec; in ocelot_ptp_enable()
253 if (ts_phase.tv_sec || (ts_phase.tv_nsec && !pps)) { in ocelot_ptp_enable()
284 ocelot_write_rix(ocelot, ts_phase.tv_nsec, in ocelot_ptp_enable()
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_ptp.c597 struct timespec64 ts_phase, ts_period; in lan966x_ptp_perout() local
629 ts_phase.tv_sec = rq->perout.phase.sec; in lan966x_ptp_perout()
630 ts_phase.tv_nsec = rq->perout.phase.nsec; in lan966x_ptp_perout()
632 ts_phase.tv_sec = rq->perout.start.sec; 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()
655 lan_wr(PTP_WF_LOW_PERIOD_PIN_WFL(ts_phase.tv_nsec), in lan966x_ptp_perout()