Lines Matching refs:adj
178 u64 comp, adj = 0, cycles_per_sec, ns_drift = 0; in ptp_calc_adjusted_comp() local
211 adj = comp * ns_drift; in ptp_calc_adjusted_comp()
212 adj = adj / 1000000000ULL; in ptp_calc_adjusted_comp()
215 comp += adj; in ptp_calc_adjusted_comp()
220 adj = comp * cycle_time; in ptp_calc_adjusted_comp()
221 adj = adj / 1000000000ULL; in ptp_calc_adjusted_comp()
222 adj = adj / CYCLE_MULT; in ptp_calc_adjusted_comp()
223 comp -= adj; in ptp_calc_adjusted_comp()
315 u64 comp, adj; in ptp_adjfine() local
349 adj = comp * ppb; in ptp_adjfine()
350 adj = div_u64(adj, 1000000000ull); in ptp_adjfine()
351 comp = neg_adj ? comp - adj : comp + adj; in ptp_adjfine()