Lines Matching defs:secs
143 uint32_t secs, secs2;
153 secs = jz4740_rtc_reg_read(rtc, JZ_REG_RTC_SEC);
156 while (secs != secs2 && --timeout) {
157 secs = secs2;
164 rtc_time64_to_tm(secs, time);
184 uint32_t secs;
187 secs = jz4740_rtc_reg_read(rtc, JZ_REG_RTC_SEC_ALARM);
194 rtc_time64_to_tm(secs, &alrm->time);
203 uint32_t secs = lower_32_bits(rtc_tm_to_time64(&alrm->time));
205 ret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SEC_ALARM, secs);