Home
last modified time | relevance | path

Searched refs:alarm_sec (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/rtc/
Drtc-vr41xx.c154 time64_t alarm_sec; in vr41xx_rtc_set_alarm() local
156 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()
Drtc-ds1343.c84 int alarm_sec; member
327 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()
/Linux-v5.4/arch/mips/include/asm/
Dm48t37.h16 volatile u8 alarm_sec; member