Lines Matching refs:pll
55 struct berlin2_pll *pll = to_berlin2_pll(hw); in berlin2_pll_recalc_rate() local
56 struct berlin2_pll_map *map = &pll->map; in berlin2_pll_recalc_rate()
60 val = readl_relaxed(pll->base + SPLL_CTRL0); in berlin2_pll_recalc_rate()
68 val = readl_relaxed(pll->base + SPLL_CTRL1); in berlin2_pll_recalc_rate()
93 struct berlin2_pll *pll; in berlin2_pll_register() local
95 pll = kzalloc(sizeof(*pll), GFP_KERNEL); in berlin2_pll_register()
96 if (!pll) in berlin2_pll_register()
100 memcpy(&pll->map, map, sizeof(*map)); in berlin2_pll_register()
101 pll->base = base; in berlin2_pll_register()
102 pll->hw.init = &init; in berlin2_pll_register()
109 return clk_register(NULL, &pll->hw); in berlin2_pll_register()