Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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
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>])");
Dlxfb_core.c26 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>])");
/kernel/linux/linux-5.10/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()
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]')");
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()
918 mode_option = option; in vt8623fb_init()
Dmacmodes.h60 const char *mode_option,
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>]\"");
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()
1529 mode_option = opt; in s3fb_setup()
Di740fb.c33 static char *mode_option; variable
1100 if (!mode_option && !found) in i740fb_probe()
1101 mode_option = "640x480-8@60"; in i740fb_probe()
1103 if (mode_option) { in i740fb_probe()
1104 ret = fb_find_mode(&info->var, info, mode_option, in i740fb_probe()
1110 mode_option); in i740fb_probe()
1267 mode_option = opt; in i740fb_setup()
1299 module_param(mode_option, charp, 0444);
1300 MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
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()
1188 mode_option = option; in arkfb_init()
Dpvr2fb.c227 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()
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()
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);
/kernel/linux/linux-5.10/Documentation/fb/
Dgxfb.rst26 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
Dlxfb.rst27 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
Dmodedb.rst21 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,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_modes.c1714 bool drm_mode_parse_command_line_for_connector(const char *mode_option, in drm_mode_parse_command_line_for_connector() argument
1730 if (!mode_option) in drm_mode_parse_command_line_for_connector()
1733 name = mode_option; in drm_mode_parse_command_line_for_connector()
1789 unsigned int len = strlen(mode_option); in drm_mode_parse_command_line_for_connector()
1794 if (len == 1 || (len >= 2 && mode_option[1] == ',')) in drm_mode_parse_command_line_for_connector()
1795 extra_ptr = mode_option; in drm_mode_parse_command_line_for_connector()
1797 options_ptr = mode_option - 1; in drm_mode_parse_command_line_for_connector()
/kernel/linux/linux-5.10/drivers/video/fbdev/kyro/
Dfbdev.c81 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()
/kernel/linux/linux-5.10/drivers/video/fbdev/nvidia/
Dnvidia.c79 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");

12