Lines Matching refs:mux_hw
28 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_get_parent() local
30 __clk_hw_set_clk(mux_hw, hw); in clk_composite_get_parent()
32 return mux_ops->get_parent(mux_hw); in clk_composite_get_parent()
39 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_parent() local
41 __clk_hw_set_clk(mux_hw, hw); in clk_composite_set_parent()
43 return mux_ops->set_parent(mux_hw, index); in clk_composite_set_parent()
65 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_determine_rate() local
78 mux_hw && mux_ops && mux_ops->set_parent) { in clk_composite_determine_rate()
82 parent = clk_hw_get_parent(mux_hw); in clk_composite_determine_rate()
95 for (i = 0; i < clk_hw_get_num_parents(mux_hw); i++) { in clk_composite_determine_rate()
96 parent = clk_hw_get_parent_by_index(mux_hw, i); in clk_composite_determine_rate()
123 } else if (mux_hw && mux_ops && mux_ops->determine_rate) { in clk_composite_determine_rate()
124 __clk_hw_set_clk(mux_hw, hw); in clk_composite_determine_rate()
125 return mux_ops->determine_rate(mux_hw, req); in clk_composite_determine_rate()
191 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_register_composite() argument
212 if (mux_hw && mux_ops) { in clk_register_composite()
218 composite->mux_hw = mux_hw; in clk_register_composite()
276 if (composite->mux_hw) in clk_register_composite()
277 composite->mux_hw->clk = clk; in clk_register_composite()