Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-ds1553.c64 int alrm_sec; member
143 writeb(pdata->alrm_sec < 0 || (pdata->irqen & RTC_UF) ? in ds1553_rtc_update_alarm()
144 0x80 : bin2bcd(pdata->alrm_sec), in ds1553_rtc_update_alarm()
160 pdata->alrm_sec = alrm->time.tm_sec; in ds1553_rtc_set_alarm()
176 alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec; in ds1553_rtc_read_alarm()
Drtc-stk17ta8.c65 int alrm_sec; member
150 writeb(pdata->alrm_sec < 0 || (pdata->irqen & RTC_UF) ? in stk17ta8_rtc_update_alarm()
151 0x80 : bin2bcd(pdata->alrm_sec), in stk17ta8_rtc_update_alarm()
168 pdata->alrm_sec = alrm->time.tm_sec; in stk17ta8_rtc_set_alarm()
184 alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec; in stk17ta8_rtc_read_alarm()
Drtc-ds1511.c89 int alrm_sec; member
297 rtc_write(pdata->alrm_sec < 0 || (pdata->irqen & RTC_UF) ? in ds1511_rtc_update_alarm()
298 0x80 : bin2bcd(pdata->alrm_sec) & 0x7f, in ds1511_rtc_update_alarm()
316 pdata->alrm_sec = alrm->time.tm_sec; in ds1511_rtc_set_alarm()
335 alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec; in ds1511_rtc_read_alarm()