Searched refs:dest_nsec (Results 1 – 1 of 1) sorted by relevance
526 int32_t dest_nsec; in ptp_clock_synchronize() local533 dest_nsec = (int32_t)(current.nanosecond - (offset % NSEC_PER_SEC)); in ptp_clock_synchronize()535 if (dest_nsec < 0) { in ptp_clock_synchronize()537 dest_nsec += NSEC_PER_SEC; in ptp_clock_synchronize()538 } else if (dest_nsec >= NSEC_PER_SEC) { in ptp_clock_synchronize()540 dest_nsec -= NSEC_PER_SEC; in ptp_clock_synchronize()543 current.nanosecond = (uint32_t)dest_nsec; in ptp_clock_synchronize()