Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/clk/
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()
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.c780 int bit_status = 0; in pll_enable() local
797 bit_status = !(readl_relaxed(clk_elem->reg) & PLL_RDY); in pll_enable()
799 if (bit_status) in pll_enable()
802 } while (bit_status && --timeout); in pll_enable()
807 return bit_status; in pll_enable()