Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/rtc/
H A Drv3029.c57 #define RV3029_W_DATE 0x0B macro
104 tm->tm_mday = bcd2bin(regs[RV3029_W_DATE - RV3029_W_SEC]); in rv3029_rtc_get()
138 regs[RV3029_W_DATE - RV3029_W_SEC] = bin2bcd(tm->tm_mday); in rv3029_rtc_set()
/openbmc/linux/drivers/rtc/
H A Drtc-rv3029c2.c62 #define RV3029_W_DATE 0x0B macro
340 tm->tm_mday = bcd2bin(regs[RV3029_W_DATE - RV3029_W_SEC]); in rv3029_read_time()
431 regs[RV3029_W_DATE - RV3029_W_SEC] = bin2bcd(tm->tm_mday); in rv3029_set_time()