Lines Matching refs:clk_hw

10 static u8 clk_composite_get_parent(struct clk_hw *hw)  in clk_composite_get_parent()
14 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_get_parent()
21 static int clk_composite_set_parent(struct clk_hw *hw, u8 index) in clk_composite_set_parent()
25 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_parent()
32 static unsigned long clk_composite_recalc_rate(struct clk_hw *hw, in clk_composite_recalc_rate()
37 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_recalc_rate()
44 static int clk_composite_determine_rate(struct clk_hw *hw, in clk_composite_determine_rate()
50 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_determine_rate()
51 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_determine_rate()
52 struct clk_hw *parent; in clk_composite_determine_rate()
118 static long clk_composite_round_rate(struct clk_hw *hw, unsigned long rate, in clk_composite_round_rate()
123 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_round_rate()
130 static int clk_composite_set_rate(struct clk_hw *hw, unsigned long rate, in clk_composite_set_rate()
135 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate()
142 static int clk_composite_set_rate_and_parent(struct clk_hw *hw, in clk_composite_set_rate_and_parent()
150 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate_and_parent()
151 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_rate_and_parent()
169 static int clk_composite_is_enabled(struct clk_hw *hw) in clk_composite_is_enabled()
173 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_is_enabled()
180 static int clk_composite_enable(struct clk_hw *hw) in clk_composite_enable()
184 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_enable()
191 static void clk_composite_disable(struct clk_hw *hw) in clk_composite_disable()
195 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_disable()
202 struct clk_hw *clk_hw_register_composite(struct device *dev, const char *name, in clk_hw_register_composite()
204 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_hw_register_composite()
205 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_hw_register_composite()
206 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_hw_register_composite()
209 struct clk_hw *hw; in clk_hw_register_composite()
317 struct clk_hw *mux_hw, const struct clk_ops *mux_ops, in clk_register_composite()
318 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, in clk_register_composite()
319 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_register_composite()
322 struct clk_hw *hw; in clk_register_composite()
335 struct clk_hw *hw; in clk_unregister_composite()