Lines Matching refs:gate
34 * select the appropriate source and gate/ungate the output to the PHY.
56 struct clk_gate *gate;
64 /* allocate mux and gate clock structs */
69 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL);
70 if (!gate)
81 /* set up gate and fixed rate properties */
82 gate->reg = reg;
83 gate->bit_idx = SUN7I_A20_GMAC_GPIT;
84 gate->lock = &gmac_lock;
94 &gate->hw, &clk_gate_ops,
107 kfree(gate);