Home
last modified time | relevance | path

Searched refs:DIV_ROUND_CLOSEST (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/sys/arm/nvidia/tegra124/
H A Dtegra124_cpufreq.c214 #define DIV_ROUND_CLOSEST(val, div) (((val) + ((div) / 2)) / (div)) macro
246 uv = DIV_ROUND_CLOSEST(ent->c2 * sc->speedo_value, scale); in freq_to_voltage()
247 uv = DIV_ROUND_CLOSEST((uv + ent->c1) * sc->speedo_value, scale) + in freq_to_voltage()
/freebsd-12.1/sys/compat/linuxkpi/common/include/linux/
H A Dkernel.h482 #define DIV_ROUND_CLOSEST(x, divisor) (((x) + ((divisor) / 2)) / (divisor)) macro
/freebsd-12.1/sys/dev/drm2/
H A Ddrm_os_freebsd.h233 #define DIV_ROUND_CLOSEST(n,d) (((n) + (d) / 2) / (d)) macro
/freebsd-12.1/sys/dev/drm2/i915/
H A Dintel_pm.c2715 ia_freq = DIV_ROUND_CLOSEST(ia_freq, 100); in gen6_update_ring_freq()