Lines Matching refs:pll
62 struct berlin2_pll *pll = to_berlin2_pll(hw); in berlin2_pll_recalc_rate() local
63 struct berlin2_pll_map *map = &pll->map; in berlin2_pll_recalc_rate()
67 val = readl_relaxed(pll->base + SPLL_CTRL0); in berlin2_pll_recalc_rate()
75 val = readl_relaxed(pll->base + SPLL_CTRL1); in berlin2_pll_recalc_rate()
100 struct berlin2_pll *pll; in berlin2_pll_register() local
102 pll = kzalloc(sizeof(*pll), GFP_KERNEL); in berlin2_pll_register()
103 if (!pll) in berlin2_pll_register()
107 memcpy(&pll->map, map, sizeof(*map)); in berlin2_pll_register()
108 pll->base = base; in berlin2_pll_register()
109 pll->hw.init = &init; in berlin2_pll_register()
116 return clk_register(NULL, &pll->hw); in berlin2_pll_register()