Lines Matching refs:gate
28 struct clk_gate gate; member
34 struct clk_gate *gate = container_of(hw, struct clk_gate, hw); in clk_gate_exclusive_enable() local
35 struct clk_gate_exclusive *exgate = container_of(gate, in clk_gate_exclusive_enable()
36 struct clk_gate_exclusive, gate); in clk_gate_exclusive_enable()
37 u32 val = readl(gate->reg); in clk_gate_exclusive_enable()
65 struct clk_gate *gate; in imx_clk_gate_exclusive() local
75 gate = &exgate->gate; in imx_clk_gate_exclusive()
83 gate->reg = reg; in imx_clk_gate_exclusive()
84 gate->bit_idx = shift; in imx_clk_gate_exclusive()
85 gate->lock = &imx_ccm_lock; in imx_clk_gate_exclusive()
86 gate->hw.init = &init; in imx_clk_gate_exclusive()
89 clk = clk_register(NULL, &gate->hw); in imx_clk_gate_exclusive()