Lines Matching refs:u_nsec
746 long u_nsec, v_nsec; /* temps */ in hardpps() local
766 u_nsec = tsp->tv_nsec; in hardpps()
767 if (u_nsec >= (NANOSECOND >> 1)) { in hardpps()
768 u_nsec -= NANOSECOND; in hardpps()
771 v_nsec = u_nsec - pps_tf[0].tv_nsec; in hardpps()
777 pps_tf[0].tv_nsec = u_nsec; in hardpps()
797 u_nsec = pps_tf[0].tv_nsec - pps_tf[2].tv_nsec; in hardpps()
800 u_nsec = pps_tf[2].tv_nsec - pps_tf[1].tv_nsec; in hardpps()
803 u_nsec = pps_tf[0].tv_nsec - pps_tf[1].tv_nsec; in hardpps()
808 u_nsec = pps_tf[2].tv_nsec - pps_tf[0].tv_nsec; in hardpps()
811 u_nsec = pps_tf[1].tv_nsec - pps_tf[2].tv_nsec; in hardpps()
814 u_nsec = pps_tf[1].tv_nsec - pps_tf[0].tv_nsec; in hardpps()
831 if (u_nsec > lmax(pps_jitter << PPS_POPCORN, in hardpps()
839 pps_jitter += (u_nsec - pps_jitter) >> PPS_FAVG; 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()
879 u_nsec = L_GINT(ftemp); in hardpps()
880 if (u_nsec > PPS_MAXWANDER) { in hardpps()
885 } else if (u_nsec < -PPS_MAXWANDER) { in hardpps()
906 if (u_nsec < 0) in hardpps()
907 u_nsec = -u_nsec; in hardpps()
908 pps_stabil += (u_nsec * SCALE_PPM - pps_stabil) >> PPS_FAVG; in hardpps()
916 u_nsec = L_GINT(pps_freq); in hardpps()
917 if (u_nsec > MAXFREQ) in hardpps()
919 else if (u_nsec < -MAXFREQ) in hardpps()