/Linux-v6.6/drivers/clk/renesas/ |
D | rcar-gen2-cpg.c | 72 min_mult = max(div64_ul(req->min_rate * 32ULL, prate), 1ULL); in cpg_z_clk_determine_rate() 73 max_mult = min(div64_ul(req->max_rate * 32ULL, prate), 32ULL); in cpg_z_clk_determine_rate() 77 mult = div64_ul(req->rate * 32ULL, prate); in cpg_z_clk_determine_rate() 92 mult = div64_ul(rate * 32ULL, parent_rate); in cpg_z_clk_set_rate()
|
D | rcar-gen4-cpg.c | 88 min_mult = max(div64_ul(req->min_rate, prate), 1ULL); in cpg_pll_clk_determine_rate() 89 max_mult = min(div64_ul(req->max_rate, prate), 256ULL); in cpg_pll_clk_determine_rate() 228 min_mult = max(div64_ul(req->min_rate * 32ULL, prate), 1ULL); in cpg_z_clk_determine_rate() 229 max_mult = min(div64_ul(req->max_rate * 32ULL, prate), 32ULL); in cpg_z_clk_determine_rate()
|
D | rcar-gen3-cpg.c | 73 min_mult = max(div64_ul(req->min_rate, prate), 1ULL); in cpg_pll_clk_determine_rate() 74 max_mult = min(div64_ul(req->max_rate, prate), 128ULL); in cpg_pll_clk_determine_rate() 208 min_mult = max(div64_ul(req->min_rate * 32ULL, prate), 1ULL); in cpg_z_clk_determine_rate() 209 max_mult = min(div64_ul(req->max_rate * 32ULL, prate), 32ULL); in cpg_z_clk_determine_rate()
|
/Linux-v6.6/drivers/gpu/drm/i915/gt/ |
D | selftest_timeline.c | 317 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 318 prng32_1M = div64_ul(ktime_to_ns(kt) << 20, count); in bench_sync() 334 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 352 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 368 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 382 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 406 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 435 (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync()
|
/Linux-v6.6/scripts/coccinelle/misc/ |
D | do_div.cocci | 106 coccilib.org.print_todo(p[0], construct_warnings("div64_ul")) 134 coccilib.report.print_report(p[0], construct_warnings("div64_ul"))
|
/Linux-v6.6/drivers/clk/imx/ |
D | clk-pllv3.c | 251 temp64 = div64_ul(temp64, parent_rate); in clk_pllv3_av_round_rate() 281 temp64 = div64_ul(temp64, parent_rate); in clk_pllv3_av_set_rate() 338 temp64 = div64_ul(temp64, parent_rate); in clk_pllv3_vf610_rate_to_mf()
|
/Linux-v6.6/include/linux/ |
D | math64.h | 13 #define div64_ul(x, y) div64_u64((x), (y)) macro 87 #define div64_ul(x, y) div_u64((x), (y)) macro
|
/Linux-v6.6/drivers/pwm/ |
D | pwm-sifive.c | 95 scale_pow = div64_ul(ddata->approx_period * (u64)rate, NSEC_PER_SEC); in pwm_sifive_update_clock() 104 ddata->real_period = div64_ul(num, rate); in pwm_sifive_update_clock()
|
D | pwm-meson.c | 301 return div64_ul(NSEC_PER_SEC * (u64)cnt, fin_freq); in meson_pwm_cnt_to_ns()
|
/Linux-v6.6/kernel/dma/ |
D | map_benchmark.c | 82 map_100ns = div64_ul(map_delta, 100); in map_benchmark_thread() 83 unmap_100ns = div64_ul(unmap_delta, 100); in map_benchmark_thread()
|
/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | bpf_cubic.c | 120 #define div64_ul div64_u64 macro 444 div64_ul((__u64)GSO_MAX_SIZE * 4 * USEC_PER_SEC, rate)); in hystart_ack_delay()
|
/Linux-v6.6/drivers/watchdog/ |
D | davinci_wdt.c | 137 timer_counter = div64_ul(timer_counter, freq); in davinci_wdt_get_timeleft()
|
D | rzg2l_wdt.c | 96 return div64_ul(timer_cycle_us, cycle); in rzg2l_wdt_get_cycle_usec()
|
/Linux-v6.6/drivers/pci/ |
D | setup-bus.c | 1899 io_per_b = div64_ul(resource_size(&io), hotplug_bridges); in pci_bus_distribute_available_resources() 1900 mmio_per_b = div64_ul(resource_size(&mmio), hotplug_bridges); in pci_bus_distribute_available_resources() 1901 mmio_pref_per_b = div64_ul(resource_size(&mmio_pref), in pci_bus_distribute_available_resources() 1904 io_per_b = div64_ul(resource_size(&io), normal_bridges); in pci_bus_distribute_available_resources() 1905 mmio_per_b = div64_ul(resource_size(&mmio), normal_bridges); in pci_bus_distribute_available_resources() 1906 mmio_pref_per_b = div64_ul(resource_size(&mmio_pref), in pci_bus_distribute_available_resources()
|
/Linux-v6.6/net/ipv4/ |
D | inetpeer.c | 79 nr_entries = div64_ul((u64)totalram_pages() << PAGE_SHIFT, in inet_initpeers()
|
D | tcp_cubic.c | 383 div64_ul((u64)sk->sk_gso_max_size * 4 * USEC_PER_SEC, rate)); in hystart_ack_delay()
|
/Linux-v6.6/drivers/gpu/drm/msm/ |
D | msm_gpu_devfreq.c | 106 busy_time = div64_ul(busy_time, sample_rate); in msm_devfreq_get_dev_status()
|
/Linux-v6.6/drivers/memory/ |
D | jz4780-nemc.c | 150 return div64_ul(1000000000000ull, rate); in jz4780_nemc_clk_period()
|
/Linux-v6.6/mm/ |
D | page-writeback.c | 199 min = div64_ul(min, tot_bw); in wb_min_max_ratio() 203 max = div64_ul(max, tot_bw); in wb_min_max_ratio() 877 wb_thresh = div64_ul(wb_thresh, denominator); in __wb_calc_thresh() 1202 bw = div64_ul(bw, elapsed); in wb_update_write_bandwidth()
|
/Linux-v6.6/drivers/i2c/busses/ |
D | i2c-rzv2m.c | 146 hold_time_ns = div64_ul((u64)(priv->iicb0wl >> 2) * NSEC_PER_SEC, pclk_hz); in rzv2m_i2c_clock_calculate()
|
/Linux-v6.6/drivers/char/ |
D | hpet.c | 555 return div64_ul(m, dis); in hpet_time_div()
|
/Linux-v6.6/block/ |
D | bfq-wf2q.c | 288 return div64_ul((u64)service << WFQ_SERVICE_SHIFT, weight); in bfq_delta()
|
/Linux-v6.6/kernel/sched/ |
D | debug.c | 1045 avg_atom = div64_ul(avg_atom, nr_switches); in proc_sched_show_task()
|
/Linux-v6.6/net/sched/ |
D | sch_fq.c | 624 len = div64_ul(len, rate); in fq_dequeue()
|
/Linux-v6.6/drivers/media/i2c/ |
D | max2175.c | 594 frac_desired = div64_ul((u64)(lo_freq % ctx->xtal_freq) << 20, in max2175_set_lo_freq()
|