Lines Matching defs:rtc
12 #include <linux/rtc.h>
18 * in an rtc sync function, to read both xtime.tv_sec and
29 struct rtc_device *rtc = rtc_class_open(CONFIG_RTC_HCTOSYS_DEVICE);
31 if (rtc == NULL) {
32 printk("%s: unable to open rtc device (%s)\n",
37 err = rtc_read_time(rtc, &tm);
49 dev_info(rtc->dev.parent,
57 dev_err(rtc->dev.parent,
61 dev_err(rtc->dev.parent,
64 rtc_class_close(rtc);