Lines Matching refs:mux_hw

14 	struct clk_hw *mux_hw = composite->mux_hw;  in clk_composite_get_parent()  local
16 __clk_hw_set_clk(mux_hw, hw); in clk_composite_get_parent()
18 return mux_ops->get_parent(mux_hw); in clk_composite_get_parent()
25 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_parent() local
27 __clk_hw_set_clk(mux_hw, hw); in clk_composite_set_parent()
29 return mux_ops->set_parent(mux_hw, index); in clk_composite_set_parent()
51 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_determine_rate() local
64 mux_hw && mux_ops && mux_ops->set_parent) { in clk_composite_determine_rate()
68 parent = clk_hw_get_parent(mux_hw); in clk_composite_determine_rate()
81 for (i = 0; i < clk_hw_get_num_parents(mux_hw); i++) { in clk_composite_determine_rate()
82 parent = clk_hw_get_parent_by_index(mux_hw, i); in clk_composite_determine_rate()
109 } else if (mux_hw && mux_ops && mux_ops->determine_rate) { in clk_composite_determine_rate()
110 __clk_hw_set_clk(mux_hw, hw); in clk_composite_determine_rate()
111 return mux_ops->determine_rate(mux_hw, req); in clk_composite_determine_rate()
151 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_rate_and_parent() local
155 __clk_hw_set_clk(mux_hw, hw); in clk_composite_set_rate_and_parent()
160 mux_ops->set_parent(mux_hw, index); in clk_composite_set_rate_and_parent()
162 mux_ops->set_parent(mux_hw, index); in clk_composite_set_rate_and_parent()
205 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in __clk_hw_register_composite() argument
231 if (mux_hw && mux_ops) { in __clk_hw_register_composite()
237 composite->mux_hw = mux_hw; in __clk_hw_register_composite()
274 if (mux_hw && mux_ops && rate_hw && rate_ops) { in __clk_hw_register_composite()
303 if (composite->mux_hw) in __clk_hw_register_composite()
304 composite->mux_hw->clk = hw->clk; in __clk_hw_register_composite()
321 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_hw_register_composite() argument
327 num_parents, mux_hw, mux_ops, in clk_hw_register_composite()
337 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_hw_register_composite_pdata() argument
343 num_parents, mux_hw, mux_ops, in clk_hw_register_composite_pdata()
350 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_register_composite() argument
358 mux_hw, mux_ops, rate_hw, rate_ops, gate_hw, gate_ops, in clk_register_composite()
369 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_register_composite_pdata() argument
377 num_parents, mux_hw, mux_ops, rate_hw, rate_ops, in clk_register_composite_pdata()