Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/clk/nxp/
Dclk-lpc32xx.c593 int p_i, n_i; in clk_hclk_pll_round_rate() local
601 for (p_i = 4; p_i >= 0; p_i--) { in clk_hclk_pll_round_rate()
603 m_i = div64_u64(o * n_i * (1 << p_i), i); in clk_hclk_pll_round_rate()
608 && pll_is_valid(i * m_i * (1 << p_i), n_i, in clk_hclk_pll_round_rate()
613 if (o * n_i * (1 << p_i) - i * m_i <= d) { in clk_hclk_pll_round_rate()
616 p = p_i; in clk_hclk_pll_round_rate()
617 d = o * n_i * (1 << p_i) - i * m_i; in clk_hclk_pll_round_rate()