Searched refs:period_nsec (Results 1 – 2 of 2) sorted by relevance
464 u32 period_sec = 0, period_nsec = 0; in lan743x_ptp_perout() local521 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 …]
4390 s64 on_nsec, period_nsec; in lan8841_ptp_perout() local4416 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()