Searched refs:yoffset (Results 1 - 25 of 103) sorted by relevance

12345

/drivers/video/msm/
H A Dmsm_fb.c68 unsigned yoffset; member in struct:msmfb_info
124 uint32_t yoffset; local
150 yoffset = msmfb->yoffset;
164 addr = ((msmfb->xres * (yoffset + y) + x) * 2);
196 uint32_t yoffset, int pan_display)
205 left, top, eright, ebottom, yoffset, pan_display);
254 msmfb->yoffset = yoffset;
277 msmfb->yoffset);
194 msmfb_pan_update(struct fb_info *info, uint32_t left, uint32_t top, uint32_t eright, uint32_t ebottom, uint32_t yoffset, int pan_display) argument
[all...]
/drivers/video/
H A D68328fb.c151 var->yoffset = info->var.yoffset;
180 if (var->yres_virtual < var->yoffset + var->yres)
181 var->yres_virtual = var->yoffset + var->yres;
369 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag
376 if (var->yoffset < 0
377 || var->yoffset >= info->var.yres_virtual
382 var->yoffset + info->var.yres > info->var.yres_virtual)
386 info->var.yoffset = var->yoffset;
[all...]
H A Dvfb.c174 var->yoffset = info->var.yoffset;
203 if (var->yres_virtual < var->yoffset + var->yres)
204 var->yres_virtual = var->yoffset + var->yres;
386 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag
393 if (var->yoffset < 0
394 || var->yoffset >= info->var.yres_virtual
399 var->yoffset + info->var.yres > info->var.yres_virtual)
403 info->var.yoffset = var->yoffset;
[all...]
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
251 par->yoffset = yoffset;
253 par->yoffset * par->pitch + (par->xoffset << par->cmode));
271 var->yoffset+par->yres > par->vyres)
274 set_screen_start(xoffset, var->yoffset, p);
504 * check if only xoffset or yoffset differs.
508 p->par.yoffset != par->yoffset)
[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
420 if (var->yoffset < 0 ||
421 var->yoffset >= info->var.yres_virtual ||
426 || var->yoffset + info->var.yres > info->var.yres_virtual
427 || var->yoffset % 8)
431 hga_pan(var->xoffset, var->yoffset);
H A Dg364fb.c138 info->var.yoffset);
147 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag
153 var->yoffset + info->var.yres > info->var.yres_virtual)
156 *(unsigned int *) TOP_REG = var->yoffset * info->var.xres;
H A Dhitfb.c161 int yoffset = var->yoffset; local
166 fb_writew((yoffset*info->fix.line_length)>>10, HD64461_LCDCBAR);
261 var->yoffset = 0;
H A Dfb-puv3.c354 var->yoffset = info->var.yoffset;
383 if (var->yres_virtual < var->yoffset + var->yres)
384 var->yres_virtual = var->yoffset + var->yres;
616 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag
622 if (var->yoffset < 0
623 || var->yoffset >= info->var.yres_virtual
628 var->yoffset + info->var.yres > info->var.yres_virtual)
632 info->var.yoffset = var->yoffset;
[all...]
H A Datafb.c355 * xres_virtual, yres_virtual, xoffset, yoffset, grayscale, bitfields,
683 if (var->yoffset + yres > yres_virtual && yres_virtual)
686 par->screen_base = screen_base + var->yoffset * linelen;
776 var->yoffset = (par->screen_base - screen_base) / linelen;
778 var->yoffset = 0;
941 xres_virtual, yres_virtual, xoffset, yoffset, grayscale, bitfields,
1381 if (var->yoffset + yres > yres_virtual && yres_virtual)
1384 par->screen_base = screen_base + var->yoffset * linelen;
1546 var->yoffset = (par->screen_base - screen_base) / linelen;
1548 var->yoffset
2453 int yoffset = var->yoffset; local
[all...]
H A Damifb.c689 __s16 yoffset; member in struct:fb_cursorstate
721 int yoffset; /* vmode */ member in struct:amifb_par
1486 par->yoffset = var->yoffset;
1488 if (par->xoffset || par->yoffset < 0 ||
1489 par->yoffset >= par->vyres)
1490 par->xoffset = par->yoffset = 0;
1494 par->yoffset < 0 || par->yoffset > par->vyres - par->yres)
1495 par->xoffset = par->yoffset
[all...]
H A Di740fb.c413 u32 vxres, xoffset, vyres, yoffset; local
421 var->xoffset, var->yoffset, var->bits_per_pixel,
490 yoffset = var->yoffset;
491 if (yres + yoffset > vyres)
492 yoffset = vyres - yres;
505 if (yoffset + yres > vyres)
506 yoffset = vyres - yres;
592 base = (yoffset * vxres + (xoffset & ~7)) >> 2;
910 u32 base = (var->yoffset * inf
[all...]
H A Dvga16fb.c195 pos = (info->var.xres_virtual * var->yoffset + xoffset) >> 2;
198 pos = (info->var.xres_virtual * (var->yoffset / fh) + xoffset) >> 3;
202 pos = (info->var.xres_virtual * var->yoffset + xoffset) >> 3;
318 u32 vxres, xoffset, vyres, yoffset; local
402 yoffset = var->yoffset;
411 if (yoffset + yres > vyres)
412 yoffset = vyres - yres;
418 var->yoffset = yoffset;
[all...]
H A Dpvr2fb.c428 par->disp_start = info->fix.smem_start + (line_length * var->yoffset) * line_length;
463 if (var->xoffset || var->yoffset < 0 ||
464 var->yoffset >= var->yres_virtual) {
465 var->xoffset = var->yoffset = 0;
468 var->yoffset > var->yres_virtual - var->yres ||
469 var->xoffset < 0 || var->yoffset < 0)
470 var->xoffset = var->yoffset = 0;
473 var->xoffset = var->yoffset = 0;
H A Dfsl-diu-fb.c687 if (var->yoffset < 0)
688 var->yoffset = 0;
693 if (var->yoffset + info->var.yres > info->var.yres_virtual)
694 var->yoffset = info->var.yres_virtual - info->var.yres;
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
1077 (info->var.yoffset == var->yoffset))
1080 if (var->xoffset < 0 || var->yoffset <
[all...]
H A Darcfb.c207 if ((var->vmode & FB_VMODE_YWRAP) && (var->yoffset < 64)
210 ks108_set_start_line(par, i, var->yoffset);
212 info->var.yoffset = var->yoffset;
/drivers/video/console/
H A Dfbcon_ud.c244 region.dy = info->var.yoffset;
422 int xoffset, yoffset; local
428 yoffset = vyres - info->var.yres - ops->var.yoffset;
429 if (yoffset < 0)
430 yoffset += vyres;
432 ops->var.yoffset = yoffset;
435 ops->var.yoffset = info->var.yoffset;
[all...]
H A Dfbcon_ccw.c207 region.dy = info->var.yoffset;
398 u32 yoffset; local
402 yoffset = (vyres - info->var.yres) - ops->var.xoffset;
403 ops->var.xoffset = ops->var.yoffset;
404 ops->var.yoffset = yoffset;
407 ops->var.yoffset = info->var.yoffset;
H A Dfbcon_cw.c191 region.dy = info->var.yoffset + rs;
199 region.dy = info->var.yoffset;
386 xoffset = vxres - (info->var.xres + ops->var.yoffset);
387 ops->var.yoffset = ops->var.xoffset;
391 ops->var.yoffset = info->var.yoffset;
H A Dtileblit.c126 ops->var.yoffset = info->var.yoffset;
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_fb.c138 (var->xoffset != 0 || var->yoffset != 0)) {
144 (var->yoffset + var->yres) > par->max_height) {
151 var->yoffset + var->yres)) {
177 vmw_write(vmw_priv, SVGA_REG_DISPLAY_POSITION_Y, info->var.yoffset);
506 info->var.yoffset = 0;
/drivers/media/video/bt8xx/
H A Dbttv-risc.c128 unsigned int yoffset, unsigned int ybpl,
140 int topfield = (0 == yoffset);
188 while (yoffset && yoffset >= sg_dma_len(ysg)) {
189 yoffset -= sg_dma_len(ysg);
203 if (yoffset + ylen > sg_dma_len(ysg))
204 ylen = sg_dma_len(ysg) - yoffset;
223 *(rp++)=cpu_to_le32(sg_dma_address(ysg)+yoffset);
224 yoffset += ylen;
232 yoffset
126 bttv_risc_planar(struct bttv *btv, struct btcx_riscmem *risc, struct scatterlist *sglist, unsigned int yoffset, unsigned int ybpl, unsigned int ypadding, unsigned int ylines, unsigned int uoffset, unsigned int voffset, unsigned int hshift, unsigned int vshift, unsigned int cpadding) argument
[all...]
/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
1017 yoffset = var->yoffset;
1045 if (vyres < yres + yoffset)
1046 vyres = yres + yoffset;
1120 crtc->yoffset = yoffset;
1234 var->yoffset = crtc->yoffset;
1581 u32 xoffset, yoffset; local
[all...]
/drivers/acpi/
H A Dbgrt.c60 static DEVICE_ATTR(yoffset, S_IRUGO, show_yoffset, NULL);
/drivers/video/matrox/
H A Dmatroxfb_crtc2.c175 m2info->fbcon.var.yoffset = var->yoffset;
178 pos = m2info->fbcon.var.yoffset * linelen + m2info->fbcon.var.xoffset * pixelsize;
217 if (var->yoffset + var->yres > var->yres_virtual)
218 var->yoffset = var->yres_virtual - var->yres;
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.c172 offset = vrfb->yoffset;
175 offset = vrfb->yoffset * OMAP_VRFB_LINE_LEN + vrfb->xoffset;
702 if (var->yres + var->yoffset > var->yres_virtual)
703 var->yoffset = var->yres_virtual - var->yres;
772 offset = var->yoffset * fix->line_length +
793 offset += var->yoffset * fix->line_length +
796 offset -= var->yoffset * fix->line_length +
800 var->yoffset * (var->bits_per_pixel >> 3);
803 var->yoffset * (var->bits_per_pixel >> 3);
830 var->xoffset, var->yoffset, offse
[all...]

Completed in 1739 milliseconds

12345