Lines Matching refs:pll
92 struct clk_pll *pll = get_pll(clkid); in clock_ll_read_pll() local
101 data = readl(&pll->pll_base); in clock_ll_read_pll()
105 data = readl(&pll->pll_misc); in clock_ll_read_pll()
116 struct clk_pll *pll = NULL; in clock_start_pll() local
122 pll = get_pll(clkid); in clock_start_pll()
138 if (pll) in clock_start_pll()
139 misc_data = readl(&pll->pll_misc); in clock_start_pll()
151 if (pll) { in clock_start_pll()
152 writel(misc_data, &pll->pll_misc); in clock_start_pll()
153 writel(data, &pll->pll_base); in clock_start_pll()
265 struct clk_pll *pll = get_pll(clkid); in clock_set_pllout() local
285 clrsetbits_le32(&pll->pll_out[pllout >> 1], in clock_set_pllout()
534 struct clk_pll *pll; in clock_get_rate() local
546 pll = get_pll(clkid); in clock_get_rate()
547 if (!pll) in clock_get_rate()
549 base = readl(&pll->pll_base); in clock_get_rate()
591 struct clk_pll *pll; in clock_set_rate() local
594 pll = get_pll(clkid); in clock_set_rate()
596 base_reg = readl(&pll->pll_base); in clock_set_rate()
615 if (base_reg != readl(&pll->pll_base)) in clock_set_rate()
623 writel(base_reg, &pll->pll_base); in clock_set_rate()
626 misc_reg = readl(&pll->pll_misc); in clock_set_rate()
629 writel(misc_reg, &pll->pll_misc); in clock_set_rate()
633 writel(base_reg, &pll->pll_base); in clock_set_rate()
637 writel(base_reg, &pll->pll_base); in clock_set_rate()
674 struct clk_pll *pll = get_pll(CLOCK_ID_PERIPH); in clock_verify() local
675 u32 reg = readl(&pll->pll_base); in clock_verify()