/kernel/linux/linux-5.10/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 | 125 min_mult = max(div64_ul(req->min_rate * 32ULL, prate), 1ULL); in cpg_z_clk_determine_rate() 126 max_mult = min(div64_ul(req->max_rate * 32ULL, prate), 32ULL); in cpg_z_clk_determine_rate() 130 mult = div64_ul(req->rate * 32ULL, prate); in cpg_z_clk_determine_rate()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | selftest_timeline.c | 285 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 286 prng32_1M = div64_ul(ktime_to_ns(kt) << 20, count); in bench_sync() 302 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 320 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 336 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 350 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 374 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync() 403 (long long)div64_ul(ktime_to_ns(kt), count)); in bench_sync()
|
/kernel/linux/linux-5.10/include/linux/ |
D | math64.h | 12 #define div64_ul(x, y) div64_u64((x), (y)) macro 86 #define div64_ul(x, y) div_u64((x), (y)) macro
|
/kernel/linux/linux-5.10/drivers/pwm/ |
D | pwm-sifive.c | 93 scale_pow = div64_ul(ddata->approx_period * (u64)rate, NSEC_PER_SEC); in pwm_sifive_update_clock() 102 ddata->real_period = div64_ul(num, rate); in pwm_sifive_update_clock()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | bpf_cubic.c | 120 #define div64_ul div64_u64 macro 450 div64_ul((__u64)GSO_MAX_SIZE * 4 * USEC_PER_SEC, rate)); in hystart_ack_delay()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | sched_avg.c | 179 busy = div64_ul((util * 100), capacity); in sched_get_cpu_util()
|
D | debug.c | 999 avg_atom = div64_ul(avg_atom, nr_switches); in proc_sched_show_task()
|
D | fair.c | 8402 load = div64_ul(load * se->avg.load_avg, in update_cfs_rq_h_load() 8415 return div64_ul(p->se.avg.load_avg * cfs_rq->h_load, in task_h_load()
|
/kernel/linux/linux-5.10/drivers/memory/ |
D | jz4780-nemc.c | 151 return div64_ul(1000000000000ull, rate); in jz4780_nemc_clk_period()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
D | amd_energy.c | 140 *val = div64_ul(input * 1000000UL, BIT(data->energy_units)); in amd_add_delta()
|
/kernel/linux/linux-5.10/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() 769 wb_thresh = div64_ul(wb_thresh, denominator); in __wb_calc_thresh() 1094 bw = div64_ul(bw, elapsed); in wb_update_write_bandwidth()
|
D | compaction.c | 1900 return div64_ul(score, zone->zone_pgdat->node_present_pages + 1); in fragmentation_score_zone()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | tcp_cubic.c | 390 div64_ul((u64)GSO_MAX_SIZE * 4 * USEC_PER_SEC, rate)); in hystart_ack_delay()
|
D | tcp_output.c | 1211 u64 len_ns = div64_ul((u64)skb->len * NSEC_PER_SEC, rate); in tcp_update_skb_after_send()
|
/kernel/linux/linux-5.10/drivers/pci/ |
D | setup-bus.c | 1997 io_per_hp = div64_ul(resource_size(&io), hotplug_bridges); in pci_bus_distribute_available_resources() 1998 mmio_per_hp = div64_ul(resource_size(&mmio), hotplug_bridges); in pci_bus_distribute_available_resources() 1999 mmio_pref_per_hp = div64_ul(resource_size(&mmio_pref), in pci_bus_distribute_available_resources()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ras.c | 998 unsigned int start = div64_ul(ppos + element_size - 1, element_size); in amdgpu_ras_sysfs_badpages_read() 999 unsigned int end = div64_ul(ppos + count - 1, element_size); in amdgpu_ras_sysfs_badpages_read()
|
/kernel/linux/linux-5.10/drivers/char/ |
D | hpet.c | 570 return div64_ul(m, dis); in hpet_time_div()
|
/kernel/linux/linux-5.10/block/ |
D | bfq-wf2q.c | 280 return div64_ul((u64)service << WFQ_SERVICE_SHIFT, weight); in bfq_delta()
|
D | bfq-iosched.c | 3101 rate = div64_ul(bfqd->tot_sectors_dispatched<<BFQ_RATE_SHIFT, in bfq_update_rate_reset() 5232 ttime->ttime_mean = div64_ul(ttime->ttime_total + 128, in bfq_update_io_thinktime()
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | max2175.c | 594 frac_desired = div64_ul((u64)(lo_freq % ctx->xtal_freq) << 20, in max2175_set_lo_freq()
|
/kernel/linux/linux-5.10/net/sched/ |
D | sch_fq.c | 624 len = div64_ul(len, rate); in fq_dequeue()
|
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
D | cpr.c | 1046 temp = div64_ul(temp, f_high - f_low); in cpr_interpolate()
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | ftrace.c | 523 avg = div64_ul(rec->time, rec->counter); in function_stat_show() 549 stddev = div64_ul(stddev, in function_stat_show()
|
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.c | 749 period = div64_ul(11 * div_10M[np->clock_divn - 1], 4 * np->clock_khz);
|