Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/microchip/
H A Dlan743x_ptp.c457 u32 period_sec = 0, period_nsec = 0; in lan743x_ptp_perout() local
514 period_nsec = perout_request->period.nsec % 1000000000; in lan743x_ptp_perout()
554 period_nsec = ts_period.tv_nsec; in lan743x_ptp_perout()
580 if (period_nsec >= 400000000) { in lan743x_ptp_perout()
582 } else if (period_nsec >= 20000000) { in lan743x_ptp_perout()
584 } else if (period_nsec >= 2000000) { in lan743x_ptp_perout()
586 } else if (period_nsec >= 200000) { in lan743x_ptp_perout()
588 } else if (period_nsec >= 20000) { in lan743x_ptp_perout()
590 } else if (period_nsec >= 200) { in lan743x_ptp_perout()
627 period_nsec); in lan743x_ptp_perout()
[all …]
/linux/drivers/net/phy/
H A Dmicrel.c3115 s64 period_sec, u32 period_nsec) in lan8814_ptp_set_reload() argument
3126 lower_16_bits(period_nsec)); in lan8814_ptp_set_reload()
3129 upper_16_bits(period_nsec) & 0x3fff); in lan8814_ptp_set_reload()
3211 s64 on_nsec, period_nsec; in lan8814_ptp_perout() local
3240 period_nsec = timespec64_to_ns(&ts_period); in lan8814_ptp_perout()
3242 if (period_nsec < 200) { in lan8814_ptp_perout()
3249 if (on_nsec >= period_nsec) { in lan8814_ptp_perout()
5042 s64 on_nsec, period_nsec; in lan8841_ptp_perout() local
5068 period_nsec = timespec64_to_ns(&ts_period); in lan8841_ptp_perout()
5070 if (period_nsec < 200) { in lan8841_ptp_perout()
[all …]