Home
last modified time | relevance | path

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

/linux-6.15/drivers/clk/
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()
H A Dclk-stm32f4.c638 int bit_status; in stm32f4_pll_enable() local
647 bit_status = !(readl(gate->reg) & BIT(pll->bit_rdy_idx)); in stm32f4_pll_enable()
649 } while (bit_status && --timeout); in stm32f4_pll_enable()
651 return bit_status; in stm32f4_pll_enable()
1058 int bit_status; in rgclk_enable() local
1069 bit_status = !(readl(gate->reg) & BIT(rgate->bit_rdy_idx)); in rgclk_enable()
1070 if (bit_status) in rgclk_enable()
1073 } while (bit_status && --timeout); in rgclk_enable()
1077 return bit_status; in rgclk_enable()
/linux-6.15/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()