Lines Matching refs:gate
19 #include "clk-gate.h"
222 struct clk_gate *gate = NULL;
253 gate = kzalloc(sizeof(*gate), GFP_KERNEL);
254 if (!gate) {
259 gate->reg = base + mc->gate_reg;
260 gate->bit_idx = mc->gate_shift;
261 gate->flags = CLK_GATE_SET_TO_DISABLE;
262 gate->lock = lock;
264 gate_hw = &gate->hw;
298 kfree(gate);
308 struct clk_gate *gate = NULL;
318 gate = to_clk_gate(composite->gate_hw);
324 kfree(gate);