Searched refs:div_s64 (Results 1 - 29 of 29) sorted by relevance

/linux-4.4.14/arch/metag/include/asm/
H A Ddiv64.h7 extern s64 div_s64(s64 dividend, s64 divisor);
10 #define div_s64 div_s64 macro
/linux-4.4.14/arch/metag/kernel/
H A Dmetag_ksyms.c45 EXPORT_SYMBOL(div_s64); variable
/linux-4.4.14/include/linux/
H A Dmath64.h60 #define div64_long(x, y) div_s64((x), (y))
105 * div_s64 - signed 64bit divide with 32bit divisor
107 #ifndef div_s64 div_s64()
108 static inline s64 div_s64(s64 dividend, s32 divisor) div_s64() function
H A Dfixp-arith.h148 return v1 + div_s64(tmp, dx); fixp_sin32_rad()
/linux-4.4.14/drivers/md/bcache/
H A Dwriteback.c43 proportional = div_s64(proportional, dc->writeback_rate_p_term_inverse); __update_writeback_rate()
45 derivative = div_s64(derivative, dc->writeback_rate_update_seconds); __update_writeback_rate()
52 derivative = div_s64(derivative, dc->writeback_rate_p_term_inverse); __update_writeback_rate()
H A Dutil.h418 ? div_s64(local_clock() - (stats)->last, \
/linux-4.4.14/drivers/rtc/
H A Drtc-lib.c60 days = div_s64(time, 86400); rtc_time64_to_tm()
H A Drtc-mt6397.c174 days = div_s64(time, 86400); mtk_rtc_read_time()
/linux-4.4.14/drivers/iio/
H A Dinkern.c534 *processed += div_s64(raw64 * (s64)scale_val2 * scale, iio_convert_raw_to_processed_unlocked()
542 *processed += div_s64(raw64 * (s64)scale_val2 * scale, iio_convert_raw_to_processed_unlocked()
546 *processed = div_s64(raw64 * (s64)scale_val * scale, iio_convert_raw_to_processed_unlocked()
H A Dindustrialio-core.c449 tmp = div_s64((s64)vals[0] * 1000000000LL, vals[1]); iio_format_value()
/linux-4.4.14/drivers/clk/qcom/
H A Dclk-rcg2.c429 request = div_s64(request, frac->num); clk_edp_pixel_set_rate()
479 request = div_s64(request, frac->num); clk_edp_pixel_determine_rate()
/linux-4.4.14/kernel/time/
H A Dntp.c338 time_offset = div_s64(offset64 << NTP_SCALE_SHIFT, NTP_INTERVAL_FREQ); ntp_update_offset()
873 ftemp = div_s64(((s64)(-freq_norm.nsec)) << NTP_SCALE_SHIFT, hardpps_update_freq()
894 pps_stabil += (div_s64(((s64)delta_mod) << hardpps_update_freq()
930 time_offset = div_s64(((s64)correction) << NTP_SCALE_SHIFT, hardpps_update_phase()
/linux-4.4.14/net/netfilter/
H A Dxt_time.c175 stamp = div_s64(stamp, NSEC_PER_SEC); time_mt()
H A Dnf_conntrack_standalone.c183 delta_time = div_s64(delta_time, NSEC_PER_SEC); ct_show_delta_time()
/linux-4.4.14/drivers/media/platform/vivid/
H A Dvivid-sdr-cap.c526 dev->sdr_fixp_mod_phase += div_s64(s64tmp, M_100000PI); vivid_sdr_cap_process()
/linux-4.4.14/kernel/locking/
H A Dlockdep_proc.c424 seq_time(m, lt->nr ? div_s64(lt->total, lt->nr) : 0); seq_lock_time()
/linux-4.4.14/drivers/media/dvb-frontends/
H A Daf9033.c881 *snr = div_s64(c->cnr.stat[0].svalue, 100); af9033_read_snr()
884 *snr = div_s64(c->cnr.stat[0].svalue, 1000); af9033_read_snr()
H A Dtda10071.c518 *snr = div_s64(c->cnr.stat[0].svalue, 100); tda10071_read_snr()
530 uitmp = div_s64(c->strength.stat[0].svalue, 1000) + 256; tda10071_read_signal_strength()
H A Drtl2830.c433 *snr = div_s64(c->cnr.stat[0].svalue, 100); rtl2830_read_snr()
H A Dm88ds3103.c969 *snr = div_s64(c->cnr.stat[0].svalue, 100); m88ds3103_read_snr()
H A Drtl2832.c729 *snr = div_s64(c->cnr.stat[0].svalue, 100); rtl2832_read_snr()
H A Dcx24120.c337 *snr = div_s64(c->cnr.stat[0].svalue, 100); cx24120_read_snr()
H A Dcxd2841er.c1058 *offset = div_s64(41000LL * sign_extend32((((u32)data[0] & 0x3f) << 8) cxd2841er_get_carrier_offset_c()
/linux-4.4.14/drivers/thermal/
H A Dpower_allocator.c56 return div_s64(x << FRAC_BITS, y); div_frac()
/linux-4.4.14/arch/powerpc/platforms/pseries/
H A Dcmm.c268 page_loan_request = div_s64((s64)mpp_data.loan_request, PAGE_SIZE); cmm_get_mpp()
/linux-4.4.14/fs/gfs2/
H A Dquota.c1065 value = div_s64(value, den); need_sync()
/linux-4.4.14/drivers/gpu/drm/tegra/
H A Dsor.c555 error = div_s64(active_sym - approx, tu_size); tegra_sor_compute_params()
/linux-4.4.14/drivers/gpu/drm/
H A Ddrm_irq.c852 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos), drm_calc_vbltimestamp_from_scanoutpos()
/linux-4.4.14/lib/
H A Dvsprintf.c2628 val.s = div_s64(val.s, base); vsscanf()

Completed in 1048 milliseconds