Searched refs:ptp_clock_nsec (Results 1 – 1 of 1) sorted by relevance
179 u32 ptp_clock_nsec, cycle_time; in ptp_calc_adjusted_comp() local200 ptp_clock_nsec = (cycle * comp) >> 32; in ptp_calc_adjusted_comp()201 while (ptp_clock_nsec < NSEC_PER_SEC) { in ptp_calc_adjusted_comp()202 if (ptp_clock_nsec == 0x3B9AC9FF) in ptp_calc_adjusted_comp()205 ptp_clock_nsec = (cycle * comp) >> 32; in ptp_calc_adjusted_comp()208 ns_drift = ptp_clock_nsec - NSEC_PER_SEC; in ptp_calc_adjusted_comp()