Lines Matching refs:offset
125 static inline s64 ntp_offset_chunk(s64 offset) in ntp_offset_chunk() argument
128 return offset; in ntp_offset_chunk()
130 return shift_right(offset, SHIFT_PLL + time_constant); in ntp_offset_chunk()
210 static inline s64 ntp_offset_chunk(s64 offset) in ntp_offset_chunk() argument
212 return shift_right(offset, SHIFT_PLL + time_constant); in ntp_offset_chunk()
296 static void ntp_update_offset(long offset) in ntp_update_offset() argument
307 offset = clamp(offset, -USEC_PER_SEC, USEC_PER_SEC); in ntp_update_offset()
308 offset *= NSEC_PER_USEC; in ntp_update_offset()
315 offset = clamp(offset, -MAXPHASE, MAXPHASE); in ntp_update_offset()
327 offset64 = offset; in ntp_update_offset()
700 ntp_update_offset(txc->offset); in process_adjtimex_modes()
724 time_adjust = txc->offset; in __do_adjtimex()
730 txc->offset = save_adjust; in __do_adjtimex()
749 txc->offset = shift_right(time_offset * NTP_INTERVAL_FREQ, in __do_adjtimex()
752 txc->offset = (u32)txc->offset / NSEC_PER_USEC; in __do_adjtimex()