Lines Matching refs:xres
192 htotal = var->left_margin + var->xres + var->right_margin
215 if (!viafb_get_best_mode(var->xres, var->yres, 60)) {
218 var->xres, var->yres, var->bits_per_pixel);
242 if (var->xres_virtual < var->xres)
243 var->xres_virtual = var->xres;
253 refresh = viafb_get_refresh(var->xres, var->yres,
258 viafb_get_best_mode(var->xres, var->yres, refresh));
274 viafb_update_device_setting(viafbinfo->var.xres, viafbinfo->var.yres,
278 viafb_update_device_setting(viafbinfo1->var.xres,
427 return put_user(viafb_ioctl_hotplug(info->var.xres,
436 u.viamode.xres = (u32) viafb_hotplug_Xres;
524 u.active_dev.xres = viafb_hotplug_Xres;
579 viafb_lcd_get_support_expand_state(info->var.xres,
1660 static int parse_mode(const char *str, u32 devices, u32 *xres, u32 *yres)
1674 *xres = mode->xres;
1677 *xres = 1200;
1680 *xres = 640;
1686 *xres = simple_strtoul(str, &ptr, 10);
1837 default_var.xres = default_xres;
1843 default_var.xres, default_var.yres, viafb_refresh));
1877 default_var.xres = viafb_second_xres;
1883 default_var.xres, default_var.yres, viafb_refresh1));
1920 viafbinfo->node, viafbinfo->fix.id, default_var.xres,