Searched refs:ep93xx_rtc (Results 1 – 1 of 1) sorted by relevance
29 struct ep93xx_rtc { struct37 struct ep93xx_rtc *ep93xx_rtc = dev_get_drvdata(dev); in ep93xx_rtc_get_swcomp() argument40 comp = readl(ep93xx_rtc->mmio_base + EP93XX_RTC_SWCOMP); in ep93xx_rtc_get_swcomp()55 struct ep93xx_rtc *ep93xx_rtc = dev_get_drvdata(dev); in ep93xx_rtc_read_time() local58 time = readl(ep93xx_rtc->mmio_base + EP93XX_RTC_DATA); in ep93xx_rtc_read_time()66 struct ep93xx_rtc *ep93xx_rtc = dev_get_drvdata(dev); in ep93xx_rtc_set_time() local69 writel(secs + 1, ep93xx_rtc->mmio_base + EP93XX_RTC_LOAD); in ep93xx_rtc_set_time()125 struct ep93xx_rtc *ep93xx_rtc; in ep93xx_rtc_probe() local128 ep93xx_rtc = devm_kzalloc(&pdev->dev, sizeof(*ep93xx_rtc), GFP_KERNEL); in ep93xx_rtc_probe()129 if (!ep93xx_rtc) in ep93xx_rtc_probe()[all …]