Lines Matching refs:secs
65 unsigned long mins, secs;
99 secs = (buf[3] << 8) | buf[4];
100 secs = secs / COUNTS_PER_SEC;
101 secs = secs + (mins * 60);
103 rtc_time64_to_tm(secs, tm);
111 unsigned long no_secs, no_mins, secs = 0;
113 secs = rtc_tm_to_time64(tm);
115 no_mins = secs / 60;
117 no_secs = secs % 60;
145 unsigned long secs, mins;
169 secs = mins * 60;
171 rtc_time64_to_tm(secs, &alarm->time);
384 rtc->range_max = (1ULL << 24) * 60 - 1; // 24-bit minutes + 59 secs