Lines Matching refs:pps_shift
198 static int pps_shift = PPS_FAVG; /* interval duration (s) (shift) */ variable
324 SYSCTL_INT(_kern_ntp_pll, OID_AUTO, pps_shift, CTLFLAG_RW,
325 &pps_shift, 0, "Interval duration (sec) (shift)");
376 pps_shift = PPS_FAVG; in kern_ntp_adjtime()
455 ntv->shift = pps_shift; in kern_ntp_adjtime()
596 L_RSHIFT(ftemp, pps_shift); in ntp_update_second()
841 if (u_sec < (1 << pps_shift)) in hardpps()
858 u_nsec = MAXFREQ << pps_shift; in hardpps()
859 if (v_nsec > u_nsec || v_nsec < -u_nsec || u_sec != (1 << pps_shift)) { in hardpps()
877 L_RSHIFT(ftemp, pps_shift); in hardpps()
895 if (pps_shift < pps_shiftmax) { in hardpps()
896 pps_shift++; in hardpps()
899 } else if (pps_intcnt <= -4 || pps_shift > pps_shiftmax) { in hardpps()
901 if (pps_shift > PPS_FAVG) { in hardpps()
902 pps_shift--; in hardpps()