Lines Matching refs:RTC_FLAGS
26 #define RTC_FLAGS (RTC_OFFSET + 0) macro
78 flags = readb(pdata->ioaddr + RTC_FLAGS); in stk17ta8_rtc_set_time()
79 writeb(flags | RTC_WRITE, pdata->ioaddr + RTC_FLAGS); in stk17ta8_rtc_set_time()
90 writeb(flags & ~RTC_WRITE, pdata->ioaddr + RTC_FLAGS); in stk17ta8_rtc_set_time()
107 flags = readb(pdata->ioaddr + RTC_FLAGS); in stk17ta8_rtc_read_time()
108 writeb(flags | RTC_READ, ioaddr + RTC_FLAGS); in stk17ta8_rtc_read_time()
117 writeb(flags & ~RTC_READ, ioaddr + RTC_FLAGS); in stk17ta8_rtc_read_time()
138 flags = readb(ioaddr + RTC_FLAGS); in stk17ta8_rtc_update_alarm()
139 writeb(flags | RTC_WRITE, ioaddr + RTC_FLAGS); in stk17ta8_rtc_update_alarm()
154 readb(ioaddr + RTC_FLAGS); /* clear interrupts */ in stk17ta8_rtc_update_alarm()
155 writeb(flags & ~RTC_WRITE, ioaddr + RTC_FLAGS); in stk17ta8_rtc_update_alarm()
198 if (readb(ioaddr + RTC_FLAGS) & RTC_FLAGS_AF) { in stk17ta8_rtc_interrupt()
287 flags = readb(ioaddr + RTC_FLAGS); in stk17ta8_rtc_probe()
288 writeb(flags | RTC_WRITE, ioaddr + RTC_FLAGS); in stk17ta8_rtc_probe()
290 writeb(flags & ~RTC_WRITE, ioaddr + RTC_FLAGS); in stk17ta8_rtc_probe()
292 if (readb(ioaddr + RTC_FLAGS) & RTC_FLAGS_PF) in stk17ta8_rtc_probe()