Lines Matching refs:h32mxclk
31 struct clk_sama5d4_h32mx *h32mxclk = to_clk_sama5d4_h32mx(hw); in clk_sama5d4_h32mx_recalc_rate() local
34 regmap_read(h32mxclk->regmap, AT91_PMC_MCKR, &mckr); in clk_sama5d4_h32mx_recalc_rate()
63 struct clk_sama5d4_h32mx *h32mxclk = to_clk_sama5d4_h32mx(hw); in clk_sama5d4_h32mx_set_rate() local
72 regmap_update_bits(h32mxclk->regmap, AT91_PMC_MCKR, in clk_sama5d4_h32mx_set_rate()
88 struct clk_sama5d4_h32mx *h32mxclk; in at91_clk_register_h32mx() local
92 h32mxclk = kzalloc(sizeof(*h32mxclk), GFP_KERNEL); in at91_clk_register_h32mx()
93 if (!h32mxclk) in at91_clk_register_h32mx()
102 h32mxclk->hw.init = &init; in at91_clk_register_h32mx()
103 h32mxclk->regmap = regmap; in at91_clk_register_h32mx()
105 ret = clk_hw_register(NULL, &h32mxclk->hw); in at91_clk_register_h32mx()
107 kfree(h32mxclk); in at91_clk_register_h32mx()
111 return &h32mxclk->hw; in at91_clk_register_h32mx()