Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/rtc/
Drtc-ep93xx.c28 struct ep93xx_rtc { struct
36 struct ep93xx_rtc *ep93xx_rtc = dev_get_drvdata(dev); in ep93xx_rtc_get_swcomp() argument
39 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() local
57 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() local
68 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() local
127 ep93xx_rtc = devm_kzalloc(&pdev->dev, sizeof(*ep93xx_rtc), GFP_KERNEL); in ep93xx_rtc_probe()
128 if (!ep93xx_rtc) in ep93xx_rtc_probe()
[all …]