Lines Matching refs:rtc_status
143 static unsigned long rtc_status = 0; /* bitmapped status byte. */ variable
183 if (rtc_status & RTC_TIMER_ON) in rtc_interrupt()
332 if (rtc_status & RTC_TIMER_ON) { in rtc_ioctl()
334 rtc_status &= ~RTC_TIMER_ON; in rtc_ioctl()
351 if (!(rtc_status & RTC_TIMER_ON)) { in rtc_ioctl()
355 rtc_status |= RTC_TIMER_ON; in rtc_ioctl()
601 if(rtc_status & RTC_IS_OPEN) in rtc_open()
604 rtc_status |= RTC_IS_OPEN; in rtc_open()
642 if (rtc_status & RTC_TIMER_ON) { in rtc_release()
643 rtc_status &= ~RTC_TIMER_ON; in rtc_release()
660 rtc_status &= ~RTC_IS_OPEN; in rtc_release()
909 if (rtc_status & RTC_TIMER_ON) in rtc_dropped_irq()