/linux-2.4.37.9/drivers/video/ |
D | atafb.c | 491 int yres=var->yres; in tt_decode_var() local 497 if (bpp > 1 || xres > sttt_xres*2 || yres >tt_yres*2) in tt_decode_var() 501 yres=tt_yres*2; in tt_decode_var() 504 if (bpp > 8 || xres > sttt_xres || yres > tt_yres) in tt_decode_var() 507 if (xres > sttt_xres/2 || yres > tt_yres) in tt_decode_var() 511 yres=tt_yres; in tt_decode_var() 515 if (xres > sttt_xres || yres > tt_yres) in tt_decode_var() 517 if (xres > sttt_xres/2 || yres > st_yres/2) { in tt_decode_var() 520 yres=tt_yres; in tt_decode_var() 526 yres=st_yres/2; in tt_decode_var() [all …]
|
D | sa1100fb.c | 229 LCCR2_DisHght(var->yres) + LCCR2_VrtSnchWdth(7) + in sa1100fb_check_shadow() 256 LCCR2_DisHght(var->yres) + LCCR2_VrtSnchWdth(1) + in sa1100fb_check_shadow() 275 LCCR2_DisHght(var->yres) + LCCR2_VrtSnchWdth(1) + in sa1100fb_check_shadow() 304 LCCR2_DisHght(var->yres) + LCCR2_VrtSnchWdth(1) + in sa1100fb_check_shadow() 319 LCCR2_DisHght(var->yres) + LCCR2_VrtSnchWdth(3) + in sa1100fb_check_shadow() 351 LCCR2_DisHght(var->yres) + LCCR2_VrtSnchWdth(9) + in sa1100fb_check_shadow() 363 shadow.lccr2 = LCCR2_DisHght(var->yres); in sa1100fb_check_shadow() 379 LCCR2_DisHght(var->yres) + in sa1100fb_check_shadow() 419 var->yres, var->vsync_len, in sa1100fb_check_shadow() 463 xres: 320, yres: 240, [all …]
|
D | modedb.c | 27 ((v).xres == (x) && (v).yres == (y)) 281 mode->xres, mode->yres, bpp, mode->refresh); in __fb_try_mode() 283 var->yres = mode->yres; in __fb_try_mode() 285 var->yres_virtual = mode->yres; in __fb_try_mode() 360 unsigned int xres = 0, yres = 0, bpp = default_bpp, refresh = 0; in fb_find_mode() local 384 yres = my_atoi(&name[i+1]); in fb_find_mode() 405 (res_specified && res_matches(db[j], xres, yres))) && in fb_find_mode()
|
D | epson1355fb.c | 121 u32 yres; member 208 var->yres != par->yres || in e1355_decode_var() 210 var->yres != var->yres_virtual || in e1355_decode_var() 273 u32 xres, xres_virtual, yres; in e1355_encode_var() local 296 yres = e1355_read_reg16(0x08) + 1; in e1355_encode_var() 300 yres *= (is_dual && !crt_enabled) ? 2 : 1; in e1355_encode_var() 308 var->yres = yres; in e1355_encode_var() 310 var->yres_virtual = yres; in e1355_encode_var()
|
D | it8181fb.c | 501 int yres, bm, vsync, um; in it8181fb_decode_var() local 512 if (!((var->xres == 640 && var->yres == 480) || in it8181fb_decode_var() 513 (var->xres == 800 && var->yres == 600) || in it8181fb_decode_var() 514 (var->xres == 1024 && var->yres == 768))) { in it8181fb_decode_var() 516 var->xres, var->yres); in it8181fb_decode_var() 545 par->var.yres_virtual = par->var.yres; in it8181fb_decode_var() 573 yres = var->yres; in it8181fb_decode_var() 586 par->VertRes = yres; in it8181fb_decode_var() 587 par->VertTotal = yres + bm + vsync + um - 2; in it8181fb_decode_var() 588 par->VertDispEnd = yres - 1; in it8181fb_decode_var() [all …]
|
D | au1100fb.c | 203 var->yres != p_lcd->yres || in au1100_decode_var() 205 var->yres != p_lcd->yres) { in au1100_decode_var() 458 words = (p_lcd->xres * p_lcd->yres * p_lcd->bpp) / 32; in au1100_setmode() 517 p_lcd->yres = in au1100fb_init() 522 p_lcd->yres = in au1100fb_init() 532 if (((p_lcd->yres * p_lcd->bpp) % 32) != 0) in au1100fb_init() 540 fb_info.fb_size = (p_lcd->xres * p_lcd->yres * p_lcd->bpp) / 8; in au1100fb_init() 544 current_par.var.yres = p_lcd->yres; in au1100fb_init() 545 current_par.var.yres_virtual = p_lcd->yres; in au1100fb_init()
|
D | vga16fb.c | 245 u32 yres, lower, vslen, upper, ytotal; in vga16fb_decode_var() local 296 yres = var->yres; in vga16fb_decode_var() 303 if (yres > vyres) in vga16fb_decode_var() 304 vyres = yres; in vga16fb_decode_var() 307 if (vyres < yres) in vga16fb_decode_var() 310 if (yoffset + yres > vyres) in vga16fb_decode_var() 311 yoffset = vyres - yres; in vga16fb_decode_var() 312 par->var.yres = yres; in vga16fb_decode_var() 320 yres <<= 1; in vga16fb_decode_var() 325 ytotal = yres + lower + vslen + upper; in vga16fb_decode_var() [all …]
|
D | pvr2fb.c | 129 int yres; member 373 oldyres = display->var.yres; in pvr2fb_set_var() 378 if (oldxres != var->xres || oldyres != var->yres || in pvr2fb_set_var() 447 var->yoffset+fb_display[con].var.yres > in pvr2fb_pan_display() 662 if ((par->yres = var->yres) < 240) in pvr2_decode_var() 663 par->yres = 240; in pvr2_decode_var() 666 if ((par->vyres = var->yres_virtual) < par->yres) in pvr2_decode_var() 667 par->vyres = par->yres; in pvr2_decode_var() 696 par->is_doublescan = (par->yres < 480 && video_output == VO_VGA); in pvr2_decode_var() 700 par->vsync_total = var->upper_margin + var->yres + var->lower_margin + in pvr2_decode_var() [all …]
|
D | neofb.c | 142 static int neoFindMode (int xres, int yres, int depth) in neoFindMode() argument 181 if (yres <= mode[i].y_res) in neoFindMode() 1067 timings.VDisplay = var->yres; in neofb_decode_var() 1078 (var->yres > info->NeoPanelHeight)) in neofb_decode_var() 1082 var->yres, in neofb_decode_var() 1092 if (var->yres == 1024) in neofb_decode_var() 1096 if (var->yres == 768) in neofb_decode_var() 1100 if (var->yres == 600) in neofb_decode_var() 1104 if (var->yres == 480) in neofb_decode_var() 1112 var->xres, var->yres); in neofb_decode_var() [all …]
|
D | macmodes.c | 439 var->yres = mode->yres; in mac_vmode_to_var() 441 var->yres_virtual = mode->yres; in mac_vmode_to_var() 487 if (var->xres > mode->xres || var->yres > mode->yres) in mac_var_to_vmode() 489 if (var->xres_virtual > mode->xres || var->yres_virtual > mode->yres) in mac_var_to_vmode()
|
D | retz3fb.c | 61 int yres; member 394 int yres, vfront, vsync, vback; in retz3_set_video() local 422 yres = var->yres * 2; in retz3_set_video() 429 yres = (var->yres + 1) / 2; in retz3_set_video() 436 yres = var->yres; /* -1 ? */ in retz3_set_video() 451 data.v_total = yres + vfront + vsync + vback - 1; in retz3_set_video() 453 data.v_dispend = yres - 1; in retz3_set_video() 454 data.v_bstart = yres - 1; in retz3_set_video() 457 data.v_sstart = yres + vfront - 1 - 2; in retz3_set_video() 458 data.v_sstop = yres + vfront + vsync - 1; in retz3_set_video() [all …]
|
D | imsttfb.c | 497 compute_imstt_regvals_ibm (struct fb_info_imstt *p, int xres, int yres) in compute_imstt_regvals_ibm() argument 521 MHz = yres == 960 ? 126 : 135; in compute_imstt_regvals_ibm() 539 init->vsb = init->veb + yres; in compute_imstt_regvals_ibm() 549 compute_imstt_regvals_tvp (struct fb_info_imstt *p, int xres, int yres) in compute_imstt_regvals_tvp() argument 573 init = yres == 960 ? &tvp_reg_init_19 : &tvp_reg_init_20; in compute_imstt_regvals_tvp() 584 compute_imstt_regvals (struct fb_info_imstt *p, u_int xres, u_int yres) in compute_imstt_regvals() argument 587 return compute_imstt_regvals_ibm(p, xres, yres); in compute_imstt_regvals() 589 return compute_imstt_regvals_tvp(p, xres, yres); in compute_imstt_regvals() 1191 display_info.height = disp->var.yres; in set_display_info() 1215 display_info.mode = disp->var.yres == 960 ? 19 : 20; in set_display_info() [all …]
|
D | g364fb.c | 200 if (var->xres > fb_var.xres || var->yres > fb_var.yres || in g364fb_set_var() 231 if (var->xoffset || var->yoffset+var->yres > var->yres_virtual) in g364fb_pan_display() 283 unsigned int xres, yres; in g364fb_init() local 291 yres = (*((volatile unsigned int*)VDISPLAY_REG) & 0x00ffffff) / 2; in g364fb_init() 323 fb_var.yres = yres; in g364fb_init()
|
D | acornfb.c | 276 display_end = display_start + var->yres; in acornfb_set_timing() 317 var->yres, var->bits_per_pixel); in acornfb_set_timing() 402 vidc.v_display_end = vidc.v_display_start + var->yres; in acornfb_set_timing() 406 vcr = var->vsync_len + var->upper_margin + var->yres + in acornfb_set_timing() 494 var->yres, var->bits_per_pixel); in acornfb_set_timing() 592 min_size = var->xres * var->yres * var->bits_per_pixel / 8; in acornfb_adjust_timing() 628 if (var->yres > var->yres_virtual) in acornfb_adjust_timing() 629 var->yres = 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() [all …]
|
D | vfb.c | 196 if (!var->yres) in vfb_set_var() 197 var->yres = 1; in vfb_set_var() 200 if (var->yres > var->yres_virtual) in vfb_set_var() 201 var->yres_virtual = var->yres; in vfb_set_var() 229 oldyres = display->var.yres; in vfb_set_var() 234 if (oldxres != var->xres || oldyres != var->yres || in vfb_set_var() 322 var->yoffset+fb_display[con].var.yres > in vfb_pan_display()
|
D | tx3912fb.c | 175 if (!var->yres) in tx3912fb_set_var() 176 var->yres = 1; in tx3912fb_set_var() 179 if (var->yres > var->yres_virtual) in tx3912fb_set_var() 180 var->yres_virtual = var->yres; in tx3912fb_set_var() 224 oldyres = display->var.yres; in tx3912fb_set_var() 230 if (oldxres != var->xres || oldyres != var->yres || in tx3912fb_set_var()
|
D | controlfb.c | 66 int xres, yres; member 90 return (!DIRTY(cmode) && !DIRTY(xres) && !DIRTY(yres) in PAR_EQUAL() 96 && !DIRTY(yres) && !DIRTY(xres_virtual) in VAR_MATCH() 369 var->yoffset+par->yres > par->vyres) in control_pan_display() 664 if (vyres > var.yres) in init_control() 743 display_info.height = p->par.yres; in control_set_hardware() 760 p->par.xres, p->par.yres, in control_set_hardware() 1078 par->yres = var->yres; in control_var_to_par() 1081 if (par->vyres < par->yres) in control_var_to_par() 1082 par->vyres = par->yres; in control_var_to_par() [all …]
|
D | virgefb.c | 1027 par->var.yres = var->yres; in virgefb_decode_var() 1035 if (par->var.yres_virtual < par->var.yres) in virgefb_decode_var() 1036 par->var.yres_virtual = par->var.yres; in virgefb_decode_var() 1092 var->yres = par->var.yres; in virgefb_encode_var() 1395 clip = ((0 << 16) | (var->yres - 1)); in virgefb_set_video() 1598 oldyres = fb_display[con].var.yres; in virgefb_set_var() 1604 if (oldxres != var->xres || oldyres != var->yres || in virgefb_set_var() 1724 virgefb_default.yres, virgefb_default.bits_per_pixel); in virgefb_setup() 2230 int yres, vfront, vsync, vback; in virgefb_load_video_mode() local 2235 DPRINTK("ENTER : %dx%d-%d\n",video_mode->xres, video_mode->yres, in virgefb_load_video_mode() [all …]
|
D | fonts.c | 103 struct fbcon_font_desc *fbcon_get_default_font(int xres, int yres) in fbcon_get_default_font() argument 123 if ((yres < 400) == (f->height <= 8)) in fbcon_get_default_font()
|
D | cyberfb.c | 436 par->var.yres = var->yres; in Cyber_decode_var() 479 var->yres = par->var.yres; in Cyber_encode_var() 928 oldyres = fb_display[con].var.yres; in cyberfb_set_var() 934 if (oldxres != var->xres || oldyres != var->yres || in cyberfb_set_var() 1044 cyberfb_default.yres, in cyberfb_setup() 1845 int yres, vfront, vsync, vback; local 1883 yres = video_mode->yres * 2; 1889 yres = (video_mode->yres + 1) / 2; 1895 yres = video_mode->yres; 1925 VBS = yres; [all …]
|
/linux-2.4.37.9/drivers/video/sis/ |
D | sis_main.c | 190 unsigned int j = 0, xres = 0, yres = 0, depth = 0, rate = 0; in sisfb_search_mode() local 220 if(sscanf(strbuf1, "%u %u %u %u", &xres, &yres, &depth, &rate) == 4) { in sisfb_search_mode() 224 sprintf(strbuf, "%ux%ux%u", xres, yres, depth); in sisfb_search_mode() 227 } else if(sscanf(strbuf1, "%u %u %u", &xres, &yres, &depth) == 3) { in sisfb_search_mode() 228 sprintf(strbuf, "%ux%ux%u", xres, yres, depth); in sisfb_search_mode() 232 if((sscanf(strbuf1, "%u %u", &xres, &yres) == 2) && (xres != 0)) { in sisfb_search_mode() 233 sprintf(strbuf, "%ux%ux8", xres, yres); in sisfb_search_mode() 378 int i, j, xres, yres, refresh, index; in sisfb_interpret_edid() local 447 case 0xc0: yres = (xres * 9) / 16; break; in sisfb_interpret_edid() 448 case 0x80: yres = (xres * 4) / 5; break; in sisfb_interpret_edid() [all …]
|
/linux-2.4.37.9/drivers/video/intel/ |
D | intelfbdrv.c | 471 var->yres = screen_info.lfb_height; in get_initial_mode() 477 if (var->yres_virtual < var->yres) in get_initial_mode() 478 var->yres_virtual = var->yres; in get_initial_mode() 480 var->yres_virtual = var->yres; in get_initial_mode() 497 var->xres, var->yres, var->bits_per_pixel, in get_initial_mode() 510 ytot = var->yres + var->upper_margin + in get_initial_mode() 860 var.xres, var.yres); in intelfb_pci_register() 863 var.xres, var.yres); in intelfb_pci_register() 995 int ytot = var->yres + var->upper_margin + var->lower_margin + in var_to_refresh() 1035 dinfo->disp.var.yres, intelfb_var_to_depth(&dinfo->disp.var), in intelfb_init_disp_var() [all …]
|
/linux-2.4.37.9/drivers/video/matrox/ |
D | matroxfb_base.c | 453 var->yoffset+dsp->var.yres > dsp->var.yres_virtual) in matroxfb_pan_display() 647 if (var->yres_virtual < var->yres) in matroxfb_decode_var() 648 var->yres_virtual = var->yres; in matroxfb_decode_var() 701 if (var->yres_virtual < var->yres) in matroxfb_decode_var() 702 var->yres = var->yres_virtual; in matroxfb_decode_var() 707 if (var->yoffset + var->yres > var->yres_virtual) in matroxfb_decode_var() 708 var->yoffset = var->yres_virtual - var->yres; in matroxfb_decode_var() 732 dprintk(KERN_INFO "requested %d*%d/%dbpp (%d*%d)\n", var->xres, var->yres, var->bits_per_pixel, in matroxfb_decode_var() 915 (display->var.yres != var->yres) || in matroxfb_set_var() 1050 display_info.height = var->yres; in matroxfb_set_var() [all …]
|
/linux-2.4.37.9/Documentation/fb/ |
D | modedb.txt | 23 <xres>x<yres>[-<bpp>][@<refresh>] 26 with <xres>, <yres>, <bpp> and <refresh> decimal numbers and <name> a string. 45 video=<driver>:<xres>x<yres>[-<bpp>][@refresh]
|
/linux-2.4.37.9/drivers/video/riva/ |
D | fbdev.c | 297 yres: 480, 893 vDisplay = video_mode->yres - 1; in riva_load_video_mode() 894 vStart = video_mode->yres + video_mode->lower_margin - 1; in riva_load_video_mode() 895 vEnd = video_mode->yres + video_mode->lower_margin + in riva_load_video_mode() 897 vTotal = video_mode->yres + video_mode->lower_margin + in riva_load_video_mode() 1077 int xres, yres; in rivafb_do_maximize() member 1093 if (modes[i].xres * nom / den * modes[i].yres < in rivafb_do_maximize() 1104 v->yres_virtual = modes[i].yres; in rivafb_do_maximize() 1125 var->xres, var->yres, var->bits_per_pixel); in rivafb_do_maximize() 1144 if (v->yres_virtual < v->yres) { in rivafb_do_maximize() [all …]
|