Lines Matching refs:rtc_time
23 static void rtc_add_offset(struct rtc_device *rtc, struct rtc_time *tm)
46 static void rtc_subtract_offset(struct rtc_device *rtc, struct rtc_time *tm)
67 static int rtc_valid_range(struct rtc_device *rtc, struct rtc_time *tm)
84 static int __rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm)
93 memset(tm, 0, sizeof(struct rtc_time));
105 dev_dbg(&rtc->dev, "read_time: rtc_time isn't valid\n");
110 int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm)
126 int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm)
215 struct rtc_time before, now;
268 memcpy(&before, &now, sizeof(struct rtc_time));
411 struct rtc_time tm;
496 struct rtc_time now;
585 struct rtc_time tm;
805 struct rtc_time tm;
905 struct rtc_time tm;