Lines Matching refs:time_status
55 static int time_status = STA_UNSYNC; variable
122 if (time_status & STA_PPSTIME && time_status & STA_PPSSIGNAL) in ntp_offset_chunk()
158 time_status &= ~(STA_PPSSIGNAL | STA_PPSJITTER | in pps_dec_valid()
193 if (!(time_status & STA_NANO)) in pps_fill_timex()
242 return !(time_status & STA_UNSYNC); in ntp_synced()
278 time_status &= ~STA_MODE; in ntp_update_offset_fll()
283 if (!(time_status & STA_FLL) && (secs <= MAXSEC)) in ntp_update_offset_fll()
286 time_status |= STA_MODE; in ntp_update_offset_fll()
297 if (!(time_status & STA_PLL)) in ntp_update_offset()
300 if (!(time_status & STA_NANO)) in ntp_update_offset()
315 if (unlikely(time_status & STA_FREQHOLD)) in ntp_update_offset()
347 time_status |= STA_UNSYNC; in ntp_clear()
377 if ((time_state == TIME_INS) && (time_status & STA_INS)) in ntp_get_next_leap()
405 if (time_status & STA_INS) { in second_overflow()
409 } else if (time_status & STA_DEL) { in second_overflow()
416 if (!(time_status & STA_INS)) { in second_overflow()
427 if (!(time_status & STA_DEL)) { in second_overflow()
443 if (!(time_status & (STA_INS | STA_DEL))) in second_overflow()
453 time_status |= STA_UNSYNC; in second_overflow()
580 if ((time_status & STA_PLL) && !(txc->status & STA_PLL)) { in process_adj_status()
582 time_status = STA_UNSYNC; in process_adj_status()
592 if (!(time_status & STA_PLL) && (txc->status & STA_PLL)) in process_adj_status()
596 time_status &= STA_RONLY; in process_adj_status()
597 time_status |= txc->status & ~STA_RONLY; in process_adj_status()
609 time_status |= STA_NANO; in process_adjtimex_modes()
612 time_status &= ~STA_NANO; in process_adjtimex_modes()
630 if (!(time_status & STA_NANO)) in process_adjtimex_modes()
720 if (!(time_status & STA_NANO)) in __do_adjtimex()
726 if (is_error_status(time_status)) in __do_adjtimex()
733 txc->status = time_status; in __do_adjtimex()
745 if (!(time_status & STA_NANO)) in __do_adjtimex()
750 if ((time_state == TIME_INS) && (time_status & STA_INS)) { in __do_adjtimex()
755 if ((time_state == TIME_DEL) && (time_status & STA_DEL)) { in __do_adjtimex()
860 time_status |= STA_PPSERROR; in hardpps_update_freq()
880 time_status |= STA_PPSWANDER; in hardpps_update_freq()
899 if ((time_status & STA_PPSFREQ) != 0 && in hardpps_update_freq()
900 (time_status & STA_FREQHOLD) == 0) { in hardpps_update_freq()
926 time_status |= STA_PPSJITTER; in hardpps_update_phase()
928 } else if (time_status & STA_PPSTIME) { in hardpps_update_phase()
958 time_status &= ~(STA_PPSJITTER | STA_PPSWANDER | STA_PPSERROR); in __hardpps()
961 time_status |= STA_PPSSIGNAL; in __hardpps()
979 time_status |= STA_PPSJITTER; in __hardpps()