Lines Matching refs:xres
731 const u32 xres = (info->var.xres + 31) & ~31; in pm3fb_write_mode() local
732 const u32 htotal = xres + hbend; in pm3fb_write_mode()
966 if (var->xres != var->xres_virtual) { in pm3fb_check_var()
988 var->xres = (var->xres + 31) & ~31; /* could sometimes be 8 */ in pm3fb_check_var()
989 lpitch = var->xres * ((var->bits_per_pixel + 7) >> 3); in pm3fb_check_var()
991 if (var->xres < 200 || var->xres > 2048) { in pm3fb_check_var()
992 DPRINTK("width not supported: %u\n", var->xres); in pm3fb_check_var()
1003 var->xres, var->yres_virtual, var->bits_per_pixel); in pm3fb_check_var()
1016 var->xres, var->yres, var->bits_per_pixel); in pm3fb_check_var()
1023 const u32 xres = (info->var.xres + 31) & ~31; in pm3fb_set_par() local
1026 par->base = pm3fb_shift_bpp(bpp, (info->var.yoffset * xres) in pm3fb_set_par()
1150 const u32 xres = (info->var.xres + 31) & ~31; in pm3fb_pan_display() local
1153 (var->yoffset * xres) in pm3fb_pan_display()