Lines Matching refs:pll_base

21 	void __iomem	*pll_base;  member
61 val = readl(pll->pll_base + PLL_FRACMODE_REG); in visconti_pll_get_params()
66 rate_table->fracin = readl(pll->pll_base + PLL_FRACIN_REG) & PLL_FRACIN_MASK; in visconti_pll_get_params()
67 rate_table->intin = readl(pll->pll_base + PLL_INTIN_REG) & PLL_INTIN_MASK; in visconti_pll_get_params()
68 rate_table->refdiv = readl(pll->pll_base + PLL_REFDIV_REG) & PLL_REFDIV_MASK; in visconti_pll_get_params()
70 postdiv = readl(pll->pll_base + PLL_POSTDIV_REG); in visconti_pll_get_params()
134 writel(PLL_CREATE_FRACMODE(rate_table), pll->pll_base + PLL_FRACMODE_REG); in visconti_pll_set_params()
135 writel(PLL_CREATE_OSTDIV(rate_table), pll->pll_base + PLL_POSTDIV_REG); in visconti_pll_set_params()
136 writel(rate_table->intin, pll->pll_base + PLL_INTIN_REG); in visconti_pll_set_params()
137 writel(rate_table->fracin, pll->pll_base + PLL_FRACIN_REG); in visconti_pll_set_params()
138 writel(rate_table->refdiv, pll->pll_base + PLL_REFDIV_REG); in visconti_pll_set_params()
161 reg = readl(pll->pll_base + PLL_CTRL_REG); in visconti_pll_is_enabled()
178 writel(PLL_CONFIG_SEL, pll->pll_base + PLL_CONF_REG); in visconti_pll_enable()
180 reg = readl(pll->pll_base + PLL_CTRL_REG); in visconti_pll_enable()
182 writel(reg, pll->pll_base + PLL_CTRL_REG); in visconti_pll_enable()
186 reg = readl(pll->pll_base + PLL_CTRL_REG); in visconti_pll_enable()
188 writel(reg, pll->pll_base + PLL_CTRL_REG); in visconti_pll_enable()
192 reg = readl(pll->pll_base + PLL_CTRL_REG); in visconti_pll_enable()
194 writel(reg, pll->pll_base + PLL_CTRL_REG); in visconti_pll_enable()
198 reg = readl(pll->pll_base + PLL_CTRL_REG); in visconti_pll_enable()
200 writel(reg, pll->pll_base + PLL_CTRL_REG); in visconti_pll_enable()
218 writel(PLL_CONFIG_SEL, pll->pll_base + PLL_CONF_REG); in visconti_pll_disable()
220 reg = readl(pll->pll_base + PLL_CTRL_REG); in visconti_pll_disable()
222 writel(reg, pll->pll_base + PLL_CTRL_REG); in visconti_pll_disable()
224 reg = readl(pll->pll_base + PLL_CTRL_REG); in visconti_pll_disable()
226 writel(reg, pll->pll_base + PLL_CTRL_REG); in visconti_pll_disable()
272 pll->pll_base = ctx->reg_base + offset; in visconti_register_pll()