/linux-6.1.9/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-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()
|
D | rcar-gen4-cpg.c | 81 min_mult = max(div64_ul(req->min_rate * 32ULL, prate), 1ULL); in cpg_z_clk_determine_rate() 82 max_mult = min(div64_ul(req->max_rate * 32ULL, prate), 32ULL); in cpg_z_clk_determine_rate()
|
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/clk/imx/ |
D | clk-pllv3.c | 250 temp64 = div64_ul(temp64, parent_rate); in clk_pllv3_av_round_rate() 280 temp64 = div64_ul(temp64, parent_rate); in clk_pllv3_av_set_rate() 337 temp64 = div64_ul(temp64, parent_rate); in clk_pllv3_vf610_rate_to_mf()
|
/linux-6.1.9/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-6.1.9/drivers/pwm/ |
D | pwm-sifive.c | 94 scale_pow = div64_ul(ddata->approx_period * (u64)rate, NSEC_PER_SEC); in pwm_sifive_update_clock() 103 ddata->real_period = div64_ul(num, rate); in pwm_sifive_update_clock()
|
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/watchdog/ |
D | davinci_wdt.c | 137 timer_counter = div64_ul(timer_counter, freq); in davinci_wdt_get_timeleft()
|
D | rzg2l_wdt.c | 69 return div64_ul(timer_cycle_us, cycle); in rzg2l_wdt_get_cycle_usec()
|
/linux-6.1.9/drivers/memory/ |
D | jz4780-nemc.c | 151 return div64_ul(1000000000000ull, rate); in jz4780_nemc_clk_period()
|
/linux-6.1.9/drivers/gpu/drm/msm/ |
D | msm_gpu_devfreq.c | 85 busy_time = div64_ul(busy_time, sample_rate); in get_raw_dev_status()
|
/linux-6.1.9/mm/ |
D | page-writeback.c | 198 min = div64_ul(min, tot_bw); in wb_min_max_ratio() 202 max = div64_ul(max, tot_bw); in wb_min_max_ratio() 765 wb_thresh = div64_ul(wb_thresh, denominator); in __wb_calc_thresh() 1090 bw = div64_ul(bw, elapsed); in wb_update_write_bandwidth()
|
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-rzv2m.c | 139 hold_time_ns = div64_ul((u64)(priv->iicb0wl >> 2) * NSEC_PER_SEC, pclk_hz); in rzv2m_i2c_clock_calculate()
|
/linux-6.1.9/drivers/pci/ |
D | setup-bus.c | 1884 io_per_hp = div64_ul(resource_size(&io), hotplug_bridges); in pci_bus_distribute_available_resources() 1885 mmio_per_hp = div64_ul(resource_size(&mmio), hotplug_bridges); in pci_bus_distribute_available_resources() 1886 mmio_pref_per_hp = div64_ul(resource_size(&mmio_pref), in pci_bus_distribute_available_resources()
|
/linux-6.1.9/drivers/char/ |
D | hpet.c | 555 return div64_ul(m, dis); in hpet_time_div()
|
/linux-6.1.9/block/ |
D | bfq-wf2q.c | 262 return div64_ul((u64)service << WFQ_SERVICE_SHIFT, weight); in bfq_delta()
|
/linux-6.1.9/kernel/sched/ |
D | debug.c | 1002 avg_atom = div64_ul(avg_atom, nr_switches); in proc_sched_show_task()
|
/linux-6.1.9/drivers/net/dsa/ |
D | rzn1_a5psw.c | 282 max = div64_ul(((u64)A5PSW_LK_AGETIME_MASK * A5PSW_TABLE_ENTRIES * 1024), in a5psw_set_ageing_time()
|
/linux-6.1.9/drivers/media/i2c/ |
D | max2175.c | 594 frac_desired = div64_ul((u64)(lo_freq % ctx->xtal_freq) << 20, in max2175_set_lo_freq()
|
/linux-6.1.9/net/sched/ |
D | sch_fq.c | 624 len = div64_ul(len, rate); in fq_dequeue()
|