Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A Drtc-stk17ta8.c26 #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()
[all …]
H A Drtc-ds1553.c23 #define RTC_FLAGS (RTC_OFFSET + 0) macro
147 readb(ioaddr + RTC_FLAGS); /* clear interrupts */ in ds1553_rtc_update_alarm()
190 if (readb(ioaddr + RTC_FLAGS) & RTC_FLAGS_AF) { in ds1553_rtc_interrupt()
285 if (readb(ioaddr + RTC_FLAGS) & RTC_FLAGS_BLF) in ds1553_rtc_probe()