/Linux-v4.19/lib/ |
D | div64.c | 70 #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/ |
D | math64.h | 38 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/ |
D | timeconv.c | 83 days = div_s64_rem(totalsecs, SECS_PER_DAY, &remainder); in time64_to_tm()
|
D | ntp.c | 414 div_s64_rem(secs, SECS_PER_DAY, &rem); in second_overflow() 418 div_s64_rem(secs + 1, SECS_PER_DAY, &rem); in second_overflow()
|
D | time.c | 460 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/ |
D | rtc-mc13xxx.c | 99 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()
|
D | rtc-lib.c | 59 days = div_s64_rem(time, 86400, &secs); in rtc_time64_to_tm()
|
D | rtc-mxc.c | 137 day = div_s64_rem(time, 86400, &tod); in set_alarm_or_time()
|
D | rtc-sc27xx.c | 243 day = div_s64_rem(secs, 86400, &rem); in sprd_rtc_set_secs()
|
/Linux-v4.19/arch/mips/dec/ |
D | time.c | 95 real_minutes = div_s64_rem(nowtime, 60, &real_seconds); in update_persistent_clock64()
|
/Linux-v4.19/drivers/iio/dac/ |
D | ad5592r-base.c | 418 *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/ |
D | adxl345_core.c | 144 *val = div_s64_rem(samp_freq_nhz, NHZ_PER_HZ, val2); in adxl345_read_raw()
|
/Linux-v4.19/drivers/iio/humidity/ |
D | hts221_core.c | 369 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/ |
D | zopt2201.c | 293 *val = div_s64_rem(tmp, 1000000, val2); in zopt2201_read_raw()
|
/Linux-v4.19/fs/affs/ |
D | amigaffs.c | 381 days = div_s64_rem(secs, 86400, &rem); in affs_secs_to_datestamp()
|
/Linux-v4.19/kernel/locking/ |
D | lockdep_proc.c | 377 div = div_s64_rem(nr, 1000, &rem); in snprint_time()
|
/Linux-v4.19/Documentation/core-api/ |
D | kernel-api.rst | 151 :functions: div_s64_rem div64_u64_rem div64_u64 div64_s64
|
/Linux-v4.19/drivers/iio/ |
D | industrialio-core.c | 603 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/ |
D | cxd2841er.c | 1179 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/ |
D | xfs_log_recover.c | 1253 div_s64_rem(bno, log->l_logBBsize, &mod); in xlog_wrap_logbno()
|