/linux/drivers/video/fbdev/geode/ |
A D | gx1fb_core.c | 23 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);
|
A D | gxfb_core.c | 35 static char *mode_option; variable 387 ret = fb_find_mode(&info->var, info, mode_option, in gxfb_probe() 498 mode_option = opt; in gxfb_setup() 526 module_param(mode_option, charp, 0); 527 MODULE_PARM_DESC(mode_option, "video mode (<x>x<y>[-<bpp>][@<refr>])");
|
A D | lxfb_core.c | 26 static char *mode_option; variable 511 ret = fb_find_mode(&info->var, info, mode_option, in lxfb_probe() 634 mode_option = opt; in lxfb_setup() 661 module_param(mode_option, charp, 0); 662 MODULE_PARM_DESC(mode_option, "video mode (<x>x<y>[-<bpp>][@<refr>])");
|
/linux/drivers/video/fbdev/ |
A D | macmodes.c | 399 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()
|
A D | skeletonfb.c | 66 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()
|
A D | ocfb.c | 50 static char *mode_option; variable 80 mode_option = curr_opt; in ocfb_setup() 313 if (!fb_find_mode(&fbdev->info.var, &fbdev->info, mode_option, in ocfb_probe() 431 module_param(mode_option, charp, 0); 432 MODULE_PARM_DESC(mode_option, "Video mode ('<xres>x<yres>[-<bpp>][@refresh]')");
|
A D | vfb.c | 40 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()
|
A D | vt8623fb.c | 97 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() 918 mode_option = option; in vt8623fb_init()
|
A D | s3fb.c | 152 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() 1529 mode_option = opt; in s3fb_setup()
|
A D | i740fb.c | 33 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() 1264 mode_option = opt; in i740fb_setup() 1296 module_param(mode_option, charp, 0444); 1297 MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
|
A D | gxt4500.c | 160 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>]\"");
|
A D | arkfb.c | 99 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() 1188 mode_option = option; in arkfb_init()
|
A D | tridentfb.c | 63 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()
|
A D | macmodes.h | 60 const char *mode_option,
|
A D | pvr2fb.c | 227 static char *mode_option = NULL; variable 814 if (!mode_option) in pvr2fb_common_init() 815 mode_option = "640x480@60"; in pvr2fb_common_init() 817 if (!fb_find_mode(&fb_info->var, fb_info, mode_option, pvr2_modedb, in pvr2fb_common_init() 1047 mode_option = this_opt; in pvr2fb_setup()
|
A D | pm3fb.c | 56 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'");
|
A D | tdfxfb.c | 152 static char *mode_option; variable 1506 if (!mode_option && !found) in tdfxfb_probe() 1507 mode_option = "640x480@60"; in tdfxfb_probe() 1509 if (mode_option) { in tdfxfb_probe() 1510 err = fb_find_mode(&info->var, info, mode_option, in tdfxfb_probe() 1587 mode_option = this_opt; in tdfxfb_setup() 1651 module_param(mode_option, charp, 0); 1652 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
|
A D | pm2fb.c | 66 static char *mode_option; variable 1673 if (!mode_option) in pm2fb_probe() 1674 mode_option = "640x480@60"; in pm2fb_probe() 1676 err = fb_find_mode(&info->var, info, mode_option, NULL, 0, NULL, 8); in pm2fb_probe() 1785 mode_option = this_opt; in pm2fb_setup() 1821 module_param(mode_option, charp, 0); 1822 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'"); 1823 module_param_named(mode, mode_option, charp, 0);
|
/linux/Documentation/fb/ |
A D | lxfb.rst | 27 Switching modes is done using lxfb.mode_option=<resolution>... boot 44 For example, lxfb.mode_option=800x600@75. 48 mode_option specify the video mode. Of the form
|
A D | gxfb.rst | 26 Switching modes is done using gxfb.mode_option=<resolution>... boot 43 For example, gxfb.mode_option=800x600@75. 47 mode_option specify the video mode. Of the form
|
A D | modedb.rst | 21 Valid mode specifiers (mode_option argument):: 29 If 'M' is specified in the mode_option argument (after <yres> and before 138 struct fb_info *info, const char *mode_option,
|
/linux/drivers/video/fbdev/core/ |
A D | modedb.c | 618 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()
|
/linux/drivers/gpu/drm/ |
A D | drm_modes.c | 1709 bool drm_mode_parse_command_line_for_connector(const char *mode_option, in drm_mode_parse_command_line_for_connector() argument 1725 if (!mode_option) in drm_mode_parse_command_line_for_connector() 1728 name = mode_option; in drm_mode_parse_command_line_for_connector() 1784 unsigned int len = strlen(mode_option); in drm_mode_parse_command_line_for_connector() 1789 if (len == 1 || (len >= 2 && mode_option[1] == ',')) in drm_mode_parse_command_line_for_connector() 1790 extra_ptr = mode_option; in drm_mode_parse_command_line_for_connector() 1792 options_ptr = mode_option - 1; in drm_mode_parse_command_line_for_connector()
|
/linux/drivers/video/fbdev/kyro/ |
A D | fbdev.c | 81 static char *mode_option = NULL; variable 579 mode_option = this_opt; in kyrofb_setup() 720 if (!fb_find_mode(&info->var, info, mode_option, kyro_modedb, in kyrofb_probe()
|
/linux/drivers/video/fbdev/nvidia/ |
A D | nvidia.c | 79 static char *mode_option = NULL; variable 1148 if (mode_option) in nvidia_set_fbinfo() 1149 fb_find_mode(&nvidiafb_default_var, info, mode_option, in nvidia_set_fbinfo() 1494 mode_option = this_opt; in nvidiafb_setup() 1568 module_param(mode_option, charp, 0); 1569 MODULE_PARM_DESC(mode_option, "Specify initial video mode");
|