Home
last modified time | relevance | path

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

/linux/drivers/clk/rockchip/
A Dclk-pll.c168 u64 rate64 = prate; in rockchip_rk3036_pll_recalc_rate() local
172 rate64 *= cur.fbdiv; in rockchip_rk3036_pll_recalc_rate()
173 do_div(rate64, cur.refdiv); in rockchip_rk3036_pll_recalc_rate()
180 rate64 += frac_rate64 >> 24; in rockchip_rk3036_pll_recalc_rate()
183 do_div(rate64, cur.postdiv1); in rockchip_rk3036_pll_recalc_rate()
405 u64 rate64 = prate; in rockchip_rk3066_pll_recalc_rate() local
417 rate64 *= cur.nf; in rockchip_rk3066_pll_recalc_rate()
418 do_div(rate64, cur.nr); in rockchip_rk3066_pll_recalc_rate()
419 do_div(rate64, cur.no); in rockchip_rk3066_pll_recalc_rate()
650 u64 rate64 = prate; in rockchip_rk3399_pll_recalc_rate() local
[all …]
/linux/drivers/clk/microchip/
A Dclk-core.c297 u64 rate64; in roclk_calc_rate() local
306 rate64 = parent_rate; in roclk_calc_rate()
307 rate64 <<= 8; in roclk_calc_rate()
314 return rate64; in roclk_calc_rate()
606 u64 rate64; in spll_calc_mult_div() local
613 rate64 *= mul; in spll_calc_mult_div()
615 new_rate = rate64; in spll_calc_mult_div()
650 u64 rate64; in spll_clk_recalc_rate() local
662 rate64 *= mult; in spll_clk_recalc_rate()
663 do_div(rate64, div); in spll_clk_recalc_rate()
[all …]
/linux/drivers/clk/x86/
A Dclk-cgu-pll.c27 u64 crate, frate, rate64; in lgm_pll_calc_rate() local
29 rate64 = prate; in lgm_pll_calc_rate()
30 crate = rate64 * mult; in lgm_pll_calc_rate()
31 frate = rate64 * frac; in lgm_pll_calc_rate()
A Dclk-cgu.c537 u64 rate64; in lgm_clk_ddiv_round_rate() local
556 rate64 = *prate; in lgm_clk_ddiv_round_rate()
557 do_div(rate64, ddiv1); in lgm_clk_ddiv_round_rate()
558 do_div(rate64, ddiv2); in lgm_clk_ddiv_round_rate()
563 rate64 = rate64 * 2; in lgm_clk_ddiv_round_rate()
564 rate64 = DIV_ROUND_CLOSEST_ULL(rate64, 5); in lgm_clk_ddiv_round_rate()
568 return rate64; in lgm_clk_ddiv_round_rate()
/linux/net/ipv4/
A Dtcp_nv.c245 u64 rate64; in tcpnv_acked() local
287 rate64 = ((u64)sample->in_flight) * 80000; in tcpnv_acked()
288 do_div(rate64, avg_rtt ?: 1); in tcpnv_acked()
289 rate = (u32)rate64; in tcpnv_acked()
A Dtcp.c396 u64 rate64 = 0; in tcp_compute_delivery_rate() local
400 do_div(rate64, intv); in tcp_compute_delivery_rate()
402 return rate64; in tcp_compute_delivery_rate()
3687 u64 rate64; in tcp_get_info() local
3698 rate64 = (rate != ~0UL) ? rate : ~0ULL; in tcp_get_info()
3699 info->tcpi_pacing_rate = rate64; in tcp_get_info()
3702 rate64 = (rate != ~0UL) ? rate : ~0ULL; in tcp_get_info()
3703 info->tcpi_max_pacing_rate = rate64; in tcp_get_info()
3784 if (rate64) in tcp_get_info()
3785 info->tcpi_delivery_rate = rate64; in tcp_get_info()
[all …]
/linux/net/sched/
A Dact_police.c65 u64 rate64, prate64; in tcf_police_init() local
179 rate64 = tb[TCA_POLICE_RATE64] ? in tcf_police_init()
181 psched_ratecfg_precompute(&new->rate, &R_tab->rate, rate64); in tcf_police_init()
A Dsch_tbf.c363 u64 rate64 = 0, prate64 = 0; in tbf_change() local
389 rate64 = nla_get_u64(tb[TCA_TBF_RATE64]); in tbf_change()
390 psched_ratecfg_precompute(&rate, &qopt->rate, rate64); in tbf_change()
A Dsch_htb.c1791 u64 rate64, ceil64; in htb_change_class() local
1822 rate64 = tb[TCA_HTB_RATE64] ? nla_get_u64(tb[TCA_HTB_RATE64]) : 0; in htb_change_class()
1904 .rate = max_t(u64, hopt->rate.rate, rate64), in htb_change_class()
1924 .rate = max_t(u64, hopt->rate.rate, rate64), in htb_change_class()
2009 .rate = max_t(u64, hopt->rate.rate, rate64), in htb_change_class()
2027 psched_ratecfg_precompute(&cl->rate, &hopt->rate, rate64); in htb_change_class()
A Dsch_generic.c1473 u64 rate64) in psched_ratecfg_precompute() argument
1477 r->rate_bytes_ps = max_t(u64, conf->rate, rate64); in psched_ratecfg_precompute()
/linux/include/net/
A Dsch_generic.h1264 u64 rate64);

Completed in 65 milliseconds