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()
153 static long clk_composite_round_rate(struct clk_hw *hw, unsigned long rate, in clk_composite_round_rate()
158 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_round_rate()
165 static int clk_composite_set_rate(struct clk_hw *hw, unsigned long rate, in clk_composite_set_rate()
170 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate()
177 static int clk_composite_set_rate_and_parent(struct clk_hw *hw, in clk_composite_set_rate_and_parent()
185 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate_and_parent()
186 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_rate_and_parent()
204 static int clk_composite_is_enabled(struct clk_hw *hw) in clk_composite_is_enabled()
208 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_is_enabled()
215 static int clk_composite_enable(struct clk_hw *hw) in clk_composite_enable()
219 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_enable()
226 static void clk_composite_disable(struct clk_hw *hw) in clk_composite_disable()
230 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_disable()
237 static struct clk_hw *__clk_hw_register_composite(struct device *dev, in __clk_hw_register_composite()
240 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in __clk_hw_register_composite()
241 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in __clk_hw_register_composite()
242 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in __clk_hw_register_composite()
245 struct clk_hw *hw; in __clk_hw_register_composite()
354 struct clk_hw *clk_hw_register_composite(struct device *dev, const char *name, in clk_hw_register_composite()
356 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_hw_register_composite()
357 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_hw_register_composite()
358 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_hw_register_composite()
368 struct clk_hw *clk_hw_register_composite_pdata(struct device *dev, in clk_hw_register_composite_pdata()
372 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_hw_register_composite_pdata()
373 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_hw_register_composite_pdata()
374 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_hw_register_composite_pdata()
385 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_register_composite()
386 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_register_composite()
387 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_register_composite()
390 struct clk_hw *hw; in clk_register_composite()
404 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_register_composite_pdata()
405 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_register_composite_pdata()
406 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_register_composite_pdata()
409 struct clk_hw *hw; in clk_register_composite_pdata()
422 struct clk_hw *hw; in clk_unregister_composite()
434 void clk_hw_unregister_composite(struct clk_hw *hw) in clk_hw_unregister_composite()
447 clk_hw_unregister_composite(*(struct clk_hw **)res); in devm_clk_hw_release_composite()
450 static struct clk_hw *__devm_clk_hw_register_composite(struct device *dev, in __devm_clk_hw_register_composite()
453 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in __devm_clk_hw_register_composite()
454 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in __devm_clk_hw_register_composite()
455 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in __devm_clk_hw_register_composite()
458 struct clk_hw **ptr, *hw; in __devm_clk_hw_register_composite()
479 struct clk_hw *devm_clk_hw_register_composite_pdata(struct device *dev, in devm_clk_hw_register_composite_pdata()
483 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in devm_clk_hw_register_composite_pdata()
484 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in devm_clk_hw_register_composite_pdata()
485 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in devm_clk_hw_register_composite_pdata()