Lines Matching refs:clk_hw

22 static u8 clk_composite_get_parent(struct clk_hw *hw)  in clk_composite_get_parent()
26 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_get_parent()
33 static int clk_composite_set_parent(struct clk_hw *hw, u8 index) in clk_composite_set_parent()
37 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_parent()
44 static unsigned long clk_composite_recalc_rate(struct clk_hw *hw, in clk_composite_recalc_rate()
49 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_recalc_rate()
56 static int clk_composite_determine_rate(struct clk_hw *hw, in clk_composite_determine_rate()
62 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_determine_rate()
63 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_determine_rate()
64 struct clk_hw *parent; in clk_composite_determine_rate()
130 static long clk_composite_round_rate(struct clk_hw *hw, unsigned long rate, in clk_composite_round_rate()
135 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_round_rate()
142 static int clk_composite_set_rate(struct clk_hw *hw, unsigned long rate, in clk_composite_set_rate()
147 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate()
154 static int clk_composite_set_rate_and_parent(struct clk_hw *hw, in clk_composite_set_rate_and_parent()
162 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate_and_parent()
163 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_rate_and_parent()
181 static int clk_composite_is_enabled(struct clk_hw *hw) in clk_composite_is_enabled()
185 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_is_enabled()
192 static int clk_composite_enable(struct clk_hw *hw) in clk_composite_enable()
196 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_enable()
203 static void clk_composite_disable(struct clk_hw *hw) in clk_composite_disable()
207 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_disable()
214 struct clk_hw *clk_hw_register_composite(struct device *dev, const char *name, in clk_hw_register_composite()
216 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_hw_register_composite()
217 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_hw_register_composite()
218 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_hw_register_composite()
221 struct clk_hw *hw; in clk_hw_register_composite()
329 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_register_composite()
330 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_register_composite()
331 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_register_composite()
334 struct clk_hw *hw; in clk_register_composite()
347 struct clk_hw *hw; in clk_unregister_composite()