Lines Matching refs:time
139 static int vr41xx_rtc_read_time(struct device *dev, struct rtc_time *time)
146 rtc_time_to_tm(epoch_sec + elapsed_sec, time);
151 static int vr41xx_rtc_set_time(struct device *dev, struct rtc_time *time)
156 current_sec = mktime(time->tm_year + 1900, time->tm_mon + 1, time->tm_mday,
157 time->tm_hour, time->tm_min, time->tm_sec);
167 struct rtc_time *time = &wkalrm->time;
178 rtc_time_to_tm((high << 17) | (mid << 1) | (low >> 15), time);
186 struct rtc_time *time = &wkalrm->time;
188 alarm_sec = mktime(time->tm_year + 1900, time->tm_mon + 1, time->tm_mday,
189 time->tm_hour, time->tm_min, time->tm_sec);