Searched refs:first_ns (Results 1 – 1 of 1) sorted by relevance
638 s64 now_ns, first_ns, period_ns, next_ns; in ksz_ptp_restart_perout() local652 first_ns = timespec64_to_ns(&ptp_data->perout_target_time_first); in ksz_ptp_restart_perout()657 if (first_ns < now_ns) { in ksz_ptp_restart_perout()658 count = div_u64(now_ns - first_ns, period_ns); in ksz_ptp_restart_perout()659 next_ns = first_ns + count * period_ns; in ksz_ptp_restart_perout()661 next_ns = first_ns; in ksz_ptp_restart_perout()