Home
last modified time | relevance | path

Searched refs:rgate (Results 1 – 2 of 2) sorted by relevance

/drivers/clk/
Dclk-stm32h7.c163 struct stm32_ready_gate *rgate = to_ready_gate_clk(gate); in ready_gate_clk_enable() local
178 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() local
201 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() local
225 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 …]
Dclk-stm32f4.c918 struct stm32_rgate *rgate = to_rgclk(gate); in rgclk_enable() local
930 bit_status = !(readl(gate->reg) & BIT(rgate->bit_rdy_idx)); in rgclk_enable()
962 struct stm32_rgate *rgate; in clk_register_rgate() local
967 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 …]