Home
last modified time | relevance | path

Searched refs:h32mxclk (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clk/at91/
H A Dclk-h32mx.c31 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()
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()
[all …]