Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/clk/tegra/
Dclk-periph.c51 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_recalc_rate() local
53 __clk_hw_set_clk(div_hw, hw); in clk_periph_recalc_rate()
55 return div_ops->recalc_rate(div_hw, parent_rate); in clk_periph_recalc_rate()
63 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_round_rate() local
65 __clk_hw_set_clk(div_hw, hw); in clk_periph_round_rate()
67 return div_ops->round_rate(div_hw, rate, prate); in clk_periph_round_rate()
75 struct clk_hw *div_hw = &periph->divider.hw; in clk_periph_set_rate() local
77 __clk_hw_set_clk(div_hw, hw); in clk_periph_set_rate()
79 return div_ops->set_rate(div_hw, rate, parent_rate); in clk_periph_set_rate()
/linux-4.4.14/drivers/clk/st/
Dclkgen-mux.c174 struct clk_hw *div_hw = &genamux->div[genamux->muxsel].hw; in clkgena_divmux_recalc_rate() local
176 __clk_hw_set_clk(div_hw, hw); in clkgena_divmux_recalc_rate()
178 return clk_divider_ops.recalc_rate(div_hw, parent_rate); in clkgena_divmux_recalc_rate()
185 struct clk_hw *div_hw = &genamux->div[genamux->muxsel].hw; in clkgena_divmux_set_rate() local
187 __clk_hw_set_clk(div_hw, hw); in clkgena_divmux_set_rate()
189 return clk_divider_ops.set_rate(div_hw, rate, parent_rate); in clkgena_divmux_set_rate()
196 struct clk_hw *div_hw = &genamux->div[genamux->muxsel].hw; in clkgena_divmux_round_rate() local
198 __clk_hw_set_clk(div_hw, hw); in clkgena_divmux_round_rate()
200 return clk_divider_ops.round_rate(div_hw, rate, prate); in clkgena_divmux_round_rate()
/linux-4.4.14/drivers/clk/nxp/
Dclk-lpc18xx-ccu.c212 struct clk_hw *div_hw = NULL; in lpc18xx_ccu_register_branch_gate_div() local
224 div_hw = &div->hw; in lpc18xx_ccu_register_branch_gate_div()
233 div_hw, div_ops, in lpc18xx_ccu_register_branch_gate_div()
/linux-4.4.14/drivers/clk/mediatek/
Dclk-mtk.c145 struct clk_hw *mux_hw = NULL, *gate_hw = NULL, *div_hw = NULL; in mtk_clk_register_composite() local
201 div_hw = &div->hw; in mtk_clk_register_composite()
207 div_hw, div_ops, in mtk_clk_register_composite()