/linux-6.1.9/lib/math/ |
D | div64.c | 103 #ifndef div64_u64_rem 104 u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem() function 129 EXPORT_SYMBOL(div64_u64_rem); 219 div = div64_u64_rem(b, c, &rem); in mul_u64_u64_div_u64()
|
/linux-6.1.9/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 | 642 (x) = div64_u64_rem(x, y, &_res); \
|
/linux-6.1.9/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 | 49 y = div64_u64_rem(v, tile->stride, &x); in tiled_offset() 50 v = div64_u64_rem(y, tile->height, &y) * tile->stride * tile->height; in tiled_offset() 54 v += div64_u64_rem(x, tile->width, &x) << tile->size; in tiled_offset() 61 v += div64_u64_rem(x, ytile_span, &x) * ytile_height; in tiled_offset() 68 v += div64_u64_rem(x, ytile_span, &x) * ytile_height; in tiled_offset()
|
/linux-6.1.9/kernel/time/ |
D | timeconv.c | 108 century = div64_u64_rem(u64tmp, 146097, &u64tmp); in time64_to_tm()
|
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/include/drm/ |
D | drm_fixed.h | 159 u64 res_abs = div64_u64_rem(a_abs, b_abs, &rem); in drm_fixp_from_fraction()
|
/linux-6.1.9/drivers/gpu/drm/i915/ |
D | i915_gem_gtt.c | 148 div64_u64_rem(addr, range, &addr); in random_offset()
|
/linux-6.1.9/net/ceph/ |
D | striper.c | 270 div64_u64_rem(size, period, &remainder_bytes); in ceph_get_num_objects()
|
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/sound/soc/sof/ |
D | compress.c | 20 div64_u64_rem(sstream->copied_total, buffer_size, &prev_pos); in sof_set_transferred_bytes()
|
/linux-6.1.9/drivers/iio/accel/ |
D | adxl355_core.c | 230 div = div64_u64_rem(mul_u64_u32_shr(odr, multiplier, 0), in adxl355_fill_3db_frequency_table()
|
/linux-6.1.9/drivers/mtd/ |
D | mtdpstore.c | 256 div64_u64_rem(off + erasesize, cxt->mtd->size, (u64 *)&off); in mtdpstore_security()
|
/linux-6.1.9/sound/soc/intel/avs/ |
D | core.c | 228 div64_u64_rem(stream->curr_pos, buffer_size, &prev_pos); in hdac_stream_update_pos()
|
/linux-6.1.9/drivers/gpu/drm/gud/ |
D | gud_drv.c | 345 u64 ratio = div64_u64_rem(gdrm->stats_length, gdrm->stats_actual_length, in gud_stats_debugfs()
|