Searched refs:RV3029_W_DAYS (Results 1 – 2 of 2) sorted by relevance
57 #define RV3029_W_DAYS 0x0C macro107 tm->tm_wday = bcd2bin(regs[RV3029_W_DAYS - RV3029_W_SEC]) - 1; in rv3029_rtc_get()139 regs[RV3029_W_DAYS - RV3029_W_SEC] = bin2bcd(tm->tm_wday + 1) & 0x7; in rv3029_rtc_set()
63 #define RV3029_W_DAYS 0x0C macro343 tm->tm_wday = bcd2bin(regs[RV3029_W_DAYS - RV3029_W_SEC]) - 1; in rv3029_read_time()433 regs[RV3029_W_DAYS - RV3029_W_SEC] = bin2bcd(tm->tm_wday + 1) & 0x7; in rv3029_set_time()