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()
106 for (i = 0; i < clk_hw_get_num_parents(mux_hw); i++) { in clk_composite_determine_rate()
109 parent = clk_hw_get_parent_by_index(mux_hw, i); in clk_composite_determine_rate()
139 } else if (mux_hw && mux_ops && mux_ops->determine_rate) { in clk_composite_determine_rate()
140 __clk_hw_set_clk(mux_hw, hw); in clk_composite_determine_rate()
141 return mux_ops->determine_rate(mux_hw, req); in clk_composite_determine_rate()
181 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_rate_and_parent() local
185 __clk_hw_set_clk(mux_hw, hw); in clk_composite_set_rate_and_parent()
190 mux_ops->set_parent(mux_hw, index); in clk_composite_set_rate_and_parent()
192 mux_ops->set_parent(mux_hw, index); in clk_composite_set_rate_and_parent()
235 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in __clk_hw_register_composite() argument
261 if (mux_hw && mux_ops) { in __clk_hw_register_composite()
267 composite->mux_hw = mux_hw; in __clk_hw_register_composite()
304 if (mux_hw && mux_ops && rate_hw && rate_ops) { in __clk_hw_register_composite()
333 if (composite->mux_hw) in __clk_hw_register_composite()
334 composite->mux_hw->clk = hw->clk; in __clk_hw_register_composite()
351 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_hw_register_composite() argument
357 num_parents, mux_hw, mux_ops, in clk_hw_register_composite()
367 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_hw_register_composite_pdata() argument
373 num_parents, mux_hw, mux_ops, in clk_hw_register_composite_pdata()
380 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_register_composite() argument
388 mux_hw, mux_ops, rate_hw, rate_ops, gate_hw, gate_ops, in clk_register_composite()
399 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_register_composite_pdata() argument
407 num_parents, mux_hw, mux_ops, rate_hw, rate_ops, in clk_register_composite_pdata()
448 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in __devm_clk_hw_register_composite() argument
461 num_parents, mux_hw, mux_ops, rate_hw, in __devm_clk_hw_register_composite()
478 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in devm_clk_hw_register_composite_pdata() argument
484 num_parents, mux_hw, mux_ops, in devm_clk_hw_register_composite_pdata()