Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/
H A Dmath_support.h45 #define ROUND_HALF_DOWN_DIV(a, b) (((b) != 0) ? ((a) + (b / 2) - 1) / (b) : 0) macro
46 #define ROUND_HALF_DOWN_MUL(a, b) (ROUND_HALF_DOWN_DIV(a, b) * (b))
99 return ROUND_HALF_DOWN_DIV(a, b); in round_half_down_div()