Lines Matching defs:base
20 void __iomem *base;
37 static void dove_load_divider(void __iomem *base, u32 val, u32 mask, u32 load)
41 v = readl_relaxed(base + DIV_CTRL1) | DIV_CTRL1_N_RESET_MASK;
42 writel_relaxed(v, base + DIV_CTRL1);
44 v = (readl_relaxed(base + DIV_CTRL0) & ~(mask | load)) | val;
45 writel_relaxed(v, base + DIV_CTRL0);
46 writel_relaxed(v | load, base + DIV_CTRL0);
48 writel_relaxed(v, base + DIV_CTRL0);
56 val = readl_relaxed(dc->base + DIV_CTRL0);
149 dove_load_divider(dc->base, div, mask, load);
163 void __iomem *base)
176 dc->base = base;
219 static int dove_divider_init(struct device *dev, void __iomem *base,
236 ARRAY_SIZE(core_pll), base);
250 void __iomem *base;
252 base = of_iomap(np, 0);
253 if (WARN_ON(!base))
256 if (WARN_ON(dove_divider_init(NULL, base, dove_divider_clocks))) {
257 iounmap(base);