Lines Matching refs:mux_hw

15 	struct clk_hw *mux_hw = composite->mux_hw;  in clk_composite_get_parent()  local
17 __clk_hw_set_clk(mux_hw, hw); in clk_composite_get_parent()
19 return mux_ops->get_parent(mux_hw); in clk_composite_get_parent()
26 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_parent() local
28 __clk_hw_set_clk(mux_hw, hw); in clk_composite_set_parent()
30 return mux_ops->set_parent(mux_hw, index); in clk_composite_set_parent()
75 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_determine_rate() local
84 mux_hw && mux_ops && mux_ops->set_parent) { in clk_composite_determine_rate()
90 parent = clk_hw_get_parent(mux_hw); in clk_composite_determine_rate()
107 for (i = 0; i < clk_hw_get_num_parents(mux_hw); i++) { in clk_composite_determine_rate()
110 parent = clk_hw_get_parent_by_index(mux_hw, i); in clk_composite_determine_rate()
144 } else if (mux_hw && mux_ops && mux_ops->determine_rate) { in clk_composite_determine_rate()
145 __clk_hw_set_clk(mux_hw, hw); in clk_composite_determine_rate()
146 return mux_ops->determine_rate(mux_hw, req); in clk_composite_determine_rate()
186 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_rate_and_parent() local
190 __clk_hw_set_clk(mux_hw, hw); in clk_composite_set_rate_and_parent()
195 mux_ops->set_parent(mux_hw, index); in clk_composite_set_rate_and_parent()
197 mux_ops->set_parent(mux_hw, index); in clk_composite_set_rate_and_parent()
240 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in __clk_hw_register_composite() argument
266 if (mux_hw && mux_ops) { in __clk_hw_register_composite()
272 composite->mux_hw = mux_hw; in __clk_hw_register_composite()
309 if (mux_hw && mux_ops && rate_hw && rate_ops) { in __clk_hw_register_composite()
338 if (composite->mux_hw) in __clk_hw_register_composite()
339 composite->mux_hw->clk = hw->clk; in __clk_hw_register_composite()
356 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_hw_register_composite() argument
362 num_parents, mux_hw, mux_ops, in clk_hw_register_composite()
372 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_hw_register_composite_pdata() argument
378 num_parents, mux_hw, mux_ops, in clk_hw_register_composite_pdata()
385 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_register_composite() argument
393 mux_hw, mux_ops, rate_hw, rate_ops, gate_hw, gate_ops, in clk_register_composite()
404 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_register_composite_pdata() argument
412 num_parents, mux_hw, mux_ops, rate_hw, rate_ops, in clk_register_composite_pdata()
453 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in __devm_clk_hw_register_composite() argument
466 num_parents, mux_hw, mux_ops, rate_hw, in __devm_clk_hw_register_composite()
483 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in devm_clk_hw_register_composite_pdata() argument
489 num_parents, mux_hw, mux_ops, in devm_clk_hw_register_composite_pdata()