Home
last modified time | relevance | path

Searched refs:rtc_status (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/char/
Drtc.c191 static unsigned long rtc_status; /* bitmapped status byte. */ variable
262 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 …]
/linux-2.6.39/arch/m68k/bvme6000/
Drtc.c37 static atomic_t rtc_status = ATOMIC_INIT(1); variable
137 if (!atomic_dec_and_test(&rtc_status)) { in rtc_open()
138 atomic_inc(&rtc_status); in rtc_open()
146 atomic_inc(&rtc_status); in rtc_release()
/linux-2.6.39/arch/m68k/hp300/
Dconfig.c118 #define rtc_status() (in_8(RTCBASE + RTC_CMD)) macro
162 s = rtc_status(); in hp300_rtc_read()
190 s = rtc_status(); in hp300_rtc_write()