| /OK3568_Linux_fs/kernel/drivers/clk/microchip/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/rockchip/ |
| H A D | clk-pll.c | 491 u64 rate64 = 24000000; in rockchip_rk3036_pll_con_to_rate() local 502 rate64 *= fbdiv; in rockchip_rk3036_pll_con_to_rate() 503 do_div(rate64, refdiv); in rockchip_rk3036_pll_con_to_rate() 504 do_div(rate64, postdiv1); in rockchip_rk3036_pll_con_to_rate() 505 do_div(rate64, postdiv2); in rockchip_rk3036_pll_con_to_rate() 507 return (unsigned long)rate64; in rockchip_rk3036_pll_con_to_rate() 539 u64 rate64 = prate, frac_rate64 = prate; in rockchip_rk3036_pll_recalc_rate() local 546 rate64 *= cur.fbdiv; in rockchip_rk3036_pll_recalc_rate() 547 do_div(rate64, cur.refdiv); in rockchip_rk3036_pll_recalc_rate() 554 rate64 += frac_rate64 >> 24; in rockchip_rk3036_pll_recalc_rate() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/x86/ |
| H A 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()
|
| H A 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()
|
| /OK3568_Linux_fs/u-boot/drivers/clk/ |
| H A D | clk_pic32.c | 234 u64 rate64; in pic32_get_refclk() local 271 rate64 = parent_rate; in pic32_get_refclk() 272 rate64 <<= 8; in pic32_get_refclk() 273 do_div(rate64, rodiv); in pic32_get_refclk() 274 v = (u32)rate64; in pic32_get_refclk()
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A 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()
|
| H A D | tcp.c | 397 u64 rate64 = 0; in tcp_compute_delivery_rate() local 400 rate64 = (u64)rate * tp->mss_cache * USEC_PER_SEC; in tcp_compute_delivery_rate() 401 do_div(rate64, intv); in tcp_compute_delivery_rate() 403 return rate64; in tcp_compute_delivery_rate() 3463 u64 rate64; in tcp_get_info() local 3474 rate64 = (rate != ~0UL) ? rate : ~0ULL; in tcp_get_info() 3475 info->tcpi_pacing_rate = rate64; in tcp_get_info() 3478 rate64 = (rate != ~0UL) ? rate : ~0ULL; in tcp_get_info() 3479 info->tcpi_max_pacing_rate = rate64; in tcp_get_info() 3559 rate64 = tcp_compute_delivery_rate(tp); in tcp_get_info() [all …]
|
| /OK3568_Linux_fs/kernel/net/sched/ |
| H A 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()
|
| H A D | sch_tbf.c | 348 u64 rate64 = 0, prate64 = 0; in tbf_change() local 374 rate64 = nla_get_u64(tb[TCA_TBF_RATE64]); in tbf_change() 375 psched_ratecfg_precompute(&rate, &qopt->rate, rate64); in tbf_change()
|
| H A D | sch_htb.c | 1305 u64 rate64, ceil64; in htb_change_class() local 1448 rate64 = tb[TCA_HTB_RATE64] ? nla_get_u64(tb[TCA_HTB_RATE64]) : 0; in htb_change_class() 1452 psched_ratecfg_precompute(&cl->rate, &hopt->rate, rate64); in htb_change_class()
|
| H A D | sch_generic.c | 1380 u64 rate64) in psched_ratecfg_precompute() argument 1385 r->rate_bytes_ps = max_t(u64, conf->rate, rate64); in psched_ratecfg_precompute()
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | sch_generic.h | 1273 u64 rate64);
|