Searched refs:period_nsec (Results 1 – 3 of 3) sorted by relevance
457 u32 period_sec = 0, period_nsec = 0; in lan743x_ptp_perout() local554 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()700 u32 period_sec, period_nsec; in lan743x_ptp_io_perout() local[all …]
62 s64 ts_on_nsec, period_nsec; in mchp_get_pulsewidth() local87 period_nsec = timespec64_to_ns(&ts_period); in mchp_get_pulsewidth()89 if (period_nsec < 200) { in mchp_get_pulsewidth()125 s64 period_sec, u32 period_nsec) in mchp_set_clock_reload() argument146 lower_16_bits(period_nsec)); in mchp_set_clock_reload()153 upper_16_bits(period_nsec) & 0x3fff); in mchp_set_clock_reload()
3133 s64 period_sec, u32 period_nsec) in lan8814_ptp_set_reload() argument3144 lower_16_bits(period_nsec)); in lan8814_ptp_set_reload()3147 upper_16_bits(period_nsec) & 0x3fff); in lan8814_ptp_set_reload()3229 s64 on_nsec, period_nsec; in lan8814_ptp_perout() local3258 period_nsec = timespec64_to_ns(&ts_period); in lan8814_ptp_perout()3260 if (period_nsec < 200) { in lan8814_ptp_perout()3267 if (on_nsec >= period_nsec) { in lan8814_ptp_perout()5060 s64 on_nsec, period_nsec; in lan8841_ptp_perout() local5086 period_nsec = timespec64_to_ns(&ts_period); in lan8841_ptp_perout()5088 if (period_nsec < 200) { in lan8841_ptp_perout()[all …]