Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/time/
Dntp.c932 static long hardpps_update_freq(struct pps_normtime freq_norm) in hardpps_update_freq() argument
938 if (freq_norm.sec > (2 << pps_shift)) { in hardpps_update_freq()
944 freq_norm.sec); in hardpps_update_freq()
952 ftemp = div_s64(((s64)(-freq_norm.nsec)) << NTP_SCALE_SHIFT, in hardpps_update_freq()
953 freq_norm.sec); in hardpps_update_freq()
1032 struct pps_normtime pts_norm, freq_norm; in __hardpps() local
1051 freq_norm = pps_normalize_ts(timespec64_sub(*raw_ts, pps_fbase)); in __hardpps()
1055 if ((freq_norm.sec == 0) || in __hardpps()
1056 (freq_norm.nsec > MAXFREQ * freq_norm.sec) || in __hardpps()
1057 (freq_norm.nsec < -MAXFREQ * freq_norm.sec)) { in __hardpps()
[all …]