/linux-6.6.21/lib/math/ |
D | div64.c | 97 #ifndef div64_u64_rem 98 u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem() function 123 EXPORT_SYMBOL(div64_u64_rem); 208 div = div64_u64_rem(b, c, &rem); in mul_u64_u64_div_u64()
|
/linux-6.6.21/include/linux/ |
D | math64.h | 54 static inline u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem() function 101 #ifndef div64_u64_rem 102 extern u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder);
|
D | device-mapper.h | 682 (x) = div64_u64_rem(x, y, &_res); \
|
/linux-6.6.21/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_client_blt.c | 368 y = div64_u64_rem(v, stride, &x); in tiled_offset() 376 v = div64_u64_rem(y, 8, &y) * stride * 8; in tiled_offset() 378 v += div64_u64_rem(x, 512, &x) << 12; in tiled_offset() 386 v = div64_u64_rem(y, 32, &y) * stride * 32; in tiled_offset() 388 v += div64_u64_rem(x, ytile_span, &x) * ytile_height; in tiled_offset()
|
D | i915_gem_mman.c | 51 y = div64_u64_rem(v, tile->stride, &x); in tiled_offset() 52 v = div64_u64_rem(y, tile->height, &y) * tile->stride * tile->height; in tiled_offset() 56 v += div64_u64_rem(x, tile->width, &x) << tile->size; in tiled_offset() 63 v += div64_u64_rem(x, ytile_span, &x) * ytile_height; in tiled_offset() 70 v += div64_u64_rem(x, ytile_span, &x) * ytile_height; in tiled_offset()
|
/linux-6.6.21/kernel/time/ |
D | timeconv.c | 108 century = div64_u64_rem(u64tmp, 146097, &u64tmp); in time64_to_tm()
|
/linux-6.6.21/drivers/gpu/drm/i915/selftests/ |
D | i915_random.c | 104 div64_u64_rem(addr, range, &addr); in igt_random_offset()
|
D | intel_memory_region.c | 280 div64_u64_rem(target, total, &target); in igt_mock_contiguous() 573 div64_u64_rem(i915_prandom_u64_state(&prng), SZ_8G, &total); in igt_mock_io_size() 577 div64_u64_rem(i915_prandom_u64_state(&prng), total - ps, &io_size); in igt_mock_io_size() 593 div64_u64_rem(i915_prandom_u64_state(&prng), rem, &size); in igt_mock_io_size() 632 div64_u64_rem(i915_prandom_u64_state(&prng), rem, &size); in igt_mock_io_size()
|
/linux-6.6.21/fs/xfs/libxfs/ |
D | xfs_btree_staging.c | 583 *blocks = div64_u64_rem(nr_this_level, desired_npb, &dontcare); in xfs_btree_bload_level_geometry() 594 npb = div64_u64_rem(nr_this_level, *blocks, blocks_with_extra); in xfs_btree_bload_level_geometry() 597 npb = div64_u64_rem(nr_this_level, *blocks, blocks_with_extra); in xfs_btree_bload_level_geometry()
|
/linux-6.6.21/drivers/media/test-drivers/vidtv/ |
D | vidtv_ts.c | 29 div = div64_u64_rem(pcr, 300, &rem); in vidtv_ts_write_pcr_bits()
|
D | vidtv_pes.c | 191 div = div64_u64_rem(pcr, 300, &rem); in vidtv_pes_write_pcr_bits()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/ |
D | bw_fixed.h | 129 div64_u64_rem(arg1.value, arg2.value, (uint64_t *)&res.value); in bw_mod()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | bw_fixed.c | 73 res_value = div64_u64_rem(arg1_value, arg2_value, &remainder); in bw_frc_to_fixed()
|
/linux-6.6.21/include/drm/ |
D | drm_fixed.h | 166 u64 res_abs = div64_u64_rem(a_abs, b_abs, &rem); in drm_fixp_from_fraction()
|
/linux-6.6.21/arch/parisc/net/ |
D | bpf_jit_core.c | 199 div64_u64_rem(div, divisor, &rem); in hppa_div64_rem()
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | i915_gem_gtt.c | 148 div64_u64_rem(addr, range, &addr); in random_offset()
|
/linux-6.6.21/net/ceph/ |
D | striper.c | 270 div64_u64_rem(size, period, &remainder_bytes); in ceph_get_num_objects()
|
/linux-6.6.21/drivers/iio/pressure/ |
D | dps310.c | 674 pressure -= div64_u64_rem(-nums[i], denoms[i], &irem); in dps310_calculate_pressure() 677 pressure += div64_u64_rem(nums[i], denoms[i], &irem); in dps310_calculate_pressure()
|
/linux-6.6.21/drivers/clk/ |
D | clk-versaclock7.c | 342 qhat = div64_u64_rem(numhi, den1, &rhat); in vc7_128_div_64_to_64() 356 qhat = div64_u64_rem(rem, den1, &rhat); in vc7_128_div_64_to_64() 776 *div_int = (u32)div64_u64_rem(parent_rate, rate, &rem); in vc7_calc_fod_1st_stage()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/basics/ |
D | fixpt31_32.c | 56 result = div64_u64_rem(dividend, divisor, remainder); in complete_integer_division_u64()
|
/linux-6.6.21/drivers/gpu/drm/ |
D | drm_mm.c | 574 div64_u64_rem(adj_start, alignment, &rem); in drm_mm_insert_node_in_range() 826 div64_u64_rem(adj_start, scan->alignment, &rem); in drm_mm_scan_add_block()
|
/linux-6.6.21/sound/soc/sof/ |
D | compress.c | 21 div64_u64_rem(sstream->copied_total, buffer_size, &prev_pos); in sof_set_transferred_bytes()
|
/linux-6.6.21/net/devlink/ |
D | resource.c | 99 div64_u64_rem(size, resource->size_params.size_granularity, &reminder); in devlink_resource_validate_size()
|
/linux-6.6.21/drivers/mtd/ |
D | mtdpstore.c | 256 div64_u64_rem(off + erasesize, cxt->mtd->size, (u64 *)&off); in mtdpstore_security()
|
/linux-6.6.21/drivers/iio/accel/ |
D | adxl355_core.c | 286 div = div64_u64_rem(mul_u64_u32_shr(odr, multiplier, 0), in adxl355_fill_3db_frequency_table()
|