Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/time/
Dntp.c884 static long hardpps_update_freq(struct pps_normtime freq_norm) in hardpps_update_freq() argument
890 if (freq_norm.sec > (2 << pps_shift)) { in hardpps_update_freq()
896 freq_norm.sec); in hardpps_update_freq()
904 ftemp = div_s64(((s64)(-freq_norm.nsec)) << NTP_SCALE_SHIFT, in hardpps_update_freq()
905 freq_norm.sec); in hardpps_update_freq()
984 struct pps_normtime pts_norm, freq_norm; in __hardpps() local
1003 freq_norm = pps_normalize_ts(timespec64_sub(*raw_ts, pps_fbase)); in __hardpps()
1007 if ((freq_norm.sec == 0) || in __hardpps()
1008 (freq_norm.nsec > MAXFREQ * freq_norm.sec) || in __hardpps()
1009 (freq_norm.nsec < -MAXFREQ * freq_norm.sec)) { in __hardpps()
[all …]