Lines Matching refs:composite
12 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_get_parent() local
13 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_get_parent()
14 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_get_parent()
23 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_set_parent() local
24 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_set_parent()
25 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_parent()
35 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_recalc_rate() local
36 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_recalc_rate()
37 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_recalc_rate()
47 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_determine_rate() local
48 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_determine_rate()
49 const struct clk_ops *mux_ops = composite->mux_ops; 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()
121 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_round_rate() local
122 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_round_rate()
123 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_round_rate()
133 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_set_rate() local
134 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_set_rate()
135 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate()
147 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_set_rate_and_parent() local
148 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_set_rate_and_parent()
149 const struct clk_ops *mux_ops = composite->mux_ops; 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()
171 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_is_enabled() local
172 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_is_enabled()
173 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_is_enabled()
182 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_enable() local
183 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_enable()
184 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_enable()
193 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_disable() local
194 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_disable()
195 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_disable()
212 struct clk_composite *composite; in __clk_hw_register_composite() local
216 composite = kzalloc(sizeof(*composite), GFP_KERNEL); in __clk_hw_register_composite()
217 if (!composite) in __clk_hw_register_composite()
227 hw = &composite->hw; in __clk_hw_register_composite()
229 clk_composite_ops = &composite->ops; in __clk_hw_register_composite()
237 composite->mux_hw = mux_hw; in __clk_hw_register_composite()
238 composite->mux_ops = mux_ops; in __clk_hw_register_composite()
270 composite->rate_hw = rate_hw; in __clk_hw_register_composite()
271 composite->rate_ops = rate_ops; in __clk_hw_register_composite()
287 composite->gate_hw = gate_hw; in __clk_hw_register_composite()
288 composite->gate_ops = gate_ops; in __clk_hw_register_composite()
295 composite->hw.init = &init; in __clk_hw_register_composite()
303 if (composite->mux_hw) in __clk_hw_register_composite()
304 composite->mux_hw->clk = hw->clk; in __clk_hw_register_composite()
306 if (composite->rate_hw) in __clk_hw_register_composite()
307 composite->rate_hw->clk = hw->clk; in __clk_hw_register_composite()
309 if (composite->gate_hw) in __clk_hw_register_composite()
310 composite->gate_hw->clk = hw->clk; in __clk_hw_register_composite()
315 kfree(composite); in __clk_hw_register_composite()
385 struct clk_composite *composite; in clk_unregister_composite() local
392 composite = to_clk_composite(hw); in clk_unregister_composite()
395 kfree(composite); in clk_unregister_composite()
400 struct clk_composite *composite; in clk_hw_unregister_composite() local
402 composite = to_clk_composite(hw); in clk_hw_unregister_composite()
405 kfree(composite); in clk_hw_unregister_composite()