Lines Matching refs:composite
26 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_get_parent() local
27 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_get_parent()
28 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_get_parent()
37 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_set_parent() local
38 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_set_parent()
39 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_set_parent()
49 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_recalc_rate() local
50 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_recalc_rate()
51 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_recalc_rate()
64 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_determine_rate() local
65 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_determine_rate()
66 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_determine_rate()
67 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_determine_rate()
68 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_determine_rate()
136 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_round_rate() local
137 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_round_rate()
138 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_round_rate()
148 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_set_rate() local
149 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_set_rate()
150 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_is_enabled() local
160 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_is_enabled()
161 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_is_enabled()
170 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_enable() local
171 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_enable()
172 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_enable()
181 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_disable() local
182 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_disable()
183 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_disable()
199 struct clk_composite *composite; in clk_register_composite() local
202 composite = kzalloc(sizeof(*composite), GFP_KERNEL); in clk_register_composite()
203 if (!composite) { in clk_register_composite()
213 clk_composite_ops = &composite->ops; in clk_register_composite()
221 composite->mux_hw = mux_hw; in clk_register_composite()
222 composite->mux_ops = mux_ops; in clk_register_composite()
254 composite->rate_hw = rate_hw; in clk_register_composite()
255 composite->rate_ops = rate_ops; in clk_register_composite()
265 composite->gate_hw = gate_hw; in clk_register_composite()
266 composite->gate_ops = gate_ops; in clk_register_composite()
273 composite->hw.init = &init; in clk_register_composite()
275 clk = clk_register(dev, &composite->hw); in clk_register_composite()
279 if (composite->mux_hw) in clk_register_composite()
280 composite->mux_hw->clk = clk; in clk_register_composite()
282 if (composite->rate_hw) in clk_register_composite()
283 composite->rate_hw->clk = clk; in clk_register_composite()
285 if (composite->gate_hw) in clk_register_composite()
286 composite->gate_hw->clk = clk; in clk_register_composite()
291 kfree(composite); in clk_register_composite()