Lines Matching refs:xoffset
599 /* truncate xoffset and yoffset to maximum if too high */
600 if (var->xoffset > var->xres_virtual - var->xres)
601 var->xoffset = var->xres_virtual - var->xres - 1;
1317 int xoffset;
1322 /* no range checks for xoffset and yoffset, */
1327 xoffset = var->xoffset * info->var.bits_per_pixel / 8;
1329 base = var->yoffset * info->fix.line_length + xoffset;
1333 xpix = (unsigned char) (var->xoffset % 8);
1336 xpix = (unsigned char) ((xoffset % 4) * 2);