Lines Matching refs:secs
106 u32 secs, secs2;
115 secs = rtt_readl(rtc, VR);
117 if (secs != secs2)
118 secs = rtt_readl(rtc, VR);
120 rtc_time64_to_tm(offset + secs, tm);
134 unsigned long secs;
138 secs = rtc_tm_to_time64(tm);
149 secs += 1;
150 gpbr_writel(rtc, secs);
155 if (offset > secs) {
157 alarm += (offset - secs);
158 } else if ((alarm + offset) > secs) {
160 alarm -= (secs - offset);
203 unsigned long secs;
207 secs = rtc_tm_to_time64(tm);
218 if (secs <= offset) {
224 rtt_writel(rtc, AR, secs - offset);