/linux-2.4.37.9/drivers/video/ |
D | pvr2fb.c | 133 int yoffset; member 363 var->yoffset = display->var.yoffset; in pvr2fb_set_var() 441 if (var->yoffset<0 || var->yoffset >= in pvr2fb_pan_display() 447 var->yoffset+fb_display[con].var.yres > in pvr2fb_pan_display() 454 fb_display[con].var.yoffset = var->yoffset; in pvr2fb_pan_display() 754 par->yoffset = var->yoffset; in pvr2_decode_var() 756 if (par->xoffset || par->yoffset < 0 || par->yoffset >= in pvr2_decode_var() 758 par->xoffset = par->yoffset = 0; in pvr2_decode_var() 761 par->yoffset < 0 || par->yoffset > par->vyres-par->yres) in pvr2_decode_var() 762 par->xoffset = par->yoffset = 0; in pvr2_decode_var() [all …]
|
D | hgafb.c | 119 yoffset: 0, 287 static void hga_pan(unsigned int xoffset, unsigned int yoffset) in hga_pan() argument 292 base = (yoffset / 8) * 90 + xoffset; in hga_pan() 570 …on:%d, wrap:%d, xoff:%d, yoff:%d\n", con, var->vmode & FB_VMODE_YWRAP, var->xoffset, var->yoffset); in hga_pan_display() 573 if (var->yoffset < 0 || in hga_pan_display() 574 var->yoffset >= info->var.yres_virtual || in hga_pan_display() 579 || var->yoffset + var->yres > info->var.yres_virtual in hga_pan_display() 580 || var->yoffset % 8) in hga_pan_display() 584 hga_pan(var->xoffset, var->yoffset); in hga_pan_display() 587 info->var.yoffset = var->yoffset; in hga_pan_display()
|
D | fbgen.c | 122 oldyoffset = fb_display[con].var.yoffset; in fbgen_set_var() 131 oldyoffset != var->yoffset) { in fbgen_set_var() 233 int yoffset = var->yoffset; in fbgen_pan_display() local 238 yoffset < 0 || in fbgen_pan_display() 239 yoffset+fb_display[con].var.yres > fb_display[con].var.yres_virtual) in fbgen_pan_display() 249 fb_display[con].var.yoffset = var->yoffset; in fbgen_pan_display()
|
D | controlfb.c | 68 int xoffset, yoffset; member 343 static inline void set_screen_start(int xoffset, int yoffset, in set_screen_start() argument 349 par->yoffset = yoffset; in set_screen_start() 351 par->yoffset * par->pitch + (par->xoffset << par->cmode)); in set_screen_start() 369 var->yoffset+par->yres > par->vyres) in control_pan_display() 372 set_screen_start(xoffset, var->yoffset, p); in control_pan_display() 486 set_screen_start(var->xoffset, var->yoffset, p); in controlfb_updatevar() 705 p->par.yoffset != par->yoffset) in control_set_hardware() 706 set_screen_start(par->xoffset, par->yoffset, p); in control_set_hardware() 732 out_le32(CNTRL_REG(p,start_addr), par->yoffset * par->pitch in control_set_hardware() [all …]
|
D | amifb.c | 685 int yoffset; /* vmode */ member 1321 var->yoffset = display->var.yoffset; in amifb_set_var() 1391 if (var->yoffset<0 || var->yoffset >= fb_display[con].var.yres_virtual || var->xoffset) in amifb_pan_display() 1399 var->yoffset+fb_display[con].var.yres > fb_display[con].var.yres_virtual) in amifb_pan_display() 1405 fb_display[con].var.yoffset = var->yoffset; in amifb_pan_display() 2334 par->yoffset = var->yoffset; in ami_decode_var() 2336 if (par->xoffset || par->yoffset < 0 || par->yoffset >= par->vyres) in ami_decode_var() 2337 par->xoffset = par->yoffset = 0; in ami_decode_var() 2340 par->yoffset < 0 || par->yoffset > par->vyres-par->yres) in ami_decode_var() 2341 par->xoffset = par->yoffset = 0; in ami_decode_var() [all …]
|
D | vfb.c | 188 var->yoffset = display->var.yoffset; in vfb_set_var() 315 if (var->yoffset < 0 || in vfb_pan_display() 316 var->yoffset >= fb_display[con].var.yres_virtual || in vfb_pan_display() 322 var->yoffset+fb_display[con].var.yres > in vfb_pan_display() 327 fb_display[con].var.yoffset = var->yoffset; in vfb_pan_display()
|
D | vga16fb.c | 111 u32 pos = (var->xres_virtual * var->yoffset + var->xoffset) >> 3; in vga16fb_pan_var() 246 u32 vxres, xoffset, vyres, yoffset; in vga16fb_decode_var() local 301 yoffset = var->yoffset; in vga16fb_decode_var() 310 if (yoffset + yres > vyres) in vga16fb_decode_var() 311 yoffset = vyres - yres; in vga16fb_decode_var() 317 par->var.yoffset = yoffset; in vga16fb_decode_var() 350 pos = yoffset * vxres + (xoffset >> 3); in vga16fb_decode_var() 666 var->yoffset + fb_display[con].var.yres > fb_display[con].var.yres_virtual) in vga16fb_pan_display() 671 fb_display[con].var.yoffset = var->yoffset; in vga16fb_pan_display()
|
D | g364fb.c | 146 *(unsigned int *) CURS_POS_REG = ((x * fontwidth(p)) << 12) | ((y * fontheight(p))-p->var.yoffset); in fbcon_g364fb_cursor() 212 *(unsigned int *)TOP_REG = var->yoffset * var->xres; in g364fb_set_var() 231 if (var->xoffset || var->yoffset+var->yres > var->yres_virtual) in g364fb_pan_display() 234 *(unsigned int *)TOP_REG = var->yoffset * var->xres; in g364fb_pan_display() 341 fb_var.xoffset = fb_var.yoffset = 0; in g364fb_init() 424 *(unsigned int *)TOP_REG = var->yoffset * var->xres; in g364fbcon_updatevar()
|
D | vesafb.c | 124 if (var->yoffset > var->yres_virtual) in vesafb_pan_display() 126 if ((ypan==1) && var->yoffset+var->yres > var->yres_virtual) in vesafb_pan_display() 129 offset = (var->yoffset * video_linelength + var->xoffset) / 4; in vesafb_pan_display() 279 if (var->yoffset != vesafb_defined.yoffset) in vesafb_set_var() 284 if (var->yoffset) in vesafb_set_var()
|
D | atafb.c | 561 if (var->yoffset + yres > yres_virtual && yres_virtual) in tt_decode_var() 564 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var() 654 var->yoffset=(par->screen_base - screen_base)/linelen; in tt_encode_var() 656 var->yoffset=0; in tt_encode_var() 1299 if (var->yoffset + yres > yres_virtual && yres_virtual) in falcon_decode_var() 1302 par->screen_base = screen_base + var->yoffset * linelen; in falcon_decode_var() 1463 var->yoffset=(par->screen_base - screen_base)/linelen; in falcon_encode_var() 1465 var->yoffset=0; in falcon_encode_var() 1617 (var->yoffset * fb_display[currcon].var.xres_virtual + xoffset) * bpp / 8; in falcon_pan_display() 1838 if (var->yoffset + yres > yres_virtual && yres_virtual) in stste_decode_var() [all …]
|
D | aty128fb.c | 268 u32 xoffset, yoffset; member 812 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; in aty128_var_to_crtc() local 826 yoffset = var->yoffset; in aty128_var_to_crtc() 854 if (vyres < yres + yoffset) in aty128_var_to_crtc() 855 vyres = yres + yoffset; in aty128_var_to_crtc() 929 crtc->yoffset = yoffset; in aty128_var_to_crtc() 1051 var->yoffset = crtc->yoffset; in aty128_crtc_to_var() 1630 u32 xoffset, yoffset; in aty128fb_pan_display() local 1638 yoffset = var->yoffset; in aty128fb_pan_display() 1640 if (xoffset+xres > par->crtc.vxres || yoffset+yres > par->crtc.vyres) in aty128fb_pan_display() [all …]
|
D | S3triofb.c | 212 if (var->yoffset > (var->yres_virtual - var->yres)) in s3trio_pan_display() 216 fb_var.yoffset = var->yoffset; in s3trio_pan_display() 218 base = var->yoffset * fb_fix.line_length + var->xoffset; in s3trio_pan_display() 502 fb_var.xoffset = fb_var.yoffset = 0; in s3triofb_pci_init()
|
D | acornfb.c | 632 if (var->yoffset > var->yres_virtual) in acornfb_adjust_timing() 633 var->yoffset = var->yres_virtual; in acornfb_adjust_timing() 635 if (var->yoffset + var->yres > var->yres_virtual) in acornfb_adjust_timing() 636 var->yoffset = var->yres_virtual - var->yres; in acornfb_adjust_timing() 695 int off = (var->yoffset * var->xres_virtual * in acornfb_update_dma() 1104 y_bottom = var->yoffset; in acornfb_pan_display() 1114 fb_display[con].var.yoffset = var->yoffset; in acornfb_pan_display()
|
D | q40fb.c | 100 var->yoffset=0; in q40fb_get_var() 141 if(var->yoffset!=0) in q40fb_set_var()
|
D | clgenfb.c | 810 DPRINTK (" offset: (%d,%d)\n", var->xoffset, var->yoffset); in clgen_decode_var() 880 if (_par->var.yoffset < 0) in clgen_decode_var() 881 _par->var.yoffset = 0; in clgen_decode_var() 887 if (_par->var.yoffset > _par->var.yres_virtual - _par->var.yres) in clgen_decode_var() 888 _par->var.yoffset = _par->var.yres_virtual - _par->var.yres - 1; in clgen_decode_var() 1670 DPRINTK ("virtual offset: (%d,%d)\n", _par->var.xoffset, _par->var.yoffset); in clgen_set_par() 1789 int yoffset = 0; in clgen_pan_display() local 1800 fb_info->currentmode.var.yoffset = var->yoffset; in clgen_pan_display() 1803 yoffset = var->yoffset; in clgen_pan_display() 1805 base = yoffset * fb_info->currentmode.line_length + xoffset; in clgen_pan_display()
|
D | pm2fb.c | 1202 i->current_par.base=to3264(var->yoffset*i->current_par.width+ in pm2fb_pan_display() 1280 0, p->var.yoffset+sy, sx, p->var.yres-sy, c); in pm2fb_clear_margins8() 1333 0, p->var.yoffset+sy, sx, p->var.yres-sy, c); in pm2fb_clear_margins16() 1392 pm2fb_block_op(i, 0, 0, 0, 0, p->var.yoffset+sy, in pm2fb_clear_margins24() 1441 0, p->var.yoffset+sy, sx, p->var.yres-sy, c); in pm2fb_clear_margins32() 1496 var->xoffset, var->yoffset); in pm2fb_display_var() 1537 if (p.height<var->yres+var->yoffset) in pm2fb_decode_var() 1538 p.height=var->yres+var->yoffset; in pm2fb_decode_var() 1579 p.base=to3264(var->yoffset*xres+var->xoffset, p.depth, 1); in pm2fb_decode_var() 1677 v.yoffset=base/v.xres; in pm2fb_encode_var()
|
D | epson1355fb.c | 212 var->yoffset != 0) in e1355_decode_var() 312 var->xoffset = var->yoffset = 0; in e1355_encode_var()
|
D | cyber2000fb.c | 553 base = var->yoffset * var->xres_virtual + var->xoffset; in cyber2000fb_update_start() 892 var->yoffset = cfb->fb.var.yoffset; in cyber2000fb_set_var() 1068 y_bottom = var->yoffset; in cyber2000fb_pan_display() 1082 cfb->fb.var.yoffset = var->yoffset; in cyber2000fb_pan_display()
|
D | dnfb.c | 182 var->yoffset=0; in dn_fb_get_var() 215 if(var->yoffset!=0) in dn_fb_set_var()
|
D | tx3912fb.c | 166 var->yoffset = display->var.yoffset; in tx3912fb_set_var()
|
/linux-2.4.37.9/drivers/video/aty/ |
D | atyfb_base.c | 574 u32 xres, yres, ryres, vxres, vyres, xoffset, yoffset, bpp; in aty_var_to_crtc() local 590 yoffset = var->yoffset; in aty_var_to_crtc() 623 if (vyres < yres+yoffset) in aty_var_to_crtc() 624 vyres = yres+yoffset; in aty_var_to_crtc() 688 crtc->yoffset = yoffset; in aty_var_to_crtc() 690 crtc->off_pitch = ((yoffset*vxres+xoffset)*bpp/64) | (vxres<<19); in aty_var_to_crtc() 911 var->yoffset = crtc->yoffset; in aty_crtc_to_var() 1120 u32 yoffset = par->crtc.yoffset; in set_off_pitch() local 1124 par->crtc.off_pitch = ((yoffset*vxres+xoffset)*bpp/64) | (vxres<<19); in set_off_pitch() 1472 u32 xres, yres, xoffset, yoffset; in atyfb_pan_display() local [all …]
|
/linux-2.4.37.9/drivers/video/riva/ |
D | fbdev.c | 301 yoffset: 0, 629 y = y * fontheight(p) - p->var.yoffset; in rivafb_cursor() 1440 DPRINTK(" offset: (%d,%d)\n", var->xoffset, var->yoffset); in rivafb_set_var() 1533 if (v.yoffset < 0) in rivafb_set_var() 1534 v.yoffset = 0; in rivafb_set_var() 1540 if (v.yoffset > v.yres_virtual - v.yres) in rivafb_set_var() 1541 v.yoffset = v.yres_virtual - v.yres - 1; in rivafb_set_var() 1673 if (var->yoffset > (var->yres_virtual - var->yres)) in rivafb_pan_display() 1679 if (var->yoffset < 0 in rivafb_pan_display() 1680 || var->yoffset >= dsp->var.yres_virtual in rivafb_pan_display() [all …]
|
/linux-2.4.37.9/drivers/video/matrox/ |
D | matroxfb_crtc2.c | 226 pos = var->yoffset * linelen + var->xoffset * pixelsize; in matroxfb_dh_pan_var() 270 if (var->yoffset + var->yres > var->yres_virtual) in matroxfb_dh_decode_var() 271 var->yoffset = var->yres_virtual - var->yres; in matroxfb_dh_decode_var() 466 pos = (var->yoffset * var->xres_virtual + var->xoffset) * var->bits_per_pixel >> 3; in matroxfb_dh_set_var() 562 var->yoffset + dsp->var.yres > dsp->var.yres_virtual) in matroxfb_dh_pan_display() 567 dsp->var.yoffset = var->yoffset; in matroxfb_dh_pan_display()
|
/linux-2.4.37.9/include/linux/ |
D | fb.h | 182 __u32 yoffset; /* resolution */ member 542 __s16 yoffset; member
|
/linux-2.4.37.9/drivers/video/intel/ |
D | intelfbdrv.c | 1372 if (v.yoffset < 0) in intelfb_set_var() 1373 v.yoffset = 0; in intelfb_set_var() 1377 if (v.yoffset > v.yres_virtual - v.yres) in intelfb_set_var() 1378 v.yoffset = v.yres_virtual - v.yres; in intelfb_set_var() 1436 if (v.yoffset != 0) in intelfb_set_var() 1642 var->yoffset = 0; in mode_to_var() 2070 p->var.yoffset + bs, rs, bh, 0, in fbcon_intelfb_clear_margins() 2203 y -= disp->var.yoffset; in fbcon_intelfb_cursor()
|