Home
last modified time | relevance | path

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

12

/linux-6.1.9/lib/math/
Ddiv64.c72 #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/
Dmath64.h40 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/
Dtimeconv.c55 days = div_s64_rem(totalsecs, SECS_PER_DAY, &remainder); in time64_to_tm()
Dntp.c415 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/
Diio-rescale.c56 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/
Drtc-mc13xxx.c96 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()
Dlib.c63 days = div_s64_rem(time, 86400, &secs); in rtc_time64_to_tm()
Drtc-zynqmp.c215 max_tick = div_s64_rem(offset, tick_mult, &fract_offset); in xlnx_rtc_set_offset()
Drtc-mxc.c123 day = div_s64_rem(time, 86400, &tod); in set_alarm_or_time()
Drtc-rzn1.c85 days = div_s64_rem(time, 86400, &secs); in rzn1_rtc_tm_to_wday()
Drtc-sc27xx.c231 day = div_s64_rem(secs, 86400, &rem); in sprd_rtc_set_secs()
/linux-6.1.9/arch/mips/dec/
Dtime.c95 real_minutes = div_s64_rem(nowtime, 60, &real_seconds); in update_persistent_clock64()
/linux-6.1.9/drivers/iio/dac/
Dad5592r-base.c411 *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()
Dad3552r.c768 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/
Dsja1105_tas.c405 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()
Dsja1105_vl.c600 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/
Digc_tsn.c218 baset_h = div_s64_rem(base_time, NSEC_PER_SEC, &baset_l); in igc_tsn_enable_offload()
/linux-6.1.9/drivers/iio/accel/
Dadxl345_core.c142 *val = div_s64_rem(samp_freq_nhz, NANOHZ_PER_HZ, val2); in adxl345_read_raw()
/linux-6.1.9/drivers/iio/humidity/
Dhts221_core.c361 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/
Ddlhl60d.c176 tmp = div_s64_rem(tmp, 1000000000LL, &rem); in dlh_read_raw()
/linux-6.1.9/drivers/platform/chrome/
Dcros_usbpd_logger.c161 div_s64_rem(ktime_to_ms(tstamp), MSEC_PER_SEC, &rem); in cros_usbpd_print_log_entry()
/linux-6.1.9/fs/fat/
Dmisc.c294 div_s64_rem(seconds, SECS_PER_DAY, &remainder); in fat_truncate_atime()
/linux-6.1.9/drivers/iio/light/
Dzopt2201.c292 *val = div_s64_rem(tmp, 1000000, val2); in zopt2201_read_raw()
/linux-6.1.9/fs/affs/
Damigaffs.c381 days = div_s64_rem(secs, 86400, &rem); in affs_secs_to_datestamp()
/linux-6.1.9/kernel/locking/
Dlockdep_proc.c437 div = div_s64_rem(nr, 1000, &rem); in snprint_time()

12