/linux-master/drivers/video/fbdev/ |
H A D | pvr2fb.c | 427 par->disp_start = info->fix.smem_start + (line_length * var->yoffset) * line_length; 462 if (var->xoffset || var->yoffset >= var->yres_virtual) { 463 var->xoffset = var->yoffset = 0; 466 var->yoffset > var->yres_virtual - var->yres) 467 var->xoffset = var->yoffset = 0; 470 var->xoffset = var->yoffset = 0;
|
H A D | pm2fb.c | 736 base = to3264(info->var.yoffset * xres + info->var.xoffset, depth, 1); 967 * `xoffset' and `yoffset' fields of the `var' structure. 982 base = to3264(var->yoffset * xres + var->xoffset, depth, 1); 1271 int y = cursor->image.dy - info->var.yoffset; 1400 int y = cursor->image.dy - info->var.yoffset + 63;
|
H A D | pm3fb.c | 643 int y = cursor->image.dy - info->var.yoffset; 1020 par->base = pm3fb_shift_bpp(bpp, (info->var.yoffset * xres) 1147 (var->yoffset * xres)
|
H A D | neofb.c | 709 if (var->yoffset + var->yres > var->yres_virtual) 710 var->yoffset = var->yres_virtual - var->yres; 1182 Base = (var->yoffset * info->var.xres_virtual + var->xoffset) >> 2;
|
H A D | leo.c | 252 if (var->xoffset || var->yoffset || var->vmode)
|
H A D | hitfb.c | 176 int yoffset = var->yoffset; local 181 hitfb_writew((yoffset*info->fix.line_length)>>10, HD64461_LCDCBAR); 276 var->yoffset = 0;
|
H A D | ffb.c | 465 if (var->xoffset || var->yoffset || var->vmode)
|
H A D | controlfb.c | 86 int xoffset, yoffset; member in struct:fb_par_control 205 static inline void set_screen_start(int xoffset, int yoffset, argument 211 par->yoffset = yoffset; 213 par->yoffset * par->pitch + (par->xoffset << par->cmode)); 230 * check if only xoffset or yoffset differs. 234 p->par.yoffset != par->yoffset) 235 set_screen_start(par->xoffset, par->yoffset, p); 261 out_le32(CNTRL_REG(p,start_addr), par->yoffset * pa [all...] |
H A D | cirrusfb.c | 599 /* truncate xoffset and yoffset to maximum if too high */ 602 if (var->yoffset > var->yres_virtual - var->yres) 603 var->yoffset = var->yres_virtual - var->yres - 1; 1322 /* no range checks for xoffset and yoffset, */ 1329 base = var->yoffset * info->fix.line_length + xoffset;
|
H A D | cg6.c | 306 if (var->xoffset || var->yoffset || var->vmode)
|
H A D | cg14.c | 223 if (var->xoffset || var->yoffset || var->vmode)
|
H A D | atafb.c | 319 * xres_virtual, yres_virtual, xoffset, yoffset, grayscale, bitfields, 647 if (var->yoffset + yres > yres_virtual && yres_virtual) 650 par->screen_base = screen_base + var->yoffset * linelen; 740 var->yoffset = (par->screen_base - screen_base) / linelen; 742 var->yoffset = 0; 905 xres_virtual, yres_virtual, xoffset, yoffset, grayscale, bitfields, 1338 if (var->yoffset + yres > yres_virtual && yres_virtual) 1341 par->screen_base = screen_base + var->yoffset * linelen; 1503 var->yoffset = (par->screen_base - screen_base) / linelen; 1505 var->yoffset [all...] |
H A D | 68328fb.c | 142 var->yoffset = info->var.yoffset; 171 if (var->yres_virtual < var->yoffset + var->yres) 172 var->yres_virtual = var->yoffset + var->yres; 360 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag 367 if (var->yoffset < 0 368 || var->yoffset >= info->var.yres_virtual 373 var->yoffset + info->var.yres > info->var.yres_virtual) 377 info->var.yoffset = var->yoffset; [all...] |
H A D | g364fb.c | 124 * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag 130 var->yoffset + info->var.yres > info->var.yres_virtual) 133 *(unsigned int *) TOP_REG = var->yoffset * info->var.xres;
|
/linux-master/drivers/video/fbdev/nvidia/ |
H A D | nvidia.c | 548 yy = cursor->image.dy - info->var.yoffset; 920 total = var->yoffset * info->fix.line_length + var->xoffset;
|
/linux-master/drivers/video/fbdev/mmp/fb/ |
H A D | mmpfb.c | 284 if (var->yoffset + var->yres > var->yres_virtual) 340 addr.phys[0] = (var->yoffset * var->xres_virtual + var->xoffset) 419 addr.phys[0] = (var->yoffset * var->xres_virtual + var->xoffset) 439 (var->yoffset * var->xres_virtual + var->xoffset)
|
/linux-master/drivers/video/fbdev/matrox/ |
H A D | matroxfb_crtc2.c | 176 m2info->fbcon.var.yoffset = var->yoffset; 179 pos = m2info->fbcon.var.yoffset * linelen + m2info->fbcon.var.xoffset * pixelsize; 218 if (var->yoffset + var->yres > var->yres_virtual) 219 var->yoffset = var->yres_virtual - var->yres; 354 pos = (m2info->fbcon.var.yoffset * m2info->fbcon.var.xres_virtual + m2info->fbcon.var.xoffset) * m2info->fbcon.var.bits_per_pixel >> 3;
|
H A D | matroxfb_base.c | 325 minfo->fbcon.var.yoffset = var->yoffset; 326 pos = (minfo->fbcon.var.yoffset * minfo->fbcon.var.xres_virtual + minfo->fbcon.var.xoffset) * minfo->curr.final_bppShift / 32; 614 if (var->yoffset + var->yres > var->yres_virtual) 615 var->yoffset = var->yres_virtual - var->yres; 812 pos = (var->yoffset * var->xres_virtual + var->xoffset) * minfo->curr.final_bppShift / 32; 1903 var.xoffset = var.yoffset = 0;
|
/linux-master/drivers/video/fbdev/i810/ |
H A D | i810_main.c | 1384 var->yoffset * info->fix.line_length; 1501 tmp |= (cursor->image.dy - info->var.yoffset) << 16;
|
/linux-master/drivers/video/fbdev/aty/ |
H A D | radeon_base.c | 934 if (v.yoffset > v.yres_virtual - v.yres) 935 v.yoffset = v.yres_virtual - v.yres - 1; 953 || (var->yoffset + info->var.yres > info->var.yres_virtual)) 960 OUTREG(CRTC_OFFSET, (var->yoffset * info->fix.line_length +
|
H A D | atyfb_base.c | 822 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; local 835 yoffset = var->yoffset; 847 if (vyres < yres + yoffset) 848 vyres = yres + yoffset; 1024 crtc->yoffset = yoffset; 1027 ((yoffset * line_length + xoffset * bpp / 8) / 8) | 1576 u32 yoffset = info->var.yoffset; local 1744 u32 xres, yres, xoffset, yoffset; local [all...] |
/linux-master/drivers/media/pci/bt8xx/ |
H A D | bttv-risc.c | 116 unsigned int yoffset, unsigned int ybpl, 128 int topfield = (0 == yoffset); 176 while (yoffset && yoffset >= sg_dma_len(ysg)) { 177 yoffset -= sg_dma_len(ysg); 183 if (yoffset + ylen > sg_dma_len(ysg)) 184 ylen = sg_dma_len(ysg) - yoffset; 212 *(rp++)=cpu_to_le32(sg_dma_address(ysg)+yoffset); 213 yoffset += ylen; 221 yoffset 114 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...] |
/linux-master/drivers/video/fbdev/core/ |
H A D | modedb.c | 560 var->yoffset = 0; 910 var->yoffset = 0;
|
H A D | fbsysfs.c | 296 var.yoffset = simple_strtoul(last, &last, 0); 312 fb_info->var.yoffset);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_fb_helper.c | 1271 if (var->yoffset > var->yres_virtual - var->yres || 1368 pan_set(fb_helper, var->xoffset, var->yoffset); 1373 info->var.yoffset = var->yoffset; 1375 pan_set(fb_helper, info->var.xoffset, info->var.yoffset); 1392 modeset->y = var->yoffset; 1398 info->var.yoffset = var->yoffset; 1720 info->var.yoffset = 0;
|