Home
last modified time | relevance | path

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

12

/linux-6.6.21/lib/math/
Ddiv64.c66 #ifndef div_s64_rem
67 s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() function
83 EXPORT_SYMBOL(div_s64_rem);
/linux-6.6.21/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);
145 return div_s64_rem(dividend, divisor, &remainder); in div_s64()
/linux-6.6.21/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()
Dclocksource.c509 cs_wd_msec = div_s64_rem(cs_nsec - wd_nsec, 1000 * 1000, &wd_rem); in clocksource_watchdog()
510 wd_msec = div_s64_rem(wd_nsec, 1000 * 1000, &wd_rem); in clocksource_watchdog()
/linux-6.6.21/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.6.21/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.c122 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()
/linux-6.6.21/drivers/iio/pressure/
Dmprls0025pa.c387 data->scale = div_s64_rem(scale, NANO, &data->scale2); in mpr_probe()
394 data->offset = div_s64_rem(offset, NANO, &data->offset2); in mpr_probe()
Ddlhl60d.c176 tmp = div_s64_rem(tmp, 1000000000LL, &rem); in dlh_read_raw()
/linux-6.6.21/arch/mips/dec/
Dtime.c95 real_minutes = div_s64_rem(nowtime, 60, &real_seconds); in update_persistent_clock64()
/linux-6.6.21/drivers/iio/dac/
Dad5592r-base.c416 *val = div_s64_rem(tmp, 1000000000LL, val2); in ad5592r_read_raw()
587 div_s64_rem(tmp, 1000000000LL, &st->scale_avail[0][1]); in ad5592r_init_scales()
589 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.6.21/drivers/net/dsa/sja1105/
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()
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()
/linux-6.6.21/drivers/iio/accel/
Dadxl345_core.c142 *val = div_s64_rem(samp_freq_nhz, NANOHZ_PER_HZ, val2); in adxl345_read_raw()
/linux-6.6.21/drivers/net/ethernet/intel/igc/
Digc_tsn.c300 baset_h = div_s64_rem(base_time, NSEC_PER_SEC, &baset_l); in igc_tsn_enable_offload()
/linux-6.6.21/drivers/iio/humidity/
Dhts221_core.c362 tmp = div_s64_rem(tmp, 1000000000LL, &rem); in hts221_get_sensor_scale()
391 tmp = div_s64_rem(tmp, 1000000000LL, &rem); in hts221_get_sensor_offset()
/linux-6.6.21/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.6.21/fs/fat/
Dmisc.c294 div_s64_rem(seconds, SECS_PER_DAY, &remainder); in fat_truncate_atime()
/linux-6.6.21/drivers/iio/light/
Dzopt2201.c292 *val = div_s64_rem(tmp, 1000000, val2); in zopt2201_read_raw()
/linux-6.6.21/fs/affs/
Damigaffs.c381 days = div_s64_rem(secs, 86400, &rem); in affs_secs_to_datestamp()

12