Lines Matching refs:gate_hw
161 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_is_enabled() local
163 __clk_hw_set_clk(gate_hw, hw); in clk_composite_is_enabled()
165 return gate_ops->is_enabled(gate_hw); in clk_composite_is_enabled()
172 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_enable() local
174 __clk_hw_set_clk(gate_hw, hw); in clk_composite_enable()
176 return gate_ops->enable(gate_hw); in clk_composite_enable()
183 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_disable() local
185 __clk_hw_set_clk(gate_hw, hw); in clk_composite_disable()
187 gate_ops->disable(gate_hw); in clk_composite_disable()
194 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_register_composite() argument
258 if (gate_hw && gate_ops) { in clk_register_composite()
265 composite->gate_hw = gate_hw; in clk_register_composite()
285 if (composite->gate_hw) in clk_register_composite()
286 composite->gate_hw->clk = clk; in clk_register_composite()