Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/rtc/
H A Drv3029.c53 #define RV3029_W_HOURS 0x0A macro
90 const u8 _hr = regs[RV3029_W_HOURS - RV3029_W_SEC]; in rv3029_rtc_get()
136 regs[RV3029_W_HOURS - RV3029_W_SEC] = bin2bcd(tm->tm_hour); in rv3029_rtc_set()
/openbmc/linux/drivers/rtc/
H A Drtc-rv3029c2.c59 #define RV3029_W_HOURS 0x0A macro
329 const u8 _hr = regs[RV3029_W_HOURS - RV3029_W_SEC]; in rv3029_read_time()
430 regs[RV3029_W_HOURS - RV3029_W_SEC] = bin2bcd(tm->tm_hour); in rv3029_set_time()