Lines Matching refs:base
34 void __iomem *base; in uniphier_ld20_sscpll_init() local
37 base = ioremap(reg_base, SZ_16); in uniphier_ld20_sscpll_init()
38 if (!base) in uniphier_ld20_sscpll_init()
42 tmp = readl(base); /* SSCPLLCTRL */ in uniphier_ld20_sscpll_init()
47 writel(tmp, base); in uniphier_ld20_sscpll_init()
49 tmp = readl(base + 4); in uniphier_ld20_sscpll_init()
54 writel(tmp, base + 4); in uniphier_ld20_sscpll_init()
59 tmp = readl(base + 4); /* SSCPLLCTRL2 */ in uniphier_ld20_sscpll_init()
61 writel(tmp, base + 4); in uniphier_ld20_sscpll_init()
63 iounmap(base); in uniphier_ld20_sscpll_init()
70 void __iomem *base; in uniphier_ld20_sscpll_ssc_en() local
73 base = ioremap(reg_base, SZ_16); in uniphier_ld20_sscpll_ssc_en()
74 if (!base) in uniphier_ld20_sscpll_ssc_en()
77 tmp = readl(base); /* SSCPLLCTRL */ in uniphier_ld20_sscpll_ssc_en()
79 writel(tmp, base); in uniphier_ld20_sscpll_ssc_en()
81 iounmap(base); in uniphier_ld20_sscpll_ssc_en()
88 void __iomem *base; in uniphier_ld20_sscpll_set_regi() local
91 base = ioremap(reg_base, SZ_16); in uniphier_ld20_sscpll_set_regi()
92 if (!base) in uniphier_ld20_sscpll_set_regi()
95 tmp = readl(base + 8); /* SSCPLLCTRL3 */ in uniphier_ld20_sscpll_set_regi()
98 writel(tmp, base + 8); in uniphier_ld20_sscpll_set_regi()
100 iounmap(base); in uniphier_ld20_sscpll_set_regi()
107 void __iomem *base; in uniphier_ld20_vpll27_init() local
110 base = ioremap(reg_base, SZ_16); in uniphier_ld20_vpll27_init()
111 if (!base) in uniphier_ld20_vpll27_init()
114 tmp = readl(base); /* VPLL27CTRL */ in uniphier_ld20_vpll27_init()
116 writel(tmp, base); in uniphier_ld20_vpll27_init()
118 tmp = readl(base + 8); /* VPLL27CTRL3 */ in uniphier_ld20_vpll27_init()
120 writel(tmp, base + 8); in uniphier_ld20_vpll27_init()
122 tmp = readl(base); /* VPLL27CTRL */ in uniphier_ld20_vpll27_init()
124 writel(tmp, base); in uniphier_ld20_vpll27_init()
126 iounmap(base); in uniphier_ld20_vpll27_init()
133 void __iomem *base; in uniphier_ld20_dspll_init() local
136 base = ioremap(reg_base, SZ_16); in uniphier_ld20_dspll_init()
137 if (!base) in uniphier_ld20_dspll_init()
140 tmp = readl(base + 4); /* DSPLLCTRL2 */ in uniphier_ld20_dspll_init()
142 writel(tmp, base + 4); in uniphier_ld20_dspll_init()
144 iounmap(base); in uniphier_ld20_dspll_init()