Searched refs:rtc_device (Results 1 – 3 of 3) sorted by relevance
120 extern struct rtc *rtc_device;182 if (!rtc_device) in rtc_get_info()185 if (rtc_device->ops->set_offset) in rtc_get_info()187 *range_min = rtc_device->range_min; in rtc_get_info()188 *range_max = rtc_device->range_max; in rtc_get_info()190 if (rtc_device->ops->set_alarm) in rtc_get_info()193 if (rtc_device->is_wakeup_source) in rtc_get_info()201 if (!rtc_device) in rtc_get_time()204 return rtc_device->ops->get_time(rtc_device, tm); in rtc_get_time()209 if (!rtc_device || !rtc_device->ops->set_time) in rtc_set_time()[all …]
17 struct rtc *rtc_device; variable30 if (!time->tm_mday || time->tm_year < rtc_device->range_min.tm_year || in rtc_time_to_ms()31 time->tm_year > rtc_device->range_max.tm_year) in rtc_time_to_ms()122 assert(!rtc_device); in rtc_register()127 rtc_device = rtc; in rtc_register()
207 struct rtc_device { struct226 static struct rtc_device rtc_dev; argument