Lines Matching refs:clk_hw
11 static u8 clk_composite_get_parent(struct clk_hw *hw) in clk_composite_get_parent()
15 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_get_parent()
22 static int clk_composite_set_parent(struct clk_hw *hw, u8 index) in clk_composite_set_parent()
26 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_parent()
33 static unsigned long clk_composite_recalc_rate(struct clk_hw *hw, in clk_composite_recalc_rate()
38 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_recalc_rate()
45 static int clk_composite_determine_rate_for_parent(struct clk_hw *rate_hw, in clk_composite_determine_rate_for_parent()
47 struct clk_hw *parent_hw, in clk_composite_determine_rate_for_parent()
68 static int clk_composite_determine_rate(struct clk_hw *hw, in clk_composite_determine_rate()
74 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_determine_rate()
75 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_determine_rate()
76 struct clk_hw *parent; in clk_composite_determine_rate()
150 static long clk_composite_round_rate(struct clk_hw *hw, unsigned long rate, in clk_composite_round_rate()
155 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_round_rate()
162 static int clk_composite_set_rate(struct clk_hw *hw, unsigned long rate, in clk_composite_set_rate()
167 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate()
174 static int clk_composite_set_rate_and_parent(struct clk_hw *hw, in clk_composite_set_rate_and_parent()
182 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate_and_parent()
183 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_rate_and_parent()
201 static int clk_composite_is_enabled(struct clk_hw *hw) in clk_composite_is_enabled()
205 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_is_enabled()
212 static int clk_composite_enable(struct clk_hw *hw) in clk_composite_enable()
216 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_enable()
223 static void clk_composite_disable(struct clk_hw *hw) in clk_composite_disable()
227 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_disable()
234 static struct clk_hw *__clk_hw_register_composite(struct device *dev, in __clk_hw_register_composite()
237 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in __clk_hw_register_composite()
238 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in __clk_hw_register_composite()
239 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in __clk_hw_register_composite()
242 struct clk_hw *hw; in __clk_hw_register_composite()
351 struct clk_hw *clk_hw_register_composite(struct device *dev, const char *name, in clk_hw_register_composite()
353 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_hw_register_composite()
354 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_hw_register_composite()
355 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_hw_register_composite()
365 struct clk_hw *clk_hw_register_composite_pdata(struct device *dev, in clk_hw_register_composite_pdata()
369 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_hw_register_composite_pdata()
370 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_hw_register_composite_pdata()
371 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_hw_register_composite_pdata()
382 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_register_composite()
383 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_register_composite()
384 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_register_composite()
387 struct clk_hw *hw; in clk_register_composite()
401 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_register_composite_pdata()
402 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_register_composite_pdata()
403 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_register_composite_pdata()
406 struct clk_hw *hw; in clk_register_composite_pdata()
419 struct clk_hw *hw; in clk_unregister_composite()
431 void clk_hw_unregister_composite(struct clk_hw *hw) in clk_hw_unregister_composite()
444 clk_hw_unregister_composite(*(struct clk_hw **)res); in devm_clk_hw_release_composite()
447 static struct clk_hw *__devm_clk_hw_register_composite(struct device *dev, in __devm_clk_hw_register_composite()
450 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in __devm_clk_hw_register_composite()
451 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in __devm_clk_hw_register_composite()
452 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in __devm_clk_hw_register_composite()
455 struct clk_hw **ptr, *hw; in __devm_clk_hw_register_composite()
476 struct clk_hw *devm_clk_hw_register_composite_pdata(struct device *dev, in devm_clk_hw_register_composite_pdata()
480 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in devm_clk_hw_register_composite_pdata()
481 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in devm_clk_hw_register_composite_pdata()
482 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in devm_clk_hw_register_composite_pdata()