Home
last modified time | relevance | path

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

/f-stack/freebsd/arm64/nvidia/tegra210/
H A Dtegra210_cpufreq.c170 #define DIV_ROUND_CLOSEST(val, div) (((val) + ((div) / 2)) / (div)) macro
202 uv = DIV_ROUND_CLOSEST(ent->c2 * sc->speedo_value, scale); in freq_to_voltage()
203 uv = DIV_ROUND_CLOSEST((uv + ent->c1) * sc->speedo_value, scale) + in freq_to_voltage()
/f-stack/freebsd/arm/nvidia/tegra124/
H A Dtegra124_cpufreq.c213 #define DIV_ROUND_CLOSEST(val, div) (((val) + ((div) / 2)) / (div)) macro
244 uv = DIV_ROUND_CLOSEST(ent->c2 * sc->speedo_value, scale); in freq_to_voltage()
245 uv = DIV_ROUND_CLOSEST((uv + ent->c1) * sc->speedo_value, scale) + in freq_to_voltage()