Searched refs:div_down (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_video.c | 221 static int div_down(int val, int mult) { in div_down() function 244 mv_vertical = div_down(mv_vertical, 2); in nouveau_vpe_mb_mv() 260 mc_vector |= pos(x, div_down(mv_horizontal, 2), width); in nouveau_vpe_mb_mv() 264 mc_vector |= pos(y, div_down(mv_vertical, 2), height) << NV17_MPEG_CMD_MV_COORDS_Y__SHIFT; in nouveau_vpe_mb_mv()
|
/third_party/alsa-lib/src/pcm/ |
D | interval.c | 46 static inline unsigned int div_down(unsigned int a, unsigned int b) in div_down() function 69 if (div_down(UINT_MAX, a) < b) in mul()
|