Home
last modified time | relevance | path

Searched refs:rtc_intr (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/rtc/
Drtc-mrst.c58 static inline int is_intr(u8 rtc_intr) in is_intr() argument
60 if (!(rtc_intr & RTC_IRQF)) in is_intr()
62 return rtc_intr & RTC_IRQMASK; in is_intr()
177 unsigned char rtc_intr; in mrst_checkintr() local
183 rtc_intr = vrtc_cmos_read(RTC_INTR_FLAGS); in mrst_checkintr()
184 rtc_intr &= (rtc_control & RTC_IRQMASK) | RTC_IRQF; in mrst_checkintr()
185 if (is_intr(rtc_intr)) in mrst_checkintr()
186 rtc_update_irq(mrst->rtc, 1, rtc_intr); in mrst_checkintr()
Drtc-cmos.c75 static inline int is_intr(u8 rtc_intr) in is_intr() argument
77 if (!(rtc_intr & RTC_IRQF)) in is_intr()
79 return rtc_intr & RTC_IRQMASK; in is_intr()
282 unsigned char rtc_intr; in cmos_checkintr() local
287 rtc_intr = CMOS_READ(RTC_INTR_FLAGS); in cmos_checkintr()
292 rtc_intr &= (rtc_control & RTC_IRQMASK) | RTC_IRQF; in cmos_checkintr()
293 if (is_intr(rtc_intr)) in cmos_checkintr()
294 rtc_update_irq(cmos->rtc, 1, rtc_intr); in cmos_checkintr()