Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-rv3029c2.c73 #define RV3029_A_DW 0x14 macro
375 tm->tm_wday = bcd2bin(regs[RV3029_A_DW - RV3029_A_SC] & 0x07) - 1; in rv3029_read_alarm()
408 regs[RV3029_A_DW - RV3029_A_SC] = (bin2bcd(tm->tm_wday + 1) & 0x7) in rv3029_set_alarm()