Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/clk/tegra/
Dclk-periph.c52 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_recalc_rate() local
54 __clk_hw_set_clk(div_hw, hw); in clk_periph_recalc_rate()
56 return div_ops->recalc_rate(div_hw, parent_rate); in clk_periph_recalc_rate()
64 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_round_rate() local
66 __clk_hw_set_clk(div_hw, hw); in clk_periph_round_rate()
68 return div_ops->round_rate(div_hw, rate, prate); in clk_periph_round_rate()
76 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_set_rate() local
78 __clk_hw_set_clk(div_hw, hw); in clk_periph_set_rate()
80 return div_ops->set_rate(div_hw, rate, parent_rate); in clk_periph_set_rate()
/linux-4.1.27/drivers/clk/st/
Dclkgen-mux.c175 struct clk_hw *div_hw = &genamux->div[genamux->muxsel].hw; in clkgena_divmux_recalc_rate() local
177 __clk_hw_set_clk(div_hw, hw); in clkgena_divmux_recalc_rate()
179 return clk_divider_ops.recalc_rate(div_hw, parent_rate); in clkgena_divmux_recalc_rate()
186 struct clk_hw *div_hw = &genamux->div[genamux->muxsel].hw; in clkgena_divmux_set_rate() local
188 __clk_hw_set_clk(div_hw, hw); in clkgena_divmux_set_rate()
190 return clk_divider_ops.set_rate(div_hw, rate, parent_rate); in clkgena_divmux_set_rate()
197 struct clk_hw *div_hw = &genamux->div[genamux->muxsel].hw; in clkgena_divmux_round_rate() local
199 __clk_hw_set_clk(div_hw, hw); in clkgena_divmux_round_rate()
201 return clk_divider_ops.round_rate(div_hw, rate, prate); in clkgena_divmux_round_rate()