Lines Matching refs:dx
27 static u32 rotation24bpp(u32 dx, u32 direction) in rotation24bpp() argument
31 rotation = (dx / 4) % 6; in rotation24bpp()
33 rotation = ((dx + 2) / 4) % 6; in rotation24bpp()
200 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local
215 dx *= 3; in atyfb_copyarea()
225 if (sx < dx) { in atyfb_copyarea()
226 dx += width - 1; in atyfb_copyarea()
232 rotation = rotation24bpp(dx, direction); in atyfb_copyarea()
240 draw_rect(dx, dy, width, area->height, par); in atyfb_copyarea()
246 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() local
266 dx *= 3; in atyfb_fillrect()
268 rotation = rotation24bpp(dx, DST_X_LEFT_TO_RIGHT); in atyfb_fillrect()
279 draw_rect(dx, rect->dy, width, rect->height, par); in atyfb_fillrect()
285 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; in atyfb_imageblit() local
335 dx *= 3; in atyfb_imageblit()
338 rotation = rotation24bpp(dx, DST_X_LEFT_TO_RIGHT); in atyfb_imageblit()
380 draw_rect(dx, dy, width, image->height, par); in atyfb_imageblit()