Lines Matching full:width

185 static inline void draw_rect(s16 x, s16 y, u16 width, u16 height,  in draw_rect()  argument
191 aty_st_le32(DST_HEIGHT_WIDTH, (width << 16) | height, par); in draw_rect()
199 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local
203 if (!area->width || !area->height) in atyfb_copyarea()
215 width *= 3; in atyfb_copyarea()
225 dx += width - 1; in atyfb_copyarea()
226 sx += width - 1; in atyfb_copyarea()
237 aty_st_le32(SRC_HEIGHT1_WIDTH1, (width << 16) | area->height, par); in atyfb_copyarea()
239 draw_rect(dx, dy, width, area->height, par); in atyfb_copyarea()
245 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() local
249 if (!rect->width || !rect->height) in atyfb_fillrect()
266 width *= 3; in atyfb_fillrect()
278 draw_rect(dx, rect->dy, width, rect->height, par); in atyfb_fillrect()
284 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; in atyfb_imageblit() local
289 if (!image->width || !image->height) in atyfb_imageblit()
335 width *= 3; in atyfb_imageblit()
346 if (M64_HAS(HW_TRIPLE) && image->width % 8 == 0) in atyfb_imageblit()
379 draw_rect(dx, dy, width, image->height, par); in atyfb_imageblit()
380 src_bytes = (((image->width * image->depth) + 7) / 8) * image->height; in atyfb_imageblit()
384 int inbit, outbit, mult24, byte_id_in_dword, width; in atyfb_imageblit() local
388 for (width = image->width, inbit = 7, mult24 = 0; src_bytes; ) { in atyfb_imageblit()
399 width--; in atyfb_imageblit()
403 if (inbit < 0 || width == 0) { in atyfb_imageblit()
408 if (width == 0) { in atyfb_imageblit()
409 width = image->width; in atyfb_imageblit()