Lines Matching defs:gate
243 struct clk_gate *gate;
248 gate = kzalloc(sizeof(*gate), GFP_KERNEL);
249 if (!gate)
252 gate->reg = reg;
253 gate->bit_idx = DIV_ENABLE_SHIFT;
272 &gate->hw, &clk_gate_ops, flags);
283 kfree(gate);
578 struct clk_gate *gate;
592 gate = kzalloc(sizeof(*gate), GFP_KERNEL);
593 if (!gate) {
598 gate->reg = base + CKEN;
599 gate->bit_idx = CKEN_OBSCLK_SHIFT;
620 &gate->hw, &clk_gate_ops, 0);
632 kfree(gate);
682 struct clk_gate *gate;
695 gate = kzalloc(sizeof(*gate), GFP_KERNEL);
696 if (!gate)
699 gate->reg = base + reg;
700 gate->bit_idx = DIV_ENABLE_SHIFT;
727 &gate->hw, &clk_gate_ops, flags);
740 kfree(gate);