Searched refs:alarm_secs (Results 1 – 3 of 3) sorted by relevance
101 long alarm_secs; in meson_vrtc_suspend() local109 alarm_secs = vrtc->alarm_time - local_time; in meson_vrtc_suspend()110 if (alarm_secs > 0) { in meson_vrtc_suspend()111 meson_vrtc_set_wakeup_time(vrtc, alarm_secs); in meson_vrtc_suspend()113 alarm_secs); in meson_vrtc_suspend()116 alarm_secs); in meson_vrtc_suspend()
355 unsigned long rtc_secs, alarm_secs; in _abb5zes3_rtc_read_alarm() local387 alarm_secs = rtc_tm_to_time64(alarm_tm); in _abb5zes3_rtc_read_alarm()389 if (alarm_secs < rtc_secs) { in _abb5zes3_rtc_read_alarm()448 unsigned long rtc_secs, alarm_secs; in _abb5zes3_rtc_set_alarm() local468 alarm_secs = rtc_tm_to_time64(alarm_tm); in _abb5zes3_rtc_set_alarm()470 if (alarm_secs > rtc_secs) { in _abb5zes3_rtc_set_alarm()545 unsigned long rtc_secs, alarm_secs; in abb5zes3_rtc_set_alarm() local554 alarm_secs = rtc_tm_to_time64(alarm_tm); in abb5zes3_rtc_set_alarm()576 if ((alarm_secs > rtc_secs) && ((alarm_secs - rtc_secs) <= 240)) in abb5zes3_rtc_set_alarm()578 alarm_secs - rtc_secs); in abb5zes3_rtc_set_alarm()
158 unsigned long long alarm_secs; in st_rtc_set_alarm() local163 alarm_secs = rtc_tm_to_time64(&t->time); in st_rtc_set_alarm()168 alarm_secs -= now_secs; in st_rtc_set_alarm()169 lpa = (unsigned long long)alarm_secs * rtc->clkrate; in st_rtc_set_alarm()