Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/rtc/
Drtc-ds1374.c162 u32 itime; in ds1374_read_time() local
165 ret = ds1374_read_rtc(client, &itime, DS1374_REG_TOD0, 4); in ds1374_read_time()
167 rtc_time_to_tm(itime, time); in ds1374_read_time()
175 unsigned long itime; in ds1374_set_time() local
177 rtc_tm_to_time(time, &itime); in ds1374_set_time()
178 return ds1374_write_rtc(client, itime, DS1374_REG_TOD0, 4); in ds1374_set_time()
229 unsigned long new_alarm, itime; in ds1374_set_alarm() local
241 rtc_tm_to_time(&now, &itime); in ds1374_set_alarm()
249 if (time_before_eq(new_alarm, itime)) in ds1374_set_alarm()
252 new_alarm -= itime; in ds1374_set_alarm()