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()
61 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_determine_rate() local
62 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_determine_rate()
63 const struct clk_ops *mux_ops = composite->mux_ops; in clk_composite_determine_rate()
64 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_determine_rate()
65 struct clk_hw *mux_hw = composite->mux_hw; in clk_composite_determine_rate()
135 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_round_rate() local
136 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_round_rate()
137 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_round_rate()
147 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_set_rate() local
148 const struct clk_ops *rate_ops = composite->rate_ops; in clk_composite_set_rate()
149 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_set_rate()
158 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_is_enabled() local
159 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_is_enabled()
160 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_is_enabled()
169 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_enable() local
170 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_enable()
171 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_enable()
180 struct clk_composite *composite = to_clk_composite(hw); in clk_composite_disable() local
181 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_disable()
182 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_disable()
198 struct clk_composite *composite; in clk_register_composite() local
201 composite = kzalloc(sizeof(*composite), GFP_KERNEL); in clk_register_composite()
202 if (!composite) in clk_register_composite()
210 clk_composite_ops = &composite->ops; in clk_register_composite()
218 composite->mux_hw = mux_hw; in clk_register_composite()
219 composite->mux_ops = mux_ops; in clk_register_composite()
251 composite->rate_hw = rate_hw; in clk_register_composite()
252 composite->rate_ops = rate_ops; in clk_register_composite()
262 composite->gate_hw = gate_hw; in clk_register_composite()
263 composite->gate_ops = gate_ops; in clk_register_composite()
270 composite->hw.init = &init; in clk_register_composite()
272 clk = clk_register(dev, &composite->hw); in clk_register_composite()
276 if (composite->mux_hw) in clk_register_composite()
277 composite->mux_hw->clk = clk; in clk_register_composite()
279 if (composite->rate_hw) in clk_register_composite()
280 composite->rate_hw->clk = clk; in clk_register_composite()
282 if (composite->gate_hw) in clk_register_composite()
283 composite->gate_hw->clk = clk; in clk_register_composite()
288 kfree(composite); in clk_register_composite()