/linux-master/drivers/video/fbdev/ |
H A D | macmodes.c | 141 int vmode; member in struct:mode_map 183 int vmode; member in struct:monitor_map 209 * mac_vmode_to_var - converts vmode/cmode pair to var structure 210 * @vmode: MacOS video mode 214 * Converts a MacOS vmode/cmode pair to a frame buffer video 221 int mac_vmode_to_var(int vmode, int cmode, struct fb_var_screeninfo *var) argument 226 for (map = mac_modes; map->vmode != -1; map++) 227 if (map->vmode == vmode) { 285 var->vmode 303 mac_var_to_vmode(const struct fb_var_screeninfo *var, int *vmode, int *cmode) argument [all...] |
H A D | macmodes.h | 53 extern int mac_vmode_to_var(int vmode, int cmode, 55 extern int mac_var_to_vmode(const struct fb_var_screeninfo *var, int *vmode,
|
H A D | ps3fb.c | 265 static int ps3fb_cmp_mode(const struct fb_videomode *vmode, argument 272 if (var->xres > vmode->xres || var->yres > vmode->yres || 273 var->pixclock > vmode->pixclock || 274 var->hsync_len > vmode->hsync_len || 275 var->vsync_len > vmode->vsync_len) 279 if ((var->vmode & FB_VMODE_MASK) != vmode->vmode) 287 left_margin = max(var->left_margin, vmode 338 const struct fb_videomode *vmode; local 608 const struct fb_videomode *vmode; local 812 const struct fb_videomode *vmode; local [all...] |
H A D | platinumfb.c | 46 int vmode, cmode; member in struct:fb_info_platinum 133 init = platinum_reg_init[pinfo->vmode-1]; 135 if ((pinfo->vmode == VMODE_832_624_75) && (pinfo->cmode > CMODE_8)) 144 info->fix.line_length = vmode_attrs[pinfo->vmode-1].hres * (1<<pinfo->cmode) 241 init = platinum_reg_init[pinfo->vmode-1]; 269 int vmode, cmode; local 271 vmode = pinfo->vmode; 274 init = platinum_reg_init[vmode - 1]; 433 * This routine takes a user-supplied var, and picks the best vmode/cmod 440 int vmode, cmode; local 495 int vmode = simple_strtoul(this_opt+6, NULL, 0); local [all...] |
H A D | valkyriefb.c | 7 * Vmode-switching changes and vmode 15/17 modifications created 29 August 69 int vmode, cmode; member in struct:fb_par_valkyrie 155 return mac_vmode_to_var(par->vmode, par->cmode, var); 425 * and picks the best vmode/cmode from it. 433 * add support for vmode 17. This was reinforced by the fact that 439 * messages when a vmode/cmode switch fails. (Most of the error messages are 442 * messages.) In addition, I think the new code *might* fix some vmode- 452 int vmode, cmode; local 457 if (mac_var_to_vmode(var, &vmode, &cmode) != 0) { 464 if (vmode < 554 int vmode = simple_strtoul(this_opt+6, NULL, 0); local [all...] |
H A D | controlfb.c | 83 int vmode, cmode; member in struct:fb_par_control 417 * This routine takes a user-supplied var, and picks the best vmode/cmode 547 if (mac_var_to_vmode(var, &par->vmode, &cmode)) 548 par->vmode = 0; 601 var->vmode = FB_VMODE_NONINTERLACED; 805 if (!strncmp(this_opt, "vmode:", 6)) { 806 int vmode = simple_strtoul(this_opt+6, NULL, 0); local 807 if (vmode > 0 && vmode <= VMODE_MAX && 808 control_mac_modes[vmode 839 int full, sense, vmode, cmode, vyres; local [all...] |
H A D | 68328fb.c | 72 .vmode = FB_VMODE_NONINTERLACED, 139 if (var->vmode & FB_VMODE_CONUPDATE) { 140 var->vmode |= FB_VMODE_YWRAP; 366 if (var->vmode & FB_VMODE_YWRAP) { 378 if (var->vmode & FB_VMODE_YWRAP) 379 info->var.vmode |= FB_VMODE_YWRAP; 381 info->var.vmode &= ~FB_VMODE_YWRAP;
|
H A D | vfb.c | 54 .vmode = FB_VMODE_NONINTERLACED, 124 if (var->vmode & FB_VMODE_CONUPDATE) { 125 var->vmode |= FB_VMODE_YWRAP; 360 if (var->vmode & FB_VMODE_YWRAP) { 371 if (var->vmode & FB_VMODE_YWRAP) 372 info->var.vmode |= FB_VMODE_YWRAP; 374 info->var.vmode &= ~FB_VMODE_YWRAP;
|
H A D | fsl-diu-fb.c | 68 .vmode = FB_VMODE_NONINTERLACED 82 .vmode = FB_VMODE_NONINTERLACED 96 .vmode = FB_VMODE_NONINTERLACED 110 .vmode = FB_VMODE_NONINTERLACED 124 .vmode = FB_VMODE_NONINTERLACED 138 .vmode = FB_VMODE_NONINTERLACED 152 .vmode = FB_VMODE_NONINTERLACED 166 .vmode = FB_VMODE_NONINTERLACED 180 .vmode = FB_VMODE_NONINTERLACED 194 .vmode [all...] |
H A D | pvr2fb.c | 171 .vmode = FB_VMODE_NONINTERLACED, 373 var->vmode &= FB_VMODE_MASK; 374 if (var->vmode & FB_VMODE_INTERLACED && video_output != VO_VGA) 380 if (var->vmode & FB_VMODE_DOUBLE && video_output == VO_VGA) 461 if (var->vmode & FB_VMODE_YWRAP) { 478 var->vmode |= FB_VMODE_DOUBLE; 482 var->vmode |= FB_VMODE_INTERLACED; 485 var->vmode &= ~FB_VMODE_INTERLACED; 486 var->vmode |= FB_VMODE_NONINTERLACED; 509 if (var->vmode [all...] |
H A D | maxinefb.c | 51 .vmode = FB_VMODE_NONINTERLACED,
|
H A D | q40fb.c | 50 .vmode = FB_VMODE_NONINTERLACED,
|
H A D | s3c-fb.c | 1242 fbinfo->var.vmode = FB_VMODE_NONINTERLACED; 1288 struct fb_videomode *vmode = sfb->pdata->vtiming; local 1293 if (!vmode->pixclock) 1294 s3c_fb_missing_pixclock(vmode); 1296 clkdiv = s3c_fb_calc_pixclk(sfb, vmode->pixclock); 1310 data = VIDTCON0_VBPD(vmode->upper_margin - 1) | 1311 VIDTCON0_VFPD(vmode->lower_margin - 1) | 1312 VIDTCON0_VSPW(vmode->vsync_len - 1); 1315 data = VIDTCON1_HBPD(vmode->left_margin - 1) | 1316 VIDTCON1_HFPD(vmode [all...] |
H A D | imsttfb.c | 787 || (var->vmode & FB_VMODE_MASK) != FB_VMODE_NONINTERLACED) 852 var->vmode = FB_VMODE_NONINTERLACED; 1396 int vmode = init_vmode, cmode = init_cmode; local 1398 if (vmode == -1) { 1399 vmode = nvram_read_byte(NV_VMODE); 1400 if (vmode <= 0 || vmode > VMODE_MAX) 1401 vmode = VMODE_640_480_67; 1408 if (mac_vmode_to_var(vmode, cmode, &info->var)) { 1593 else if (!strncmp(this_opt, "vmode 1594 int vmode = simple_strtoul(this_opt+6, NULL, 0); local [all...] |
H A D | amifb.c | 722 int xres; /* vmode */ 723 int yres; /* vmode */ 724 int vxres; /* vmode */ 725 int vyres; /* vmode */ 726 int xoffset; /* vmode */ 727 int yoffset; /* vmode */ 728 u_short bpp; /* vmode */ 729 u_short clk_shift; /* vmode */ 730 u_short line_shift; /* vmode */ 731 int vmode; /* vmod member in struct:amifb_par [all...] |
H A D | sstfb.c | 369 if (var->vmode & FB_VMODE_INTERLACED) 371 if (var->vmode & FB_VMODE_DOUBLE) { 415 if (var->vmode) { 417 var->vmode); 445 var->vmode &= (FB_VMODE_INTERLACED | FB_VMODE_DOUBLE); 496 if (info->var.vmode & FB_VMODE_INTERLACED) 498 if (info->var.vmode & FB_VMODE_DOUBLE) { 599 if (info->var.vmode & FB_VMODE_INTERLACED) 601 if (info->var.vmode & FB_VMODE_DOUBLE)
|
/linux-master/drivers/gpu/drm/meson/ |
H A D | meson_venc.c | 883 struct meson_hdmi_venc_vic_mode *vmode = meson_hdmi_venc_vic_modes; local 885 while (vmode->vic && vmode->mode) { 886 if (vmode->vic == vic) 888 vmode++; 922 struct meson_hdmi_venc_vic_mode *vmode = meson_hdmi_venc_vic_modes; local 924 while (vmode->vic && vmode->mode) { 925 if (vmode->vic == vic) 926 return vmode 955 union meson_hdmi_venc_mode *vmode = NULL; local [all...] |
/linux-master/arch/m68k/atari/ |
H A D | nvram.c | 183 unsigned int vmode; local 232 vmode = (nvram[14] << 8) | nvram[15]; 235 colors[vmode & 7], vmode & 8 ? 80 : 40, 236 vmode & 16 ? "VGA" : "TV", vmode & 32 ? "PAL" : "NTSC"); 239 vmode & 64 ? "" : "no ", vmode & 128 ? "on" : "off", 240 vmode & 256 ? 241 (vmode [all...] |
/linux-master/drivers/regulator/ |
H A D | pbias-regulator.c | 33 u32 vmode; member in struct:pbias_reg_info 66 .vmode = BIT(0), 77 .vmode = BIT(8), 88 .vmode = BIT(21), 99 .vmode = BIT(21), 206 desc->vsel_mask = info->vmode;
|
/linux-master/drivers/video/fbdev/sis/ |
H A D | initextlfb.c | 131 var->vmode = FB_VMODE_NONINTERLACED; 133 var->vmode = FB_VMODE_INTERLACED; 140 var->vmode = FB_VMODE_DOUBLE; 148 if((var->vmode & FB_VMODE_MASK) == FB_VMODE_INTERLACED) { 154 } else if((var->vmode & FB_VMODE_MASK) == FB_VMODE_DOUBLE) {
|
/linux-master/drivers/video/fbdev/core/ |
H A D | modedb.c | 571 var->vmode = mode->vmode; 743 cvt_mode.vmode |= FB_VMODE_INTERLACED; 745 cvt_mode.vmode &= ~FB_VMODE_INTERLACED; 785 const int db_interlace = (db[i].vmode & 871 mode->vmode = var->vmode & FB_VMODE_MASK; 885 if (var->vmode & FB_VMODE_INTERLACED) 887 if (var->vmode & FB_VMODE_DOUBLE) 919 var->vmode [all...] |
H A D | fbmon.c | 403 mode->vmode = 0; 591 mode->vmode |= FB_VMODE_INTERLACED; 739 if (mode->vmode & FB_VMODE_INTERLACED) 742 if (mode->vmode & FB_VMODE_DOUBLE) 1250 if (var->vmode & FB_VMODE_INTERLACED) { 1254 if (var->vmode & FB_VMODE_DOUBLE) { 1331 fbmode->vmode = 0; 1337 fbmode->vmode |= FB_VMODE_INTERLACED; 1339 fbmode->vmode |= FB_VMODE_DOUBLE; 1366 m->hsync_len, m->vsync_len, m->sync, m->vmode, [all...] |
H A D | tileblit.c | 127 ops->var.vmode = info->var.vmode;
|
/linux-master/drivers/auxdisplay/ |
H A D | cfag12864bfb.c | 47 .vmode = FB_VMODE_NONINTERLACED,
|
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-osd.c | 157 var->vmode &= ~FB_VMODE_MASK; 158 var->vmode |= FB_VMODE_NONINTERLACED; 292 dev->fb_defined.vmode = FB_VMODE_NONINTERLACED;
|