Lines Matching refs:xres
119 .xres = 640,
221 static u32 partprod(u32 xres)
225 for (i = 0; pp_table[i].width && pp_table[i].width != xres; i++)
228 DPRINTK("invalid width %u\n", xres);
575 if (var->xres != var->xres_virtual) {
602 var->xres = (var->xres + 15) & ~15; /* could sometimes be 8 */
603 lpitch = var->xres * ((var->bits_per_pixel + 7) >> 3);
605 if (var->xres < 320 || var->xres > 1600) {
606 DPRINTK("width not supported: %u\n", var->xres);
617 var->xres, var->yres_virtual, var->bits_per_pixel);
678 var->xres, var->yres, var->bits_per_pixel);
706 u32 xres = (info->var.xres + 31) & ~31;
727 htotal = to3264(xres, depth, data64) + hbend - 1;
736 base = to3264(info->var.yoffset * xres + info->var.xoffset, depth, 1);
770 info->fix.line_length = info->var.xres * depth / 8;
816 pm2_WR(par, PM2R_FB_READ_MODE, partprod(xres));
817 pm2_WR(par, PM2R_LB_READ_MODE, partprod(xres));
818 pm2_WR(par, PM2R_TEXTURE_MAP_FORMAT, txtmap | partprod(xres));
854 info->var.xres, info->var.yres, info->var.bits_per_pixel);
979 u32 xres = (info->var.xres + 31) & ~31;
982 base = to3264(var->yoffset * xres + var->xoffset, depth, 1);
1163 u32 xres = (info->var.xres + 31) & ~31;
1197 pm2_WR(par, PM2R_FB_READ_MODE, partprod(xres));