Searched refs:xoffset (Results 1 - 25 of 98) sorted by relevance

1234

/drivers/video/
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 D68328fb.c150 var->xoffset = info->var.xoffset;
178 if (var->xres_virtual < var->xoffset + var->xres)
179 var->xres_virtual = var->xoffset + var->xres;
369 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag
378 || var->xoffset)
381 if (var->xoffset + info->var.xres > info->var.xres_virtual ||
385 info->var.xoffset = var->xoffset;
H A Dvfb.c173 var->xoffset = info->var.xoffset;
201 if (var->xres_virtual < var->xoffset + var->xres)
202 var->xres_virtual = var->xoffset + var->xres;
386 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag
395 || var->xoffset)
398 if (var->xoffset + info->var.xres > info->var.xres_virtual ||
402 info->var.xoffset = var->xoffset;
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 Datafb.c33 * (var->xoffset was changed even if no set_screen_base avail.)
143 short xoffset; member in struct:atafb_par::__anon5762::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 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 Dhitfb.c160 int xoffset = var->xoffset; local
163 if (xoffset != 0)
260 var->xoffset = 0;
H A Dfb-puv3.c353 var->xoffset = info->var.xoffset;
381 if (var->xres_virtual < var->xoffset + var->xres)
382 var->xres_virtual = var->xoffset + var->xres;
616 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag
624 || var->xoffset)
627 if (var->xoffset + info->var.xres > info->var.xres_virtual ||
631 info->var.xoffset = var->xoffset;
H A Dpvr2fb.c463 if (var->xoffset || var->yoffset < 0 ||
465 var->xoffset = var->yoffset = 0;
467 if (var->xoffset > var->xres_virtual - var->xres ||
469 var->xoffset < 0 || var->yoffset < 0)
470 var->xoffset = var->yoffset = 0;
473 var->xoffset = var->yoffset = 0;
546 get_line_length(var->xoffset+var->xres, var->bits_per_pixel),
579 get_line_length(var->xoffset+var->xres, var->bits_per_pixel),
H A Di740fb.c413 u32 vxres, xoffset, vyres, yoffset; local
421 var->xoffset, var->yoffset, var->bits_per_pixel,
477 xoffset = ALIGN(var->xoffset, 8);
478 if (xres + xoffset > vxres)
479 xoffset = vxres - xres;
592 base = (yoffset * vxres + (xoffset & ~7)) >> 2;
911 + (var->xoffset & ~7)) >> 2;
913 dev_dbg(info->device, "pan_display: xoffset: %i yoffset: %i base: %i\n",
914 var->xoffset, va
[all...]
H A Dfsl-diu-fb.c684 if (var->xoffset < 0)
685 var->xoffset = 0;
690 if (var->xoffset + info->var.xres > info->var.xres_virtual)
691 var->xoffset = info->var.xres_virtual - info->var.xres;
891 ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset);
995 ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset);
1070 * 'xoffset' and 'yoffset' fields of the 'var' structure. If the values
1076 if ((info->var.xoffset == var->xoffset) &&
1080 if (var->xoffset <
[all...]
H A Damifb.c688 __s16 xoffset; member in struct:fb_cursorstate
720 int xoffset; /* vmode */ member in struct:amifb_par
1485 par->xoffset = var->xoffset;
1488 if (par->xoffset || par->yoffset < 0 ||
1490 par->xoffset = par->yoffset = 0;
1492 if (par->xoffset < 0 ||
1493 par->xoffset > upx(16 << maxfmode, par->vxres - par->xres) ||
1495 par->xoffset = par->yoffset = 0;
1498 par->xoffset
[all...]
H A Dgxt4500.c278 if (var->xres + var->xoffset > var->xres_virtual ||
463 writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset);
544 if (var->xoffset & 7)
546 if (var->xoffset + info->var.xres > info->var.xres_virtual ||
550 writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset);
H A Dda8xx-fb.c172 .xoffset = 0,
1056 if (var->xoffset != fbi->var.xoffset ||
1059 new_var.xoffset = var->xoffset;
1068 new_var.xoffset * fbi->var.bits_per_pixel / 8;
/drivers/video/console/
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;
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 Dtileblit.c125 ops->var.xoffset = info->var.xoffset;
H A Dfbcon_ccw.c214 region.dx = info->var.xoffset + bs;
402 yoffset = (vyres - info->var.yres) - ops->var.xoffset;
403 ops->var.xoffset = ops->var.yoffset;
406 ops->var.xoffset = info->var.xoffset;
H A Dbitblit.c221 region.dx = info->var.xoffset + rs;
229 region.dx = info->var.xoffset;
398 ops->var.xoffset = info->var.xoffset;
/drivers/video/aty/
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...]
/drivers/acpi/
H A Dbgrt.c53 static DEVICE_ATTR(xoffset, S_IRUGO, show_xoffset, NULL);
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_fb.c138 (var->xoffset != 0 || var->yoffset != 0)) {
143 if ((var->xoffset + var->xres) > par->max_width ||
176 vmw_write(vmw_priv, SVGA_REG_DISPLAY_POSITION_X, info->var.xoffset);
505 info->var.xoffset = 0;
/drivers/video/matrox/
H A Dmatroxfb_crtc2.c174 m2info->fbcon.var.xoffset = var->xoffset;
178 pos = m2info->fbcon.var.yoffset * linelen + m2info->fbcon.var.xoffset * pixelsize;
215 if (var->xoffset + var->xres > var->xres_virtual)
216 var->xoffset = var->xres_virtual - var->xres;
353 pos = (m2info->fbcon.var.yoffset * m2info->fbcon.var.xres_virtual + m2info->fbcon.var.xoffset) * m2info->fbcon.var.bits_per_pixel >> 3;
/drivers/video/omap2/omapfb/
H A Domapfb-main.c175 offset = vrfb->yoffset * OMAP_VRFB_LINE_LEN + vrfb->xoffset;
178 offset = vrfb->xoffset * OMAP_VRFB_LINE_LEN;
700 if (var->xres + var->xoffset > var->xres_virtual)
701 var->xoffset = var->xres_virtual - var->xres;
773 var->xoffset * (var->bits_per_pixel >> 3);
794 var->xoffset * (var->bits_per_pixel >> 3);
797 var->xoffset * (var->bits_per_pixel >> 3);
799 offset -= var->xoffset * fix->line_length +
802 offset += var->xoffset * fix->line_length +
830 var->xoffset, va
[all...]
/drivers/media/video/ivtv/
H A Divtvfb.c764 if (var->xoffset >= var->xres_virtual || var->yoffset >= var->yres_virtual) {
766 var->xoffset, var->xres_virtual, var->yoffset, var->yres_virtual);
840 var->xoffset + info->var.xres > info->var.xres_virtual)
844 + var->xoffset * info->var.bits_per_pixel / 8;
848 itv->yuv_info.osd_x_pan = var->xoffset;

Completed in 725 milliseconds

1234