Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/microchip/
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 …]
/Linux-v6.6/drivers/net/phy/
Dmicrel.c4256 s64 on_nsec, period_nsec; in lan8841_ptp_perout() local
4282 period_nsec = timespec64_to_ns(&ts_period); in lan8841_ptp_perout()
4284 if (period_nsec < 200) { in lan8841_ptp_perout()
4290 if (on_nsec >= period_nsec) { in lan8841_ptp_perout()