Lines Matching refs:base
64 void __iomem *base;
75 base = of_iomap(node, 0);
76 if (!base) {
103 pllfh->state.base = base;
110 iounmap(base);
119 void __iomem *base = pllfh_data->state.base;
120 void __iomem *fhx_base = base + pllfh_data->data.fhx_offset;
126 regs->reg_hp_en = base + offset->offset_hp_en;
127 regs->reg_clk_con = base + offset->offset_clk_con;
128 regs->reg_rst_con = base + offset->offset_rst_con;
129 regs->reg_slope0 = base + offset->offset_slope0;
130 regs->reg_slope1 = base + offset->offset_slope1;
153 struct mtk_pllfh_data *pllfh_data, void __iomem *base)
169 hw = mtk_clk_register_pll_ops(&fh->clk_pll, pll_data, base,
202 void __iomem *base;
206 base = of_iomap(node, 0);
207 if (!base) {
221 hw = mtk_clk_register_pllfh(pll, pllfh, base);
223 hw = mtk_clk_register_pll(pll, base);
254 iounmap(base);
264 void __iomem *base = NULL, *fhctl_base = NULL;
282 fhctl_base = pllfh->state.base;
285 base = mtk_clk_pll_get_base(clk_data->hws[pll->id],
296 iounmap(base);