Lines Matching refs:rtc_time
23 static void rtc_add_offset(struct rtc_device *rtc, struct rtc_time *tm) in rtc_add_offset()
46 static void rtc_subtract_offset(struct rtc_device *rtc, struct rtc_time *tm) in rtc_subtract_offset()
67 static int rtc_valid_range(struct rtc_device *rtc, struct rtc_time *tm) in rtc_valid_range()
84 static int __rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in __rtc_read_time()
93 memset(tm, 0, sizeof(struct rtc_time)); in __rtc_read_time()
110 int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_read_time()
126 int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_set_time()
215 struct rtc_time before, now; in __rtc_read_alarm()
268 memcpy(&before, &now, sizeof(struct rtc_time)); in __rtc_read_alarm()
411 struct rtc_time tm; in __rtc_set_alarm()
496 struct rtc_time now; in rtc_initialize_alarm()
585 struct rtc_time tm; in rtc_update_irq_enable()
805 struct rtc_time tm; in rtc_timer_enqueue()
905 struct rtc_time tm; in rtc_timer_do_work()