Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/rtc/
H A Dm48t59.h19 #define M48T59_MONTH 0xe macro
/openbmc/linux/drivers/rtc/
H A Drtc-m48t59.c76 tm->tm_mon = bcd2bin(M48T59_READ(M48T59_MONTH)) - 1; in m48t59_rtc_read_time()
132 M48T59_WRITE((bin2bcd(tm->tm_mon + 1) & 0x1F), M48T59_MONTH); in m48t59_rtc_set_time()
171 tm->tm_mon = bcd2bin(M48T59_READ(M48T59_MONTH)) - 1; in m48t59_rtc_readalarm()