Lines Matching refs:rtc_status
187 static unsigned long rtc_status; /* bitmapped status byte. */ variable
250 if (rtc_status & RTC_TIMER_ON) in rtc_interrupt()
420 if (rtc_status & RTC_TIMER_ON) { in rtc_do_ioctl()
421 rtc_status &= ~RTC_TIMER_ON; in rtc_do_ioctl()
442 if (!(rtc_status & RTC_TIMER_ON)) { in rtc_do_ioctl()
445 rtc_status |= RTC_TIMER_ON; in rtc_do_ioctl()
717 if (rtc_status & RTC_IS_OPEN) in rtc_open()
720 rtc_status |= RTC_IS_OPEN; in rtc_open()
758 if (rtc_status & RTC_TIMER_ON) { in rtc_release()
759 rtc_status &= ~RTC_TIMER_ON; in rtc_release()
769 rtc_status &= ~RTC_IS_OPEN; in rtc_release()
1076 if (rtc_status & RTC_TIMER_ON) in rtc_dropped_irq()