Home
last modified time | relevance | path

Searched refs:div_s64_rem (Results 1 – 20 of 20) sorted by relevance

/Linux-v4.19/lib/
Ddiv64.c70 #ifndef div_s64_rem
71 s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() function
87 EXPORT_SYMBOL(div_s64_rem);
/Linux-v4.19/include/linux/
Dmath64.h38 static inline s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() function
95 #ifndef div_s64_rem
96 extern s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder);
139 return div_s64_rem(dividend, divisor, &remainder); in div_s64()
/Linux-v4.19/kernel/time/
Dtimeconv.c83 days = div_s64_rem(totalsecs, SECS_PER_DAY, &remainder); in time64_to_tm()
Dntp.c414 div_s64_rem(secs, SECS_PER_DAY, &rem); in second_overflow()
418 div_s64_rem(secs + 1, SECS_PER_DAY, &rem); in second_overflow()
Dtime.c460 ts.tv_sec = div_s64_rem(nsec, NSEC_PER_SEC, &rem); in ns_to_timespec()
551 ts.tv_sec = div_s64_rem(nsec, NSEC_PER_SEC, &rem); in ns_to_timespec64()
/Linux-v4.19/drivers/rtc/
Drtc-mc13xxx.c99 days = div_s64_rem(secs, SEC_PER_DAY, &seconds); in mc13xxx_rtc_set_mmss()
228 days = div_s64_rem(s1970, SEC_PER_DAY, &seconds); in mc13xxx_rtc_set_alarm()
Drtc-lib.c59 days = div_s64_rem(time, 86400, &secs); in rtc_time64_to_tm()
Drtc-mxc.c137 day = div_s64_rem(time, 86400, &tod); in set_alarm_or_time()
Drtc-sc27xx.c243 day = div_s64_rem(secs, 86400, &rem); in sprd_rtc_set_secs()
/Linux-v4.19/arch/mips/dec/
Dtime.c95 real_minutes = div_s64_rem(nowtime, 60, &real_seconds); in update_persistent_clock64()
/Linux-v4.19/drivers/iio/dac/
Dad5592r-base.c418 *val = div_s64_rem(tmp, 1000000000LL, val2); in ad5592r_read_raw()
591 div_s64_rem(tmp, 1000000000LL, &st->scale_avail[0][1]); in ad5592r_init_scales()
593 div_s64_rem(tmp * 2, 1000000000LL, &st->scale_avail[1][1]); in ad5592r_init_scales()
/Linux-v4.19/drivers/iio/accel/
Dadxl345_core.c144 *val = div_s64_rem(samp_freq_nhz, NHZ_PER_HZ, val2); in adxl345_read_raw()
/Linux-v4.19/drivers/iio/humidity/
Dhts221_core.c369 tmp = div_s64_rem(tmp, 1000000000LL, &rem); in hts221_get_sensor_scale()
398 tmp = div_s64_rem(tmp, 1000000000LL, &rem); in hts221_get_sensor_offset()
/Linux-v4.19/drivers/iio/light/
Dzopt2201.c293 *val = div_s64_rem(tmp, 1000000, val2); in zopt2201_read_raw()
/Linux-v4.19/fs/affs/
Damigaffs.c381 days = div_s64_rem(secs, 86400, &rem); in affs_secs_to_datestamp()
/Linux-v4.19/kernel/locking/
Dlockdep_proc.c377 div = div_s64_rem(nr, 1000, &rem); in snprint_time()
/Linux-v4.19/Documentation/core-api/
Dkernel-api.rst151 :functions: div_s64_rem div64_u64_rem div64_u64 div64_s64
/Linux-v4.19/drivers/iio/
Dindustrialio-core.c603 tmp0 = (int)div_s64_rem(tmp, 1000000000, &tmp1); in __iio_format_value()
607 tmp0 = (int)div_s64_rem(tmp, 1000000000LL, &tmp1); in __iio_format_value()
/Linux-v4.19/drivers/media/dvb-frontends/
Dcxd2841er.c1179 temp_q = div_s64_rem(97375LL * cfrl_ctrlval, in cxd2841er_get_carrier_offset_s_s2()
1182 temp_q = div_s64_rem(-97375LL * cfrl_ctrlval, in cxd2841er_get_carrier_offset_s_s2()
/Linux-v4.19/fs/xfs/
Dxfs_log_recover.c1253 div_s64_rem(bno, log->l_logBBsize, &mod); in xlog_wrap_logbno()