Home
last modified time | relevance | path

Searched refs:bit_status (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/clk/
Dclk-stm32f4.c613 int bit_status; in stm32f4_pll_enable() local
622 bit_status = !(readl(gate->reg) & BIT(pll->bit_rdy_idx)); in stm32f4_pll_enable()
624 } while (bit_status && --timeout); in stm32f4_pll_enable()
626 return bit_status; in stm32f4_pll_enable()
923 int bit_status; in rgclk_enable() local
934 bit_status = !(readl(gate->reg) & BIT(rgate->bit_rdy_idx)); in rgclk_enable()
935 if (bit_status) in rgclk_enable()
938 } while (bit_status && --timeout); in rgclk_enable()
942 return bit_status; in rgclk_enable()
Dclk-stm32h7.c164 int bit_status; in ready_gate_clk_enable() local
178 bit_status = !(readl(gate->reg) & BIT(rgate->bit_rdy)); in ready_gate_clk_enable()
180 if (bit_status) in ready_gate_clk_enable()
183 } while (bit_status && --timeout); in ready_gate_clk_enable()
185 return bit_status; in ready_gate_clk_enable()
192 int bit_status; in ready_gate_clk_disable() local
201 bit_status = !!(readl(gate->reg) & BIT(rgate->bit_rdy)); in ready_gate_clk_disable()
203 if (bit_status) in ready_gate_clk_disable()
206 } while (bit_status && --timeout); in ready_gate_clk_disable()
Dclk-stm32mp1.c764 int bit_status = 0; in pll_enable() local
781 bit_status = !(readl_relaxed(clk_elem->reg) & PLL_RDY); in pll_enable()
783 if (bit_status) in pll_enable()
786 } while (bit_status && --timeout); in pll_enable()
791 return bit_status; in pll_enable()