Lines Matching refs:plldiv
25 struct clk_plldiv *plldiv = to_clk_plldiv(hw); in clk_plldiv_recalc_rate() local
28 regmap_read(plldiv->regmap, AT91_PMC_MCKR, &mckr); in clk_plldiv_recalc_rate()
56 struct clk_plldiv *plldiv = to_clk_plldiv(hw); in clk_plldiv_set_rate() local
61 regmap_update_bits(plldiv->regmap, AT91_PMC_MCKR, AT91_PMC_PLLADIV2, in clk_plldiv_set_rate()
77 struct clk_plldiv *plldiv; in at91_clk_register_plldiv() local
82 plldiv = kzalloc(sizeof(*plldiv), GFP_KERNEL); in at91_clk_register_plldiv()
83 if (!plldiv) in at91_clk_register_plldiv()
92 plldiv->hw.init = &init; in at91_clk_register_plldiv()
93 plldiv->regmap = regmap; in at91_clk_register_plldiv()
95 hw = &plldiv->hw; in at91_clk_register_plldiv()
96 ret = clk_hw_register(NULL, &plldiv->hw); in at91_clk_register_plldiv()
98 kfree(plldiv); in at91_clk_register_plldiv()