Searched refs:vmode (Results 1 - 25 of 66) sorted by relevance

123

/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/video/
H A Dmacmodes.h53 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,
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/video/
H A Dmacmodes.h53 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,
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/video/
H A Dmacmodes.c119 int vmode; member in struct:mode_map
157 int vmode; member in struct:monitor_map
348 * mac_vmode_to_var - converts vmode/cmode pair to var structure
349 * @vmode: MacOS video mode
353 * Converts a MacOS vmode/cmode pair to a frame buffer video
360 int mac_vmode_to_var(int vmode, int cmode, struct fb_var_screeninfo *var) argument
365 for (map = mac_modes; map->vmode != -1; map++)
366 if (map->vmode == vmode) {
424 var->vmode
442 mac_var_to_vmode(const struct fb_var_screeninfo *var, int *vmode, int *cmode) argument
[all...]
H A Dvalkyriefb.c7 * Vmode-switching changes and vmode 15/17 modifications created 29 August
96 int vmode, cmode; member in struct:fb_par_valkyrie
221 /* adding "&& !DIRTY(pixclock)" corrects vmode-switching problems */
322 unsigned char vmode; local
325 && ((vmode = p->par.vmode) > 0)
326 && (vmode <= VMODE_MAX)
327 && ((init = valkyrie_reg_init[vmode - 1]) != NULL)) {
514 int vmode, cmode; local
516 vmode
827 int vmode = simple_strtoul(this_opt+6, NULL, 0); local
[all...]
H A Dplatinumfb.c59 int vmode, cmode; member in struct:fb_par_platinum
250 init = platinum_reg_init[par.vmode-1];
466 init = platinum_reg_init[info->current_par.vmode-1];
494 int vmode, cmode, pitch; local
498 vmode = par->vmode;
501 init = platinum_reg_init[vmode - 1];
543 display_info.pitch = vmode_attrs[vmode-1].hres * (1<<cmode) + 0x20;
545 display_info.mode = vmode;
772 /* This routine takes a user-supplied var, and picks the best vmode/cmod
867 int vmode = simple_strtoul(this_opt+6, NULL, 0); local
[all...]
H A Dpvr2fb.c156 u_long vmode; member in struct:pvr2fb_par
359 if (var->vmode & FB_VMODE_CONUPDATE) {
360 var->vmode |= FB_VMODE_YWRAP;
439 if (var->vmode & FB_VMODE_YWRAP) {
454 if (var->vmode & FB_VMODE_YWRAP)
455 fb_display[con].var.vmode |= FB_VMODE_YWRAP;
457 fb_display[con].var.vmode &= ~FB_VMODE_YWRAP;
629 if (par->vmode & FB_VMODE_YWRAP) {
681 par->vmode = var->vmode
[all...]
H A Dcontrolfb.c65 int vmode, cmode; member in struct:fb_par_control
617 int full, sense, vmode, cmode, vyres; local
629 vmode = nvram_read_byte(NV_VMODE);
630 if (vmode < 1 || vmode > VMODE_MAX ||
631 control_mac_modes[vmode - 1].m[full] < cmode) {
634 vmode = mac_map_monitor_sense(sense);
635 if (control_mac_modes[vmode - 1].m[full] < cmode)
636 vmode = VMODE_640_480_60;
644 if (vmode <
1435 int vmode = simple_strtoul(this_opt+6, NULL, 0); local
[all...]
H A Dvfb.c185 if (var->vmode & FB_VMODE_CONUPDATE) {
186 var->vmode |= FB_VMODE_YWRAP;
307 if (var->vmode & FB_VMODE_YWRAP) {
321 if (var->vmode & FB_VMODE_YWRAP)
322 fb_display[con].var.vmode |= FB_VMODE_YWRAP;
324 fb_display[con].var.vmode &= ~FB_VMODE_YWRAP;
H A Damifb.c680 int xres; /* vmode */
681 int yres; /* vmode */
682 int vxres; /* vmode */
683 int vyres; /* vmode */
684 int xoffset; /* vmode */
685 int yoffset; /* vmode */
686 u_short bpp; /* vmode */
687 u_short clk_shift; /* vmode */
688 u_short line_shift; /* vmode */
689 int vmode; /* vmod member in struct:amifb_par
[all...]
H A Dmodedb.c318 var->vmode = mode->vmode;
H A Dhgafb.c128 /* vmode */
531 * @var:contains new xoffset, yoffset and vmode values
545 DPRINTK("pan_disp: con:%d, wrap:%d, xoff:%d, yoff:%d\n", con, var->vmode & FB_VMODE_YWRAP, var->xoffset, var->yoffset);
547 if (var->vmode & FB_VMODE_YWRAP) {
563 if (var->vmode & FB_VMODE_YWRAP)
564 info->var.vmode |= FB_VMODE_YWRAP;
566 info->var.vmode &= ~FB_VMODE_YWRAP;
H A Dretz3fb.c80 int vmode; member in struct:retz3fb_par
417 if (var->vmode & FB_VMODE_DOUBLE)
424 else if (var->vmode & FB_VMODE_INTERLACED)
577 if (var->vmode & FB_VMODE_DOUBLE)
626 if (var->vmode & FB_VMODE_INTERLACED)
795 par->vmode = var->vmode;
860 var->vmode = par->vmode;
H A Dfbgen.c250 if (var->vmode & FB_VMODE_YWRAP)
251 fb_display[con].var.vmode |= FB_VMODE_YWRAP;
253 fb_display[con].var.vmode &= ~FB_VMODE_YWRAP;
H A Dsstfb.c309 dprintk(" %#x, %#x}\n",var->sync, var->vmode);
562 par->vmode=var->vmode & (FB_VMODE_INTERLACED | FB_VMODE_DOUBLE);
565 if (par->vmode & FB_VMODE_INTERLACED)
567 if (par->vmode & FB_VMODE_DOUBLE) {
631 if (par->vmode) {
633 par->vmode);
688 var->vmode = par->vmode;
689 if (var->vmode
[all...]
H A Dcyber2000fb.c443 u_int vmode; member in struct:par_info
507 if (hw->vmode == FB_VMODE_INTERLACED)
807 hw->vmode = var->vmode;
888 if (var->vmode & FB_VMODE_CONUPDATE) {
889 var->vmode |= FB_VMODE_YWRAP;
1069 if (!(var->vmode & FB_VMODE_YWRAP))
1082 if (var->vmode & FB_VMODE_YWRAP) {
1083 cfb->fb.var.vmode |= FB_VMODE_YWRAP;
1085 cfb->fb.var.vmode
[all...]
H A Dq40fb.c122 var->vmode=FB_VMODE_NONINTERLACED;
163 if(var->vmode!=FB_VMODE_NONINTERLACED)
H A Dneofb.c1041 timings.dblscan = var->vmode & FB_VMODE_DOUBLE;
1042 timings.interlaced = var->vmode & FB_VMODE_INTERLACED;
1572 if (!(var->vmode & FB_VMODE_YWRAP))
1585 if (var->vmode & FB_VMODE_YWRAP)
1586 fb->var.vmode |= FB_VMODE_YWRAP;
1588 fb->var.vmode &= ~FB_VMODE_YWRAP;
1744 vmode: FB_VMODE_NONINTERLACED
1762 vmode: FB_VMODE_NONINTERLACED
1780 vmode: FB_VMODE_NONINTERLACED
1799 vmode
[all...]
H A Datafb.c659 var->vmode=FB_VMODE_NONINTERLACED;
992 if (var->vmode & FB_VMODE_INTERLACED) {
996 } else if (var->vmode & FB_VMODE_DOUBLE) {
1064 if (var->vmode & FB_VMODE_INTERLACED) {
1071 else if (var->vmode & FB_VMODE_DOUBLE) {
1309 var->vmode = FB_VMODE_NONINTERLACED;
1311 var->vmode |= FB_VMODE_INTERLACED;
1313 var->vmode |= FB_VMODE_DOUBLE;
1321 if (!(var->vmode & FB_VMODE_INTERLACED))
1323 if (var->vmode
[all...]
H A Daty128fb.c140 vmode: FB_VMODE_NONINTERLACED
813 u32 left, right, upper, lower, hslen, vslen, sync, vmode; local
835 vmode = var->vmode;
844 if ((vmode & FB_VMODE_MASK) != FB_VMODE_NONINTERLACED)
1059 var->vmode = FB_VMODE_NONINTERLACED;
1319 int cmode, vmode; local
1326 if (mac_var_to_vmode(&var, &vmode, &cmode))
1329 display_info.mode = vmode;
1761 /* vmode an
1763 unsigned int vmode = simple_strtoul(this_opt+6, NULL, 0); local
[all...]
H A Dimsttfb.c1436 disp->var.vmode = FB_VMODE_NONINTERLACED;
1455 || (var->vmode & FB_VMODE_MASK) != FB_VMODE_NONINTERLACED)
1800 int vmode = init_vmode, cmode = init_cmode; local
1803 /* Attempt to read vmode/cmode from NVRAM */
1804 if (vmode == VMODE_NVRAM)
1805 vmode = nvram_read_byte(NV_VMODE);
1812 if (vmode <= 0 || vmode > VMODE_MAX)
1813 vmode = VMODE_640_480_67;
1817 if (mac_vmode_to_var(vmode, cmod
1997 int vmode = simple_strtoul(this_opt+6, NULL, 0); local
[all...]
H A Dacornfb.c256 is_interlaced = (var->vmode & FB_VMODE_MASK) == FB_VMODE_INTERLACED;
409 if ((var->vmode & FB_VMODE_MASK) == FB_VMODE_INTERLACED) {
631 if (var->vmode & FB_VMODE_YWRAP) {
1106 if (!(var->vmode & FB_VMODE_YWRAP))
1115 if (var->vmode & FB_VMODE_YWRAP)
1116 fb_display[con].var.vmode |= FB_VMODE_YWRAP;
1118 fb_display[con].var.vmode &= ~FB_VMODE_YWRAP;
1303 vmode: FB_VMODE_NONINTERLACED
1347 init_var.vmode = FB_VMODE_NONINTERLACED;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/video/matrox/
H A Dmatroxfb_misc.h14 void matroxfb_createcursorshape(WPMINFO struct display* p, int vmode);
H A Dmatroxfb_base.c252 if (var->vmode & FB_VMODE_YWRAP) {
264 if (var->vmode & FB_VMODE_YWRAP)
265 fb_display[con].var.vmode |= FB_VMODE_YWRAP;
267 fb_display[con].var.vmode &= ~FB_VMODE_YWRAP;
877 int vmode, cmode; local
883 if (mac_var_to_vmode(var, &vmode, &cmode))
886 display_info.mode = vmode;
1758 vesafb_defined.vmode = 0;
2402 else if (!strncmp(this_opt, "vmode:", 6)) {
2403 unsigned int vmode local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/
H A Dnvram.c849 unsigned vmode; local
896 vmode = (nvram[14] << 8) || nvram[15];
898 colors[vmode & 7],
899 vmode & 8 ? 80 : 40,
900 vmode & 16 ? "VGA" : "TV", vmode & 32 ? "PAL" : "NTSC");
902 vmode & 64 ? "" : "no ",
903 vmode & 128 ? "on" : "off",
904 vmode & 256 ?
905 (vmode
[all...]
/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Dfbset.c129 __u32 vmode; /* see FB_VMODE_* */ member in struct:fb_var_screeninfo
229 base->vmode &= ~FB_VMODE_INTERLACED;
231 base->vmode |= FB_VMODE_INTERLACED;
237 base->vmode &= ~FB_VMODE_DOUBLE;
239 base->vmode |= FB_VMODE_DOUBLE;

Completed in 304 milliseconds

123