Home
last modified time | relevance | path

Searched refs:div64_u64_rem (Results 1 – 19 of 19) sorted by relevance

/Linux-v4.19/lib/
Ddiv64.c101 #ifndef div64_u64_rem
102 u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem() function
127 EXPORT_SYMBOL(div64_u64_rem);
/Linux-v4.19/include/linux/
Dmath64.h52 static inline u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem() function
99 #ifndef div64_u64_rem
100 extern u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder);
Ddevice-mapper.h572 (x) = div64_u64_rem(x, y, &_res); \
/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Di915_gem_object.c165 y = div64_u64_rem(v, tile->stride, &x); in tiled_offset()
166 v = div64_u64_rem(y, tile->height, &y) * tile->stride * tile->height; in tiled_offset()
170 v += div64_u64_rem(x, tile->width, &x) << tile->size; in tiled_offset()
177 v += div64_u64_rem(x, ytile_span, &x) * ytile_height; in tiled_offset()
184 v += div64_u64_rem(x, ytile_span, &x) * ytile_height; in tiled_offset()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/
Dbw_fixed.h129 div64_u64_rem(arg1.value, arg2.value, &res.value); in bw_mod()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/calcs/
Dbw_fixed.c73 res_value = div64_u64_rem(arg1_value, arg2_value, &remainder); in bw_frc_to_fixed()
/Linux-v4.19/include/drm/
Ddrm_fixed.h159 u64 res_abs = div64_u64_rem(a_abs, b_abs, &rem); in drm_fixp_from_fraction()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c52 result = div64_u64_rem(dividend, divisor, remainder); in complete_integer_division_u64()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_mm.c534 div64_u64_rem(adj_start, alignment, &rem); in drm_mm_insert_node_in_range()
780 div64_u64_rem(adj_start, scan->alignment, &rem); in drm_mm_scan_add_block()
/Linux-v4.19/Documentation/core-api/
Dkernel-api.rst151 :functions: div_s64_rem div64_u64_rem div64_u64 div64_s64
/Linux-v4.19/kernel/bpf/
Dcore.c1048 div64_u64_rem(DST, SRC, &tmp); in ___bpf_prog_run()
1056 div64_u64_rem(DST, IMM, &tmp); in ___bpf_prog_run()
/Linux-v4.19/fs/xfs/
Dxfs_rtalloc.c1262 div64_u64_rem(b, mp->m_sb.sb_rextents, &b); in xfs_rtpick_extent()
/Linux-v4.19/drivers/gpu/drm/selftests/
Dtest-drm_mm.c163 div64_u64_rem(node->start, alignment, &rem); in misalignment()
2060 div64_u64_rem(node->start, node->size, &rem); in igt_color()
/Linux-v4.19/arch/x86/kvm/
Dhyperv.c501 div64_u64_rem(time_now - stimer->exp_time, in stimer_start()
/Linux-v4.19/kernel/time/
Dtimekeeping.c998 tmp = div64_u64_rem(*base, div, &rem); in scale64_check_overflow()
/Linux-v4.19/drivers/media/platform/vivid/
Dvivid-ctrls.c1032 div64_u64_rem(ktime_get_ns(), in vivid_streaming_s_ctrl()
/Linux-v4.19/fs/btrfs/
Dscrub.c2358 start = div64_u64_rem(start, sparity->stripe_len, &offset); in __scrub_mark_bitmap()
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gem_gtt.c3969 div64_u64_rem(addr, range, &addr); in random_offset()
/Linux-v4.19/net/core/
Ddevlink.c2420 div64_u64_rem(size, resource->size_params.size_granularity, &reminder); in devlink_resource_validate_size()