Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/microchip/
H A Dlan743x_ptp.c525 s64 wf_high, period64, half; in lan743x_ptp_perout() local
533 period64 = timespec64_to_ns(&ts_period); in lan743x_ptp_perout()
535 if (period64 < 200) { in lan743x_ptp_perout()
541 if (wf_high >= period64) { in lan743x_ptp_perout()
553 half = div_s64_rem(period64, 2, &reminder); in lan743x_ptp_perout()
559 ts_period = ns_to_timespec64(div_s64(period64, 2)); in lan743x_ptp_perout()