Searched refs:div_down (Results 1 – 1 of 1) sorted by relevance
232 static int div_down(int val, int mult) { in div_down() function255 mv_vertical = div_down(mv_vertical, 2); in nouveau_vpe_mb_mv()271 mc_vector |= pos(x, div_down(mv_horizontal, 2), width); in nouveau_vpe_mb_mv()275 mc_vector |= pos(y, div_down(mv_vertical, 2), height) << NV17_MPEG_CMD_MV_COORDS_Y__SHIFT; in nouveau_vpe_mb_mv()