Lines Matching refs:gate_hw
160 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_is_enabled() local
162 __clk_hw_set_clk(gate_hw, hw); in clk_composite_is_enabled()
164 return gate_ops->is_enabled(gate_hw); in clk_composite_is_enabled()
171 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_enable() local
173 __clk_hw_set_clk(gate_hw, hw); in clk_composite_enable()
175 return gate_ops->enable(gate_hw); in clk_composite_enable()
182 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_disable() local
184 __clk_hw_set_clk(gate_hw, hw); in clk_composite_disable()
186 gate_ops->disable(gate_hw); in clk_composite_disable()
193 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_register_composite() argument
255 if (gate_hw && gate_ops) { in clk_register_composite()
262 composite->gate_hw = gate_hw; in clk_register_composite()
282 if (composite->gate_hw) in clk_register_composite()
283 composite->gate_hw->clk = clk; in clk_register_composite()