Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-ds1374.c229 unsigned long new_alarm, itime; in ds1374_set_alarm() local
240 rtc_tm_to_time(&alarm->time, &new_alarm); in ds1374_set_alarm()
249 if (time_before_eq(new_alarm, itime)) in ds1374_set_alarm()
250 new_alarm = 1; in ds1374_set_alarm()
252 new_alarm -= itime; in ds1374_set_alarm()
268 ret = ds1374_write_rtc(client, new_alarm, DS1374_REG_WDALM0, 3); in ds1374_set_alarm()