Searched refs:ep93xx_rtc (Results 1 – 1 of 1) sorted by relevance
28 struct ep93xx_rtc { struct36 struct ep93xx_rtc *ep93xx_rtc = dev_get_drvdata(dev); in ep93xx_rtc_get_swcomp() local39 comp = readl(ep93xx_rtc->mmio_base + EP93XX_RTC_SWCOMP); in ep93xx_rtc_get_swcomp()54 struct ep93xx_rtc *ep93xx_rtc = dev_get_drvdata(dev); in ep93xx_rtc_read_time() local57 time = readl(ep93xx_rtc->mmio_base + EP93XX_RTC_DATA); in ep93xx_rtc_read_time()65 struct ep93xx_rtc *ep93xx_rtc = dev_get_drvdata(dev); in ep93xx_rtc_set_time() local68 writel(secs + 1, ep93xx_rtc->mmio_base + EP93XX_RTC_LOAD); in ep93xx_rtc_set_time()124 struct ep93xx_rtc *ep93xx_rtc; in ep93xx_rtc_probe() local127 ep93xx_rtc = devm_kzalloc(&pdev->dev, sizeof(*ep93xx_rtc), GFP_KERNEL); in ep93xx_rtc_probe()128 if (!ep93xx_rtc) in ep93xx_rtc_probe()[all …]