Lines Matching refs:xoffset
206 u32 xoffset, pos;
208 xoffset = var->xoffset;
210 pos = (info->var.xres_virtual * var->yoffset + xoffset) >> 2;
213 pos = (info->var.xres_virtual * (var->yoffset / fh) + xoffset) >> 3;
216 xoffset--;
217 pos = (info->var.xres_virtual * var->yoffset + xoffset) >> 3;
221 /* if we support CFB4, then we must! support xoffset with pixel
222 * granularity if someone supports xoffset in bit resolution */
226 vga_io_w(VGA_ATT_IW, (xoffset & 3) << 1);
228 vga_io_w(VGA_ATT_IW, xoffset & 7);
333 u32 vxres, xoffset, vyres, yoffset;
371 xoffset = (var->xoffset + 7) & ~7;
378 if (xres + xoffset > vxres)
379 xoffset = vxres - xres;
386 var->xoffset = xoffset;
466 xoffset--;
467 pos = yoffset * vxres + (xoffset >> shift);
583 atc[VGA_ATC_PEL] = (info->var.xoffset & 3) << 1;
585 atc[VGA_ATC_PEL] = info->var.xoffset & 7;