Home
last modified time | relevance | path

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

/include/linux/
Dunits.h66 return DIV_ROUND_CLOSEST(t, MILLIDEGREE_PER_DEGREE); in millicelsius_to_kelvin()
73 return DIV_ROUND_CLOSEST(t, MILLIDEGREE_PER_DEGREE); in deci_kelvin_to_celsius()
80 return DIV_ROUND_CLOSEST(t, MILLIDEGREE_PER_DECIDEGREE); in celsius_to_deci_kelvin()
104 return DIV_ROUND_CLOSEST(t, MILLIDEGREE_PER_DECIDEGREE); in millicelsius_to_deci_kelvin()
109 return t + DIV_ROUND_CLOSEST(ABSOLUTE_ZERO_MILLICELSIUS, in kelvin_to_celsius()
115 return t - DIV_ROUND_CLOSEST(ABSOLUTE_ZERO_MILLICELSIUS, in celsius_to_kelvin()
Dmath.h98 #define DIV_ROUND_CLOSEST(x, divisor)( \ macro
/include/drm/
Ddrm_color_mgmt.h49 return DIV_ROUND_CLOSEST(user_input * ((1 << bit_precision) - 1), in drm_color_lut_extract()
/include/net/
Dred.h110 #define RED_ONE_PERCENT ((u32)DIV_ROUND_CLOSEST(1ULL<<32, 100))
461 max_p_delta = DIV_ROUND_CLOSEST(p->max_P, p->qth_delta); in red_adaptative_algo()