Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-ds1553.c66 int alrm_hour; member
137 writeb(pdata->alrm_hour < 0 || (pdata->irqen & RTC_UF) ? in ds1553_rtc_update_alarm()
138 0x80 : bin2bcd(pdata->alrm_hour), in ds1553_rtc_update_alarm()
158 pdata->alrm_hour = alrm->time.tm_hour; in ds1553_rtc_set_alarm()
174 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; in ds1553_rtc_read_alarm()
H A Drtc-ds1511.c91 int alrm_hour; member
291 rtc_write(pdata->alrm_hour < 0 || (pdata->irqen & RTC_UF) ? in ds1511_rtc_update_alarm()
292 0x80 : bin2bcd(pdata->alrm_hour) & 0x3f, in ds1511_rtc_update_alarm()
314 pdata->alrm_hour = alrm->time.tm_hour; in ds1511_rtc_set_alarm()
333 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; in ds1511_rtc_read_alarm()
H A Drtc-stk17ta8.c67 int alrm_hour; member
144 writeb(pdata->alrm_hour < 0 || (pdata->irqen & RTC_UF) ? in stk17ta8_rtc_update_alarm()
145 0x80 : bin2bcd(pdata->alrm_hour), in stk17ta8_rtc_update_alarm()
166 pdata->alrm_hour = alrm->time.tm_hour; in stk17ta8_rtc_set_alarm()
182 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; in stk17ta8_rtc_read_alarm()