Lines Matching defs:base
27 void __iomem *base;
38 void __iomem *base;
42 base = rtcdrv->base;
44 rtc_alarm_low = readl(base + TIMER_ALARM_LOW);
45 rtc_alarm_high = readl(base + TIMER_ALARM_HIGH);
53 if (readl(base + TIMER_ALARM_STATUS))
67 void __iomem *base;
70 base = rtcdrv->base;
74 writel((rtc_alarm64 >> 32), base + TIMER_ALARM_HIGH);
75 writel(rtc_alarm64, base + TIMER_ALARM_LOW);
76 writel(1, base + TIMER_IRQ_ENABLED);
83 rtc_status_reg = readl(base + TIMER_ALARM_STATUS);
85 writel(1, base + TIMER_CLEAR_ALARM);
94 void __iomem *base;
98 base = rtcdrv->base;
101 writel(1, base + TIMER_IRQ_ENABLED);
103 writel(0, base + TIMER_IRQ_ENABLED);
111 void __iomem *base = rtcdrv->base;
113 writel(1, base + TIMER_CLEAR_INTERRUPT);
123 void __iomem *base;
129 base = rtcdrv->base;
131 time_low = readl(base + TIMER_TIME_LOW);
132 time_high = readl(base + TIMER_TIME_HIGH);
145 void __iomem *base;
149 base = rtcdrv->base;
152 writel((now64 >> 32), base + TIMER_TIME_HIGH);
153 writel(now64, base + TIMER_TIME_LOW);
176 rtcdrv->base = devm_platform_ioremap_resource(pdev, 0);
177 if (IS_ERR(rtcdrv->base))
178 return PTR_ERR(rtcdrv->base);