Searched refs:secs2 (Results 1 – 3 of 3) sorted by relevance
65 unsigned char secs1, secs2, ctrl; in estimate_frequencies() local96 secs2 = CMOS_READ(RTC_SECONDS); in estimate_frequencies()104 secs2 = bcd2bin(secs2); in estimate_frequencies()106 secs = secs2 - secs1; in estimate_frequencies()
145 uint32_t secs, secs2; in jz4740_rtc_read_time() local156 secs2 = jz4740_rtc_reg_read(rtc, JZ_REG_RTC_SEC); in jz4740_rtc_read_time()158 while (secs != secs2 && --timeout) { in jz4740_rtc_read_time()159 secs = secs2; in jz4740_rtc_read_time()160 secs2 = jz4740_rtc_reg_read(rtc, JZ_REG_RTC_SEC); in jz4740_rtc_read_time()
106 u32 secs, secs2; in at91_rtc_readtime() local116 secs2 = rtt_readl(rtc, VR); in at91_rtc_readtime()117 if (secs != secs2) in at91_rtc_readtime()