Lines Matching refs:rgate
163 struct stm32_ready_gate *rgate = to_ready_gate_clk(gate);
178 bit_status = !(readl(gate->reg) & BIT(rgate->bit_rdy));
191 struct stm32_ready_gate *rgate = to_ready_gate_clk(gate);
201 bit_status = !!(readl(gate->reg) & BIT(rgate->bit_rdy));
220 struct stm32_ready_gate *rgate;
225 rgate = kzalloc(sizeof(*rgate), GFP_KERNEL);
226 if (!rgate)
235 rgate->bit_rdy = bit_rdy;
236 rgate->gate.lock = lock;
237 rgate->gate.reg = reg;
238 rgate->gate.bit_idx = bit_idx;
239 rgate->gate.hw.init = &init;
241 hw = &rgate->gate.hw;
244 kfree(rgate);
690 struct stm32_ready_gate rgate;
699 struct clk_hw *_hw = &clk_elem->rgate.gate.hw;
709 struct clk_hw *_hw = &clk_elem->rgate.gate.hw;
719 struct clk_hw *_hw = &clk_elem->rgate.gate.hw;
794 struct stm32_ready_gate *rgate;
808 rgate = &pll->rgate;
810 rgate->bit_rdy = cfg->bit_idx + 1;
811 rgate->gate.lock = lock;
812 rgate->gate.reg = base + RCC_CR;
813 rgate->gate.bit_idx = cfg->bit_idx;