Searched refs:RV3029_W_DATE (Results 1 – 2 of 2) sorted by relevance
57 #define RV3029_W_DATE 0x0B macro104 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()
62 #define RV3029_W_DATE 0x0B macro340 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()