Lines Matching refs:rgate
918 struct stm32_rgate *rgate = to_rgclk(gate);
930 bit_status = !(readl(gate->reg) & BIT(rgate->bit_rdy_idx));
962 struct stm32_rgate *rgate;
967 rgate = kzalloc(sizeof(*rgate), GFP_KERNEL);
968 if (!rgate)
977 rgate->bit_rdy_idx = bit_rdy_idx;
979 rgate->gate.lock = lock;
980 rgate->gate.reg = reg;
981 rgate->gate.bit_idx = bit_idx;
982 rgate->gate.hw.init = &init;
984 hw = &rgate->gate.hw;
987 kfree(rgate);