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

/linux-4.1.27/drivers/rtc/
H A Drtc-ds1302.c34 #define RTC_ADDR_MON 0x04 /* Address of month register */ macro
151 tm->tm_mon = bcd2bin(ds1302_readbyte(RTC_ADDR_MON)) - 1; ds1302_rtc_read_time()
177 ds1302_writebyte(RTC_ADDR_MON, bin2bcd(tm->tm_mon + 1)); ds1302_rtc_set_time()

Completed in 43 milliseconds