Home
last modified time | relevance | path

Searched refs:mode_option (Results 1 – 25 of 40) sorted by relevance

12

/drivers/video/fbdev/geode/
Dgx1fb_core.c23 static char mode_option[32] = "640x480-16@60"; variable
337 ret = fb_find_mode(&info->var, info, mode_option, in gx1fb_probe()
413 strlcpy(mode_option, this_opt + 5, sizeof(mode_option)); in gx1fb_setup()
419 strlcpy(mode_option, this_opt, sizeof(mode_option)); in gx1fb_setup()
460 module_param_string(mode, mode_option, sizeof(mode_option), 0444);
Dgxfb_core.c35 static char *mode_option; variable
391 ret = fb_find_mode(&info->var, info, mode_option, in gxfb_probe()
494 mode_option = opt; in gxfb_setup()
522 module_param(mode_option, charp, 0);
523 MODULE_PARM_DESC(mode_option, "video mode (<x>x<y>[-<bpp>][@<refr>])");
Dlxfb_core.c26 static char *mode_option; variable
518 ret = fb_find_mode(&info->var, info, mode_option, in lxfb_probe()
631 mode_option = opt; in lxfb_setup()
658 module_param(mode_option, charp, 0);
659 MODULE_PARM_DESC(mode_option, "video mode (<x>x<y>[-<bpp>][@<refr>])");
/drivers/video/fbdev/
Dmacmodes.c399 const char *mode_option, unsigned int default_bpp) in mac_find_mode() argument
404 if (mode_option && !strncmp(mode_option, "mac", 3)) { in mac_find_mode()
405 mode_option += 3; in mac_find_mode()
409 return fb_find_mode(var, info, mode_option, db, dbsize, in mac_find_mode()
Dskeletonfb.c66 static char *mode_option; variable
772 if (!mode_option) in xxxfb_probe()
773 mode_option = "640x480@60"; in xxxfb_probe()
775 retval = fb_find_mode(&info->var, info, mode_option, NULL, 0, NULL, 8); in xxxfb_probe()
Docfb.c50 static char *mode_option; variable
80 mode_option = curr_opt; in ocfb_setup()
314 if (!fb_find_mode(&fbdev->info.var, &fbdev->info, mode_option, in ocfb_probe()
438 module_param(mode_option, charp, 0);
439 MODULE_PARM_DESC(mode_option, "Video mode ('<xres>x<yres>[-<bpp>][@refresh]')");
Dvfb.c40 static char *mode_option = NULL; variable
41 module_param(mode_option, charp, 0);
42 MODULE_PARM_DESC(mode_option, "Preferred video mode (e.g. 640x480-8@60)");
416 mode_option = this_opt; in vfb_setup()
445 if (!fb_find_mode(&info->var, info, mode_option, in vfb_probe()
Dvt8623fb.c97 static char *mode_option = "640x480-8@60"; variable
104 module_param(mode_option, charp, 0644);
105 MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
106 module_param_named(mode, mode_option, charp, 0);
746 rc = fb_find_mode(&(info->var), info, mode_option, NULL, 0, NULL, 8); in vt8623_pci_probe()
750 dev_err(info->device, "mode %s not found\n", mode_option); in vt8623_pci_probe()
925 mode_option = option; in vt8623fb_init()
Ds3fb.c152 static char *mode_option; variable
161 module_param(mode_option, charp, 0444);
162 MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
163 module_param_named(mode, mode_option, charp, 0444);
1300 if (!mode_option && !found) in s3_pci_probe()
1301 mode_option = "640x480-8@60"; in s3_pci_probe()
1304 if (mode_option) { in s3_pci_probe()
1305 rc = fb_find_mode(&info->var, info, mode_option, in s3_pci_probe()
1310 dev_err(info->device, "mode %s not found\n", mode_option); in s3_pci_probe()
1536 mode_option = opt; in s3fb_setup()
Di740fb.c33 static char *mode_option; variable
1097 if (!mode_option && !found) in i740fb_probe()
1098 mode_option = "640x480-8@60"; in i740fb_probe()
1100 if (mode_option) { in i740fb_probe()
1101 ret = fb_find_mode(&info->var, info, mode_option, in i740fb_probe()
1107 mode_option); in i740fb_probe()
1272 mode_option = opt; in i740fb_setup()
1304 module_param(mode_option, charp, 0444);
1305 MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
Dgxt4500.c160 static char *mode_option; variable
699 if (!fb_find_mode(&var, info, mode_option, NULL, 0, &defaultmode, 8)) { in gxt4500_probe()
778 if (fb_get_options("gxt4500", &mode_option)) in gxt4500_init()
795 module_param(mode_option, charp, 0);
796 MODULE_PARM_DESC(mode_option, "Specify resolution as \"<xres>x<yres>[-<bpp>][@<refresh>]\"");
Darkfb.c99 static char *mode_option = "640x480-8@60"; variable
105 module_param(mode_option, charp, 0444);
106 MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
107 module_param_named(mode, mode_option, charp, 0444);
1021 rc = fb_find_mode(&(info->var), info, mode_option, NULL, 0, NULL, 8); in ark_pci_probe()
1024 dev_err(info->device, "mode %s not found\n", mode_option); in ark_pci_probe()
1195 mode_option = option; in arkfb_init()
Dtridentfb.c63 static char *mode_option; variable
78 module_param(mode_option, charp, 0);
79 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
80 module_param_named(mode, mode_option, charp, 0);
1663 if (!mode_option && !found) in trident_pci_probe()
1664 mode_option = "640x480-8@60"; in trident_pci_probe()
1667 if (mode_option) { in trident_pci_probe()
1668 err = fb_find_mode(&info->var, info, mode_option, in trident_pci_probe()
1675 mode_option); in trident_pci_probe()
1805 mode_option = opt; in tridentfb_setup()
Dmacmodes.h60 const char *mode_option,
Dpvr2fb.c227 static char *mode_option = NULL; variable
802 if (!mode_option) in pvr2fb_common_init()
803 mode_option = "640x480@60"; in pvr2fb_common_init()
805 if (!fb_find_mode(&fb_info->var, fb_info, mode_option, pvr2_modedb, in pvr2fb_common_init()
1033 mode_option = this_opt; in pvr2fb_setup()
Dpm3fb.c56 static char *mode_option; variable
1414 if (!mode_option) in pm3fb_probe()
1415 mode_option = "640x480@60"; in pm3fb_probe()
1417 retval = fb_find_mode(&info->var, info, mode_option, NULL, 0, NULL, 8); in pm3fb_probe()
1525 mode_option = this_opt; in pm3fb_setup()
1557 module_param(mode_option, charp, 0);
1558 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
Dtdfxfb.c152 static char *mode_option; variable
1508 if (!mode_option && !found) in tdfxfb_probe()
1509 mode_option = "640x480@60"; in tdfxfb_probe()
1511 if (mode_option) { in tdfxfb_probe()
1512 err = fb_find_mode(&info->var, info, mode_option, in tdfxfb_probe()
1589 mode_option = this_opt; in tdfxfb_setup()
1653 module_param(mode_option, charp, 0);
1654 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
Dpm2fb.c66 static char *mode_option; variable
1672 if (!mode_option) in pm2fb_probe()
1673 mode_option = "640x480@60"; in pm2fb_probe()
1675 err = fb_find_mode(&info->var, info, mode_option, NULL, 0, NULL, 8); in pm2fb_probe()
1784 mode_option = this_opt; in pm2fb_setup()
1820 module_param(mode_option, charp, 0);
1821 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
1822 module_param_named(mode, mode_option, charp, 0);
Duvesafb.c59 static char *mode_option; variable
872 if (!mode_option) in uvesafb_vbe_init_mode()
873 mode_option = UVESAFB_DEFAULT_MODE; in uvesafb_vbe_init_mode()
875 i = fb_find_mode(&info->var, info, mode_option, mode, i, in uvesafb_vbe_init_mode()
1853 mode_option = this_opt; in uvesafb_setup()
1992 module_param(mode_option, charp, 0);
1993 MODULE_PARM_DESC(mode_option,
Dsstfb.c108 static char *mode_option = DEFAULT_VIDEO_MODE; variable
1304 mode_option = this_opt; in sstfb_setup()
1411 fb_find_mode(&info->var, info, mode_option, NULL, 0, NULL, 16); in sstfb_probe()
1531 module_param(mode_option, charp, 0);
1532 MODULE_PARM_DESC(mode_option, "Initial video mode (default=" DEFAULT_VIDEO_MODE ")");
/drivers/video/fbdev/core/
Dmodedb.c618 struct fb_info *info, const char *mode_option, in fb_find_mode() argument
638 if (!mode_option) in fb_find_mode()
639 mode_option = fb_mode_option; in fb_find_mode()
640 if (mode_option) { in fb_find_mode()
641 const char *name = mode_option; in fb_find_mode()
/drivers/video/fbdev/kyro/
Dfbdev.c81 static char *mode_option = NULL; variable
571 mode_option = this_opt; in kyrofb_setup()
712 if (!fb_find_mode(&info->var, info, mode_option, kyro_modedb, in kyrofb_probe()
/drivers/video/fbdev/nvidia/
Dnvidia.c83 static char *mode_option = NULL; variable
1144 if (mode_option) in nvidia_set_fbinfo()
1145 fb_find_mode(&nvidiafb_default_var, info, mode_option, in nvidia_set_fbinfo()
1490 mode_option = this_opt; in nvidiafb_setup()
1565 module_param(mode_option, charp, 0);
1566 MODULE_PARM_DESC(mode_option, "Specify initial video mode");
/drivers/video/fbdev/aty/
Daty128fb.c389 static char *mode_option = NULL; variable
1731 mode_option = this_opt; in aty128fb_setup()
1959 if (mode_option) { in aty128_init()
1960 if (!mac_find_mode(&var, info, mode_option, 8)) in aty128_init()
2002 if (mode_option) in aty128_init()
2003 if (fb_find_mode(&var, info, mode_option, NULL, in aty128_init()
2522 module_param(mode_option, charp, 0);
2523 MODULE_PARM_DESC(mode_option, "Specify resolution as \"<xres>x<yres>[-<bpp>][@<refresh>]\" ");
/drivers/gpu/drm/
Ddrm_modes.c1721 bool drm_mode_parse_command_line_for_connector(const char *mode_option, in drm_mode_parse_command_line_for_connector() argument
1735 if (!mode_option) in drm_mode_parse_command_line_for_connector()
1736 mode_option = fb_mode_option; in drm_mode_parse_command_line_for_connector()
1739 if (!mode_option) { in drm_mode_parse_command_line_for_connector()
1744 name = mode_option; in drm_mode_parse_command_line_for_connector()

12