Searched refs:rate64 (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/drivers/clk/rockchip/ |
D | clk-pll.c | 168 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() 184 do_div(rate64, cur.postdiv2); in rockchip_rk3036_pll_recalc_rate() 186 return (unsigned long)rate64; 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() [all …]
|
/linux-6.12.1/drivers/clk/microchip/ |
D | clk-core.c | 297 u64 rate64; in roclk_calc_rate() local 306 rate64 = parent_rate; in roclk_calc_rate() 307 rate64 <<= 8; in roclk_calc_rate() 308 do_div(rate64, rodiv); in roclk_calc_rate() 310 rate64 = parent_rate / (rodiv << 1); in roclk_calc_rate() 312 rate64 = parent_rate; in roclk_calc_rate() 314 return rate64; in roclk_calc_rate() 606 u64 rate64; in spll_calc_mult_div() local 612 rate64 = parent_rate; in spll_calc_mult_div() 613 rate64 *= mul; in spll_calc_mult_div() [all …]
|
/linux-6.12.1/drivers/clk/x86/ |
D | clk-cgu-pll.c | 28 u64 crate, frate, rate64; in lgm_pll_calc_rate() local 30 rate64 = prate; in lgm_pll_calc_rate() 31 crate = rate64 * mult; in lgm_pll_calc_rate() 32 frate = rate64 * frac; in lgm_pll_calc_rate()
|
D | clk-cgu.c | 496 u64 rate64; in lgm_clk_ddiv_round_rate() local 513 rate64 = *prate; in lgm_clk_ddiv_round_rate() 514 do_div(rate64, ddiv1); in lgm_clk_ddiv_round_rate() 515 do_div(rate64, ddiv2); in lgm_clk_ddiv_round_rate() 519 rate64 = rate64 * 2; in lgm_clk_ddiv_round_rate() 520 rate64 = DIV_ROUND_CLOSEST_ULL(rate64, 5); in lgm_clk_ddiv_round_rate() 523 return rate64; in lgm_clk_ddiv_round_rate()
|
/linux-6.12.1/net/ipv4/ |
D | tcp_nv.c | 245 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()
|
D | tcp.c | 408 u64 rate64 = 0; in tcp_compute_delivery_rate() local 411 rate64 = (u64)rate * tp->mss_cache * USEC_PER_SEC; in tcp_compute_delivery_rate() 412 do_div(rate64, intv); in tcp_compute_delivery_rate() 414 return rate64; in tcp_compute_delivery_rate() 4061 u64 rate64; in tcp_get_info() local 4072 rate64 = (rate != ~0UL) ? rate : ~0ULL; in tcp_get_info() 4073 info->tcpi_pacing_rate = rate64; in tcp_get_info() 4076 rate64 = (rate != ~0UL) ? rate : ~0ULL; in tcp_get_info() 4077 info->tcpi_max_pacing_rate = rate64; in tcp_get_info() 4162 rate64 = tcp_compute_delivery_rate(tp); in tcp_get_info() [all …]
|
/linux-6.12.1/net/sched/ |
D | sch_tbf.c | 363 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()
|
D | act_police.c | 56 u64 rate64, prate64; in tcf_police_init() local 170 rate64 = tb[TCA_POLICE_RATE64] ? in tcf_police_init() 172 psched_ratecfg_precompute(&new->rate, &R_tab->rate, rate64); in tcf_police_init()
|
D | sch_htb.c | 1770 u64 rate64, ceil64; in htb_change_class() local 1813 rate64 = tb[TCA_HTB_RATE64] ? nla_get_u64(tb[TCA_HTB_RATE64]) : 0; in htb_change_class() 1895 .rate = max_t(u64, hopt->rate.rate, rate64), in htb_change_class() 1917 .rate = max_t(u64, hopt->rate.rate, rate64), in htb_change_class() 2000 .rate = max_t(u64, hopt->rate.rate, rate64), in htb_change_class() 2020 psched_ratecfg_precompute(&cl->rate, &hopt->rate, rate64); in htb_change_class()
|
D | sch_generic.c | 1549 u64 rate64) in psched_ratecfg_precompute() argument 1554 r->rate_bytes_ps = max_t(u64, conf->rate, rate64); in psched_ratecfg_precompute()
|
/linux-6.12.1/include/net/ |
D | sch_generic.h | 1282 u64 rate64);
|