/drivers/video/ |
H A D | controlfb.c | 63 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 D | 68328fb.c | 150 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 D | vfb.c | 173 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 D | vga16fb.c | 191 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 D | atafb.c | 33 * (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 D | hgafb.c | 254 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 D | hitfb.c | 160 int xoffset = var->xoffset; local 163 if (xoffset != 0) 260 var->xoffset = 0;
|
H A D | fb-puv3.c | 353 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 D | pvr2fb.c | 463 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 D | i740fb.c | 413 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 D | fsl-diu-fb.c | 684 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 D | amifb.c | 688 __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 D | gxt4500.c | 278 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 D | da8xx-fb.c | 172 .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 D | fbcon_ud.c | 237 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 D | fbcon_cw.c | 198 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 D | tileblit.c | 125 ops->var.xoffset = info->var.xoffset;
|
H A D | fbcon_ccw.c | 214 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 D | bitblit.c | 221 region.dx = info->var.xoffset + rs; 229 region.dx = info->var.xoffset; 398 ops->var.xoffset = info->var.xoffset;
|
/drivers/video/aty/ |
H A D | aty128fb.c | 382 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 D | bgrt.c | 53 static DEVICE_ATTR(xoffset, S_IRUGO, show_xoffset, NULL);
|
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_fb.c | 138 (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 D | matroxfb_crtc2.c | 174 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 D | omapfb-main.c | 175 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 D | ivtvfb.c | 764 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;
|