Lines Matching refs:dx
28 static u32 rotation24bpp(u32 dx, u32 direction) in rotation24bpp() argument
32 rotation = (dx / 4) % 6; in rotation24bpp()
34 rotation = ((dx + 2) / 4) % 6; in rotation24bpp()
203 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local
218 dx *= 3; in atyfb_copyarea()
228 if (sx < dx) { in atyfb_copyarea()
229 dx += width - 1; in atyfb_copyarea()
235 rotation = rotation24bpp(dx, direction); in atyfb_copyarea()
244 draw_rect(dx, dy, width, area->height, par); in atyfb_copyarea()
250 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() local
270 dx *= 3; in atyfb_fillrect()
272 rotation = rotation24bpp(dx, DST_X_LEFT_TO_RIGHT); in atyfb_fillrect()
284 draw_rect(dx, rect->dy, width, rect->height, par); in atyfb_fillrect()
290 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; in atyfb_imageblit() local
339 dx *= 3; in atyfb_imageblit()
342 rotation = rotation24bpp(dx, DST_X_LEFT_TO_RIGHT); in atyfb_imageblit()
383 draw_rect(dx, dy, width, image->height, par); in atyfb_imageblit()