Lines Matching refs:gate
13 * struct clk_gate_exclusive - i.MX specific gate clock which is mutually
14 * exclusive with other gate clocks
16 * @gate: the parent class
17 * @exclusive_mask: mask of gate bits which are mutually exclusive to this
18 * gate clock
20 * The imx exclusive gate clock is a subclass of basic clk_gate
21 * with an additional mask to indicate which other gate bits in the same
22 * register is mutually exclusive to this gate clock.
25 struct clk_gate gate;
31 struct clk_gate *gate = to_clk_gate(hw);
32 struct clk_gate_exclusive *exgate = container_of(gate,
33 struct clk_gate_exclusive, gate);
34 u32 val = readl(gate->reg);
62 struct clk_gate *gate;
73 gate = &exgate->gate;
81 gate->reg = reg;
82 gate->bit_idx = shift;
83 gate->lock = &imx_ccm_lock;
84 gate->hw.init = &init;
87 hw = &gate->hw;
91 kfree(gate);