Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-mc13xxx.c63 unsigned int seconds, days1, days2; in mc13xxx_rtc_read_time() local
71 ret = mc13xxx_reg_read(priv->mc13xxx, MC13XXX_RTCDAY, &days1); in mc13xxx_rtc_read_time()
82 } while (days1 != days2); in mc13xxx_rtc_read_time()
84 rtc_time64_to_tm((time64_t)days1 * SEC_PER_DAY + seconds, tm); in mc13xxx_rtc_read_time()