Searched refs:rgate (Results 1 – 2 of 2) sorted by relevance
163 struct stm32_ready_gate *rgate = to_ready_gate_clk(gate); in ready_gate_clk_enable() local178 bit_status = !(readl(gate->reg) & BIT(rgate->bit_rdy)); in ready_gate_clk_enable()191 struct stm32_ready_gate *rgate = to_ready_gate_clk(gate); in ready_gate_clk_disable() local201 bit_status = !!(readl(gate->reg) & BIT(rgate->bit_rdy)); in ready_gate_clk_disable()220 struct stm32_ready_gate *rgate; in clk_register_ready_gate() local225 rgate = kzalloc(sizeof(*rgate), GFP_KERNEL); in clk_register_ready_gate()226 if (!rgate) in clk_register_ready_gate()235 rgate->bit_rdy = bit_rdy; in clk_register_ready_gate()236 rgate->gate.lock = lock; in clk_register_ready_gate()237 rgate->gate.reg = reg; in clk_register_ready_gate()[all …]
918 struct stm32_rgate *rgate = to_rgclk(gate); in rgclk_enable() local930 bit_status = !(readl(gate->reg) & BIT(rgate->bit_rdy_idx)); in rgclk_enable()962 struct stm32_rgate *rgate; in clk_register_rgate() local967 rgate = kzalloc(sizeof(*rgate), GFP_KERNEL); in clk_register_rgate()968 if (!rgate) in clk_register_rgate()977 rgate->bit_rdy_idx = bit_rdy_idx; in clk_register_rgate()979 rgate->gate.lock = lock; in clk_register_rgate()980 rgate->gate.reg = reg; in clk_register_rgate()981 rgate->gate.bit_idx = bit_idx; in clk_register_rgate()982 rgate->gate.hw.init = &init; in clk_register_rgate()[all …]