Searched refs:itime (Results 1 – 1 of 1) sorted by relevance
165 u32 itime; in ds1374_read_time() local168 ret = ds1374_read_rtc(client, &itime, DS1374_REG_TOD0, 4); in ds1374_read_time()170 rtc_time64_to_tm(itime, time); in ds1374_read_time()178 unsigned long itime = rtc_tm_to_time64(time); in ds1374_set_time() local180 return ds1374_write_rtc(client, itime, DS1374_REG_TOD0, 4); in ds1374_set_time()231 unsigned long new_alarm, itime; in ds1374_set_alarm() local243 itime = rtc_tm_to_time64(&now); in ds1374_set_alarm()251 if (time_before_eq(new_alarm, itime)) in ds1374_set_alarm()254 new_alarm -= itime; in ds1374_set_alarm()