Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/microchip/
H A Dlan743x_ptp.c464 u32 period_sec = 0, period_nsec = 0; in lan743x_ptp_perout() local
521 period_nsec = perout_request->period.nsec % 1000000000; in lan743x_ptp_perout()
561 period_nsec = ts_period.tv_nsec; in lan743x_ptp_perout()
587 if (period_nsec >= 400000000) { in lan743x_ptp_perout()
589 } else if (period_nsec >= 20000000) { in lan743x_ptp_perout()
591 } else if (period_nsec >= 2000000) { in lan743x_ptp_perout()
593 } else if (period_nsec >= 200000) { in lan743x_ptp_perout()
595 } else if (period_nsec >= 20000) { in lan743x_ptp_perout()
597 } else if (period_nsec >= 200) { in lan743x_ptp_perout()
634 period_nsec); in lan743x_ptp_perout()
[all …]
/openbmc/linux/drivers/net/phy/
H A Dmicrel.c4390 s64 on_nsec, period_nsec; in lan8841_ptp_perout() local
4416 period_nsec = timespec64_to_ns(&ts_period); in lan8841_ptp_perout()
4418 if (period_nsec < 200) { in lan8841_ptp_perout()
4424 if (on_nsec >= period_nsec) { in lan8841_ptp_perout()