Lines Matching refs:gate
21 struct clk_gate *gate;
28 /* allocate fixed-rate and gate clock structs */
32 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL);
33 if (!gate)
38 /* set up gate and fixed rate properties */
39 gate->reg = of_iomap(node, 0);
40 gate->bit_idx = SUNXI_OSC24M_GATE;
41 gate->lock = &hosc_lock;
48 &gate->hw, &clk_gate_ops, 0);
58 kfree(gate);