Home
last modified time | relevance | path

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

12

/drivers/video/geode/
Dgx1fb_core.c27 static char mode_option[32] = "640x480-16@60"; variable
341 ret = fb_find_mode(&info->var, info, mode_option, in gx1fb_probe()
420 strlcpy(mode_option, this_opt + 5, sizeof(mode_option)); in gx1fb_setup()
426 strlcpy(mode_option, this_opt, sizeof(mode_option)); in gx1fb_setup()
467 module_param_string(mode, mode_option, sizeof(mode_option), 0444);
Dgxfb_core.c38 static char *mode_option; variable
404 ret = fb_find_mode(&info->var, info, mode_option, in gxfb_probe()
510 mode_option = opt; in gxfb_setup()
538 module_param(mode_option, charp, 0);
539 MODULE_PARM_DESC(mode_option, "video mode (<x>x<y>[-<bpp>][@<refr>])");
Dlxfb_core.c28 static char *mode_option; variable
531 ret = fb_find_mode(&info->var, info, mode_option, in lxfb_probe()
648 mode_option = opt; in lxfb_setup()
675 module_param(mode_option, charp, 0);
676 MODULE_PARM_DESC(mode_option, "video mode (<x>x<y>[-<bpp>][@<refr>])");
/drivers/video/
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
789 if (!mode_option) in xxxfb_probe()
790 mode_option = "640x480@60"; in xxxfb_probe()
792 retval = fb_find_mode(&info->var, info, mode_option, NULL, 0, NULL, 8); in xxxfb_probe()
Dvt8623fb.c101 static char *mode_option = "640x480-8@60"; variable
111 module_param(mode_option, charp, 0644);
112 MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
113 module_param_named(mode, mode_option, charp, 0);
755 kparam_block_sysfs_write(mode_option); in vt8623_pci_probe()
756 rc = fb_find_mode(&(info->var), info, mode_option, NULL, 0, NULL, 8); in vt8623_pci_probe()
757 kparam_unblock_sysfs_write(mode_option); in vt8623_pci_probe()
760 dev_err(info->device, "mode %s not found\n", mode_option); in vt8623_pci_probe()
945 mode_option = option; in vt8623fb_init()
Ds3fb.c156 static char *mode_option; variable
169 module_param(mode_option, charp, 0444);
170 MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
171 module_param_named(mode, mode_option, charp, 0444);
1314 if (!mode_option && !found) in s3_pci_probe()
1315 mode_option = "640x480-8@60"; in s3_pci_probe()
1318 if (mode_option) { in s3_pci_probe()
1319 rc = fb_find_mode(&info->var, info, mode_option, in s3_pci_probe()
1324 dev_err(info->device, "mode %s not found\n", mode_option); in s3_pci_probe()
1566 mode_option = opt; in s3fb_setup()
Di740fb.c36 static char *mode_option; variable
1109 if (!mode_option && !found) in i740fb_probe()
1110 mode_option = "640x480-8@60"; in i740fb_probe()
1112 if (mode_option) { in i740fb_probe()
1113 ret = fb_find_mode(&info->var, info, mode_option, in i740fb_probe()
1119 mode_option); in i740fb_probe()
1298 mode_option = opt; in i740fb_setup()
1330 module_param(mode_option, charp, 0444);
1331 MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
Dgxt4500.c159 static char *mode_option; variable
687 if (!fb_find_mode(&var, info, mode_option, NULL, 0, &defaultmode, 8)) { in gxt4500_probe()
766 if (fb_get_options("gxt4500", &mode_option)) in gxt4500_init()
783 module_param(mode_option, charp, 0);
784 MODULE_PARM_DESC(mode_option, "Specify resolution as \"<xres>x<yres>[-<bpp>][@<refresh>]\"");
Dmodedb.c565 struct fb_info *info, const char *mode_option, in fb_find_mode() argument
585 if (!mode_option) in fb_find_mode()
586 mode_option = fb_mode_option; in fb_find_mode()
587 if (mode_option) { in fb_find_mode()
588 const char *name = mode_option; in fb_find_mode()
Darkfb.c103 static char *mode_option = "640x480-8@60"; variable
113 module_param(mode_option, charp, 0444);
114 MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");
115 module_param_named(mode, mode_option, charp, 0444);
1036 rc = fb_find_mode(&(info->var), info, mode_option, NULL, 0, NULL, 8); in ark_pci_probe()
1039 dev_err(info->device, "mode %s not found\n", mode_option); in ark_pci_probe()
1224 mode_option = option; in arkfb_init()
Dmacmodes.h60 const char *mode_option,
Dpvr2fb.c259 static char *mode_option = NULL; variable
800 if (!mode_option) in pvr2fb_common_init()
801 mode_option = "640x480@60"; in pvr2fb_common_init()
803 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()
Dpm3fb.c59 static char *mode_option; variable
1424 if (!mode_option) in pm3fb_probe()
1425 mode_option = "640x480@60"; in pm3fb_probe()
1427 retval = fb_find_mode(&info->var, info, mode_option, NULL, 0, NULL, 8); in pm3fb_probe()
1543 mode_option = this_opt; in pm3fb_setup()
1575 module_param(mode_option, charp, 0);
1576 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
Dtdfxfb.c169 static char *mode_option; variable
1527 if (!mode_option && !found) in tdfxfb_probe()
1528 mode_option = "640x480@60"; in tdfxfb_probe()
1530 if (mode_option) { in tdfxfb_probe()
1531 err = fb_find_mode(&info->var, info, mode_option, in tdfxfb_probe()
1612 mode_option = this_opt; in tdfxfb_setup()
1679 module_param(mode_option, charp, 0);
1680 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
Dpm2fb.c70 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()
1802 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);
Duvesafb.c58 static char *mode_option; variable
889 if (!mode_option) in uvesafb_vbe_init_mode()
890 mode_option = UVESAFB_DEFAULT_MODE; in uvesafb_vbe_init_mode()
892 i = fb_find_mode(&info->var, info, mode_option, mode, i, in uvesafb_vbe_init_mode()
1926 mode_option = this_opt; in uvesafb_setup()
2066 module_param(mode_option, charp, 0);
2067 MODULE_PARM_DESC(mode_option,
Dtridentfb.c56 static char *mode_option = "640x480-8@60"; variable
71 module_param(mode_option, charp, 0);
72 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
73 module_param_named(mode, mode_option, charp, 0);
1509 mode_option, NULL, 0, NULL, bpp)) { in trident_pci_probe()
1630 mode_option = opt; in tridentfb_setup()
Dsstfb.c107 static char *mode_option = DEFAULT_VIDEO_MODE; variable
1303 mode_option = this_opt; in sstfb_setup()
1410 fb_find_mode(&info->var, info, mode_option, NULL, 0, NULL, 16); in sstfb_probe()
1530 module_param(mode_option, charp, 0);
1531 MODULE_PARM_DESC(mode_option, "Initial video mode (default=" DEFAULT_VIDEO_MODE ")");
Dneofb.c91 static char *mode_option = NULL; variable
109 module_param(mode_option, charp, 0);
110 MODULE_PARM_DESC(mode_option, "Preferred video mode ('640x480-8@60', etc)");
2075 if (!fb_find_mode(&info->var, info, mode_option, NULL, 0, in neofb_probe()
2225 mode_option = this_opt; in neofb_setup()
/drivers/gpu/drm/
Ddrm_modes.c1094 bool drm_mode_parse_command_line_for_connector(const char *mode_option, in drm_mode_parse_command_line_for_connector() argument
1108 if (!mode_option) in drm_mode_parse_command_line_for_connector()
1109 mode_option = fb_mode_option; in drm_mode_parse_command_line_for_connector()
1112 if (!mode_option) { in drm_mode_parse_command_line_for_connector()
1117 name = mode_option; in drm_mode_parse_command_line_for_connector()
/drivers/video/kyro/
Dfbdev.c84 static char *mode_option = NULL; variable
578 mode_option = this_opt; in kyrofb_setup()
721 if (!fb_find_mode(&info->var, info, mode_option, kyro_modedb, in kyrofb_probe()
/drivers/video/nvidia/
Dnvidia.c92 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()
1518 mode_option = this_opt; in nvidiafb_setup()
1593 module_param(mode_option, charp, 0);
1594 MODULE_PARM_DESC(mode_option, "Specify initial video mode");
/drivers/video/aty/
Daty128fb.c346 static char *mode_option = NULL; variable
1710 mode_option = this_opt; in aty128fb_setup()
1944 if (mode_option) { in aty128_init()
1945 if (!mac_find_mode(&var, info, mode_option, 8)) in aty128_init()
1987 if (mode_option) in aty128_init()
1988 if (fb_find_mode(&var, info, mode_option, NULL, in aty128_init()
2583 module_param(mode_option, charp, 0);
2584 MODULE_PARM_DESC(mode_option, "Specify resolution as \"<xres>x<yres>[-<bpp>][@<refresh>]\" ");
Dradeon_monitor.c756 void radeon_check_modes(struct radeonfb_info *rinfo, const char *mode_option) in radeon_check_modes() argument
880 if (mode_option) { in radeon_check_modes()
881 if (fb_find_mode(&info->var, info, mode_option, in radeon_check_modes()

12