Lines Matching refs:rtc
10 * Since the RTC framework performs API locking via rtc->ops_lock the
28 #include <linux/rtc.h>
98 * struct imxdi_dev - private imxdi rtc data
100 * @rtc: pointer to rtc struct
111 struct rtc_device *rtc;
735 /* pass the alarm event to the rtc framework. */
736 rtc_update_irq(imxdi->rtc, 1, RTC_AF | RTC_IRQF);
740 * probe for dryice rtc device
777 imxdi->rtc = devm_rtc_allocate_device(&pdev->dev);
778 if (IS_ERR(imxdi->rtc))
779 return PTR_ERR(imxdi->rtc);
818 imxdi->rtc->ops = &dryice_rtc_ops;
819 imxdi->rtc->range_max = U32_MAX;
821 rc = devm_rtc_register_device(imxdi->rtc);
846 { .compatible = "fsl,imx25-rtc" },