Lines Matching defs:base
22 static void __init make_pll(int idx, const char *parent, void __iomem *base)
28 val = readl(base + idx * 8);
36 static void __init make_cd(int idx, void __iomem *base)
42 val = readl(base + idx * 8);
53 void __iomem *base = of_iomap(np, 0);
56 if (!base)
59 if (readl(base + CPUCLK_DIV) & DIV_BYPASS)
62 if (readl(base + SYSCLK_DIV) & DIV_BYPASS)
65 writel(0x100, base + CPUCLK_DIV); /* disable frequency ramping */
67 make_pll(0, parent, base);
68 make_pll(1, parent, base);
69 make_pll(2, parent, base);
70 make_cd(2, base + 0x80);
71 make_cd(6, base + 0x80);
74 base + CPUCLK_DIV, 8, 8, CLK_DIVIDER_ONE_BASED, NULL);