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
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()339 (NTP_SCALE_SHIFT - 2 * (SHIFT_PLL + 2 + time_constant)); in ntp_update_offset()490 << NTP_SCALE_SHIFT; in second_overflow()797 NTP_SCALE_SHIFT); in __do_adjtimex()808 PPM_SCALE_INV, NTP_SCALE_SHIFT); in __do_adjtimex()951 ftemp = div_s64(((s64)(-freq_norm.nsec)) << NTP_SCALE_SHIFT, in hardpps_update_freq()953 delta = shift_right(ftemp - pps_freq, NTP_SCALE_SHIFT); in hardpps_update_freq()973 (NTP_SCALE_SHIFT - SHIFT_USEC), in hardpps_update_freq()[all …]
358 tk->ntp_error_shift = NTP_SCALE_SHIFT - clock->shift; in tk_setup_internals()