Searched refs:new_alarm (Results 1 – 1 of 1) sorted by relevance
228 unsigned long new_alarm, itime; in ds1374_set_alarm() local239 new_alarm = rtc_tm_to_time64(&alarm->time); in ds1374_set_alarm()248 if (time_before_eq(new_alarm, itime)) in ds1374_set_alarm()249 new_alarm = 1; in ds1374_set_alarm()251 new_alarm -= itime; in ds1374_set_alarm()267 ret = ds1374_write_rtc(client, new_alarm, DS1374_REG_WDALM0, 3); in ds1374_set_alarm()