Home
last modified time | relevance | path

Searched refs:imx_sc_rtc (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/rtc/
H A Drtc-imx-sc.c25 static struct rtc_device *imx_sc_rtc; variable
131 rtc_update_irq(imx_sc_rtc, 1, RTC_IRQF | RTC_AF); in imx_sc_rtc_alarm_notify()
150 imx_sc_rtc = devm_rtc_allocate_device(&pdev->dev); in imx_sc_rtc_probe()
151 if (IS_ERR(imx_sc_rtc)) in imx_sc_rtc_probe()
152 return PTR_ERR(imx_sc_rtc); in imx_sc_rtc_probe()
154 imx_sc_rtc->ops = &imx_sc_rtc_ops; in imx_sc_rtc_probe()
155 imx_sc_rtc->range_min = 0; in imx_sc_rtc_probe()
156 imx_sc_rtc->range_max = U32_MAX; in imx_sc_rtc_probe()
158 ret = devm_rtc_register_device(imx_sc_rtc); in imx_sc_rtc_probe()