Lines Matching refs:mux_hw

26 	struct clk_hw *mux_hw = composite->mux_hw;  in clk_composite_get_parent()  local
28 __clk_hw_set_clk(mux_hw, hw); in clk_composite_get_parent()
30 return mux_ops->get_parent(mux_hw); in clk_composite_get_parent()
37 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_parent() local
39 __clk_hw_set_clk(mux_hw, hw); in clk_composite_set_parent()
41 return mux_ops->set_parent(mux_hw, index); in clk_composite_set_parent()
63 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_determine_rate() local
76 mux_hw && mux_ops && mux_ops->set_parent) { in clk_composite_determine_rate()
80 parent = clk_hw_get_parent(mux_hw); in clk_composite_determine_rate()
93 for (i = 0; i < clk_hw_get_num_parents(mux_hw); i++) { in clk_composite_determine_rate()
94 parent = clk_hw_get_parent_by_index(mux_hw, i); in clk_composite_determine_rate()
121 } else if (mux_hw && mux_ops && mux_ops->determine_rate) { in clk_composite_determine_rate()
122 __clk_hw_set_clk(mux_hw, hw); in clk_composite_determine_rate()
123 return mux_ops->determine_rate(mux_hw, req); in clk_composite_determine_rate()
163 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_rate_and_parent() local
167 __clk_hw_set_clk(mux_hw, hw); in clk_composite_set_rate_and_parent()
172 mux_ops->set_parent(mux_hw, index); in clk_composite_set_rate_and_parent()
174 mux_ops->set_parent(mux_hw, index); in clk_composite_set_rate_and_parent()
216 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_hw_register_composite() argument
239 if (mux_hw && mux_ops) { in clk_hw_register_composite()
245 composite->mux_hw = mux_hw; in clk_hw_register_composite()
282 if (mux_hw && mux_ops && rate_hw && rate_ops) { in clk_hw_register_composite()
311 if (composite->mux_hw) in clk_hw_register_composite()
312 composite->mux_hw->clk = hw->clk; in clk_hw_register_composite()
329 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_register_composite() argument
337 mux_hw, mux_ops, rate_hw, rate_ops, gate_hw, gate_ops, in clk_register_composite()