Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/rtc/
Drtc-rv3029c2.c62 #define RV3029_W_DAYS 0x0C macro
343 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()