Home
last modified time | relevance | path

Searched refs:do_div (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/dev/qat/qat_common/
H A Dadf_clock.c84 do_div(temp, NSEC_PER_USEC); in measure_clock()
109 do_div(temp, NSEC_PER_USEC); in measure_clock()
124 do_div(temp, NSEC_PER_USEC); in measure_clock()
128 do_div(temp, delta_us); in measure_clock()
/freebsd/sys/dev/drm2/
H A Ddrm_fixed.h65 do_div(tmp, B.full); in dfixed_div()
H A Ddrm_os_freebsd.h184 #define do_div(a, b) ((a) /= (b)) macro
/freebsd/sys/contrib/ncsw/Peripherals/FM/Rtc/
H A Dfm_rtc.c474 if (do_div(tmpAlarm, p_Rtc->clockPeriodNanoSec)) in FM_RTC_SetAlarm()
512 if (do_div(tmpFiper, p_Rtc->clockPeriodNanoSec)) in FM_RTC_SetPeriodicPulse()
631 do_div(ts, p_Rtc->clockPeriodNanoSec); in FM_RTC_SetCurrentTime()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dmath64.h34 #define do_div(n, base) ({ \ macro
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dutils.c977 do_div(tpt, elapsed); in iwl_mvm_calc_tcm_stats()
991 do_div(tpt, elapsed * 100); in iwl_mvm_calc_tcm_stats()
H A Ddebugfs-vif.c462 do_div(curr_os, NSEC_PER_USEC); in iwl_dbgfs_os_device_timediff_read()
H A Dmac80211.c6069 do_div(survey->time_rx, USEC_PER_MSEC); in iwl_mvm_sync_rx_queues_internal()
6073 do_div(survey->time_tx, USEC_PER_MSEC); in iwl_mvm_sync_rx_queues_internal()
6083 do_div(survey->time, USEC_PER_MSEC); in iwl_mvm_sync_rx_queues_internal()
6087 do_div(survey->time_scan, USEC_PER_MSEC); in iwl_mvm_sync_rx_queues_internal()
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_proc.c368 nsec_rem = do_div(t, 1000000000); in sdpprf_show()
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-generic.c247 (void) do_div(u, v); in __div_u64()
/freebsd/sys/contrib/ncsw/Peripherals/FM/
H A Dfman_ncsw.c191 if (do_div(frac, fm_clk_freq)) in fman_enable_time_stamp()