/linux-4.4.14/arch/metag/include/asm/ |
H A D | div64.h | 7 extern s64 div_s64(s64 dividend, s64 divisor); 10 #define div_s64 div_s64 macro
|
/linux-4.4.14/arch/metag/kernel/ |
H A D | metag_ksyms.c | 45 EXPORT_SYMBOL(div_s64); variable
|
/linux-4.4.14/include/linux/ |
H A D | math64.h | 60 #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 D | fixp-arith.h | 148 return v1 + div_s64(tmp, dx); fixp_sin32_rad()
|
/linux-4.4.14/drivers/md/bcache/ |
H A D | writeback.c | 43 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 D | util.h | 418 ? div_s64(local_clock() - (stats)->last, \
|
/linux-4.4.14/drivers/rtc/ |
H A D | rtc-lib.c | 60 days = div_s64(time, 86400); rtc_time64_to_tm()
|
H A D | rtc-mt6397.c | 174 days = div_s64(time, 86400); mtk_rtc_read_time()
|
/linux-4.4.14/drivers/iio/ |
H A D | inkern.c | 534 *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 D | industrialio-core.c | 449 tmp = div_s64((s64)vals[0] * 1000000000LL, vals[1]); iio_format_value()
|
/linux-4.4.14/drivers/clk/qcom/ |
H A D | clk-rcg2.c | 429 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 D | ntp.c | 338 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 D | xt_time.c | 175 stamp = div_s64(stamp, NSEC_PER_SEC); time_mt()
|
H A D | nf_conntrack_standalone.c | 183 delta_time = div_s64(delta_time, NSEC_PER_SEC); ct_show_delta_time()
|
/linux-4.4.14/drivers/media/platform/vivid/ |
H A D | vivid-sdr-cap.c | 526 dev->sdr_fixp_mod_phase += div_s64(s64tmp, M_100000PI); vivid_sdr_cap_process()
|
/linux-4.4.14/kernel/locking/ |
H A D | lockdep_proc.c | 424 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 D | af9033.c | 881 *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 D | tda10071.c | 518 *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 D | rtl2830.c | 433 *snr = div_s64(c->cnr.stat[0].svalue, 100); rtl2830_read_snr()
|
H A D | m88ds3103.c | 969 *snr = div_s64(c->cnr.stat[0].svalue, 100); m88ds3103_read_snr()
|
H A D | rtl2832.c | 729 *snr = div_s64(c->cnr.stat[0].svalue, 100); rtl2832_read_snr()
|
H A D | cx24120.c | 337 *snr = div_s64(c->cnr.stat[0].svalue, 100); cx24120_read_snr()
|
H A D | cxd2841er.c | 1058 *offset = div_s64(41000LL * sign_extend32((((u32)data[0] & 0x3f) << 8) cxd2841er_get_carrier_offset_c()
|
/linux-4.4.14/drivers/thermal/ |
H A D | power_allocator.c | 56 return div_s64(x << FRAC_BITS, y); div_frac()
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
H A D | cmm.c | 268 page_loan_request = div_s64((s64)mpp_data.loan_request, PAGE_SIZE); cmm_get_mpp()
|
/linux-4.4.14/fs/gfs2/ |
H A D | quota.c | 1065 value = div_s64(value, den); need_sync()
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
H A D | sor.c | 555 error = div_s64(active_sym - approx, tu_size); tegra_sor_compute_params()
|
/linux-4.4.14/drivers/gpu/drm/ |
H A D | drm_irq.c | 852 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos), drm_calc_vbltimestamp_from_scanoutpos()
|
/linux-4.4.14/lib/ |
H A D | vsprintf.c | 2628 val.s = div_s64(val.s, base); vsscanf()
|