Home
last modified time | relevance | path

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

12

/linux-6.1.9/lib/math/
Ddiv64.c103 #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/
Dmath64.h54 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);
Ddevice-mapper.h642 (x) = div64_u64_rem(x, y, &_res); \
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_client_blt.c368 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()
Di915_gem_mman.c49 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/
Dtimeconv.c108 century = div64_u64_rem(u64tmp, 146097, &u64tmp); in time64_to_tm()
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Di915_random.c104 div64_u64_rem(addr, range, &addr); in igt_random_offset()
Dintel_memory_region.c280 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/
Dxfs_btree_staging.c583 *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/
Dvidtv_ts.c29 div = div64_u64_rem(pcr, 300, &rem); in vidtv_ts_write_pcr_bits()
Dvidtv_pes.c191 div = div64_u64_rem(pcr, 300, &rem); in vidtv_pes_write_pcr_bits()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Dbw_fixed.h129 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/
Dbw_fixed.c73 res_value = div64_u64_rem(arg1_value, arg2_value, &remainder); in bw_frc_to_fixed()
/linux-6.1.9/include/drm/
Ddrm_fixed.h159 u64 res_abs = div64_u64_rem(a_abs, b_abs, &rem); in drm_fixp_from_fraction()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_gem_gtt.c148 div64_u64_rem(addr, range, &addr); in random_offset()
/linux-6.1.9/net/ceph/
Dstriper.c270 div64_u64_rem(size, period, &remainder_bytes); in ceph_get_num_objects()
/linux-6.1.9/drivers/iio/pressure/
Ddps310.c674 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/
Dclk-versaclock7.c342 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/
Dfixpt31_32.c56 result = div64_u64_rem(dividend, divisor, remainder); in complete_integer_division_u64()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_mm.c574 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/
Dcompress.c20 div64_u64_rem(sstream->copied_total, buffer_size, &prev_pos); in sof_set_transferred_bytes()
/linux-6.1.9/drivers/iio/accel/
Dadxl355_core.c230 div = div64_u64_rem(mul_u64_u32_shr(odr, multiplier, 0), in adxl355_fill_3db_frequency_table()
/linux-6.1.9/drivers/mtd/
Dmtdpstore.c256 div64_u64_rem(off + erasesize, cxt->mtd->size, (u64 *)&off); in mtdpstore_security()
/linux-6.1.9/sound/soc/intel/avs/
Dcore.c228 div64_u64_rem(stream->curr_pos, buffer_size, &prev_pos); in hdac_stream_update_pos()
/linux-6.1.9/drivers/gpu/drm/gud/
Dgud_drv.c345 u64 ratio = div64_u64_rem(gdrm->stats_length, gdrm->stats_actual_length, in gud_stats_debugfs()

12