Home
last modified time | relevance | path

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

12

/linux/drivers/video/fbdev/geode/
H A 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);
H A 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>])");
H A 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/drivers/video/fbdev/
H A 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()
H A 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()
H A 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]')");
H A 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()
446 if (!fb_find_mode(&info->var, info, mode_option, in vfb_probe()
H A 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);
765 rc = fb_find_mode(&(info->var), info, mode_option, NULL, 0, NULL, 8); in vt8623_pci_probe()
769 dev_err(info->device, "mode %s not found\n", mode_option); in vt8623_pci_probe()
942 mode_option = option; in vt8623fb_init()
H A 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);
1318 if (!mode_option && !found) in s3_pci_probe()
1319 mode_option = "640x480-8@60"; in s3_pci_probe()
1322 if (mode_option) { in s3_pci_probe()
1323 rc = fb_find_mode(&info->var, info, mode_option, in s3_pci_probe()
1328 dev_err(info->device, "mode %s not found\n", mode_option); in s3_pci_probe()
1547 mode_option = opt; in s3fb_setup()
H A 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>]\"");
H A Di740fb.c34 static char *mode_option; variable
1107 if (!mode_option && !found) in i740fb_probe()
1108 mode_option = "640x480-8@60"; in i740fb_probe()
1110 if (mode_option) { in i740fb_probe()
1111 ret = fb_find_mode(&info->var, info, mode_option, in i740fb_probe()
1117 mode_option); in i740fb_probe()
1274 mode_option = opt; in i740fb_setup()
1311 module_param(mode_option, charp, 0444);
1312 MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
H A Dmacmodes.h60 const char *mode_option,
H A 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);
1037 rc = fb_find_mode(&(info->var), info, mode_option, NULL, 0, NULL, 8); in ark_pci_probe()
1040 dev_err(info->device, "mode %s not found\n", mode_option); in ark_pci_probe()
1209 mode_option = option; in arkfb_init()
H A 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);
1667 if (!mode_option && !found) in trident_pci_probe()
1668 mode_option = "640x480-8@60"; in trident_pci_probe()
1671 if (mode_option) { in trident_pci_probe()
1672 err = fb_find_mode(&info->var, info, mode_option, in trident_pci_probe()
1679 mode_option); in trident_pci_probe()
1805 mode_option = opt; in tridentfb_setup()
H A Dpvr2fb.c228 static char *mode_option = NULL; variable
820 if (!mode_option) in pvr2fb_common_init()
821 mode_option = "640x480@60"; in pvr2fb_common_init()
823 if (!fb_find_mode(&fb_info->var, fb_info, mode_option, pvr2_modedb, in pvr2fb_common_init()
1057 mode_option = this_opt; in pvr2fb_setup()
H A Dpm3fb.c57 static char *mode_option; variable
1420 if (!mode_option) in pm3fb_probe()
1421 mode_option = "640x480@60"; in pm3fb_probe()
1423 retval = fb_find_mode(&info->var, info, mode_option, NULL, 0, NULL, 8); in pm3fb_probe()
1531 mode_option = this_opt; in pm3fb_setup()
1568 module_param(mode_option, charp, 0);
1569 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
H A Dtdfxfb.c153 static char *mode_option; variable
1510 if (!mode_option && !found) in tdfxfb_probe()
1511 mode_option = "640x480@60"; in tdfxfb_probe()
1513 if (mode_option) { in tdfxfb_probe()
1514 err = fb_find_mode(&info->var, info, mode_option, in tdfxfb_probe()
1591 mode_option = this_opt; in tdfxfb_setup()
1660 module_param(mode_option, charp, 0);
1661 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
H A Dpm2fb.c67 static char *mode_option; variable
1684 if (!mode_option) in pm2fb_probe()
1685 mode_option = "640x480@60"; in pm2fb_probe()
1687 err = fb_find_mode(&info->var, info, mode_option, NULL, 0, NULL, 8); in pm2fb_probe()
1797 mode_option = this_opt; in pm2fb_setup()
1838 module_param(mode_option, charp, 0);
1839 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
1840 module_param_named(mode, mode_option, charp, 0);
/linux/Documentation/fb/
H A 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
H A 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
H A 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/drivers/video/fbdev/core/
H A 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/drivers/video/fbdev/kyro/
H A 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/drivers/video/fbdev/nvidia/
H A Dnvidia.c80 static char *mode_option = NULL; variable
1153 if (mode_option) in nvidia_set_fbinfo()
1154 fb_find_mode(&nvidiafb_default_var, info, mode_option, in nvidia_set_fbinfo()
1506 mode_option = this_opt; in nvidiafb_setup()
1585 module_param(mode_option, charp, 0);
1586 MODULE_PARM_DESC(mode_option, "Specify initial video mode");
/linux/drivers/ps3/
H A 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