/linux/drivers/video/fbdev/ |
A D | grvga.c | 268 char *this_opt; in grvga_parse_custom() local 273 while ((this_opt = strsep(&options, " ")) != NULL) { in grvga_parse_custom() 274 if (!*this_opt) in grvga_parse_custom() 357 char *this_opt = strsep(&options, ","); in grvga_probe() local 359 if (!this_opt) in grvga_probe() 362 if (!strncmp(this_opt, "custom", 6)) { in grvga_probe() 363 if (grvga_parse_custom(this_opt, &info->var) < 0) { in grvga_probe() 368 } else if (!strncmp(this_opt, "addr", 4)) in grvga_probe() 370 else if (!strncmp(this_opt, "size", 4)) in grvga_probe() 371 grvga_mem_size = simple_strtoul(this_opt + 5, NULL, 0); in grvga_probe() [all …]
|
A D | vesafb.c | 205 char *this_opt; in vesafb_setup() local 211 if (!*this_opt) continue; in vesafb_setup() 213 if (! strcmp(this_opt, "inverse")) in vesafb_setup() 215 else if (! strcmp(this_opt, "redraw")) in vesafb_setup() 217 else if (! strcmp(this_opt, "ypan")) in vesafb_setup() 219 else if (! strcmp(this_opt, "ywrap")) in vesafb_setup() 221 else if (! strcmp(this_opt, "vgapal")) in vesafb_setup() 223 else if (! strcmp(this_opt, "pmipal")) in vesafb_setup() 225 else if (! strncmp(this_opt, "mtrr:", 5)) in vesafb_setup() 227 else if (! strcmp(this_opt, "nomtrr")) in vesafb_setup() [all …]
|
A D | efifb.c | 274 char *this_opt; in efifb_setup() local 277 while ((this_opt = strsep(&options, ",")) != NULL) { in efifb_setup() 278 if (!*this_opt) continue; in efifb_setup() 280 efifb_setup_from_dmi(&screen_info, this_opt); in efifb_setup() 282 if (!strncmp(this_opt, "base:", 5)) in efifb_setup() 283 screen_info.lfb_base = simple_strtoul(this_opt+5, NULL, 0); in efifb_setup() 284 else if (!strncmp(this_opt, "stride:", 7)) in efifb_setup() 286 else if (!strncmp(this_opt, "height:", 7)) in efifb_setup() 288 else if (!strncmp(this_opt, "width:", 6)) in efifb_setup() 290 else if (!strcmp(this_opt, "nowc")) in efifb_setup() [all …]
|
A D | pxafb.c | 1859 const char *name = this_opt+5; in parse_opt_mode() 1922 if (!strncmp(this_opt, "vmem:", 5)) { in parse_opt() 1924 } else if (!strncmp(this_opt, "mode:", 5)) { in parse_opt() 1925 return parse_opt_mode(dev, this_opt, inf); in parse_opt() 1963 } else if (!strncmp(this_opt, "dpc:", 4)) { in parse_opt() 1989 } else if (!strncmp(this_opt, "mono", 4)) { in parse_opt() 1997 } else if (!strncmp(this_opt, "dual", 4)) { in parse_opt() 1999 } else if (!strncmp(this_opt, "4pix", 4)) { in parse_opt() 2001 } else if (!strncmp(this_opt, "8pix", 4)) { in parse_opt() 2017 char *this_opt; in pxafb_parse_options() local [all …]
|
A D | uvesafb.c | 1814 char *this_opt; in uvesafb_setup() local 1820 if (!*this_opt) continue; in uvesafb_setup() 1822 if (!strcmp(this_opt, "redraw")) in uvesafb_setup() 1824 else if (!strcmp(this_opt, "ypan")) in uvesafb_setup() 1826 else if (!strcmp(this_opt, "ywrap")) in uvesafb_setup() 1828 else if (!strcmp(this_opt, "vgapal")) in uvesafb_setup() 1830 else if (!strcmp(this_opt, "pmipal")) in uvesafb_setup() 1834 else if (!strcmp(this_opt, "nomtrr")) in uvesafb_setup() 1836 else if (!strcmp(this_opt, "nocrtc")) in uvesafb_setup() 1854 else if (this_opt[0] >= '0' && this_opt[0] <= '9') { in uvesafb_setup() [all …]
|
A D | fm2fb.c | 298 char *this_opt; in fm2fb_setup() local 303 while ((this_opt = strsep(&options, ",")) != NULL) { in fm2fb_setup() 304 if (!strncmp(this_opt, "pal", 3)) in fm2fb_setup() 306 else if (!strncmp(this_opt, "ntsc", 4)) in fm2fb_setup()
|
A D | au1100fb.c | 368 char *this_opt, *options; in au1100fb_setup() local 381 while ((this_opt = strsep(&options, ",")) != NULL) { in au1100fb_setup() 383 if (!strncmp(this_opt, "panel:", 6)) { in au1100fb_setup() 385 this_opt += 6; in au1100fb_setup() 387 if (!strncmp(this_opt, known_lcd_panels[i].name, in au1100fb_setup() 388 strlen(this_opt))) { in au1100fb_setup() 395 print_warn("Panel '%s' not supported!", this_opt); in au1100fb_setup() 401 print_warn("Unsupported option \"%s\"", this_opt); in au1100fb_setup()
|
A D | pvr2fb.c | 1024 char *this_opt; in pvr2fb_setup() local 1033 while ((this_opt = strsep(&options, ","))) { in pvr2fb_setup() 1034 if (!*this_opt) in pvr2fb_setup() 1036 if (!strcmp(this_opt, "inverse")) { in pvr2fb_setup() 1038 } else if (!strncmp(this_opt, "cable:", 6)) { in pvr2fb_setup() 1039 strcpy(cable_arg, this_opt + 6); in pvr2fb_setup() 1040 } else if (!strncmp(this_opt, "output:", 7)) { in pvr2fb_setup() 1041 strcpy(output_arg, this_opt + 7); in pvr2fb_setup() 1042 } else if (!strncmp(this_opt, "nopan", 5)) { in pvr2fb_setup() 1044 } else if (!strncmp(this_opt, "nowrap", 6)) { in pvr2fb_setup() [all …]
|
A D | au1200fb.c | 1581 char *this_opt, *endptr; in au1200fb_setup() local 1593 if (!strncmp(this_opt, "panel:", 6)) { in au1200fb_setup() 1597 this_opt += 6; in au1200fb_setup() 1600 li = simple_strtol(this_opt, &endptr, 0); in au1200fb_setup() 1603 else if (strcmp(this_opt, "bs") == 0) in au1200fb_setup() 1607 if (!strcmp(this_opt, in au1200fb_setup() 1615 print_warn("Panel %s not supported!", this_opt); in au1200fb_setup() 1621 else if (strncmp(this_opt, "devices:", 8) == 0) { in au1200fb_setup() 1622 this_opt += 8; in au1200fb_setup() 1628 this_opt += 7; in au1200fb_setup() [all …]
|
A D | sstfb.c | 1277 char *this_opt; in sstfb_setup() local 1283 if (!*this_opt) continue; in sstfb_setup() 1285 f_ddprintk("option %s\n", this_opt); in sstfb_setup() 1287 if (!strcmp(this_opt, "vganopass")) in sstfb_setup() 1289 else if (!strcmp(this_opt, "vgapass")) in sstfb_setup() 1291 else if (!strcmp(this_opt, "clipping")) in sstfb_setup() 1293 else if (!strcmp(this_opt, "noclipping")) in sstfb_setup() 1295 else if (!strcmp(this_opt, "fastpci")) in sstfb_setup() 1297 else if (!strcmp(this_opt, "slowpci")) in sstfb_setup() 1299 else if (!strncmp(this_opt, "mem:",4)) in sstfb_setup() [all …]
|
A D | sa1100fb.c | 1230 char *this_opt; in sa1100fb_setup() 1237 if (!strncmp(this_opt, "bpp:", 4)) in sa1100fb_setup() 1239 simple_strtoul(this_opt + 4, NULL, 0); in sa1100fb_setup() 1241 if (!strncmp(this_opt, "lccr0:", 6)) in sa1100fb_setup() 1243 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup() 1244 if (!strncmp(this_opt, "lccr1:", 6)) { in sa1100fb_setup() 1246 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup() 1250 if (!strncmp(this_opt, "lccr2:", 6)) { in sa1100fb_setup() 1252 simple_strtoul(this_opt + 6, NULL, 0); in sa1100fb_setup() 1260 if (!strncmp(this_opt, "lccr3:", 6)) in sa1100fb_setup() [all …]
|
A D | valkyriefb.c | 555 char *this_opt; in valkyriefb_setup() local 560 while ((this_opt = strsep(&options, ",")) != NULL) { in valkyriefb_setup() 561 if (!strncmp(this_opt, "vmode:", 6)) { in valkyriefb_setup() 562 int vmode = simple_strtoul(this_opt+6, NULL, 0); in valkyriefb_setup() 566 else if (!strncmp(this_opt, "cmode:", 6)) { in valkyriefb_setup() 567 int depth = simple_strtoul(this_opt+6, NULL, 0); in valkyriefb_setup()
|
A D | vfb.c | 397 char *this_opt; in vfb_setup() local 409 while ((this_opt = strsep(&options, ",")) != NULL) { in vfb_setup() 410 if (!*this_opt) in vfb_setup() 413 if (!strcmp(this_opt, "disable")) in vfb_setup() 416 mode_option = this_opt; in vfb_setup()
|
A D | platinumfb.c | 491 char *this_opt; in platinumfb_setup() local 496 while ((this_opt = strsep(&options, ",")) != NULL) { in platinumfb_setup() 497 if (!strncmp(this_opt, "vmode:", 6)) { in platinumfb_setup() 498 int vmode = simple_strtoul(this_opt+6, NULL, 0); in platinumfb_setup() 501 } else if (!strncmp(this_opt, "cmode:", 6)) { in platinumfb_setup() 502 int depth = simple_strtoul(this_opt+6, NULL, 0); in platinumfb_setup()
|
A D | gbefb.c | 1093 char *this_opt; in gbefb_setup() local 1098 while ((this_opt = strsep(&options, ",")) != NULL) { in gbefb_setup() 1099 if (!strncmp(this_opt, "monitor:", 8)) { in gbefb_setup() 1100 if (!strncmp(this_opt + 8, "crt", 3)) { in gbefb_setup() 1104 } else if (!strncmp(this_opt + 8, "1600sw", 6) || in gbefb_setup() 1105 !strncmp(this_opt + 8, "lcd", 3)) { in gbefb_setup() 1110 } else if (!strncmp(this_opt, "mem:", 4)) { in gbefb_setup() 1111 gbe_mem_size = memparse(this_opt + 4, &this_opt); in gbefb_setup() 1117 mode_option = this_opt; in gbefb_setup()
|
A D | atafb.c | 2999 char *this_opt; in atafb_setup() local 3006 if (!*this_opt) in atafb_setup() 3008 if ((temp = get_video_mode(this_opt))) { in atafb_setup() 3010 mode_option = this_opt; in atafb_setup() 3021 else if (!strcmp(this_opt, "mv300")) { in atafb_setup() 3025 atafb_setup_ext(this_opt + 9); in atafb_setup() 3028 atafb_setup_int(this_opt + 9); in atafb_setup() 3036 atafb_setup_mcap(this_opt + 11); in atafb_setup() 3038 else if (!strcmp(this_opt, "keep")) in atafb_setup() 3040 else if (!strncmp(this_opt, "R", 1)) in atafb_setup() [all …]
|
/linux/drivers/video/fbdev/matrox/ |
A D | matroxfb_base.c | 2329 char *this_opt; in matroxfb_setup() local 2337 if (!*this_opt) continue; in matroxfb_setup() 2341 if (!strncmp(this_opt, "dev:", 4)) in matroxfb_setup() 2422 else if (!strcmp(this_opt, "sdram")) in matroxfb_setup() 2429 if (!strncmp(this_opt, "no", 2)) { in matroxfb_setup() 2431 this_opt += 2; in matroxfb_setup() 2433 if (! strcmp(this_opt, "inverse")) in matroxfb_setup() 2437 else if (!strcmp(this_opt, "pan")) in matroxfb_setup() 2441 else if (!strcmp(this_opt, "vga")) in matroxfb_setup() 2443 else if (!strcmp(this_opt, "bios")) in matroxfb_setup() [all …]
|
/linux/drivers/video/fbdev/via/ |
A D | viafbdev.c | 1925 char *this_opt; in viafb_setup() local 1937 if (!*this_opt) in viafb_setup() 1940 if (!strncmp(this_opt, "viafb_mode1=", 12)) { in viafb_setup() 1957 if (kstrtoint(this_opt + 21, 0, in viafb_setup() 1961 if (kstrtoint(this_opt + 19, 0, in viafb_setup() 1972 } else if (!strncmp(this_opt, in viafb_setup() 1974 if (kstrtoint(this_opt + 30, 0, in viafb_setup() 1980 } else if (!strncmp(this_opt, in viafb_setup() 1982 if (kstrtoint(this_opt + 24, 0, in viafb_setup() 1985 } else if (!strncmp(this_opt, in viafb_setup() [all …]
|
/linux/drivers/video/fbdev/geode/ |
A D | gx1fb_core.c | 403 char *this_opt; in gx1fb_setup() local 408 while ((this_opt = strsep(&options, ","))) { in gx1fb_setup() 409 if (!*this_opt) in gx1fb_setup() 412 if (!strncmp(this_opt, "mode:", 5)) in gx1fb_setup() 413 strlcpy(mode_option, this_opt + 5, sizeof(mode_option)); in gx1fb_setup() 414 else if (!strncmp(this_opt, "crt:", 4)) in gx1fb_setup() 415 crt_option = !!simple_strtoul(this_opt + 4, NULL, 0); in gx1fb_setup() 416 else if (!strncmp(this_opt, "panel:", 6)) in gx1fb_setup() 417 strlcpy(panel_option, this_opt + 6, sizeof(panel_option)); in gx1fb_setup() 419 strlcpy(mode_option, this_opt, sizeof(mode_option)); in gx1fb_setup()
|
/linux/drivers/video/fbdev/intelfb/ |
A D | intelfbdrv.c | 279 p = OPT_STRVAL(this_opt, name); in get_opt_string() 297 if (!OPT_EQUAL(this_opt, name)) in get_opt_int() 300 *ret = OPT_INTVAL(this_opt, name); in get_opt_int() 310 if (OPT_EQUAL(this_opt, name)) { in get_opt_bool() 311 if (this_opt[strlen(name)] == '=') in get_opt_bool() 317 if (OPT_EQUAL(this_opt, "no") && OPT_EQUAL(this_opt + 2, name)) in get_opt_bool() 327 char *this_opt; in intelfb_setup() local 351 if (!*this_opt) in intelfb_setup() 365 else if (OPT_EQUAL(this_opt, "mode=")) in intelfb_setup() 366 mode = get_opt_string(this_opt, "mode="); in intelfb_setup() [all …]
|
/linux/drivers/video/fbdev/nvidia/ |
A D | nvidia.c | 1455 char *this_opt; in nvidiafb_setup() local 1462 if (!strncmp(this_opt, "forceCRTC", 9)) { in nvidiafb_setup() 1465 p = this_opt + 9; in nvidiafb_setup() 1473 } else if (!strncmp(this_opt, "hwcur", 5)) { in nvidiafb_setup() 1475 } else if (!strncmp(this_opt, "noaccel", 6)) { in nvidiafb_setup() 1483 } else if (!strncmp(this_opt, "vram:", 5)) { in nvidiafb_setup() 1484 vram = simple_strtoul(this_opt+5, NULL, 0); in nvidiafb_setup() 1487 } else if (!strncmp(this_opt, "nomtrr", 6)) { in nvidiafb_setup() 1491 } else if (!strncmp(this_opt, "bpp:", 4)) { in nvidiafb_setup() 1492 bpp = simple_strtoul(this_opt+4, NULL, 0); in nvidiafb_setup() [all …]
|
/linux/drivers/video/fbdev/i810/ |
A D | i810_main.c | 1962 char *this_opt, *suffix = NULL; in i810fb_setup() local 1968 if (!strncmp(this_opt, "mtrr", 4)) in i810fb_setup() 1970 else if (!strncmp(this_opt, "accel", 5)) in i810fb_setup() 1972 else if (!strncmp(this_opt, "extvga", 6)) in i810fb_setup() 1974 else if (!strncmp(this_opt, "sync", 4)) in i810fb_setup() 1976 else if (!strncmp(this_opt, "vram:", 5)) in i810fb_setup() 1980 else if (!strncmp(this_opt, "xres:", 5)) in i810fb_setup() 1982 else if (!strncmp(this_opt, "yres:", 5)) in i810fb_setup() 1986 else if (!strncmp(this_opt, "bpp:", 4)) in i810fb_setup() 2002 else if (!strncmp(this_opt, "ddc3", 4)) in i810fb_setup() [all …]
|
/linux/drivers/video/fbdev/kyro/ |
A D | fbdev.c | 564 char *this_opt; in kyrofb_setup() local 569 while ((this_opt = strsep(&options, ","))) { in kyrofb_setup() 570 if (!*this_opt) in kyrofb_setup() 572 if (strcmp(this_opt, "nopan") == 0) { in kyrofb_setup() 574 } else if (strcmp(this_opt, "nowrap") == 0) { in kyrofb_setup() 576 } else if (strcmp(this_opt, "nomtrr") == 0) { in kyrofb_setup() 579 mode_option = this_opt; in kyrofb_setup()
|
/linux/drivers/video/fbdev/sis/ |
A D | sis_main.c | 3982 char *this_opt; in sisfb_setup() local 3991 if(!(*this_opt)) continue; in sisfb_setup() 3993 if(!strncasecmp(this_opt, "off", 3)) { in sisfb_setup() 3997 sisfb_search_crt2type(this_opt + 14); in sisfb_setup() 3999 sisfb_search_tvstd(this_opt + 7); in sisfb_setup() 4001 sisfb_search_tvstd(this_opt + 11); in sisfb_setup() 4003 sisfb_search_mode(this_opt + 5, false); in sisfb_setup() 4010 } else if(!strncasecmp(this_opt, "mem:",4)) { in sisfb_setup() 4053 sisfb_search_specialtiming(this_opt + 14); in sisfb_setup() 4060 } else if(this_opt[0] >= '0' && this_opt[0] <= '9') { in sisfb_setup() [all …]
|
/linux/drivers/video/fbdev/omap/ |
A D | omapfb_main.c | 1836 char *this_opt = NULL; in omapfb_setup() local 1845 if (!strncmp(this_opt, "accel", 5)) in omapfb_setup() 1847 else if (!strncmp(this_opt, "vram:", 5)) { in omapfb_setup() 1850 vram = (simple_strtoul(this_opt + 5, &suffix, 0)); in omapfb_setup() 1869 else if (!strncmp(this_opt, "vxres:", 6)) in omapfb_setup() 1870 def_vxres = simple_strtoul(this_opt + 6, NULL, 0); in omapfb_setup() 1871 else if (!strncmp(this_opt, "vyres:", 6)) in omapfb_setup() 1872 def_vyres = simple_strtoul(this_opt + 6, NULL, 0); in omapfb_setup() 1873 else if (!strncmp(this_opt, "rotate:", 7)) in omapfb_setup() 1875 else if (!strncmp(this_opt, "mirror:", 7)) in omapfb_setup() [all …]
|