Searched refs:rtc_device (Results 1 – 2 of 2) sorted by relevance
47 extern struct rtc *rtc_device;56 if (!rtc_device) in rtc_get_info()59 if (rtc_device->ops->set_offset) in rtc_get_info()69 if (!rtc_device) in rtc_get_time()72 return rtc_device->ops->get_time(rtc_device, tm); in rtc_get_time()77 if (!rtc_device || !rtc_device->ops->set_time) in rtc_set_time()80 return rtc_device->ops->set_time(rtc_device, tm); in rtc_set_time()85 if (!rtc_device || !rtc_device->ops->get_offset) in rtc_get_offset()88 return rtc_device->ops->get_offset(rtc_device, offset); in rtc_get_offset()93 if (!rtc_device || !rtc_device->ops->set_offset) in rtc_set_offset()[all …]
10 struct rtc *rtc_device; variable15 assert(!rtc_device); in rtc_register()20 rtc_device = rtc; in rtc_register()
Completed in 2 milliseconds