Searched refs:M48T59_WRITE (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/rtc/
H A Drtc-m48t59.c29 #define M48T59_WRITE(val, reg) \ macro
33 M48T59_WRITE((M48T59_READ(reg) | (mask)), (reg))
35 M48T59_WRITE((M48T59_READ(reg) & ~(mask)), (reg))
136 M48T59_WRITE((bin2bcd(tm->tm_sec) & 0x7F), M48T59_SEC); m48t59_rtc_set_time()
137 M48T59_WRITE((bin2bcd(tm->tm_min) & 0x7F), M48T59_MIN); m48t59_rtc_set_time()
138 M48T59_WRITE((bin2bcd(tm->tm_hour) & 0x3F), M48T59_HOUR); m48t59_rtc_set_time()
139 M48T59_WRITE((bin2bcd(tm->tm_mday) & 0x3F), M48T59_MDAY); m48t59_rtc_set_time()
141 M48T59_WRITE((bin2bcd(tm->tm_mon + 1) & 0x1F), M48T59_MONTH); m48t59_rtc_set_time()
142 M48T59_WRITE(bin2bcd(year % 100), M48T59_YEAR); m48t59_rtc_set_time()
147 M48T59_WRITE(val, M48T59_WDAY); m48t59_rtc_set_time()
248 M48T59_WRITE(mday, M48T59_ALARM_DATE); m48t59_rtc_setalarm()
249 M48T59_WRITE(hour, M48T59_ALARM_HOUR); m48t59_rtc_setalarm()
250 M48T59_WRITE(min, M48T59_ALARM_MIN); m48t59_rtc_setalarm()
251 M48T59_WRITE(sec, M48T59_ALARM_SEC); m48t59_rtc_setalarm()
275 M48T59_WRITE(M48T59_INTR_AFE, M48T59_INTR); m48t59_rtc_alarm_irq_enable()
277 M48T59_WRITE(0x00, M48T59_INTR); m48t59_rtc_alarm_irq_enable()
370 M48T59_WRITE(*buf++, cnt); m48t59_nvram_write()

Completed in 51 milliseconds