Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/clk/nxp/
Dclk-lpc32xx.c593 int p_i, n_i; in clk_hclk_pll_round_rate() local
602 for (n_i = 4; n_i > 0; n_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()
607 && pll_is_valid(i, n_i, 1000000, 27000000) 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()
615 n = n_i; in clk_hclk_pll_round_rate()
617 d = o * n_i * (1 << p_i) - i * m_i; in clk_hclk_pll_round_rate()
655 u64 d_i, n_i, m, o; in clk_usb_pll_round_rate() local
681 for (n_i = 1; n_i <= 4; n_i++) { in clk_usb_pll_round_rate()
[all …]
/Linux-v4.19/net/sched/
Dact_api.c194 int err = 0, index = -1, s_i = 0, n_i = 0; in tcf_dump_walker() local
216 nest = nla_nest_start(skb, n_i); in tcf_dump_walker()
228 n_i++; in tcf_dump_walker()
230 n_i >= TCA_ACT_MAX_PRIO) in tcf_dump_walker()
238 if (n_i) { in tcf_dump_walker()
240 cb->args[1] = n_i; in tcf_dump_walker()
242 return n_i; in tcf_dump_walker()
253 int n_i = 0; in tcf_del_walker() local
269 n_i++; in tcf_del_walker()
274 if (nla_put_u32(skb, TCA_FCNT, n_i)) in tcf_del_walker()
[all …]