Lines Matching refs:time_status

60 static int			time_status = STA_UNSYNC;  variable
127 if (time_status & STA_PPSTIME && time_status & STA_PPSSIGNAL) in ntp_offset_chunk()
163 time_status &= ~(STA_PPSSIGNAL | STA_PPSJITTER | in pps_dec_valid()
198 if (!(time_status & STA_NANO)) in pps_fill_timex()
247 return !(time_status & STA_UNSYNC); in ntp_synced()
283 time_status &= ~STA_MODE; in ntp_update_offset_fll()
288 if (!(time_status & STA_FLL) && (secs <= MAXSEC)) in ntp_update_offset_fll()
291 time_status |= STA_MODE; in ntp_update_offset_fll()
302 if (!(time_status & STA_PLL)) in ntp_update_offset()
305 if (!(time_status & STA_NANO)) { in ntp_update_offset()
322 if (unlikely(time_status & STA_FREQHOLD)) in ntp_update_offset()
354 time_status |= STA_UNSYNC; in ntp_clear()
384 if ((time_state == TIME_INS) && (time_status & STA_INS)) in ntp_get_next_leap()
413 if (time_status & STA_INS) { in second_overflow()
417 } else if (time_status & STA_DEL) { in second_overflow()
424 if (!(time_status & STA_INS)) { in second_overflow()
435 if (!(time_status & STA_DEL)) { in second_overflow()
451 if (!(time_status & (STA_INS | STA_DEL))) in second_overflow()
461 time_status |= STA_UNSYNC; in second_overflow()
688 if ((time_status & STA_PLL) && !(txc->status & STA_PLL)) { in process_adj_status()
690 time_status = STA_UNSYNC; in process_adj_status()
700 if (!(time_status & STA_PLL) && (txc->status & STA_PLL)) in process_adj_status()
704 time_status &= STA_RONLY; in process_adj_status()
705 time_status |= txc->status & ~STA_RONLY; in process_adj_status()
716 time_status |= STA_NANO; in process_adjtimex_modes()
719 time_status &= ~STA_NANO; in process_adjtimex_modes()
737 if (!(time_status & STA_NANO)) in process_adjtimex_modes()
784 audit_ntp_set_old(ad, AUDIT_NTP_STATUS, time_status); in __do_adjtimex()
792 audit_ntp_set_new(ad, AUDIT_NTP_STATUS, time_status); in __do_adjtimex()
799 if (!(time_status & STA_NANO)) in __do_adjtimex()
805 if (is_error_status(time_status)) in __do_adjtimex()
812 txc->status = time_status; in __do_adjtimex()
824 if (!(time_status & STA_NANO)) in __do_adjtimex()
829 if ((time_state == TIME_INS) && (time_status & STA_INS)) { in __do_adjtimex()
834 if ((time_state == TIME_DEL) && (time_status & STA_DEL)) { in __do_adjtimex()
939 time_status |= STA_PPSERROR; in hardpps_update_freq()
959 time_status |= STA_PPSWANDER; in hardpps_update_freq()
978 if ((time_status & STA_PPSFREQ) != 0 && in hardpps_update_freq()
979 (time_status & STA_FREQHOLD) == 0) { in hardpps_update_freq()
1005 time_status |= STA_PPSJITTER; in hardpps_update_phase()
1007 } else if (time_status & STA_PPSTIME) { in hardpps_update_phase()
1037 time_status &= ~(STA_PPSJITTER | STA_PPSWANDER | STA_PPSERROR); in __hardpps()
1040 time_status |= STA_PPSSIGNAL; in __hardpps()
1058 time_status |= STA_PPSJITTER; in __hardpps()