/drivers/video/ |
D | 68328fb.c | 152 var->yoffset = info->var.yoffset; in mc68x328fb_check_var() 181 if (var->yres_virtual < var->yoffset + var->yres) in mc68x328fb_check_var() 182 var->yres_virtual = var->yoffset + var->yres; in mc68x328fb_check_var() 377 if (var->yoffset < 0 in mc68x328fb_pan_display() 378 || var->yoffset >= info->var.yres_virtual in mc68x328fb_pan_display() 383 var->yoffset + var->yres > info->var.yres_virtual) in mc68x328fb_pan_display() 387 info->var.yoffset = var->yoffset; in mc68x328fb_pan_display()
|
D | vfb.c | 175 var->yoffset = info->var.yoffset; in vfb_check_var() 204 if (var->yres_virtual < var->yoffset + var->yres) in vfb_check_var() 205 var->yres_virtual = var->yoffset + var->yres; in vfb_check_var() 391 if (var->yoffset < 0 in vfb_pan_display() 392 || var->yoffset >= info->var.yres_virtual in vfb_pan_display() 397 var->yoffset + var->yres > info->var.yres_virtual) in vfb_pan_display() 401 info->var.yoffset = var->yoffset; in vfb_pan_display()
|
D | controlfb.c | 61 int xoffset, yoffset; member 243 static inline void set_screen_start(int xoffset, int yoffset, in set_screen_start() argument 249 par->yoffset = yoffset; in set_screen_start() 251 par->yoffset * par->pitch + (par->xoffset << par->cmode)); in set_screen_start() 269 var->yoffset+par->yres > par->vyres) in controlfb_pan_display() 272 set_screen_start(xoffset, var->yoffset, p); in controlfb_pan_display() 506 p->par.yoffset != par->yoffset) in control_set_hardware() 507 set_screen_start(par->xoffset, par->yoffset, p); in control_set_hardware() 533 out_le32(CNTRL_REG(p,start_addr), par->yoffset * par->pitch in control_set_hardware() 902 par->yoffset = var->yoffset; in control_var_to_par() [all …]
|
D | hgafb.c | 255 static void hga_pan(unsigned int xoffset, unsigned int yoffset) in hga_pan() argument 260 base = (yoffset / 8) * 90 + xoffset; in hga_pan() 421 if (var->yoffset < 0 || in hgafb_pan_display() 422 var->yoffset >= info->var.yres_virtual || in hgafb_pan_display() 427 || var->yoffset + var->yres > info->var.yres_virtual in hgafb_pan_display() 428 || var->yoffset % 8) in hgafb_pan_display() 432 hga_pan(var->xoffset, var->yoffset); in hgafb_pan_display()
|
D | amifb.c | 689 __s16 yoffset; member 721 int yoffset; /* vmode */ member 1329 if (var->yoffset < 0 || in amifb_pan_display() 1330 var->yoffset >= info->var.yres_virtual || var->xoffset) in amifb_pan_display() 1338 var->yoffset+info->var.yres > info->var.yres_virtual) in amifb_pan_display() 1343 info->var.yoffset = var->yoffset; in amifb_pan_display() 2898 par->yoffset = var->yoffset; in ami_decode_var() 2900 if (par->xoffset || par->yoffset < 0 || par->yoffset >= par->vyres) in ami_decode_var() 2901 par->xoffset = par->yoffset = 0; in ami_decode_var() 2904 par->yoffset < 0 || par->yoffset > par->vyres-par->yres) in ami_decode_var() [all …]
|
D | g364fb.c | 139 info->var.yoffset); in g364fb_cursor() 153 if (var->xoffset || var->yoffset + var->yres > var->yres_virtual) in g364fb_pan_display() 156 *(unsigned int *) TOP_REG = var->yoffset * var->xres; in g364fb_pan_display()
|
D | atafb.c | 690 if (var->yoffset + yres > yres_virtual && yres_virtual) in tt_decode_var() 693 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var() 783 var->yoffset = (par->screen_base - screen_base) / linelen; in tt_encode_var() 785 var->yoffset = 0; in tt_encode_var() 1388 if (var->yoffset + yres > yres_virtual && yres_virtual) in falcon_decode_var() 1391 par->screen_base = screen_base + var->yoffset * linelen; in falcon_decode_var() 1553 var->yoffset = (par->screen_base - screen_base) / linelen; in falcon_encode_var() 1555 var->yoffset = 0; in falcon_encode_var() 1705 (var->yoffset * info->var.xres_virtual + xoffset) * bpp / 8; in falcon_pan_display() 1899 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 | vga16fb.c | 196 pos = (info->var.xres_virtual * var->yoffset + xoffset) >> 2; in vga16fb_pan_var() 199 pos = (info->var.xres_virtual * (var->yoffset / fh) + xoffset) >> 3; in vga16fb_pan_var() 203 pos = (info->var.xres_virtual * var->yoffset + xoffset) >> 3; in vga16fb_pan_var() 319 u32 vxres, xoffset, vyres, yoffset; in vga16fb_check_var() local 403 yoffset = var->yoffset; in vga16fb_check_var() 412 if (yoffset + yres > vyres) in vga16fb_check_var() 413 yoffset = vyres - yres; in vga16fb_check_var() 419 var->yoffset = yoffset; in vga16fb_check_var() 453 pos = yoffset * vxres + (xoffset >> shift); in vga16fb_check_var()
|
D | hitfb.c | 165 int yoffset = var->yoffset; in hitfb_pan_display() local 170 fb_writew((yoffset*info->fix.line_length)>>10, HD64461_LCDCBAR); in hitfb_pan_display() 265 var->yoffset = 0; in hitfb_check_var()
|
D | fsl-diu-fb.c | 561 if (var->yoffset < 0) in fsl_diu_check_var() 562 var->yoffset = 0; in fsl_diu_check_var() 567 if (var->yoffset + info->var.yres > info->var.yres_virtual) in fsl_diu_check_var() 568 var->yoffset = info->var.yres_virtual - info->var.yres; in fsl_diu_check_var() 795 ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset); in fsl_diu_set_aoi() 844 ad->offset_xyi = cpu_to_le32((var->yoffset << 16) | var->xoffset); in fsl_diu_set_par() 928 (info->var.yoffset == var->yoffset)) in fsl_diu_pan_display() 931 if (var->xoffset < 0 || var->yoffset < 0 in fsl_diu_pan_display() 933 || var->yoffset + info->var.yres > info->var.yres_virtual) in fsl_diu_pan_display() 937 info->var.yoffset = var->yoffset; in fsl_diu_pan_display()
|
D | arcfb.c | 209 if ((var->vmode & FB_VMODE_YWRAP) && (var->yoffset < 64) in arcfb_pan_display() 212 ks108_set_start_line(par, i, var->yoffset); in arcfb_pan_display() 214 info->var.yoffset = var->yoffset; in arcfb_pan_display()
|
D | gxt4500.c | 279 var->yres + var->yoffset > var->yres_virtual || in gxt4500_var_to_par() 463 writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset); in gxt4500_set_par() 547 var->yoffset + var->yres > var->yres_virtual) in gxt4500_pan_display() 550 writereg(par, REFRESH_START, (var->xoffset << 16) | var->yoffset); in gxt4500_pan_display()
|
D | cirrusfb.c | 534 if (var->yoffset < 0) in cirrusfb_check_var() 535 var->yoffset = 0; in cirrusfb_check_var() 540 if (var->yoffset > var->yres_virtual - var->yres) in cirrusfb_check_var() 541 var->yoffset = var->yres_virtual - var->yres - 1; in cirrusfb_check_var() 1422 int yoffset = 0; in cirrusfb_pan_display() local 1428 DPRINTK("virtual offset: (%d,%d)\n", var->xoffset, var->yoffset); in cirrusfb_pan_display() 1436 info->var.yoffset = var->yoffset; in cirrusfb_pan_display() 1439 yoffset = var->yoffset; in cirrusfb_pan_display() 1441 base = yoffset * info->fix.line_length + xoffset; in cirrusfb_pan_display()
|
D | acornfb.c | 627 if (var->yoffset > var->yres_virtual) in acornfb_adjust_timing() 628 var->yoffset = var->yres_virtual; in acornfb_adjust_timing() 630 if (var->yoffset + var->yres > var->yres_virtual) in acornfb_adjust_timing() 631 var->yoffset = var->yres_virtual - var->yres; in acornfb_adjust_timing() 690 u_int off = var->yoffset * info->fix.line_length; in acornfb_update_dma() 850 u_int y_bottom = var->yoffset; in acornfb_pan_display()
|
D | epson1355fb.c | 218 if (var->yoffset + info->var.yres > info->var.yres_virtual) in epson1355fb_pan_display() 221 start = (info->fix.line_length >> 1) * var->yoffset; in epson1355fb_pan_display() 544 var->xoffset = var->yoffset = 0; in fetch_hw_state()
|
/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 | 190 region.dy = info->var.yoffset + rs; in cw_clear_margins() 198 region.dy = info->var.yoffset; in cw_clear_margins() 385 xoffset = vxres - (info->var.xres + ops->var.yoffset); in cw_update_start() 386 ops->var.yoffset = ops->var.xoffset; in cw_update_start() 390 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/video/bt8xx/ |
D | bttv-risc.c | 125 unsigned int yoffset, unsigned int ybpl, in bttv_risc_planar() argument 137 int topfield = (0 == yoffset); in bttv_risc_planar() 185 while (yoffset && yoffset >= sg_dma_len(ysg)) { in bttv_risc_planar() 186 yoffset -= sg_dma_len(ysg); in bttv_risc_planar() 200 if (yoffset + ylen > sg_dma_len(ysg)) in bttv_risc_planar() 201 ylen = sg_dma_len(ysg) - yoffset; in bttv_risc_planar() 220 *(rp++)=cpu_to_le32(sg_dma_address(ysg)+yoffset); in bttv_risc_planar() 221 yoffset += ylen; in bttv_risc_planar() 229 yoffset += ypadding; in bttv_risc_planar()
|
/drivers/video/aty/ |
D | aty128fb.c | 383 u32 xoffset, yoffset; member 1005 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; in aty128_var_to_crtc() local 1018 yoffset = var->yoffset; in aty128_var_to_crtc() 1046 if (vyres < yres + yoffset) in aty128_var_to_crtc() 1047 vyres = yres + yoffset; in aty128_var_to_crtc() 1121 crtc->yoffset = yoffset; in aty128_var_to_crtc() 1235 var->yoffset = crtc->yoffset; in aty128_crtc_to_var() 1582 u32 xoffset, yoffset; in aty128fb_pan_display() local 1590 yoffset = var->yoffset; in aty128fb_pan_display() 1592 if (xoffset+xres > par->crtc.vxres || yoffset+yres > par->crtc.vyres) in aty128fb_pan_display() [all …]
|
D | atyfb_base.c | 767 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; in aty_var_to_crtc() local 779 yoffset = var->yoffset; in aty_var_to_crtc() 791 if (vyres < yres + yoffset) in aty_var_to_crtc() 792 vyres = yres + yoffset; in aty_var_to_crtc() 970 crtc->yoffset = yoffset; in aty_var_to_crtc() 972 crtc->off_pitch = ((yoffset*vxres+xoffset)*bpp/64) | (vxres<<19); in aty_var_to_crtc() 1507 u32 yoffset = info->var.yoffset; in set_off_pitch() local 1511 par->crtc.off_pitch = ((yoffset * vxres + xoffset) * bpp / 64) | (vxres << 19); in set_off_pitch() 1658 u32 xres, yres, xoffset, yoffset; in atyfb_pan_display() local 1665 yoffset = var->yoffset; in atyfb_pan_display() [all …]
|
/drivers/video/matrox/ |
D | matroxfb_crtc2.c | 174 m2info->fbcon.var.yoffset = var->yoffset; in matroxfb_dh_pan_var() 177 pos = m2info->fbcon.var.yoffset * linelen + m2info->fbcon.var.xoffset * pixelsize; in matroxfb_dh_pan_var() 216 if (var->yoffset + var->yres > var->yres_virtual) in matroxfb_dh_decode_var() 217 var->yoffset = var->yres_virtual - var->yres; in matroxfb_dh_decode_var() 347 …pos = (m2info->fbcon.var.yoffset * m2info->fbcon.var.xres_virtual + m2info->fbcon.var.xoffset) * m… in matroxfb_dh_set_par()
|
/drivers/video/via/ |
D | viafbdev.h | 46 u32 yoffset; member
|