Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/nxp/
H A Dclk-lpc32xx.c588 int p_i, n_i; in clk_hclk_pll_round_rate() local
597 for (n_i = 4; n_i > 0; n_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()
608 if (o * n_i * (1 << p_i) - i * m_i <= d) { in clk_hclk_pll_round_rate()
610 n = n_i; in clk_hclk_pll_round_rate()
612 d = o * n_i * (1 << p_i) - i * m_i; in clk_hclk_pll_round_rate()
650 u64 d_i, n_i, m, o; in clk_usb_pll_round_rate() local
676 for (n_i = 1; n_i <= 4; n_i++) { in clk_usb_pll_round_rate()
677 m = div64_u64(192000000 * d_i * n_i, o); in clk_usb_pll_round_rate()
679 && m * o == 192000000 * d_i * n_i in clk_usb_pll_round_rate()
[all …]
/openbmc/linux/net/sched/
H A Dact_api.c537 nest = nla_nest_start_noflag(skb, n_i); in tcf_dump_walker()
551 n_i++; in tcf_dump_walker()
553 n_i >= TCA_ACT_MAX_PRIO) in tcf_dump_walker()
561 if (n_i) { in tcf_dump_walker()
563 cb->args[1] = n_i; in tcf_dump_walker()
565 return n_i; in tcf_dump_walker()
591 int n_i = 0; in tcf_del_walker() local
614 n_i++; in tcf_del_walker()
618 if (n_i) in tcf_del_walker()
624 ret = nla_put_u32(skb, TCA_FCNT, n_i); in tcf_del_walker()
[all …]