/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/clk/x86/ |
D | clk-cgu-pll.c | 27 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()
|
D | clk-cgu.c | 537 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()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | tcp_nv.c | 246 u64 rate64; in tcpnv_acked() local 288 rate64 = ((u64)sample->in_flight) * 80000; in tcpnv_acked() 289 do_div(rate64, avg_rtt ?: 1); in tcpnv_acked() 290 rate = (u32)rate64; in tcpnv_acked()
|
D | tcp.c | 395 u64 rate64 = 0; in tcp_compute_delivery_rate() local 398 rate64 = (u64)rate * tp->mss_cache * USEC_PER_SEC; in tcp_compute_delivery_rate() 399 do_div(rate64, intv); in tcp_compute_delivery_rate() 401 return rate64; in tcp_compute_delivery_rate() 3479 u64 rate64; in tcp_get_info() local 3490 rate64 = (rate != ~0UL) ? rate : ~0ULL; in tcp_get_info() 3491 info->tcpi_pacing_rate = rate64; in tcp_get_info() 3494 rate64 = (rate != ~0UL) ? rate : ~0ULL; in tcp_get_info() 3495 info->tcpi_max_pacing_rate = rate64; in tcp_get_info() 3575 rate64 = tcp_compute_delivery_rate(tp); in tcp_get_info() [all …]
|
/kernel/linux/linux-5.10/net/sched/ |
D | act_police.c | 63 u64 rate64, prate64; in tcf_police_init() local 161 rate64 = tb[TCA_POLICE_RATE64] ? in tcf_police_init() 163 psched_ratecfg_precompute(&new->rate, &R_tab->rate, rate64); in tcf_police_init()
|
D | sch_tbf.c | 349 u64 rate64 = 0, prate64 = 0; in tbf_change() local 375 rate64 = nla_get_u64(tb[TCA_TBF_RATE64]); in tbf_change() 376 psched_ratecfg_precompute(&rate, &qopt->rate, rate64); in tbf_change()
|
D | sch_htb.c | 1307 u64 rate64, ceil64; in htb_change_class() local 1450 rate64 = tb[TCA_HTB_RATE64] ? nla_get_u64(tb[TCA_HTB_RATE64]) : 0; in htb_change_class() 1454 psched_ratecfg_precompute(&cl->rate, &hopt->rate, rate64); in htb_change_class()
|
D | sch_generic.c | 1385 u64 rate64) in psched_ratecfg_precompute() argument 1390 r->rate_bytes_ps = max_t(u64, conf->rate, rate64); in psched_ratecfg_precompute()
|
/kernel/linux/linux-5.10/include/net/ |
D | sch_generic.h | 1285 u64 rate64);
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 1336 + u64 rate64 = 24000000; 1347 + rate64 *= fbdiv; 1348 + do_div(rate64, refdiv); 1349 + do_div(rate64, postdiv1); 1350 + do_div(rate64, postdiv2); 1352 + return (unsigned long)rate64; 1362 - u64 rate64 = prate; 1363 + u64 rate64 = prate, frac_rate64 = prate; 1378 rate64 += frac_rate64 >> 24; 1397 rate64 *= cur.nf; [all …]
|