Lines Matching defs:gate
45 * select the appropriate source and gate/ungate the output to the PHY.
57 struct clk_gate *gate;
65 /* allocate mux and gate clock structs */
70 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL);
71 if (!gate)
82 /* set up gate and fixed rate properties */
83 gate->reg = reg;
84 gate->bit_idx = SUN7I_A20_GMAC_GPIT;
85 gate->lock = &gmac_lock;
95 &gate->hw, &clk_gate_ops,
108 kfree(gate);