Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A Drtc-ep93xx.c29 struct ep93xx_rtc { struct
37 struct ep93xx_rtc *ep93xx_rtc = dev_get_drvdata(dev); in ep93xx_rtc_get_swcomp() argument
40 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() local
58 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() local
69 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() local
128 ep93xx_rtc = devm_kzalloc(&pdev->dev, sizeof(*ep93xx_rtc), GFP_KERNEL); in ep93xx_rtc_probe()
129 if (!ep93xx_rtc) in ep93xx_rtc_probe()
[all …]