Lines Matching defs:gate
36 struct zynqmp_clk_gate *gate = to_zynqmp_clk_gate(hw);
38 u32 clk_id = gate->clk_id;
56 struct zynqmp_clk_gate *gate = to_zynqmp_clk_gate(hw);
58 u32 clk_id = gate->clk_id;
76 struct zynqmp_clk_gate *gate = to_zynqmp_clk_gate(hw);
78 u32 clk_id = gate->clk_id;
98 * zynqmp_clk_register_gate() - Register a gate clock with the clock framework
105 * Return: clock hardware of the registered clock gate
112 struct zynqmp_clk_gate *gate;
117 /* allocate the gate */
118 gate = kzalloc(sizeof(*gate), GFP_KERNEL);
119 if (!gate)
131 gate->flags = nodes->type_flag;
132 gate->hw.init = &init;
133 gate->clk_id = clk_id;
135 hw = &gate->hw;
138 kfree(gate);