Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dptp.c178 u64 comp, adj = 0, cycles_per_sec, ns_drift = 0; in ptp_calc_adjusted_comp() local
208 ns_drift = ptp_clock_nsec - NSEC_PER_SEC; in ptp_calc_adjusted_comp()
210 if (ns_drift > 0) { in ptp_calc_adjusted_comp()
211 adj = comp * ns_drift; in ptp_calc_adjusted_comp()