Lines Matching refs:width
223 const u32 width = (info->var.xres_virtual + 7) & ~7; in pm3fb_init_engine() local
279 PM3FBDestReadBufferWidth_Width(width)); in pm3fb_init_engine()
287 PM3FBSourceReadBufferWidth_Width(width)); in pm3fb_init_engine()
333 PM3FBWriteBufferWidth_Width(width)); in pm3fb_init_engine()
409 if (!modded.width || !modded.height || in pm3fb_fillrect()
413 if (modded.dx + modded.width > vxres) in pm3fb_fillrect()
414 modded.width = vxres - modded.dx; in pm3fb_fillrect()
442 PM3Render2D_Width(modded.width) | in pm3fb_fillrect()
466 if (!modded.width || !modded.height || in pm3fb_copyarea()
471 if (modded.sx + modded.width > vxres) in pm3fb_copyarea()
472 modded.width = vxres - modded.sx; in pm3fb_copyarea()
473 if (modded.dx + modded.width > vxres) in pm3fb_copyarea()
474 modded.width = vxres - modded.dx; in pm3fb_copyarea()
498 ((modded.dx + modded.width) & 0x0fff)); in pm3fb_copyarea()
514 PM3Render2D_Width(modded.width + x_align) | in pm3fb_copyarea()
573 ((image->dx + image->width) & 0x0fff)); in pm3fb_imageblit()
582 PM3Render2D_Width(image->width) | in pm3fb_imageblit()
587 int width = ((image->width + 7) >> 3) in pm3fb_imageblit() local
589 width >>= 2; in pm3fb_imageblit()
591 while (width >= PM3_FIFO_SIZE) { in pm3fb_imageblit()
599 width -= PM3_FIFO_SIZE - 1; in pm3fb_imageblit()
602 PM3_WAIT(par, width + 1); in pm3fb_imageblit()
603 while (width--) { in pm3fb_imageblit()
628 if (cursor->image.width > 64 || in pm3fb_cursor()
692 int j = (cursor->image.width + 7) >> 3; in pm3fb_cursor()
737 const u32 width = (info->var.xres_virtual + 7) & ~7; in pm3fb_write_mode() local
757 pm3fb_shift_bpp(bpp, width)); in pm3fb_write_mode()
964 var->width = -1; in pm3fb_check_var()
1112 #define CNVT_TOHW(val, width) ((((val) << (width)) + 0x7FFF - (val)) >> 16) in pm3fb_setcolreg() argument