Searched refs:NTP_SCALE_SHIFT (Results 1 – 3 of 3) sorted by relevance
130 #define PPM_SCALE ((s64)NSEC_PER_USEC << (NTP_SCALE_SHIFT - SHIFT_USEC))132 #define PPM_SCALE_INV ((1LL << (PPM_SCALE_INV_SHIFT + NTP_SCALE_SHIFT)) / \137 #define MAXFREQ_SCALED ((s64)MAXFREQ << NTP_SCALE_SHIFT)157 #define NTP_SCALE_SHIFT 32 macro
45 (((MAX_TICKADJ * NSEC_PER_USEC) << NTP_SCALE_SHIFT) / NTP_INTERVAL_FREQ)196 PPM_SCALE_INV, NTP_SCALE_SHIFT); in pps_fill_timex()265 << NTP_SCALE_SHIFT; in ntp_update_frequency()270 tick_nsec = div_u64(second_length, HZ) >> NTP_SCALE_SHIFT; in ntp_update_frequency()293 return div64_long(offset64 << (NTP_SCALE_SHIFT - SHIFT_FLL), secs); in ntp_update_offset_fll()339 (NTP_SCALE_SHIFT - 2 * (SHIFT_PLL + 2 + time_constant)); in ntp_update_offset()345 time_offset = div_s64(offset64 << NTP_SCALE_SHIFT, NTP_INTERVAL_FREQ); in ntp_update_offset()490 << NTP_SCALE_SHIFT; in second_overflow()798 NTP_SCALE_SHIFT); in __do_adjtimex()809 PPM_SCALE_INV, NTP_SCALE_SHIFT); in __do_adjtimex()[all …]
358 tk->ntp_error_shift = NTP_SCALE_SHIFT - clock->shift; in tk_setup_internals()