Lines Matching refs:rtc_time
26 static void rtc_add_offset(struct rtc_device *rtc, struct rtc_time *tm) in rtc_add_offset()
49 static void rtc_subtract_offset(struct rtc_device *rtc, struct rtc_time *tm) in rtc_subtract_offset()
70 static int rtc_valid_range(struct rtc_device *rtc, struct rtc_time *tm) in rtc_valid_range()
87 static int __rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in __rtc_read_time()
95 memset(tm, 0, sizeof(struct rtc_time)); in __rtc_read_time()
112 int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_read_time()
128 int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_set_time()
223 struct rtc_time before, now; in __rtc_read_alarm()
276 memcpy(&before, &now, sizeof(struct rtc_time)); in __rtc_read_alarm()
423 struct rtc_time tm; in __rtc_set_alarm()
498 struct rtc_time now; in rtc_initialize_alarm()
579 struct rtc_time tm; in rtc_update_irq_enable()
821 struct rtc_time tm; in rtc_timer_enqueue()
916 struct rtc_time tm; in rtc_timer_do_work()