Home
last modified time | relevance | path

Searched refs:ts_period (Results 1 – 3 of 3) 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
230 ts_period.tv_sec = rq->perout.period.sec; in ocelot_ptp_enable()
231 ts_period.tv_nsec = rq->perout.period.nsec; in ocelot_ptp_enable()
233 if (ts_period.tv_sec == 1 && ts_period.tv_nsec == 0) in ocelot_ptp_enable()
273 wf_high = timespec64_to_ns(&ts_period); in ocelot_ptp_enable()
278 wf_low = timespec64_to_ns(&ts_period); 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
670 ts_period.tv_sec = rq->perout.period.sec; in lan966x_ptp_perout()
671 ts_period.tv_nsec = rq->perout.period.nsec; in lan966x_ptp_perout()
673 wf_low = timespec64_to_ns(&ts_period); in lan966x_ptp_perout()
/linux-6.1.9/drivers/net/ethernet/microchip/
Dlan743x_ptp.c565 struct timespec64 ts_on, ts_period; in lan743x_ptp_perout() local
572 ts_period.tv_sec = perout_request->period.sec; in lan743x_ptp_perout()
573 ts_period.tv_nsec = perout_request->period.nsec; in lan743x_ptp_perout()
574 period64 = timespec64_to_ns(&ts_period); in lan743x_ptp_perout()
600 ts_period = ns_to_timespec64(div_s64(period64, 2)); in lan743x_ptp_perout()
601 period_sec = ts_period.tv_sec; in lan743x_ptp_perout()
602 period_nsec = ts_period.tv_nsec; in lan743x_ptp_perout()