Lines Matching refs:xres

118 	.xres =			640,
220 static u32 partprod(u32 xres) in partprod() argument
224 for (i = 0; pp_table[i].width && pp_table[i].width != xres; i++) in partprod()
227 DPRINTK("invalid width %u\n", xres); in partprod()
571 if (var->xres != var->xres_virtual) { in pm2fb_check_var()
598 var->xres = (var->xres + 15) & ~15; /* could sometimes be 8 */ in pm2fb_check_var()
599 lpitch = var->xres * ((var->bits_per_pixel + 7) >> 3); in pm2fb_check_var()
601 if (var->xres < 320 || var->xres > 1600) { in pm2fb_check_var()
602 DPRINTK("width not supported: %u\n", var->xres); in pm2fb_check_var()
613 var->xres, var->yres_virtual, var->bits_per_pixel); in pm2fb_check_var()
669 var->xres, var->yres, var->bits_per_pixel); in pm2fb_check_var()
697 u32 xres = (info->var.xres + 31) & ~31; in pm2fb_set_par() local
718 htotal = to3264(xres, depth, data64) + hbend - 1; in pm2fb_set_par()
727 base = to3264(info->var.yoffset * xres + info->var.xoffset, depth, 1); in pm2fb_set_par()
761 info->fix.line_length = info->var.xres * depth / 8; in pm2fb_set_par()
807 pm2_WR(par, PM2R_FB_READ_MODE, partprod(xres)); in pm2fb_set_par()
808 pm2_WR(par, PM2R_LB_READ_MODE, partprod(xres)); in pm2fb_set_par()
809 pm2_WR(par, PM2R_TEXTURE_MAP_FORMAT, txtmap | partprod(xres)); in pm2fb_set_par()
845 info->var.xres, info->var.yres, info->var.bits_per_pixel); in pm2fb_set_par()
970 u32 xres = (info->var.xres + 31) & ~31; in pm2fb_pan_display() local
973 base = to3264(var->yoffset * xres + var->xoffset, depth, 1); in pm2fb_pan_display()
1154 u32 xres = (info->var.xres + 31) & ~31; in pm2fb_imageblit() local
1188 pm2_WR(par, PM2R_FB_READ_MODE, partprod(xres)); in pm2fb_imageblit()