Searched refs:rtc_status (Results 1 – 3 of 3) sorted by relevance
191 static unsigned long rtc_status; /* bitmapped status byte. */ variable262 if (rtc_status & RTC_TIMER_ON) in rtc_interrupt()437 if (rtc_status & RTC_TIMER_ON) { in rtc_do_ioctl()438 rtc_status &= ~RTC_TIMER_ON; in rtc_do_ioctl()459 if (!(rtc_status & RTC_TIMER_ON)) { in rtc_do_ioctl()462 rtc_status |= RTC_TIMER_ON; in rtc_do_ioctl()734 if (rtc_status & RTC_IS_OPEN) in rtc_open()737 rtc_status |= RTC_IS_OPEN; in rtc_open()775 if (rtc_status & RTC_TIMER_ON) { in rtc_release()776 rtc_status &= ~RTC_TIMER_ON; in rtc_release()[all …]
36 static atomic_t rtc_status = ATOMIC_INIT(1); variable136 if (!atomic_dec_and_test(&rtc_status)) { in rtc_open()137 atomic_inc(&rtc_status); in rtc_open()145 atomic_inc(&rtc_status); in rtc_release()
119 #define rtc_status() (in_8(RTCBASE + RTC_CMD)) macro163 s = rtc_status(); in hp300_rtc_read()191 s = rtc_status(); in hp300_rtc_write()