/drivers/video/fbdev/ |
D | 68328fb.c | 145 var->yoffset = info->var.yoffset; in mc68x328fb_check_var() 174 if (var->yres_virtual < var->yoffset + var->yres) in mc68x328fb_check_var() 175 var->yres_virtual = var->yoffset + var->yres; in mc68x328fb_check_var() 370 if (var->yoffset < 0 in mc68x328fb_pan_display() 371 || var->yoffset >= info->var.yres_virtual in mc68x328fb_pan_display() 376 var->yoffset + info->var.yres > info->var.yres_virtual) in mc68x328fb_pan_display() 380 info->var.yoffset = var->yoffset; in mc68x328fb_pan_display()
|
D | controlfb.c | 63 int xoffset, yoffset; member 246 static inline void set_screen_start(int xoffset, int yoffset, in set_screen_start() argument 252 par->yoffset = yoffset; in set_screen_start() 254 par->yoffset * par->pitch + (par->xoffset << par->cmode)); in set_screen_start() 273 var->yoffset+par->yres > par->vyres) in controlfb_pan_display() 276 set_screen_start(xoffset, var->yoffset, p); in controlfb_pan_display() 502 p->par.yoffset != par->yoffset) in control_set_hardware() 503 set_screen_start(par->xoffset, par->yoffset, p); in control_set_hardware() 529 out_le32(CNTRL_REG(p,start_addr), par->yoffset * par->pitch in control_set_hardware() 899 par->yoffset = var->yoffset; in control_var_to_par() [all …]
|
D | vfb.c | 129 var->yoffset = info->var.yoffset; in vfb_check_var() 158 if (var->yres_virtual < var->yoffset + var->yres) in vfb_check_var() 159 var->yres_virtual = var->yoffset + var->yres; in vfb_check_var() 363 if (var->yoffset >= info->var.yres_virtual || in vfb_pan_display() 368 var->yoffset + info->var.yres > info->var.yres_virtual) in vfb_pan_display() 372 info->var.yoffset = var->yoffset; in vfb_pan_display()
|
D | hgafb.c | 254 static void hga_pan(unsigned int xoffset, unsigned int yoffset) in hga_pan() argument 259 base = (yoffset / 8) * 90 + xoffset; in hga_pan() 420 if (var->yoffset >= info->var.yres_virtual || in hgafb_pan_display() 425 || var->yoffset + info->var.yres > info->var.yres_virtual in hgafb_pan_display() 426 || var->yoffset % 8) in hgafb_pan_display() 430 hga_pan(var->xoffset, var->yoffset); in hgafb_pan_display()
|
D | amifb.c | 689 __s16 yoffset; member 721 int yoffset; /* vmode */ member 1485 par->yoffset = var->yoffset; in ami_decode_var() 1487 if (par->xoffset || par->yoffset < 0 || in ami_decode_var() 1488 par->yoffset >= par->vyres) in ami_decode_var() 1489 par->xoffset = par->yoffset = 0; in ami_decode_var() 1493 par->yoffset < 0 || par->yoffset > par->vyres - par->yres) in ami_decode_var() 1494 par->xoffset = par->yoffset = 0; in ami_decode_var() 1497 par->xoffset = par->yoffset = 0; in ami_decode_var() 1526 var->yoffset = par->yoffset; in ami_encode_var() [all …]
|
D | g364fb.c | 138 info->var.yoffset); in g364fb_cursor() 153 var->yoffset + info->var.yres > info->var.yres_virtual) in g364fb_pan_display() 156 *(unsigned int *) TOP_REG = var->yoffset * info->var.xres; in g364fb_pan_display()
|
D | fb-puv3.c | 356 var->yoffset = info->var.yoffset; in unifb_check_var() 385 if (var->yres_virtual < var->yoffset + var->yres) in unifb_check_var() 386 var->yres_virtual = var->yoffset + var->yres; in unifb_check_var() 624 if (var->yoffset < 0 in unifb_pan_display() 625 || var->yoffset >= info->var.yres_virtual in unifb_pan_display() 630 var->yoffset + info->var.yres > info->var.yres_virtual) in unifb_pan_display() 634 info->var.yoffset = var->yoffset; in unifb_pan_display()
|
D | atafb.c | 681 if (var->yoffset + yres > yres_virtual && yres_virtual) in tt_decode_var() 684 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var() 774 var->yoffset = (par->screen_base - screen_base) / linelen; in tt_encode_var() 776 var->yoffset = 0; in tt_encode_var() 1379 if (var->yoffset + yres > yres_virtual && yres_virtual) in falcon_decode_var() 1382 par->screen_base = screen_base + var->yoffset * linelen; in falcon_decode_var() 1544 var->yoffset = (par->screen_base - screen_base) / linelen; in falcon_encode_var() 1546 var->yoffset = 0; in falcon_encode_var() 1696 (var->yoffset * info->var.xres_virtual + xoffset) * bpp / 8; in falcon_pan_display() 1888 if (var->yoffset + yres > yres_virtual && yres_virtual) in stste_decode_var() [all …]
|
D | pvr2fb.c | 428 par->disp_start = info->fix.smem_start + (line_length * var->yoffset) * line_length; in pvr2fb_set_par() 463 if (var->xoffset || var->yoffset < 0 || in pvr2fb_check_var() 464 var->yoffset >= var->yres_virtual) { in pvr2fb_check_var() 465 var->xoffset = var->yoffset = 0; in pvr2fb_check_var() 468 var->yoffset > var->yres_virtual - var->yres || in pvr2fb_check_var() 469 var->xoffset < 0 || var->yoffset < 0) in pvr2fb_check_var() 470 var->xoffset = var->yoffset = 0; in pvr2fb_check_var() 473 var->xoffset = var->yoffset = 0; in pvr2fb_check_var()
|
D | i740fb.c | 401 u32 vxres, xoffset, vyres, yoffset; in i740fb_decode_var() local 409 var->xoffset, var->yoffset, var->bits_per_pixel, in i740fb_decode_var() 478 yoffset = var->yoffset; in i740fb_decode_var() 479 if (yres + yoffset > vyres) in i740fb_decode_var() 480 yoffset = vyres - yres; in i740fb_decode_var() 493 if (yoffset + yres > vyres) in i740fb_decode_var() 494 yoffset = vyres - yres; in i740fb_decode_var() 580 base = (yoffset * vxres + (xoffset & ~7)) >> 2; in i740fb_decode_var() 898 u32 base = (var->yoffset * info->var.xres_virtual in i740fb_pan_display() 902 var->xoffset, var->yoffset, base); in i740fb_pan_display()
|
D | vga16fb.c | 195 pos = (info->var.xres_virtual * var->yoffset + xoffset) >> 2; in vga16fb_pan_var() 198 pos = (info->var.xres_virtual * (var->yoffset / fh) + xoffset) >> 3; in vga16fb_pan_var() 202 pos = (info->var.xres_virtual * var->yoffset + xoffset) >> 3; in vga16fb_pan_var() 318 u32 vxres, xoffset, vyres, yoffset; in vga16fb_check_var() local 402 yoffset = var->yoffset; in vga16fb_check_var() 411 if (yoffset + yres > vyres) in vga16fb_check_var() 412 yoffset = vyres - yres; in vga16fb_check_var() 418 var->yoffset = yoffset; in vga16fb_check_var() 452 pos = yoffset * vxres + (xoffset >> shift); in vga16fb_check_var()
|
D | hitfb.c | 161 int yoffset = var->yoffset; in hitfb_pan_display() local 166 fb_writew((yoffset*info->fix.line_length)>>10, HD64461_LCDCBAR); in hitfb_pan_display() 261 var->yoffset = 0; in hitfb_check_var()
|
D | fsl-diu-fb.c | 709 if (var->yoffset < 0) in fsl_diu_check_var() 710 var->yoffset = 0; in fsl_diu_check_var() 715 if (var->yoffset + info->var.yres > info->var.yres_virtual) in fsl_diu_check_var() 716 var->yoffset = info->var.yres_virtual - info->var.yres; in fsl_diu_check_var() 919 ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset); in fsl_diu_set_aoi() 1053 yy = (cursor->image.dy - info->var.yoffset) & 0x7ff; in fsl_diu_cursor() 1172 ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset); in fsl_diu_set_par() 1254 (info->var.yoffset == var->yoffset)) in fsl_diu_pan_display() 1257 if (var->xoffset < 0 || var->yoffset < 0 in fsl_diu_pan_display() 1259 || var->yoffset + info->var.yres > info->var.yres_virtual) in fsl_diu_pan_display() [all …]
|
D | mx3fb.c | 790 old_var.yoffset = new_var.yoffset; in mx3fb_must_set_par() 884 mx3_fbi->cur_var.yoffset = 0; in __set_par() 892 cur_yoffset = mx3_fbi->cur_var.yoffset; in __set_par() 895 mx3_fbi->cur_var.yoffset = cur_yoffset; in __set_par() 1158 mx3_fbi->cur_var.yoffset == var->yoffset) in mx3fb_pan_display() 1161 y_bottom = var->yoffset; in mx3fb_pan_display() 1171 offset = var->yoffset * fbi->fix.line_length in mx3fb_pan_display() 1234 fbi->var.yoffset = var->yoffset; in mx3fb_pan_display()
|
D | arcfb.c | 207 if ((var->vmode & FB_VMODE_YWRAP) && (var->yoffset < 64) in arcfb_pan_display() 210 ks108_set_start_line(par, i, var->yoffset); in arcfb_pan_display() 212 info->var.yoffset = var->yoffset; in arcfb_pan_display()
|
D | acornfb.c | 387 if (var->yoffset > var->yres_virtual) in acornfb_adjust_timing() 388 var->yoffset = var->yres_virtual; in acornfb_adjust_timing() 390 if (var->yoffset + var->yres > var->yres_virtual) in acornfb_adjust_timing() 391 var->yoffset = var->yres_virtual - var->yres; in acornfb_adjust_timing() 441 u_int off = var->yoffset * info->fix.line_length; in acornfb_update_dma() 597 u_int y_bottom = var->yoffset; in acornfb_pan_display()
|
/drivers/video/console/ |
D | fbcon_ud.c | 243 region.dy = info->var.yoffset; in ud_clear_margins() 421 int xoffset, yoffset; in ud_update_start() local 427 yoffset = vyres - info->var.yres - ops->var.yoffset; in ud_update_start() 428 if (yoffset < 0) in ud_update_start() 429 yoffset += vyres; in ud_update_start() 431 ops->var.yoffset = yoffset; in ud_update_start() 434 ops->var.yoffset = info->var.yoffset; in ud_update_start()
|
D | fbcon_ccw.c | 206 region.dy = info->var.yoffset; in ccw_clear_margins() 397 u32 yoffset; in ccw_update_start() local 401 yoffset = (vyres - info->var.yres) - ops->var.xoffset; in ccw_update_start() 402 ops->var.xoffset = ops->var.yoffset; in ccw_update_start() 403 ops->var.yoffset = yoffset; in ccw_update_start() 406 ops->var.yoffset = info->var.yoffset; in ccw_update_start()
|
D | fbcon_cw.c | 189 region.dy = info->var.yoffset + rs; in cw_clear_margins() 197 region.dy = info->var.yoffset; in cw_clear_margins() 384 xoffset = vxres - (info->var.xres + ops->var.yoffset); in cw_update_start() 385 ops->var.yoffset = ops->var.xoffset; in cw_update_start() 389 ops->var.yoffset = info->var.yoffset; in cw_update_start()
|
D | tileblit.c | 126 ops->var.yoffset = info->var.yoffset; in tile_update_start()
|
/drivers/media/pci/bt8xx/ |
D | bttv-risc.c | 128 unsigned int yoffset, unsigned int ybpl, in bttv_risc_planar() argument 140 int topfield = (0 == yoffset); in bttv_risc_planar() 188 while (yoffset && yoffset >= sg_dma_len(ysg)) { in bttv_risc_planar() 189 yoffset -= sg_dma_len(ysg); in bttv_risc_planar() 203 if (yoffset + ylen > sg_dma_len(ysg)) in bttv_risc_planar() 204 ylen = sg_dma_len(ysg) - yoffset; in bttv_risc_planar() 223 *(rp++)=cpu_to_le32(sg_dma_address(ysg)+yoffset); in bttv_risc_planar() 224 yoffset += ylen; in bttv_risc_planar() 232 yoffset += ypadding; in bttv_risc_planar()
|
/drivers/video/fbdev/aty/ |
D | aty128fb.c | 424 u32 xoffset, yoffset; member 1047 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; in aty128_var_to_crtc() local 1060 yoffset = var->yoffset; in aty128_var_to_crtc() 1088 if (vyres < yres + yoffset) in aty128_var_to_crtc() 1089 vyres = yres + yoffset; in aty128_var_to_crtc() 1163 crtc->yoffset = yoffset; in aty128_var_to_crtc() 1277 var->yoffset = crtc->yoffset; in aty128_crtc_to_var() 1632 u32 xoffset, yoffset; in aty128fb_pan_display() local 1640 yoffset = var->yoffset; in aty128fb_pan_display() 1642 if (xoffset+xres > par->crtc.vxres || yoffset+yres > par->crtc.vyres) in aty128fb_pan_display() [all …]
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_crtc2.c | 175 m2info->fbcon.var.yoffset = var->yoffset; in matroxfb_dh_pan_var() 178 pos = m2info->fbcon.var.yoffset * linelen + m2info->fbcon.var.xoffset * pixelsize; in matroxfb_dh_pan_var() 217 if (var->yoffset + var->yres > var->yres_virtual) in matroxfb_dh_decode_var() 218 var->yoffset = var->yres_virtual - var->yres; in matroxfb_dh_decode_var() 353 …pos = (m2info->fbcon.var.yoffset * m2info->fbcon.var.xres_virtual + m2info->fbcon.var.xoffset) * m… in matroxfb_dh_set_par()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fb.c | 145 (var->yoffset + var->yres) > par->max_height) { in vmw_fb_check_var() 152 var->yoffset + var->yres)) { in vmw_fb_check_var() 286 (var->yoffset + var->yres) > var->yres_virtual) { in vmw_fb_pan_display() 293 par->fb_y = var->yoffset; in vmw_fb_pan_display() 568 par->fb_y = var->yoffset; in vmw_fb_set_par() 735 info->var.yoffset = 0; in vmw_fb_init()
|
/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-main.c | 171 offset = vrfb->yoffset; in omapfb_get_vrfb_offset() 174 offset = vrfb->yoffset * OMAP_VRFB_LINE_LEN + vrfb->xoffset; in omapfb_get_vrfb_offset() 702 if (var->yres + var->yoffset > var->yres_virtual) in check_fb_var() 703 var->yoffset = var->yres_virtual - var->yres; in check_fb_var() 776 offset = var->yoffset * fix->line_length + in calc_rotation_offset_dma() 797 offset += var->yoffset * fix->line_length + in calc_rotation_offset_vrfb() 800 offset -= var->yoffset * fix->line_length + in calc_rotation_offset_vrfb() 804 var->yoffset * (var->bits_per_pixel >> 3); in calc_rotation_offset_vrfb() 807 var->yoffset * (var->bits_per_pixel >> 3); in calc_rotation_offset_vrfb() 834 var->xoffset, var->yoffset, offset); in omapfb_calc_addr() [all …]
|