Lines Matching refs:width
187 static inline void draw_rect(s16 x, s16 y, u16 width, u16 height, in draw_rect() argument
193 aty_st_le32(DST_HEIGHT_WIDTH, (width << 16) | height, par); in draw_rect()
201 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local
205 if (!area->width || !area->height) in atyfb_copyarea()
217 width *= 3; in atyfb_copyarea()
227 dx += width - 1; in atyfb_copyarea()
228 sx += width - 1; in atyfb_copyarea()
240 aty_st_le32(SRC_HEIGHT1_WIDTH1, (width << 16) | area->height, par); in atyfb_copyarea()
242 draw_rect(dx, dy, width, area->height, par); in atyfb_copyarea()
248 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() local
252 if (!rect->width || !rect->height) in atyfb_fillrect()
269 width *= 3; in atyfb_fillrect()
282 draw_rect(dx, rect->dy, width, rect->height, par); in atyfb_fillrect()
288 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; in atyfb_imageblit() local
293 if (!image->width || !image->height) in atyfb_imageblit()
338 width *= 3; in atyfb_imageblit()
349 if (image->depth == 1 && M64_HAS(HW_TRIPLE) && image->width % 8 == 0) in atyfb_imageblit()
381 draw_rect(dx, dy, width, image->height, par); in atyfb_imageblit()
382 src_bytes = (((image->width * image->depth) + 7) / 8) * image->height; in atyfb_imageblit()
386 int inbit, outbit, mult24, byte_id_in_dword, width; in atyfb_imageblit() local
390 for (width = image->width, inbit = 7, mult24 = 0; src_bytes; ) { in atyfb_imageblit()
401 width--; in atyfb_imageblit()
405 if (inbit < 0 || width == 0) { in atyfb_imageblit()
410 if (width == 0) { in atyfb_imageblit()
411 width = image->width; in atyfb_imageblit()