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

/linux-4.1.27/drivers/rtc/
H A Drtc-ds1302.c35 #define RTC_ADDR_DATE 0x03 /* Address of day of month register */ macro
150 tm->tm_mday = bcd2bin(ds1302_readbyte(RTC_ADDR_DATE)); ds1302_rtc_read_time()
176 ds1302_writebyte(RTC_ADDR_DATE, bin2bcd(tm->tm_mday)); ds1302_rtc_set_time()

Completed in 28 milliseconds