Lines Matching refs:gate_hw
155 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_is_enabled() local
157 gate_hw->clk = hw->clk; in clk_composite_is_enabled()
159 return gate_ops->is_enabled(gate_hw); in clk_composite_is_enabled()
166 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_enable() local
168 gate_hw->clk = hw->clk; in clk_composite_enable()
170 return gate_ops->enable(gate_hw); in clk_composite_enable()
177 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_disable() local
179 gate_hw->clk = hw->clk; in clk_composite_disable()
181 gate_ops->disable(gate_hw); in clk_composite_disable()
188 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_register_composite() argument
252 if (gate_hw && gate_ops) { in clk_register_composite()
259 composite->gate_hw = gate_hw; in clk_register_composite()
279 if (composite->gate_hw) in clk_register_composite()
280 composite->gate_hw->clk = clk; in clk_register_composite()