Lines Matching defs:secs
145 uint32_t secs, secs2;
155 secs = jz4740_rtc_reg_read(rtc, JZ_REG_RTC_SEC);
158 while (secs != secs2 && --timeout) {
159 secs = secs2;
166 rtc_time64_to_tm(secs, time);
186 uint32_t secs;
189 secs = jz4740_rtc_reg_read(rtc, JZ_REG_RTC_SEC_ALARM);
196 rtc_time64_to_tm(secs, &alrm->time);
205 uint32_t secs = lower_32_bits(rtc_tm_to_time64(&alrm->time));
207 ret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SEC_ALARM, secs);