Home
last modified time | relevance | path

Searched refs:div64_ul (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.1.9/drivers/clk/renesas/ !
Drcar-gen2-cpg.c72 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()
Drcar-gen3-cpg.c73 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()
Drcar-gen4-cpg.c81 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/ !
Dselftest_timeline.c317 __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/ !
Ddo_div.cocci106 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/ !
Dclk-pllv3.c250 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/ !
Dmath64.h13 #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/ !
Dpwm-sifive.c94 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/ !
Dmap_benchmark.c82 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/ !
Dbpf_cubic.c120 #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/ !
Dinetpeer.c79 nr_entries = div64_ul((u64)totalram_pages() << PAGE_SHIFT, in inet_initpeers()
Dtcp_cubic.c383 div64_ul((u64)sk->sk_gso_max_size * 4 * USEC_PER_SEC, rate)); in hystart_ack_delay()
/linux-6.1.9/drivers/watchdog/ !
Ddavinci_wdt.c137 timer_counter = div64_ul(timer_counter, freq); in davinci_wdt_get_timeleft()
Drzg2l_wdt.c69 return div64_ul(timer_cycle_us, cycle); in rzg2l_wdt_get_cycle_usec()
/linux-6.1.9/drivers/memory/ !
Djz4780-nemc.c151 return div64_ul(1000000000000ull, rate); in jz4780_nemc_clk_period()
/linux-6.1.9/drivers/gpu/drm/msm/ !
Dmsm_gpu_devfreq.c85 busy_time = div64_ul(busy_time, sample_rate); in get_raw_dev_status()
/linux-6.1.9/mm/ !
Dpage-writeback.c198 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/ !
Di2c-rzv2m.c139 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/ !
Dsetup-bus.c1884 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/ !
Dhpet.c555 return div64_ul(m, dis); in hpet_time_div()
/linux-6.1.9/block/ !
Dbfq-wf2q.c262 return div64_ul((u64)service << WFQ_SERVICE_SHIFT, weight); in bfq_delta()
/linux-6.1.9/kernel/sched/ !
Ddebug.c1002 avg_atom = div64_ul(avg_atom, nr_switches); in proc_sched_show_task()
/linux-6.1.9/drivers/net/dsa/ !
Drzn1_a5psw.c282 max = div64_ul(((u64)A5PSW_LK_AGETIME_MASK * A5PSW_TABLE_ENTRIES * 1024), in a5psw_set_ageing_time()
/linux-6.1.9/drivers/media/i2c/ !
Dmax2175.c594 frac_desired = div64_ul((u64)(lo_freq % ctx->xtal_freq) << 20, in max2175_set_lo_freq()
/linux-6.1.9/net/sched/ !
Dsch_fq.c624 len = div64_ul(len, rate); in fq_dequeue()

12