Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-m48t59.c30 M48T59_WRITE((M48T59_READ(reg) | (mask)), (reg))
32 M48T59_WRITE((M48T59_READ(reg) & ~(mask)), (reg))
74 tm->tm_year = bcd2bin(M48T59_READ(M48T59_YEAR)); in m48t59_rtc_read_time()
77 tm->tm_mday = bcd2bin(M48T59_READ(M48T59_MDAY)); in m48t59_rtc_read_time()
79 val = M48T59_READ(M48T59_WDAY); in m48t59_rtc_read_time()
165 tm->tm_year = bcd2bin(M48T59_READ(M48T59_YEAR)); in m48t59_rtc_readalarm()
173 val = M48T59_READ(M48T59_WDAY); in m48t59_rtc_readalarm()
220 mday = M48T59_READ(M48T59_MDAY); in m48t59_rtc_setalarm()
277 val = M48T59_READ(M48T59_FLAGS); in m48t59_rtc_proc()
296 event = M48T59_READ(M48T59_FLAGS); in m48t59_rtc_interrupt()
[all …]