/linux-6.1.9/lib/math/ |
D | div64.c | 72 #ifndef div_s64_rem 73 s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() function 89 EXPORT_SYMBOL(div_s64_rem);
|
/linux-6.1.9/include/linux/ |
D | math64.h | 40 static inline s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() function 97 #ifndef div_s64_rem 98 extern s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder); 141 return div_s64_rem(dividend, divisor, &remainder); in div_s64()
|
/linux-6.1.9/kernel/time/ |
D | timeconv.c | 55 days = div_s64_rem(totalsecs, SECS_PER_DAY, &remainder); in time64_to_tm()
|
D | ntp.c | 415 div_s64_rem(secs, SECS_PER_DAY, &rem); in second_overflow() 419 div_s64_rem(secs + 1, SECS_PER_DAY, &rem); in second_overflow()
|
/linux-6.1.9/drivers/iio/afe/ |
D | iio-rescale.c | 56 tmp = div_s64_rem(tmp, 1000000000LL, &rem); in rescale_process_scale() 87 *val = div_s64_rem(tmp, abs(rescale->denominator), &rem); in rescale_process_scale() 92 *val += div_s64_rem(tmp, mult, val2); in rescale_process_scale()
|
/linux-6.1.9/drivers/rtc/ |
D | rtc-mc13xxx.c | 96 days = div_s64_rem(rtc_tm_to_time64(tm), SEC_PER_DAY, &seconds); in mc13xxx_rtc_set_time() 225 days = div_s64_rem(s1970, SEC_PER_DAY, &seconds); in mc13xxx_rtc_set_alarm()
|
D | lib.c | 63 days = div_s64_rem(time, 86400, &secs); in rtc_time64_to_tm()
|
D | rtc-zynqmp.c | 215 max_tick = div_s64_rem(offset, tick_mult, &fract_offset); in xlnx_rtc_set_offset()
|
D | rtc-mxc.c | 123 day = div_s64_rem(time, 86400, &tod); in set_alarm_or_time()
|
D | rtc-rzn1.c | 85 days = div_s64_rem(time, 86400, &secs); in rzn1_rtc_tm_to_wday()
|
D | rtc-sc27xx.c | 231 day = div_s64_rem(secs, 86400, &rem); in sprd_rtc_set_secs()
|
/linux-6.1.9/arch/mips/dec/ |
D | time.c | 95 real_minutes = div_s64_rem(nowtime, 60, &real_seconds); in update_persistent_clock64()
|
/linux-6.1.9/drivers/iio/dac/ |
D | ad5592r-base.c | 411 *val = div_s64_rem(tmp, 1000000000LL, val2); in ad5592r_read_raw() 582 div_s64_rem(tmp, 1000000000LL, &st->scale_avail[0][1]); in ad5592r_init_scales() 584 div_s64_rem(tmp * 2, 1000000000LL, &st->scale_avail[1][1]); in ad5592r_init_scales()
|
D | ad3552r.c | 768 dac->ch_data[ch].scale_int = div_s64_rem(span, 65536, &rem); in ad3552r_calc_gain_and_offset() 773 dac->ch_data[ch].offset_int = div_s64_rem(v_min * 65536, span, &rem); in ad3552r_calc_gain_and_offset()
|
/linux-6.1.9/drivers/net/dsa/sja1105/ |
D | sja1105_tas.c | 405 div_s64_rem(max_cycle_time, min_cycle_time, &rem); in sja1105_tas_check_conflicts() 413 div_s64_rem(offload->base_time, offload->cycle_time, &rem); in sja1105_tas_check_conflicts() 416 div_s64_rem(admin->base_time, admin->cycle_time, &rem); in sja1105_tas_check_conflicts()
|
D | sja1105_vl.c | 600 div_s64_rem(base_time, sja1105_delta_to_ns(1), &rem); in sja1105_vl_gate() 607 div_s64_rem(cycle_time, sja1105_delta_to_ns(1), &rem); in sja1105_vl_gate() 647 div_s64_rem(entries[i].interval, in sja1105_vl_gate()
|
/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_tsn.c | 218 baset_h = div_s64_rem(base_time, NSEC_PER_SEC, &baset_l); in igc_tsn_enable_offload()
|
/linux-6.1.9/drivers/iio/accel/ |
D | adxl345_core.c | 142 *val = div_s64_rem(samp_freq_nhz, NANOHZ_PER_HZ, val2); in adxl345_read_raw()
|
/linux-6.1.9/drivers/iio/humidity/ |
D | hts221_core.c | 361 tmp = div_s64_rem(tmp, 1000000000LL, &rem); in hts221_get_sensor_scale() 390 tmp = div_s64_rem(tmp, 1000000000LL, &rem); in hts221_get_sensor_offset()
|
/linux-6.1.9/drivers/iio/pressure/ |
D | dlhl60d.c | 176 tmp = div_s64_rem(tmp, 1000000000LL, &rem); in dlh_read_raw()
|
/linux-6.1.9/drivers/platform/chrome/ |
D | cros_usbpd_logger.c | 161 div_s64_rem(ktime_to_ms(tstamp), MSEC_PER_SEC, &rem); in cros_usbpd_print_log_entry()
|
/linux-6.1.9/fs/fat/ |
D | misc.c | 294 div_s64_rem(seconds, SECS_PER_DAY, &remainder); in fat_truncate_atime()
|
/linux-6.1.9/drivers/iio/light/ |
D | zopt2201.c | 292 *val = div_s64_rem(tmp, 1000000, val2); in zopt2201_read_raw()
|
/linux-6.1.9/fs/affs/ |
D | amigaffs.c | 381 days = div_s64_rem(secs, 86400, &rem); in affs_secs_to_datestamp()
|
/linux-6.1.9/kernel/locking/ |
D | lockdep_proc.c | 437 div = div_s64_rem(nr, 1000, &rem); in snprint_time()
|