| /linux/drivers/video/fbdev/ |
| A D | grvga.c | 265 char *this_opt; in grvga_parse_custom() local 270 while ((this_opt = strsep(&options, " ")) != NULL) { in grvga_parse_custom() 271 if (!*this_opt) in grvga_parse_custom() 354 char *this_opt = strsep(&options, ","); in grvga_probe() local 356 if (!this_opt) in grvga_probe() 359 if (!strncmp(this_opt, "custom", 6)) { in grvga_probe() 360 if (grvga_parse_custom(this_opt, &info->var) < 0) { in grvga_probe() 365 } else if (!strncmp(this_opt, "addr", 4)) in grvga_probe() 367 else if (!strncmp(this_opt, "size", 4)) in grvga_probe() 368 grvga_mem_size = simple_strtoul(this_opt + 5, NULL, 0); in grvga_probe() [all …]
|
| A D | vesafb.c | 212 char *this_opt; in vesafb_setup() local 218 if (!*this_opt) continue; in vesafb_setup() 220 if (! strcmp(this_opt, "inverse")) in vesafb_setup() 222 else if (! strcmp(this_opt, "redraw")) in vesafb_setup() 224 else if (! strcmp(this_opt, "ypan")) in vesafb_setup() 226 else if (! strcmp(this_opt, "ywrap")) in vesafb_setup() 228 else if (! strcmp(this_opt, "vgapal")) in vesafb_setup() 230 else if (! strcmp(this_opt, "pmipal")) in vesafb_setup() 232 else if (! strncmp(this_opt, "mtrr:", 5)) in vesafb_setup() 234 else if (! strcmp(this_opt, "nomtrr")) in vesafb_setup() [all …]
|
| A D | efifb.c | 280 char *this_opt; in efifb_setup() local 283 while ((this_opt = strsep(&options, ",")) != NULL) { in efifb_setup() 284 if (!*this_opt) continue; in efifb_setup() 286 efifb_setup_from_dmi(si, this_opt); in efifb_setup() 288 if (!strncmp(this_opt, "base:", 5)) in efifb_setup() 289 si->lfb_base = simple_strtoul(this_opt+5, NULL, 0); in efifb_setup() 290 else if (!strncmp(this_opt, "stride:", 7)) in efifb_setup() 292 else if (!strncmp(this_opt, "height:", 7)) in efifb_setup() 294 else if (!strncmp(this_opt, "width:", 6)) in efifb_setup() 296 else if (!strcmp(this_opt, "nowc")) in efifb_setup() [all …]
|
| A D | pxafb.c | 1855 const char *name = this_opt+5; in parse_opt_mode() 1918 if (!strncmp(this_opt, "vmem:", 5)) { in parse_opt() 1920 } else if (!strncmp(this_opt, "mode:", 5)) { in parse_opt() 1921 return parse_opt_mode(dev, this_opt, inf); in parse_opt() 1959 } else if (!strncmp(this_opt, "dpc:", 4)) { in parse_opt() 1985 } else if (!strncmp(this_opt, "mono", 4)) { in parse_opt() 1993 } else if (!strncmp(this_opt, "dual", 4)) { in parse_opt() 1995 } else if (!strncmp(this_opt, "4pix", 4)) { in parse_opt() 1997 } else if (!strncmp(this_opt, "8pix", 4)) { in parse_opt() 2013 char *this_opt; in pxafb_parse_options() local [all …]
|
| A D | uvesafb.c | 1808 char *this_opt; in uvesafb_setup() local 1814 if (!*this_opt) continue; in uvesafb_setup() 1816 if (!strcmp(this_opt, "redraw")) in uvesafb_setup() 1818 else if (!strcmp(this_opt, "ypan")) in uvesafb_setup() 1820 else if (!strcmp(this_opt, "ywrap")) in uvesafb_setup() 1822 else if (!strcmp(this_opt, "vgapal")) in uvesafb_setup() 1824 else if (!strcmp(this_opt, "pmipal")) in uvesafb_setup() 1828 else if (!strcmp(this_opt, "nomtrr")) in uvesafb_setup() 1830 else if (!strcmp(this_opt, "nocrtc")) in uvesafb_setup() 1848 else if (this_opt[0] >= '0' && this_opt[0] <= '9') { in uvesafb_setup() [all …]
|
| A D | fm2fb.c | 295 char *this_opt; in fm2fb_setup() local 300 while ((this_opt = strsep(&options, ",")) != NULL) { in fm2fb_setup() 301 if (!strncmp(this_opt, "pal", 3)) in fm2fb_setup() 303 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 | au1200fb.c | 1585 char *this_opt, *endptr; in au1200fb_setup() local 1597 if (!strncmp(this_opt, "panel:", 6)) { in au1200fb_setup() 1601 this_opt += 6; in au1200fb_setup() 1604 li = simple_strtol(this_opt, &endptr, 0); in au1200fb_setup() 1607 else if (strcmp(this_opt, "bs") == 0) in au1200fb_setup() 1611 if (!strcmp(this_opt, in au1200fb_setup() 1619 print_warn("Panel %s not supported!", this_opt); in au1200fb_setup() 1625 else if (strncmp(this_opt, "devices:", 8) == 0) { in au1200fb_setup() 1626 this_opt += 8; in au1200fb_setup() 1632 this_opt += 7; in au1200fb_setup() [all …]
|
| A D | pvr2fb.c | 1034 char *this_opt; in pvr2fb_setup() local 1043 while ((this_opt = strsep(&options, ","))) { in pvr2fb_setup() 1044 if (!*this_opt) in pvr2fb_setup() 1046 if (!strcmp(this_opt, "inverse")) { in pvr2fb_setup() 1048 } else if (!strncmp(this_opt, "cable:", 6)) { in pvr2fb_setup() 1049 strcpy(cable_arg, this_opt + 6); in pvr2fb_setup() 1050 } else if (!strncmp(this_opt, "output:", 7)) { in pvr2fb_setup() 1051 strcpy(output_arg, this_opt + 7); in pvr2fb_setup() 1052 } else if (!strncmp(this_opt, "nopan", 5)) { in pvr2fb_setup() 1054 } else if (!strncmp(this_opt, "nowrap", 6)) { in pvr2fb_setup() [all …]
|
| A D | valkyriefb.c | 547 char *this_opt; in valkyriefb_setup() local 552 while ((this_opt = strsep(&options, ",")) != NULL) { in valkyriefb_setup() 553 if (!strncmp(this_opt, "vmode:", 6)) { in valkyriefb_setup() 554 int vmode = simple_strtoul(this_opt+6, NULL, 0); in valkyriefb_setup() 558 else if (!strncmp(this_opt, "cmode:", 6)) { in valkyriefb_setup() 559 int depth = simple_strtoul(this_opt+6, NULL, 0); in valkyriefb_setup()
|
| A D | sstfb.c | 1280 char *this_opt; in sstfb_setup() local 1286 if (!*this_opt) continue; in sstfb_setup() 1288 f_ddprintk("option %s\n", this_opt); in sstfb_setup() 1290 if (!strcmp(this_opt, "vganopass")) in sstfb_setup() 1292 else if (!strcmp(this_opt, "vgapass")) in sstfb_setup() 1294 else if (!strcmp(this_opt, "clipping")) in sstfb_setup() 1296 else if (!strcmp(this_opt, "noclipping")) in sstfb_setup() 1298 else if (!strcmp(this_opt, "fastpci")) in sstfb_setup() 1300 else if (!strcmp(this_opt, "slowpci")) in sstfb_setup() 1302 else if (!strncmp(this_opt, "mem:",4)) in sstfb_setup() [all …]
|
| 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 | gbefb.c | 1089 char *this_opt; in gbefb_setup() local 1094 while ((this_opt = strsep(&options, ",")) != NULL) { in gbefb_setup() 1095 if (!strncmp(this_opt, "monitor:", 8)) { in gbefb_setup() 1096 if (!strncmp(this_opt + 8, "crt", 3)) { in gbefb_setup() 1100 } else if (!strncmp(this_opt + 8, "1600sw", 6) || in gbefb_setup() 1101 !strncmp(this_opt + 8, "lcd", 3)) { in gbefb_setup() 1106 } else if (!strncmp(this_opt, "mem:", 4)) { in gbefb_setup() 1107 gbe_mem_size = memparse(this_opt + 4, &this_opt); in gbefb_setup() 1113 mode_option = this_opt; in gbefb_setup()
|
| A D | platinumfb.c | 488 char *this_opt; in platinumfb_setup() local 493 while ((this_opt = strsep(&options, ",")) != NULL) { in platinumfb_setup() 494 if (!strncmp(this_opt, "vmode:", 6)) { in platinumfb_setup() 495 int vmode = simple_strtoul(this_opt+6, NULL, 0); in platinumfb_setup() 498 } else if (!strncmp(this_opt, "cmode:", 6)) { in platinumfb_setup() 499 int depth = simple_strtoul(this_opt+6, NULL, 0); in platinumfb_setup()
|
| A D | macfb.c | 507 char *this_opt; in macfb_setup() local 512 while ((this_opt = strsep(&options, ",")) != NULL) { in macfb_setup() 513 if (!*this_opt) in macfb_setup() 516 if (!strcmp(this_opt, "inverse")) in macfb_setup() 519 if (!strcmp(this_opt, "vidtest")) in macfb_setup()
|
| A D | atafb.c | 2941 char *this_opt; in atafb_setup() local 2948 if (!*this_opt) in atafb_setup() 2950 if ((temp = get_video_mode(this_opt))) { in atafb_setup() 2952 mode_option = this_opt; in atafb_setup() 2963 else if (!strcmp(this_opt, "mv300")) { in atafb_setup() 2967 atafb_setup_ext(this_opt + 9); in atafb_setup() 2970 atafb_setup_int(this_opt + 9); in atafb_setup() 2978 atafb_setup_mcap(this_opt + 11); in atafb_setup() 2980 else if (!strcmp(this_opt, "keep")) in atafb_setup() 2982 else if (!strncmp(this_opt, "R", 1)) in atafb_setup() [all …]
|
| /linux/drivers/video/fbdev/matrox/ |
| A D | matroxfb_base.c | 2339 char *this_opt; in matroxfb_setup() local 2347 if (!*this_opt) continue; in matroxfb_setup() 2351 if (!strncmp(this_opt, "dev:", 4)) in matroxfb_setup() 2432 else if (!strcmp(this_opt, "sdram")) in matroxfb_setup() 2439 if (!strncmp(this_opt, "no", 2)) { in matroxfb_setup() 2441 this_opt += 2; in matroxfb_setup() 2443 if (! strcmp(this_opt, "inverse")) in matroxfb_setup() 2447 else if (!strcmp(this_opt, "pan")) in matroxfb_setup() 2451 else if (!strcmp(this_opt, "vga")) in matroxfb_setup() 2453 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() 1961 if (kstrtoint(this_opt + 21, 0, in viafb_setup() 1965 if (kstrtoint(this_opt + 19, 0, in viafb_setup() 1978 } else if (!strncmp(this_opt, in viafb_setup() 1980 if (kstrtoint(this_opt + 30, 0, in viafb_setup() 1986 } else if (!strncmp(this_opt, in viafb_setup() 1988 if (kstrtoint(this_opt + 24, 0, in viafb_setup() 1991 } else if (!strncmp(this_opt, in viafb_setup() [all …]
|
| /linux/drivers/video/fbdev/geode/ |
| A D | gx1fb_core.c | 404 char *this_opt; in gx1fb_setup() local 409 while ((this_opt = strsep(&options, ","))) { in gx1fb_setup() 410 if (!*this_opt) in gx1fb_setup() 413 if (!strncmp(this_opt, "mode:", 5)) in gx1fb_setup() 414 strscpy(mode_option, this_opt + 5, sizeof(mode_option)); in gx1fb_setup() 415 else if (!strncmp(this_opt, "crt:", 4)) in gx1fb_setup() 416 crt_option = !!simple_strtoul(this_opt + 4, NULL, 0); in gx1fb_setup() 417 else if (!strncmp(this_opt, "panel:", 6)) in gx1fb_setup() 418 strscpy(panel_option, this_opt + 6, sizeof(panel_option)); in gx1fb_setup() 420 strscpy(mode_option, this_opt, sizeof(mode_option)); in gx1fb_setup()
|
| /linux/drivers/video/fbdev/nvidia/ |
| A D | nvidia.c | 1467 char *this_opt; in nvidiafb_setup() local 1474 if (!strncmp(this_opt, "forceCRTC", 9)) { in nvidiafb_setup() 1477 p = this_opt + 9; in nvidiafb_setup() 1485 } else if (!strncmp(this_opt, "hwcur", 5)) { in nvidiafb_setup() 1487 } else if (!strncmp(this_opt, "noaccel", 6)) { in nvidiafb_setup() 1495 } else if (!strncmp(this_opt, "vram:", 5)) { in nvidiafb_setup() 1496 vram = simple_strtoul(this_opt+5, NULL, 0); in nvidiafb_setup() 1499 } else if (!strncmp(this_opt, "nomtrr", 6)) { in nvidiafb_setup() 1503 } else if (!strncmp(this_opt, "bpp:", 4)) { in nvidiafb_setup() 1504 bpp = simple_strtoul(this_opt+4, NULL, 0); in nvidiafb_setup() [all …]
|
| /linux/drivers/video/fbdev/i810/ |
| A D | i810_main.c | 1965 char *this_opt, *suffix = NULL; in i810fb_setup() local 1971 if (!strncmp(this_opt, "mtrr", 4)) in i810fb_setup() 1973 else if (!strncmp(this_opt, "accel", 5)) in i810fb_setup() 1975 else if (!strncmp(this_opt, "extvga", 6)) in i810fb_setup() 1977 else if (!strncmp(this_opt, "sync", 4)) in i810fb_setup() 1979 else if (!strncmp(this_opt, "vram:", 5)) in i810fb_setup() 1983 else if (!strncmp(this_opt, "xres:", 5)) in i810fb_setup() 1985 else if (!strncmp(this_opt, "yres:", 5)) in i810fb_setup() 1989 else if (!strncmp(this_opt, "bpp:", 4)) in i810fb_setup() 2005 else if (!strncmp(this_opt, "ddc3", 4)) in i810fb_setup() [all …]
|
| /linux/drivers/video/fbdev/kyro/ |
| A D | fbdev.c | 567 char *this_opt; in kyrofb_setup() local 572 while ((this_opt = strsep(&options, ","))) { in kyrofb_setup() 573 if (!*this_opt) in kyrofb_setup() 575 if (strcmp(this_opt, "nopan") == 0) { in kyrofb_setup() 577 } else if (strcmp(this_opt, "nowrap") == 0) { in kyrofb_setup() 579 } else if (strcmp(this_opt, "nomtrr") == 0) { in kyrofb_setup() 582 mode_option = this_opt; in kyrofb_setup()
|
| /linux/drivers/video/fbdev/sis/ |
| A D | sis_main.c | 3965 char *this_opt; in sisfb_setup() local 3974 if(!(*this_opt)) continue; in sisfb_setup() 3976 if(!strncasecmp(this_opt, "off", 3)) { in sisfb_setup() 3980 sisfb_search_crt2type(this_opt + 14); in sisfb_setup() 3982 sisfb_search_tvstd(this_opt + 7); in sisfb_setup() 3984 sisfb_search_tvstd(this_opt + 11); in sisfb_setup() 3986 sisfb_search_mode(this_opt + 5, false); in sisfb_setup() 3993 } else if(!strncasecmp(this_opt, "mem:",4)) { in sisfb_setup() 4036 sisfb_search_specialtiming(this_opt + 14); in sisfb_setup() 4043 } else if(this_opt[0] >= '0' && this_opt[0] <= '9') { in sisfb_setup() [all …]
|
| /linux/drivers/video/fbdev/omap/ |
| A D | omapfb_main.c | 1841 char *this_opt = NULL; in omapfb_setup() local 1850 if (!strncmp(this_opt, "accel", 5)) in omapfb_setup() 1852 else if (!strncmp(this_opt, "vram:", 5)) { in omapfb_setup() 1856 vram = memparse(this_opt + 5, &suffix); in omapfb_setup() 1867 else if (!strncmp(this_opt, "vxres:", 6)) in omapfb_setup() 1868 def_vxres = simple_strtoul(this_opt + 6, NULL, 0); in omapfb_setup() 1869 else if (!strncmp(this_opt, "vyres:", 6)) in omapfb_setup() 1870 def_vyres = simple_strtoul(this_opt + 6, NULL, 0); in omapfb_setup() 1871 else if (!strncmp(this_opt, "rotate:", 7)) in omapfb_setup() 1873 else if (!strncmp(this_opt, "mirror:", 7)) in omapfb_setup() [all …]
|
| /linux/drivers/video/fbdev/aty/ |
| A D | radeon_base.c | 2558 char *this_opt; in radeonfb_setup() local 2564 if (!*this_opt) in radeonfb_setup() 2567 if (!strncmp(this_opt, "noaccel", 7)) { in radeonfb_setup() 2569 } else if (!strncmp(this_opt, "mirror", 6)) { in radeonfb_setup() 2571 } else if (!strncmp(this_opt, "force_dfp", 9)) { in radeonfb_setup() 2573 } else if (!strncmp(this_opt, "panel_yres:", 11)) { in radeonfb_setup() 2575 } else if (!strncmp(this_opt, "backlight:", 10)) { in radeonfb_setup() 2576 backlight = simple_strtoul(this_opt+10, NULL, 0); in radeonfb_setup() 2577 } else if (!strncmp(this_opt, "nomtrr", 6)) { in radeonfb_setup() 2579 } else if (!strncmp(this_opt, "nomodeset", 9)) { in radeonfb_setup() [all …]
|