Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/drm2/
H A Ddrm_fixed.h67 do_div(tmp, B.full); in dfixed_div()
H A Ddrm_os_freebsd.h186 #define do_div(a, b) ((a) /= (b)) macro
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dmath64.h35 #define do_div(n, base) ({ \ macro
/freebsd-13.1/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-13.1/sys/contrib/dev/iwlwifi/mvm/
H A Dutils.c857 do_div(tpt, elapsed); in iwl_mvm_check_uapsd_agg_expected_tpt()
871 do_div(tpt, elapsed * 100); in iwl_mvm_check_uapsd_agg_expected_tpt()
H A Dmac80211.c5200 do_div(survey->time, USEC_PER_MSEC); in iwl_mvm_mac_get_survey()
5204 do_div(survey->time_rx, USEC_PER_MSEC); in iwl_mvm_mac_get_survey()
5208 do_div(survey->time_tx, USEC_PER_MSEC); in iwl_mvm_mac_get_survey()
5212 do_div(survey->time_scan, USEC_PER_MSEC); in iwl_mvm_mac_get_survey()
/freebsd-13.1/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_proc.c368 nsec_rem = do_div(t, 1000000000); in sdpprf_show()
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-generic.c218 (void) do_div(u, v); in __div_u64()
/freebsd-13.1/sys/contrib/ncsw/Peripherals/FM/
H A Dfman_ncsw.c191 if (do_div(frac, fm_clk_freq)) in fman_enable_time_stamp()