Searched refs:alarm_sec (Results 1 – 1 of 1) sorted by relevance
158 time64_t alarm_sec; in vr41xx_rtc_set_alarm() local160 alarm_sec = rtc_tm_to_time64(&wkalrm->time); in vr41xx_rtc_set_alarm()167 rtc1_write(ECMPLREG, (uint16_t)(alarm_sec << 15)); in vr41xx_rtc_set_alarm()168 rtc1_write(ECMPMREG, (uint16_t)(alarm_sec >> 1)); in vr41xx_rtc_set_alarm()169 rtc1_write(ECMPHREG, (uint16_t)(alarm_sec >> 17)); in vr41xx_rtc_set_alarm()
Completed in 3 milliseconds