Lines Matching defs:xres
150 static int neoFindMode(int xres, int yres, int depth)
180 if (xres <= mode[i].x_res) {
258 int hsync_end = var->xres + var->right_margin + var->hsync_len;
285 par->CRTC[1] = (var->xres >> 3) - 1;
286 par->CRTC[2] = (var->xres >> 3) - 1;
288 par->CRTC[4] = ((var->xres + var->right_margin) >> 3);
594 ((var->xres > par->NeoPanelWidth) ||
598 var->xres, var->yres, par->NeoPanelWidth,
607 switch (var->xres) {
630 var->xres, var->yres);
691 if (var->xres_virtual < var->xres)
692 var->xres_virtual = var->xres;
703 /* we must round yres/xres down, we already rounded y/xres_virtual up
707 if (var->xoffset + var->xres > var->xres_virtual)
708 var->xoffset = var->xres_virtual - var->xres;
813 switch (info->var.xres) {
853 (info->var.xres != par->NeoPanelWidth)) {
854 switch (info->var.xres) {
887 if (info->var.xres == par->NeoPanelWidth) {
900 info->var.xres) >> 4) - 1;
910 switch (info->var.xres) {
940 neoFindMode(info->var.xres, info->var.yres,
1631 .xres = 800,
2070 h_sync * 512 / (info->var.xres + info->var.left_margin +
2078 info->fix.smem_len >> 10, info->var.xres,