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

1234

/linux-master/drivers/video/fbdev/
H A Dcontrolfb.c86 int xoffset, yoffset; member in struct:fb_par_control
205 static inline void set_screen_start(int xoffset, int yoffset, argument
210 par->xoffset = xoffset;
213 par->yoffset * par->pitch + (par->xoffset << par->cmode));
230 * check if only xoffset or yoffset differs.
233 if (p->par.xoffset != par->xoffset ||
235 set_screen_start(par->xoffset, par->yoffset, p);
262 + (par->xoffset << cmod
673 unsigned int xoffset, hstep; local
[all...]
H A D68328fb.c141 var->xoffset = info->var.xoffset;
169 if (var->xres_virtual < var->xoffset + var->xres)
170 var->xres_virtual = var->xoffset + var->xres;
360 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag
369 || var->xoffset)
372 if (var->xoffset + info->var.xres > info->var.xres_virtual ||
376 info->var.xoffset = var->xoffset;
H A Dvfb.c126 var->xoffset = info->var.xoffset;
154 if (var->xres_virtual < var->xoffset + var->xres)
155 var->xres_virtual = var->xoffset + var->xres;
354 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag
362 var->xoffset)
365 if (var->xoffset + info->var.xres > info->var.xres_virtual ||
369 info->var.xoffset = var->xoffset;
H A Dvga16fb.c206 u32 xoffset, pos; local
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
333 u32 vxres, xoffset, vyres, yoffset; local
[all...]
H A Datafb.c33 * (var->xoffset was changed even if no set_screen_base avail.)
119 short xoffset; member in struct:atafb_par::__anon1365::falcon_hw
319 * xres_virtual, yres_virtual, xoffset, yoffset, grayscale, bitfields,
738 var->xoffset = 0;
905 xres_virtual, yres_virtual, xoffset, yoffset, grayscale, bitfields,
1342 par->hw.falcon.xoffset = 0;
1412 if (hw->xoffset)
1451 var->xoffset = 0; /* TODO change this */
1527 hw->xoffset = videl.xoffset
1637 int xoffset; local
[all...]
H A Dhgafb.c254 static void hga_pan(unsigned int xoffset, unsigned int yoffset) argument
259 base = (yoffset / 8) * 90 + xoffset;
420 * @var:contains new xoffset, yoffset and vmode values
423 * This function looks only at xoffset, yoffset and the %FB_VMODE_YWRAP
435 var->xoffset)
438 if (var->xoffset + info->var.xres > info->var.xres_virtual
444 hga_pan(var->xoffset, var->yoffset);
H A Dhitfb.c175 int xoffset = var->xoffset; local
178 if (xoffset != 0)
275 var->xoffset = 0;
H A Dpvr2fb.c462 if (var->xoffset || var->yoffset >= var->yres_virtual) {
463 var->xoffset = var->yoffset = 0;
465 if (var->xoffset > var->xres_virtual - var->xres ||
467 var->xoffset = var->yoffset = 0;
470 var->xoffset = var->yoffset = 0;
543 get_line_length(var->xoffset+var->xres, var->bits_per_pixel),
576 get_line_length(var->xoffset+var->xres, var->bits_per_pixel),
H A Di740fb.c402 u32 vxres, xoffset, vyres, yoffset; local
410 var->xoffset, var->yoffset, var->bits_per_pixel,
467 xoffset = ALIGN(var->xoffset, 8);
468 if (xres + xoffset > vxres)
469 xoffset = vxres - xres;
582 base = (yoffset * vxres + (xoffset & ~7)) >> 2;
909 + (var->xoffset & ~7)) >> 2;
911 dev_dbg(info->device, "pan_display: xoffset: %i yoffset: %i base: %i\n",
912 var->xoffset, va
[all...]
H A Dg364fb.c124 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag
129 if (var->xoffset ||
H A Dda8xx-fb.c1022 if (var->xres + var->xoffset > var->xres_virtual)
1023 var->xoffset = var->xres_virtual - var->xres;
1219 if (var->xoffset != fbi->var.xoffset ||
1222 new_var.xoffset = var->xoffset;
1231 new_var.xoffset * fbi->var.bits_per_pixel / 8;
1281 info->var.xoffset * info->var.bits_per_pixel / 8;
H A Dfsl-diu-fb.c707 if (var->xoffset + info->var.xres > info->var.xres_virtual)
708 var->xoffset = info->var.xres_virtual - info->var.xres;
914 ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset);
1049 xx = (cursor->image.dx - info->var.xoffset) & 0x7ff;
1164 ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset);
1239 * 'xoffset' and 'yoffset' fields of the 'var' structure. If the values
1245 if ((info->var.xoffset == var->xoffset) &&
1249 if (var->xoffset + info->var.xres > info->var.xres_virtual
1253 info->var.xoffset
[all...]
/linux-master/include/video/
H A Domapvrfb.h20 u16 xoffset; member in struct:vrfb
/linux-master/drivers/acpi/
H A Dbgrt.c29 BGRT_SHOW(xoffset, image_offset_x);
/linux-master/drivers/video/fbdev/core/
H A Dfbcon_ud.c236 region.dx = info->var.xoffset;
244 region.dx = info->var.xoffset;
403 int xoffset, yoffset; local
408 xoffset = vxres - info->var.xres - ops->var.xoffset;
412 ops->var.xoffset = xoffset;
415 ops->var.xoffset = info->var.xoffset;
H A Dfbcon_cw.c196 region.dx = info->var.xoffset;
364 u32 xoffset; local
367 xoffset = vxres - (info->var.xres + ops->var.yoffset);
368 ops->var.yoffset = ops->var.xoffset;
369 ops->var.xoffset = xoffset;
371 ops->var.xoffset = info->var.xoffset;
H A Dtileblit.c125 ops->var.xoffset = info->var.xoffset;
H A Dfbmem.c182 if (var->xoffset > 0 && (!fix->xpanstep ||
183 (var->xoffset % fix->xpanstep)))
188 var->xoffset > info->var.xres_virtual - info->var.xres)
193 info->var.xoffset = var->xoffset;
H A Dfbcon_ccw.c213 region.dx = info->var.xoffset + bs;
384 yoffset = (vyres - info->var.yres) - ops->var.xoffset;
385 ops->var.xoffset = ops->var.yoffset;
388 ops->var.xoffset = info->var.xoffset;
H A Dbitblit.c220 region.dx = info->var.xoffset + rs;
228 region.dx = info->var.xoffset;
382 ops->var.xoffset = info->var.xoffset;
/linux-master/drivers/video/fbdev/aty/
H A Daty128fb.c418 u32 xoffset, yoffset; member in struct:aty128_crtc
1034 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; local
1046 xoffset = var->xoffset;
1070 xoffset = (xoffset + 7) & ~7;
1072 if (vxres < xres + xoffset)
1073 vxres = xres + xoffset;
1149 crtc->xoffset = xoffset;
1621 u32 xoffset, yoffset; local
[all...]
/linux-master/drivers/staging/sm750fb/
H A Dsm750_hw.c332 reg |= (var->xoffset & PANEL_WINDOW_WIDTH_X_MASK);
550 if ((var->xoffset + var->xres > var->xres_virtual) ||
556 ((var->xoffset * var->bits_per_pixel) >> 3);
/linux-master/drivers/video/fbdev/matrox/
H A Dmatroxfb_crtc2.c175 m2info->fbcon.var.xoffset = var->xoffset;
179 pos = m2info->fbcon.var.yoffset * linelen + m2info->fbcon.var.xoffset * pixelsize;
216 if (var->xoffset + var->xres > var->xres_virtual)
217 var->xoffset = var->xres_virtual - var->xres;
354 pos = (m2info->fbcon.var.yoffset * m2info->fbcon.var.xres_virtual + m2info->fbcon.var.xoffset) * m2info->fbcon.var.bits_per_pixel >> 3;
/linux-master/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-main.c163 offset = vrfb->yoffset * OMAP_VRFB_LINE_LEN + vrfb->xoffset;
166 offset = vrfb->xoffset * OMAP_VRFB_LINE_LEN;
689 if (var->xres + var->xoffset > var->xres_virtual)
690 var->xoffset = var->xres_virtual - var->xres;
766 var->xoffset * (var->bits_per_pixel >> 3);
787 var->xoffset * (var->bits_per_pixel >> 3);
790 var->xoffset * (var->bits_per_pixel >> 3);
792 offset -= var->xoffset * fix->line_length +
795 offset += var->xoffset * fix->line_length +
823 var->xoffset, va
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_fb_helper.c1272 var->xoffset > var->xres_virtual - var->xres)
1368 pan_set(fb_helper, var->xoffset, var->yoffset);
1372 info->var.xoffset = var->xoffset;
1375 pan_set(fb_helper, info->var.xoffset, info->var.yoffset);
1391 modeset->x = var->xoffset;
1397 info->var.xoffset = var->xoffset;
1719 info->var.xoffset = 0;

Completed in 411 milliseconds

1234