Lines Matching refs:rtc
19 #include <linux/rtc.h>
57 struct rtc_device *rtc;
177 rtc_update_irq(rtc_data->rtc, 1, RTC_AF | RTC_IRQF);
281 * Resetting the rtc stops the watchdog timer that is potentially
288 "Watchdog is running, skip resetting rtc\n");
299 * Obviously the rtc needs a clock input to be able to run.
353 rtc_data->rtc = devm_rtc_allocate_device(&pdev->dev);
354 if (IS_ERR(rtc_data->rtc))
355 return PTR_ERR(rtc_data->rtc);
365 rtc_data->rtc->ops = &stmp3xxx_rtc_ops;
366 rtc_data->rtc->range_max = U32_MAX;
368 err = devm_rtc_register_device(rtc_data->rtc);
399 { .compatible = "fsl,stmp3xxx-rtc", },
408 .name = "stmp3xxx-rtc",