Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/mti-malta/
H A Dmalta-time.c65 unsigned char secs1, secs2, ctrl; in estimate_frequencies() local
96 secs2 = CMOS_READ(RTC_SECONDS); in estimate_frequencies()
104 secs2 = bcd2bin(secs2); in estimate_frequencies()
106 secs = secs2 - secs1; in estimate_frequencies()
/openbmc/linux/drivers/rtc/
H A Drtc-jz4740.c145 uint32_t secs, secs2; in jz4740_rtc_read_time() local
156 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()
H A Drtc-at91sam9.c106 u32 secs, secs2; in at91_rtc_readtime() local
116 secs2 = rtt_readl(rtc, VR); in at91_rtc_readtime()
117 if (secs != secs2) in at91_rtc_readtime()