Lines Matching refs:xres
144 static int xres __devinitdata;
872 u32 xres, yres, vxres, vyres; in i810_round_off() local
878 xres = var->xres; in i810_round_off()
891 round_off_xres(&xres); in i810_round_off()
892 if (xres < 40) in i810_round_off()
893 xres = 40; in i810_round_off()
894 if (xres > 2048) in i810_round_off()
895 xres = 2048; in i810_round_off()
896 xres = (xres + 7) & ~7; in i810_round_off()
898 if (vxres < xres) in i810_round_off()
899 vxres = xres; in i810_round_off()
901 round_off_yres(&xres, &yres); in i810_round_off()
924 var->xres = xres; in i810_round_off()
1012 if (vxres < var->xres) { in i810_check_params()
1136 u32 xres, yres, vxres, vyres; in decode_var() local
1138 xres = var->xres; in decode_var()
1177 i810fb_encode_registers(var, par, xres, yres); in decode_var()
1784 if (xres) in i810_init_defaults()
1785 info->var.xres = xres; in i810_init_defaults()
1787 info->var.xres = 640; in i810_init_defaults()
1795 vyres = (vram << 20)/(info->var.xres*bpp >> 3); in i810_init_defaults()
1930 if (xres && yres) { in i810fb_find_init_mode()
1978 xres = simple_strtoul(this_opt+5, NULL, 0); in i810fb_setup()
2075 hfreq = pixclock/(info->var.xres + info->var.left_margin + in i810fb_init_pci()
2089 info->monspecs.vfmax, info->var.xres, in i810fb_init_pci()
2173 module_param(xres, int, 0);
2174 MODULE_PARM_DESC(xres, "Horizontal resolution in pixels (default = 640)");