div64_s64 337 arch/mips/kvm/emulate.c periods = div64_s64(now_ns, vcpu->arch.count_period); div64_s64 311 drivers/clk/clk-si544.c delta = div64_s64(delta, ((s64)DELTA_M_MAX * DELTA_M_FRAC_DEN)); div64_s64 64 drivers/cpufreq/intel_pstate.c return div64_s64((int64_t)x << FRAC_BITS, y); div64_s64 1870 drivers/gpu/drm/amd/amdgpu/si_dpm.c i_leakage = div64_s64(drm_int2fixp(ileakage), 100); div64_s64 1871 drivers/gpu/drm/amd/amdgpu/si_dpm.c vddc = div64_s64(drm_int2fixp(v), 1000); div64_s64 1872 drivers/gpu/drm/amd/amdgpu/si_dpm.c temperature = div64_s64(drm_int2fixp(t), 1000); div64_s64 1874 drivers/gpu/drm/amd/amdgpu/si_dpm.c t_slope = div64_s64(drm_int2fixp(coeff->t_slope), 100000000); div64_s64 1875 drivers/gpu/drm/amd/amdgpu/si_dpm.c t_intercept = div64_s64(drm_int2fixp(coeff->t_intercept), 100000000); div64_s64 1876 drivers/gpu/drm/amd/amdgpu/si_dpm.c av = div64_s64(drm_int2fixp(coeff->av), 100000000); div64_s64 1877 drivers/gpu/drm/amd/amdgpu/si_dpm.c bv = div64_s64(drm_int2fixp(coeff->bv), 100000000); div64_s64 1906 drivers/gpu/drm/amd/amdgpu/si_dpm.c i_leakage = div64_s64(drm_int2fixp(ileakage), 100); div64_s64 1907 drivers/gpu/drm/amd/amdgpu/si_dpm.c vddc = div64_s64(drm_int2fixp(v), 1000); div64_s64 1909 drivers/gpu/drm/amd/amdgpu/si_dpm.c kt = div64_s64(drm_int2fixp(fixed_kt), 100000000); div64_s64 1910 drivers/gpu/drm/amd/amdgpu/si_dpm.c kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 100000000), div64_s64 1911 drivers/gpu/drm/amd/amdgpu/si_dpm.c drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bv), 100000000), vddc))); div64_s64 241 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c (int)div64_s64( div64_s64 118 drivers/gpu/drm/amd/display/dc/calcs/bw_fixed.c multiplicand = div64_s64(arg.value, abs_i64(significance.value)); div64_s64 131 drivers/gpu/drm/amd/display/dc/calcs/bw_fixed.c multiplicand = div64_s64(arg.value, abs_i64(significance.value)); div64_s64 200 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c (uint32_t) div64_s64( div64_s64 201 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c div64_s64(dc->bw_vbios->high_yclk.value, div64_s64 740 drivers/gpu/drm/amd/display/dc/core/dc_resource.c pipe_ctx->plane_res.scl_data.ratios.vert.value = div64_s64( div64_s64 742 drivers/gpu/drm/amd/display/dc/core/dc_resource.c pipe_ctx->plane_res.scl_data.ratios.horz.value = div64_s64( div64_s64 371 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h div64_s64(longlongX, longlongY); /*Q(32,32) divided by Q(16,16) = Q(16,16) Back to original format */ div64_s64 119 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c result = div64_s64((s64)info.arg[0], 10); div64_s64 120 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c result += div64_s64((s64)info.arg[1] * volt->speedo, 10); div64_s64 121 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c result += div64_s64((s64)info.arg[2] * volt->speedo * volt->speedo, 100000); div64_s64 749 drivers/gpu/drm/radeon/ni_dpm.c i_leakage = div64_s64(drm_int2fixp(ileakage), 1000); div64_s64 750 drivers/gpu/drm/radeon/ni_dpm.c vddc = div64_s64(drm_int2fixp(v), 1000); div64_s64 751 drivers/gpu/drm/radeon/ni_dpm.c temperature = div64_s64(drm_int2fixp(t), 1000); div64_s64 753 drivers/gpu/drm/radeon/ni_dpm.c kt = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->at), 1000), div64_s64 754 drivers/gpu/drm/radeon/ni_dpm.c drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bt), 1000), temperature))); div64_s64 755 drivers/gpu/drm/radeon/ni_dpm.c kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 1000), div64_s64 756 drivers/gpu/drm/radeon/ni_dpm.c drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bv), 1000), vddc))); div64_s64 1779 drivers/gpu/drm/radeon/si_dpm.c i_leakage = div64_s64(drm_int2fixp(ileakage), 100); div64_s64 1780 drivers/gpu/drm/radeon/si_dpm.c vddc = div64_s64(drm_int2fixp(v), 1000); div64_s64 1781 drivers/gpu/drm/radeon/si_dpm.c temperature = div64_s64(drm_int2fixp(t), 1000); div64_s64 1783 drivers/gpu/drm/radeon/si_dpm.c t_slope = div64_s64(drm_int2fixp(coeff->t_slope), 100000000); div64_s64 1784 drivers/gpu/drm/radeon/si_dpm.c t_intercept = div64_s64(drm_int2fixp(coeff->t_intercept), 100000000); div64_s64 1785 drivers/gpu/drm/radeon/si_dpm.c av = div64_s64(drm_int2fixp(coeff->av), 100000000); div64_s64 1786 drivers/gpu/drm/radeon/si_dpm.c bv = div64_s64(drm_int2fixp(coeff->bv), 100000000); div64_s64 1815 drivers/gpu/drm/radeon/si_dpm.c i_leakage = div64_s64(drm_int2fixp(ileakage), 100); div64_s64 1816 drivers/gpu/drm/radeon/si_dpm.c vddc = div64_s64(drm_int2fixp(v), 1000); div64_s64 1818 drivers/gpu/drm/radeon/si_dpm.c kt = div64_s64(drm_int2fixp(fixed_kt), 100000000); div64_s64 1819 drivers/gpu/drm/radeon/si_dpm.c kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 100000000), div64_s64 1820 drivers/gpu/drm/radeon/si_dpm.c drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bv), 100000000), vddc))); div64_s64 173 drivers/iio/adc/qcom-vadc-common.c *scale_voltage = div64_s64(*scale_voltage, calib_graph->dy); div64_s64 191 drivers/iio/adc/qcom-vadc-common.c result = div64_s64(voltage, prescale->num); div64_s64 208 drivers/iio/adc/qcom-vadc-common.c voltage = div64_s64(voltage, 1000); div64_s64 255 drivers/iio/adc/qcom-vadc-common.c voltage = div64_s64(voltage, prescale->num); div64_s64 258 drivers/iio/adc/qcom-vadc-common.c result = div64_s64(voltage, 1000000); div64_s64 282 drivers/iio/adc/qcom-vadc-common.c voltage = div64_s64(voltage, data->full_scale_code_volt); div64_s64 286 drivers/iio/adc/qcom-vadc-common.c voltage = div64_s64(voltage, temp); div64_s64 448 drivers/iio/chemical/bme680_core.c calc_gas_res = div64_s64(var3, (s64) var2); div64_s64 100 drivers/iio/light/cm3605.c lux = div64_s64(lux, CM3605_AOUT_TYP_MAX_MV); div64_s64 318 drivers/iio/pressure/bmp280-core.c p = div64_s64(p, var1); div64_s64 534 drivers/iio/pressure/dps310.c rem += div64_s64((s64)rems[i] * 1000000000LL, denoms[i]); div64_s64 332 drivers/iio/temperature/mlx90632.c kGb * div64_s64(((s64)ambient_new_raw * 1000LL), div64_s64 334 drivers/iio/temperature/mlx90632.c tmp = div64_s64( div64_s64 335 drivers/iio/temperature/mlx90632.c div64_s64(((s64)ambient_new_raw * 1000000000000LL), div64_s64 337 drivers/iio/temperature/mlx90632.c return div64_s64(tmp << 19ULL, 1000LL); div64_s64 348 drivers/iio/temperature/mlx90632.c kKa * div64_s64(((s64)ambient_new_raw * 1000LL), div64_s64 350 drivers/iio/temperature/mlx90632.c tmp = div64_s64( div64_s64 351 drivers/iio/temperature/mlx90632.c div64_s64(((s64)((object_new_raw + object_old_raw) / 2) div64_s64 354 drivers/iio/temperature/mlx90632.c return div64_s64((tmp << 19ULL), 1000LL); div64_s64 368 drivers/iio/temperature/mlx90632.c Bblock = (div64_s64(Bsub * 10000000LL, P_G)) << 20ULL; div64_s64 371 drivers/iio/temperature/mlx90632.c sum = div64_s64(Ablock, 1000000LL) + Bblock + Cblock; div64_s64 373 drivers/iio/temperature/mlx90632.c return div64_s64(sum, 10000000LL); div64_s64 390 drivers/iio/temperature/mlx90632.c Alpha_corr = div64_s64((((s64)(Fa * 10000000000LL) >> 46LL) div64_s64 393 drivers/iio/temperature/mlx90632.c Alpha_corr = emissivity * div64_s64(Alpha_corr, 100000LL); div64_s64 394 drivers/iio/temperature/mlx90632.c Alpha_corr = div64_s64(Alpha_corr, 1000LL); div64_s64 395 drivers/iio/temperature/mlx90632.c ir_Alpha = div64_s64((s64)object * 10000000LL, Alpha_corr); div64_s64 396 drivers/iio/temperature/mlx90632.c TAdut4 = (div64_s64(TAdut, 10000LL) + 27315) * div64_s64 397 drivers/iio/temperature/mlx90632.c (div64_s64(TAdut, 10000LL) + 27315) * div64_s64 398 drivers/iio/temperature/mlx90632.c (div64_s64(TAdut, 10000LL) + 27315) * div64_s64 399 drivers/iio/temperature/mlx90632.c (div64_s64(TAdut, 10000LL) + 27315); div64_s64 415 drivers/iio/temperature/mlx90632.c TAdut = div64_s64(((ambient - kTA0) * 1000000LL), kTA) + 25 * 1000000LL; div64_s64 68 drivers/iio/temperature/tsys01.c temp = div64_s64(temp, 100000); div64_s64 72 drivers/iio/temperature/tsys01.c temp = div64_s64(temp, 100000); div64_s64 228 drivers/md/bcache/sysfs.c next_io = wb ? div64_s64(dc->writeback_rate.next-local_clock(), div64_s64 271 drivers/media/dvb-frontends/tc90522.c cn = div64_s64(-16346LL * p4 * p, 10) >> 35; div64_s64 429 drivers/media/dvb-frontends/tc90522.c cn += div64_s64(43827LL * p, 10) >> 24; div64_s64 431 drivers/media/dvb-frontends/tc90522.c cn += div64_s64(3184LL * tmp * tmp, 10) >> 32; div64_s64 433 drivers/media/dvb-frontends/tc90522.c cn -= div64_s64(128LL * tmp * tmp * tmp, 10) >> 33; div64_s64 435 drivers/media/dvb-frontends/tc90522.c cn += div64_s64(192LL * tmp * tmp * tmp * tmp, 1000) >> 24; div64_s64 477 drivers/media/dvb-frontends/ts2020.c strength = 0 + div64_s64((85000 + gain) * 3, 1000); div64_s64 480 drivers/media/dvb-frontends/ts2020.c strength = 60 + div64_s64((65000 + gain) * 3, 2000); div64_s64 483 drivers/media/dvb-frontends/ts2020.c strength = 90 + div64_s64((45000 + gain), 5000); div64_s64 597 drivers/media/platform/sti/bdisp/bdisp-debug.c avg_time_us = div64_s64(bdisp->dbg.tot_duration, request->nb_req); div64_s64 239 drivers/media/tuners/qm1d1c0042.c b = (s32)div64_s64(((s64) freq) << 20, state->cfg.xtal_freq) div64_s64 497 drivers/power/supply/cpcap-battery.c val->intval = div64_s64(tmp, 100); div64_s64 504 drivers/power/supply/cpcap-battery.c val->intval = div64_s64(tmp, 100); div64_s64 511 drivers/power/supply/cpcap-battery.c val->intval = div64_s64(tmp, 100); div64_s64 69 drivers/thermal/tegra/soctherm-fuse.c r = div64_s64(al * 2 + 1, 2 * b); div64_s64 141 include/drm/drm_fixed.h result = div64_s64(a, b); div64_s64 190 include/drm/drm_fixed.h s64 tolerance = div64_s64(DRM_FIXED_ONE, 1000000); div64_s64 202 include/drm/drm_fixed.h term = drm_fixp_mul(term, div64_s64(y, count)); div64_s64 10 include/linux/math64.h #define div64_long(x, y) div64_s64((x), (y)) div64_s64 107 include/linux/math64.h #ifndef div64_s64 div64_s64 108 include/linux/math64.h extern s64 div64_s64(s64 dividend, s64 divisor); div64_s64 169 lib/math/div64.c #ifndef div64_s64 div64_s64 179 lib/math/div64.c EXPORT_SYMBOL(div64_s64); div64_s64 819 mm/page-writeback.c x = div64_s64(((s64)setpoint - (s64)dirty) << RATELIMIT_CALC_SHIFT, div64_s64 361 net/ceph/crush/mapper.c draw = div64_s64(ln, weights[i]); div64_s64 141 net/sched/sch_cbs.c return div64_s64(timediff * slope, NSEC_PER_SEC); div64_s64 149 net/sched/sch_cbs.c return div64_s64(-credits * NSEC_PER_SEC, slope); div64_s64 157 net/sched/sch_cbs.c return div64_s64(len * slope, port_rate); div64_s64 224 net/sched/sch_cbs.c q->last = now + div64_s64(len * NSEC_PER_SEC, div64_s64 463 net/sched/sch_cbs.c opt.sendslope = div64_s64(q->sendslope, BYTES_PER_KBIT); div64_s64 464 net/sched/sch_cbs.c opt.idleslope = div64_s64(q->idleslope, BYTES_PER_KBIT); div64_s64 998 net/sched/sch_taprio.c n = div64_s64(ktime_sub_ns(now, base), cycle);