Lines Matching refs:xres
125 .xres = 640,
227 static u32 partprod(u32 xres) in partprod() argument
231 for (i = 0; pp_table[i].width && pp_table[i].width != xres; i++) in partprod()
234 DPRINTK("invalid width %u\n", xres); in partprod()
578 if (var->xres != var->xres_virtual) { in pm2fb_check_var()
605 var->xres = (var->xres + 15) & ~15; /* could sometimes be 8 */ in pm2fb_check_var()
606 lpitch = var->xres * ((var->bits_per_pixel + 7) >> 3); in pm2fb_check_var()
608 if (var->xres < 320 || var->xres > 1600) { in pm2fb_check_var()
609 DPRINTK("width not supported: %u\n", var->xres); in pm2fb_check_var()
620 var->xres, var->yres_virtual, var->bits_per_pixel); in pm2fb_check_var()
676 var->xres, var->yres, var->bits_per_pixel); in pm2fb_check_var()
704 u32 xres = (info->var.xres + 31) & ~31; in pm2fb_set_par() local
725 htotal = to3264(xres, depth, data64) + hbend - 1; in pm2fb_set_par()
734 base = to3264(info->var.yoffset * xres + info->var.xoffset, depth, 1); in pm2fb_set_par()
768 info->fix.line_length = info->var.xres * depth / 8; in pm2fb_set_par()
814 pm2_WR(par, PM2R_FB_READ_MODE, partprod(xres)); in pm2fb_set_par()
815 pm2_WR(par, PM2R_LB_READ_MODE, partprod(xres)); in pm2fb_set_par()
816 pm2_WR(par, PM2R_TEXTURE_MAP_FORMAT, txtmap | partprod(xres)); in pm2fb_set_par()
852 info->var.xres, info->var.yres, info->var.bits_per_pixel); in pm2fb_set_par()
977 u32 xres = (var->xres + 31) & ~31; in pm2fb_pan_display() local
980 base = to3264(var->yoffset * xres + var->xoffset, depth, 1); in pm2fb_pan_display()
1161 u32 xres = (info->var.xres + 31) & ~31; in pm2fb_imageblit() local
1195 pm2_WR(par, PM2R_FB_READ_MODE, partprod(xres)); in pm2fb_imageblit()