Home
last modified time | relevance | path

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

/linux-3.4.99/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-3.4.99/arch/m68k/bvme6000/
Drtc.c36 static atomic_t rtc_status = ATOMIC_INIT(1); variable
136 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()
/linux-3.4.99/arch/m68k/hp300/
Dconfig.c119 #define rtc_status() (in_8(RTCBASE + RTC_CMD)) macro
163 s = rtc_status(); in hp300_rtc_read()
191 s = rtc_status(); in hp300_rtc_write()