Lines Matching refs:rtc
3 * drivers/rtc/rtc-spear.c
18 #include <linux/rtc.h>
78 struct rtc_device *rtc;
163 rtc_update_irq(config->rtc, 1, events);
193 * @dev: rtc device in use
224 * @dev: rtc device in use
250 * @dev: rtc device in use
280 * @dev: rtc device in use
357 config->rtc = devm_rtc_allocate_device(&pdev->dev);
358 if (IS_ERR(config->rtc))
359 return PTR_ERR(config->rtc);
389 config->rtc->ops = &spear_rtc_ops;
390 config->rtc->range_min = RTC_TIMESTAMP_BEGIN_0000;
391 config->rtc->range_max = RTC_TIMESTAMP_END_9999;
393 status = devm_rtc_register_device(config->rtc);
470 { .compatible = "st,spear600-rtc" },
481 .name = "rtc-spear",
489 MODULE_ALIAS("platform:rtc-spear");