Lines Matching refs:composite
24 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_get_parent() local
25 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_get_parent()
26 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_get_parent()
35 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_set_parent() local
36 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_set_parent()
37 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_parent()
47 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_recalc_rate() local
48 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_recalc_rate()
49 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_recalc_rate()
59 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_determine_rate() local
60 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_determine_rate()
61 const struct clk_ops *mux_ops = composite->mux_ops; 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()
133 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_round_rate() local
134 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_round_rate()
135 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_round_rate()
145 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_set_rate() local
146 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_set_rate()
147 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate()
159 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_set_rate_and_parent() local
160 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_set_rate_and_parent()
161 const struct clk_ops *mux_ops = composite->mux_ops; 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()
183 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_is_enabled() local
184 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_is_enabled()
185 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_is_enabled()
194 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_enable() local
195 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_enable()
196 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_enable()
205 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_disable() local
206 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_disable()
207 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_disable()
223 struct clk_composite *composite; in clk_hw_register_composite() local
227 composite = kzalloc(sizeof(*composite), GFP_KERNEL); in clk_hw_register_composite()
228 if (!composite) in clk_hw_register_composite()
235 hw = &composite->hw; in clk_hw_register_composite()
237 clk_composite_ops = &composite->ops; in clk_hw_register_composite()
245 composite->mux_hw = mux_hw; in clk_hw_register_composite()
246 composite->mux_ops = mux_ops; in clk_hw_register_composite()
278 composite->rate_hw = rate_hw; in clk_hw_register_composite()
279 composite->rate_ops = rate_ops; in clk_hw_register_composite()
295 composite->gate_hw = gate_hw; in clk_hw_register_composite()
296 composite->gate_ops = gate_ops; in clk_hw_register_composite()
303 composite->hw.init = &init; in clk_hw_register_composite()
311 if (composite->mux_hw) in clk_hw_register_composite()
312 composite->mux_hw->clk = hw->clk; in clk_hw_register_composite()
314 if (composite->rate_hw) in clk_hw_register_composite()
315 composite->rate_hw->clk = hw->clk; in clk_hw_register_composite()
317 if (composite->gate_hw) in clk_hw_register_composite()
318 composite->gate_hw->clk = hw->clk; in clk_hw_register_composite()
323 kfree(composite); in clk_hw_register_composite()
346 struct clk_composite *composite; in clk_unregister_composite() local
353 composite = to_clk_composite(hw); in clk_unregister_composite()
356 kfree(composite); in clk_unregister_composite()