Home
last modified time | relevance | path

Searched refs:period_nsec (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/
H A Dlan743x_ptp.c487 u32 period_sec = 0, period_nsec = 0; in lan743x_ptp_perout() local
541 period_nsec = perout_request->period.nsec % 1000000000; in lan743x_ptp_perout()
544 if (period_nsec >= 400000000) { in lan743x_ptp_perout()
546 } else if (period_nsec >= 20000000) { in lan743x_ptp_perout()
548 } else if (period_nsec >= 2000000) { in lan743x_ptp_perout()
550 } else if (period_nsec >= 200000) { in lan743x_ptp_perout()
552 } else if (period_nsec >= 20000) { in lan743x_ptp_perout()
554 } else if (period_nsec >= 200) { in lan743x_ptp_perout()
588 period_nsec); in lan743x_ptp_perout()
/kernel/linux/linux-6.6/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()
707 u32 period_sec, period_nsec; lan743x_ptp_io_perout() local
[all...]
/kernel/linux/linux-6.6/drivers/net/phy/
H A Dmicrel.c4271 s64 on_nsec, period_nsec; in lan8841_ptp_perout() local
4297 period_nsec = timespec64_to_ns(&ts_period); in lan8841_ptp_perout()
4299 if (period_nsec < 200) { in lan8841_ptp_perout()
4305 if (on_nsec >= period_nsec) { in lan8841_ptp_perout()

Completed in 10 milliseconds