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()
198 struct rtc_time before, now; in __rtc_read_alarm()
251 memcpy(&before, &now, sizeof(struct rtc_time)); in __rtc_read_alarm()
394 struct rtc_time tm; in __rtc_set_alarm()
469 struct rtc_time now; in rtc_initialize_alarm()
553 struct rtc_time tm; in rtc_update_irq_enable()
777 struct rtc_time tm; in rtc_timer_enqueue()
875 struct rtc_time tm; in rtc_timer_do_work()