Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/video/fbdev/geode/
Dgx1fb_core.c24 static char mode_option[32] = "640x480-16@60"; variable
338 ret = fb_find_mode(&info->var, info, mode_option, in gx1fb_probe()
414 strscpy(mode_option, this_opt + 5, sizeof(mode_option)); in gx1fb_setup()
420 strscpy(mode_option, this_opt, sizeof(mode_option)); in gx1fb_setup()
466 module_param_string(mode, mode_option, sizeof(mode_option), 0444);
Dgxfb_core.c36 static char *mode_option; variable
388 ret = fb_find_mode(&info->var, info, mode_option, in gxfb_probe()
499 mode_option = opt; in gxfb_setup()
532 module_param(mode_option, charp, 0);
533 MODULE_PARM_DESC(mode_option, "video mode (<x>x<y>[-<bpp>][@<refr>])");
Dlxfb_core.c27 static char *mode_option; variable
515 ret = fb_find_mode(&info->var, info, mode_option, in lxfb_probe()
638 mode_option = opt; in lxfb_setup()
670 module_param(mode_option, charp, 0);
671 MODULE_PARM_DESC(mode_option, "video mode (<x>x<y>[-<bpp>][@<refr>])");
/linux-6.6.21/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.c67 static char *mode_option; variable
778 if (!mode_option) in xxxfb_probe()
779 mode_option = "640x480@60"; in xxxfb_probe()
781 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()
311 if (!fb_find_mode(&fbdev->info.var, &fbdev->info, mode_option, in ocfb_probe()
427 module_param(mode_option, charp, 0);
428 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)");
417 mode_option = this_opt; in vfb_setup()
446 if (!fb_find_mode(&info->var, info, mode_option, in vfb_probe()
Dvt8623fb.c98 static char *mode_option = "640x480-8@60"; variable
105 module_param(mode_option, charp, 0644);
106 MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
107 module_param_named(mode, mode_option, charp, 0);
756 rc = fb_find_mode(&(info->var), info, mode_option, NULL, 0, NULL, 8); in vt8623_pci_probe()
760 dev_err(info->device, "mode %s not found\n", mode_option); in vt8623_pci_probe()
933 mode_option = option; in vt8623fb_init()
Dmacmodes.h60 const char *mode_option,
Dgxt4500.c161 static char *mode_option; variable
701 if (!fb_find_mode(&var, info, mode_option, NULL, 0, &defaultmode, 8)) { in gxt4500_probe()
783 if (fb_get_options("gxt4500", &mode_option)) in gxt4500_init()
800 module_param(mode_option, charp, 0);
801 MODULE_PARM_DESC(mode_option, "Specify resolution as \"<xres>x<yres>[-<bpp>][@<refresh>]\"");
Ds3fb.c153 static char *mode_option; variable
162 module_param(mode_option, charp, 0444);
163 MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
164 module_param_named(mode, mode_option, charp, 0444);
1310 if (!mode_option && !found) in s3_pci_probe()
1311 mode_option = "640x480-8@60"; in s3_pci_probe()
1314 if (mode_option) { in s3_pci_probe()
1315 rc = fb_find_mode(&info->var, info, mode_option, in s3_pci_probe()
1320 dev_err(info->device, "mode %s not found\n", mode_option); in s3_pci_probe()
1539 mode_option = opt; in s3fb_setup()
Di740fb.c34 static char *mode_option; variable
1108 if (!mode_option && !found) in i740fb_probe()
1109 mode_option = "640x480-8@60"; in i740fb_probe()
1111 if (mode_option) { in i740fb_probe()
1112 ret = fb_find_mode(&info->var, info, mode_option, in i740fb_probe()
1118 mode_option); in i740fb_probe()
1275 mode_option = opt; in i740fb_setup()
1312 module_param(mode_option, charp, 0444);
1313 MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
Darkfb.c100 static char *mode_option = "640x480-8@60"; variable
106 module_param(mode_option, charp, 0444);
107 MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
108 module_param_named(mode, mode_option, charp, 0444);
1028 rc = fb_find_mode(&(info->var), info, mode_option, NULL, 0, NULL, 8); in ark_pci_probe()
1031 dev_err(info->device, "mode %s not found\n", mode_option); in ark_pci_probe()
1200 mode_option = option; in arkfb_init()
Dpvr2fb.c228 static char *mode_option = NULL; variable
818 if (!mode_option) in pvr2fb_common_init()
819 mode_option = "640x480@60"; in pvr2fb_common_init()
821 if (!fb_find_mode(&fb_info->var, fb_info, mode_option, pvr2_modedb, in pvr2fb_common_init()
1055 mode_option = this_opt; in pvr2fb_setup()
Dtridentfb.c64 static char *mode_option; variable
79 module_param(mode_option, charp, 0);
80 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
81 module_param_named(mode, mode_option, charp, 0);
1666 if (!mode_option && !found) in trident_pci_probe()
1667 mode_option = "640x480-8@60"; in trident_pci_probe()
1670 if (mode_option) { in trident_pci_probe()
1671 err = fb_find_mode(&info->var, info, mode_option, in trident_pci_probe()
1678 mode_option); in trident_pci_probe()
1804 mode_option = opt; in tridentfb_setup()
Dpm3fb.c57 static char *mode_option; variable
1418 if (!mode_option) in pm3fb_probe()
1419 mode_option = "640x480@60"; in pm3fb_probe()
1421 retval = fb_find_mode(&info->var, info, mode_option, NULL, 0, NULL, 8); in pm3fb_probe()
1529 mode_option = this_opt; in pm3fb_setup()
1566 module_param(mode_option, charp, 0);
1567 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
Dtdfxfb.c153 static char *mode_option; variable
1511 if (!mode_option && !found) in tdfxfb_probe()
1512 mode_option = "640x480@60"; in tdfxfb_probe()
1514 if (mode_option) { in tdfxfb_probe()
1515 err = fb_find_mode(&info->var, info, mode_option, in tdfxfb_probe()
1592 mode_option = this_opt; in tdfxfb_setup()
1661 module_param(mode_option, charp, 0);
1662 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
Dpm2fb.c67 static char *mode_option; variable
1682 if (!mode_option) in pm2fb_probe()
1683 mode_option = "640x480@60"; in pm2fb_probe()
1685 err = fb_find_mode(&info->var, info, mode_option, NULL, 0, NULL, 8); in pm2fb_probe()
1795 mode_option = this_opt; in pm2fb_setup()
1836 module_param(mode_option, charp, 0);
1837 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
1838 module_param_named(mode, mode_option, charp, 0);
/linux-6.6.21/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)::
37 If 'M' is specified in the mode_option argument (after <yres> and before
148 struct fb_info *info, const char *mode_option,
/linux-6.6.21/drivers/video/fbdev/core/
Dmodedb.c623 struct fb_info *info, const char *mode_option, in fb_find_mode() argument
644 if (!mode_option) { in fb_find_mode()
646 mode_option = mode_option_buf; in fb_find_mode()
648 if (mode_option) { in fb_find_mode()
649 const char *name = mode_option; in fb_find_mode()
/linux-6.6.21/drivers/video/fbdev/kyro/
Dfbdev.c82 static char *mode_option = NULL; variable
582 mode_option = this_opt; in kyrofb_setup()
724 if (!fb_find_mode(&info->var, info, mode_option, kyro_modedb, in kyrofb_probe()
/linux-6.6.21/drivers/video/fbdev/nvidia/
Dnvidia.c80 static char *mode_option = NULL; variable
1151 if (mode_option) in nvidia_set_fbinfo()
1152 fb_find_mode(&nvidiafb_default_var, info, mode_option, in nvidia_set_fbinfo()
1504 mode_option = this_opt; in nvidiafb_setup()
1583 module_param(mode_option, charp, 0);
1584 MODULE_PARM_DESC(mode_option, "Specify initial video mode");
/linux-6.6.21/drivers/ps3/
Dps3av.c925 const char *mode_option; in ps3av_probe() local
973 mode_option = video_get_options(NULL); in ps3av_probe()
974 if (mode_option && !strcmp(mode_option, "safe")) in ps3av_probe()

12