Home
last modified time | relevance | path

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

/linux/drivers/clk/
H A Dclk-stm32f4.c609 int bit_status; in stm32f4_pll_enable() local
618 bit_status = !(readl(gate->reg) & BIT(pll->bit_rdy_idx)); in stm32f4_pll_enable()
620 } while (bit_status && --timeout); in stm32f4_pll_enable()
622 return bit_status; in stm32f4_pll_enable()
919 int bit_status; in rgclk_enable() local
930 bit_status = !(readl(gate->reg) & BIT(rgate->bit_rdy_idx)); in rgclk_enable()
931 if (bit_status) in rgclk_enable()
934 } while (bit_status && --timeout); in rgclk_enable()
938 return bit_status; in rgclk_enable()
H A 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()
/linux/drivers/clk/stm32/
H A Dclk-stm32mp1.c784 int bit_status = 0; in pll_enable() local
801 bit_status = !(readl_relaxed(clk_elem->reg) & PLL_RDY); in pll_enable()
803 if (bit_status) in pll_enable()
806 } while (bit_status && --timeout); in pll_enable()
811 return bit_status; in pll_enable()