Searched defs:xoffset (Results 1 - 15 of 15) sorted by relevance

/drivers/video/
H A Dhitfb.c160 int xoffset = var->xoffset; local
163 if (xoffset != 0)
260 var->xoffset = 0;
H A Dpxa168fb.c212 if (var->xoffset + var->xres > var->xres_virtual)
350 static void set_graphics_start(struct fb_info *info, int xoffset, int yoffset) argument
357 pixel_offset = (yoffset * var->xres_virtual) + xoffset;
530 set_graphics_start(info, var->xoffset, var->yoffset);
H A Dplatinumfb.c51 int xoffset, yoffset; member in struct:fb_info_platinum
483 pinfo->xoffset = 0;
H A Dhgafb.c254 static void hga_pan(unsigned int xoffset, unsigned int yoffset) argument
259 base = (yoffset / 8) * 90 + xoffset;
407 * @var:contains new xoffset, yoffset and vmode values
410 * This function looks only at xoffset, yoffset and the %FB_VMODE_YWRAP
422 var->xoffset)
425 if (var->xoffset + info->var.xres > info->var.xres_virtual
431 hga_pan(var->xoffset, var->yoffset);
H A Dcontrolfb.c63 int xoffset, yoffset; member in struct:fb_par_control
245 static inline void set_screen_start(int xoffset, int yoffset, argument
250 par->xoffset = xoffset;
253 par->yoffset * par->pitch + (par->xoffset << par->cmode));
260 unsigned int xoffset, hstep; local
268 xoffset = (var->xoffset + hstep) & ~hstep;
270 if (xoffset+par->xres > par->vxres ||
274 set_screen_start(xoffset, va
[all...]
H A Dvga16fb.c191 u32 xoffset, pos; local
193 xoffset = var->xoffset;
195 pos = (info->var.xres_virtual * var->yoffset + xoffset) >> 2;
198 pos = (info->var.xres_virtual * (var->yoffset / fh) + xoffset) >> 3;
201 xoffset--;
202 pos = (info->var.xres_virtual * var->yoffset + xoffset) >> 3;
206 /* if we support CFB4, then we must! support xoffset with pixel
207 * granularity if someone supports xoffset in bit resolution */
211 vga_io_w(VGA_ATT_IW, (xoffset
318 u32 vxres, xoffset, vyres, yoffset; local
[all...]
H A Dcirrusfb.c616 if (var->xoffset < 0)
617 var->xoffset = 0;
621 /* truncate xoffset and yoffset to maximum if too high */
622 if (var->xoffset > var->xres_virtual - var->xres)
623 var->xoffset = var->xres_virtual - var->xres - 1;
1339 int xoffset; local
1344 /* no range checks for xoffset and yoffset, */
1349 xoffset = var->xoffset * info->var.bits_per_pixel / 8;
1351 base = var->yoffset * info->fix.line_length + xoffset;
[all...]
H A Datafb.c33 * (var->xoffset was changed even if no set_screen_base avail.)
143 short xoffset; member in struct:atafb_par::__anon5646::falcon_hw
355 * xres_virtual, yres_virtual, xoffset, yoffset, grayscale, bitfields,
774 var->xoffset = 0;
941 xres_virtual, yres_virtual, xoffset, yoffset, grayscale, bitfields,
1385 par->hw.falcon.xoffset = 0;
1455 if (hw->xoffset)
1494 var->xoffset = 0; /* TODO change this */
1570 hw->xoffset = videl.xoffset
1680 int xoffset; local
2452 int xoffset = var->xoffset; local
[all...]
H A Damifb.c689 __s16 xoffset; member in struct:fb_cursorstate
721 int xoffset; /* vmode */ member in struct:amifb_par
1486 par->xoffset = var->xoffset;
1489 if (par->xoffset || par->yoffset < 0 ||
1491 par->xoffset = par->yoffset = 0;
1493 if (par->xoffset < 0 ||
1494 par->xoffset > upx(16 << maxfmode, par->vxres - par->xres) ||
1496 par->xoffset = par->yoffset = 0;
1499 par->xoffset
[all...]
/drivers/video/console/
H A Dfbcon_cw.c198 region.dx = info->var.xoffset;
383 u32 xoffset; local
386 xoffset = vxres - (info->var.xres + ops->var.yoffset);
387 ops->var.yoffset = ops->var.xoffset;
388 ops->var.xoffset = xoffset;
390 ops->var.xoffset = info->var.xoffset;
H A Dfbcon_ud.c237 region.dx = info->var.xoffset;
245 region.dx = info->var.xoffset;
422 int xoffset, yoffset; local
427 xoffset = vxres - info->var.xres - ops->var.xoffset;
431 ops->var.xoffset = xoffset;
434 ops->var.xoffset = info->var.xoffset;
/drivers/video/aty/
H A Datyfb.h14 u32 xoffset; member in struct:crtc
H A Daty128fb.c382 u32 xoffset, yoffset; member in struct:aty128_crtc
1004 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; local
1016 xoffset = var->xoffset;
1040 xoffset = (xoffset + 7) & ~7;
1042 if (vxres < xres + xoffset)
1043 vxres = xres + xoffset;
1119 crtc->xoffset = xoffset;
1581 u32 xoffset, yoffset; local
[all...]
H A Datyfb_base.c794 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; local
806 xoffset = (var->xoffset + 7) & ~7;
815 if (vxres < xres + xoffset)
816 vxres = xres + xoffset;
1001 crtc->xoffset = xoffset;
1005 ((yoffset * line_length + xoffset * bpp / 8) / 8) |
1567 u32 xoffset = info->var.xoffset; local
1736 u32 xres, yres, xoffset, yoffset; local
[all...]
/drivers/video/intelfb/
H A Dintelfbhw.c384 u32 offset, xoffset, yoffset; local
390 xoffset = ROUND_DOWN_TO(var->xoffset, 8);
393 if ((xoffset + info->var.xres > info->var.xres_virtual) ||
398 (xoffset * info->var.bits_per_pixel) / 8;
1256 var->xoffset * var->bits_per_pixel / 8;

Completed in 181 milliseconds