Searched refs:secs2 (Results 1 – 2 of 2) sorted by relevance
107 uint32_t secs, secs2; in jz4740_rtc_read_time() local115 secs2 = jz4740_rtc_reg_read(rtc, JZ_REG_RTC_SEC); in jz4740_rtc_read_time()117 while (secs != secs2 && --timeout) { in jz4740_rtc_read_time()118 secs = secs2; in jz4740_rtc_read_time()119 secs2 = jz4740_rtc_reg_read(rtc, JZ_REG_RTC_SEC); in jz4740_rtc_read_time()
79 u32 secs, secs2; in at91_rtc_readtime() local89 secs2 = rtt_readl(rtc, VR); in at91_rtc_readtime()90 if (secs != secs2) in at91_rtc_readtime()