Searched refs:alarm_sec (Results 1 – 3 of 3) sorted by relevance
154 time64_t alarm_sec; in vr41xx_rtc_set_alarm() local156 alarm_sec = rtc_tm_to_time64(&wkalrm->time); in vr41xx_rtc_set_alarm()163 rtc1_write(ECMPLREG, (uint16_t)(alarm_sec << 15)); in vr41xx_rtc_set_alarm()164 rtc1_write(ECMPMREG, (uint16_t)(alarm_sec >> 1)); in vr41xx_rtc_set_alarm()165 rtc1_write(ECMPHREG, (uint16_t)(alarm_sec >> 17)); in vr41xx_rtc_set_alarm()
84 int alarm_sec; member327 buf[0] = priv->alarm_sec < 0 || (priv->irqen & RTC_UF) ? in ds1343_update_alarm()328 0x80 : bin2bcd(priv->alarm_sec) & 0x7F; in ds1343_update_alarm()366 alarm->time.tm_sec = priv->alarm_sec < 0 ? 0 : priv->alarm_sec; in ds1343_read_alarm()386 priv->alarm_sec = alarm->time.tm_sec; in ds1343_set_alarm()
16 volatile u8 alarm_sec; member