Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/clk/nxp/
Dclk-lpc32xx.c588 int p_i, n_i; in clk_hclk_pll_round_rate() local
596 for (p_i = 4; p_i >= 0; p_i--) { in clk_hclk_pll_round_rate()
598 m_i = div64_u64(o * n_i * (1 << p_i), i); 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()
611 p = p_i; in clk_hclk_pll_round_rate()
612 d = o * n_i * (1 << p_i) - i * m_i; in clk_hclk_pll_round_rate()
/linux-6.12.1/drivers/clk/tegra/
Dclk-bpmp.c610 unsigned int p_i = tegra_bpmp_clk_id_to_index(infos, count, in tegra_bpmp_register_clocks_one() local
612 if (p_i < count) in tegra_bpmp_register_clocks_one()
613 tegra_bpmp_register_clocks_one(bpmp, infos, p_i, count); in tegra_bpmp_register_clocks_one()