Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/nxp/
H A Dclk-lpc32xx.c586 u64 m_i, o = rate, i = *parent_rate, d = (u64)rate << 6; in clk_hclk_pll_round_rate() local
598 m_i = div64_u64(o * n_i * (1 << p_i), i); in clk_hclk_pll_round_rate()
601 if (!(m_i && m_i <= 256 in clk_hclk_pll_round_rate()
603 && pll_is_valid(i * m_i * (1 << p_i), n_i, in clk_hclk_pll_round_rate()
608 if (o * n_i * (1 << p_i) - i * m_i <= d) { in clk_hclk_pll_round_rate()
609 m = m_i; in clk_hclk_pll_round_rate()
612 d = o * n_i * (1 << p_i) - i * m_i; in clk_hclk_pll_round_rate()