/linux/drivers/video/fbdev/ ! |
H 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() 276 screendata->pixclock = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 280 screendata->xres = screendata->xres_virtual = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 284 screendata->right_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 288 screendata->hsync_len = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 292 screendata->left_margin = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 296 screendata->yres = screendata->yres_virtual = simple_strtoul(this_opt, NULL, 0); in grvga_parse_custom() 300 screendata->lower_margin = simple_strtoul(this_opt, NUL in grvga_parse_custom() 354 char *this_opt = strsep(&options, ","); grvga_probe() local [all...] |
H A D | vesafb.c | 212 char *this_opt; in vesafb_setup() local 217 while ((this_opt = strsep(&options, ",")) != NULL) { in vesafb_setup() 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, "mtr in vesafb_setup() [all...] |
H 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() 291 si->lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4; in efifb_setup() 292 else if (!strncmp(this_opt, "height:", 7)) in efifb_setup() 293 si->lfb_height = simple_strtoul(this_opt in efifb_setup() [all...] |
H A D | uvesafb.c | 1808 char *this_opt; in uvesafb_setup() local 1813 while ((this_opt = strsep(&options, ",")) != NULL) { in uvesafb_setup() 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() 1826 else if (!strncmp(this_opt, "mtrr:", 5)) in uvesafb_setup() 1827 mtrr = simple_strtoul(this_opt in uvesafb_setup() [all...] |
H A D | au1100fb.c | 370 char *this_opt, *options; in au1100fb_setup() local 383 while ((this_opt = strsep(&options, ",")) != NULL) { in au1100fb_setup() 385 if (!strncmp(this_opt, "panel:", 6)) { in au1100fb_setup() 387 this_opt += 6; in au1100fb_setup() 389 if (!strncmp(this_opt, known_lcd_panels[i].name, in au1100fb_setup() 390 strlen(this_opt))) { in au1100fb_setup() 397 print_warn("Panel '%s' not supported!", this_opt); in au1100fb_setup() 403 print_warn("Unsupported option \"%s\"", this_opt); in au1100fb_setup()
|
H A D | au1200fb.c | 1585 char *this_opt, *endptr; in au1200fb_setup() local 1594 while ((this_opt = strsep(&options, ",")) != NULL) { in au1200fb_setup() 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() 1623 } else if (strncmp(this_opt, "nohwcursor", 10) == 0) in au1200fb_setup() 1625 else if (strncmp(this_opt, "device in au1200fb_setup() [all...] |
H 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()
|
H A D | sstfb.c | 1280 char *this_opt; in sstfb_setup() local 1285 while ((this_opt = strsep(&options, ",")) != NULL) { in sstfb_setup() 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, "slowpc in sstfb_setup() [all...] |
H 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()
|
H 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() [all...] |
H 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()
|
H 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()
|
H A D | imsttfb.c | 1572 char *this_opt; in imsttfb_setup() local 1577 while ((this_opt = strsep(&options, ",")) != NULL) { in imsttfb_setup() 1578 if (!strncmp(this_opt, "font:", 5)) { in imsttfb_setup() 1582 p = this_opt + 5; in imsttfb_setup() 1586 memcpy(fontname, this_opt + 5, i); in imsttfb_setup() 1588 } else if (!strncmp(this_opt, "inverse", 7)) { in imsttfb_setup() 1593 else if (!strncmp(this_opt, "vmode:", 6)) { in imsttfb_setup() 1594 int vmode = simple_strtoul(this_opt+6, NULL, 0); in imsttfb_setup() 1597 } else if (!strncmp(this_opt, "cmode:", 6)) { in imsttfb_setup() 1598 int cmode = simple_strtoul(this_opt in imsttfb_setup() [all...] |
H A D | pm3fb.c | 1515 char *this_opt; in pm3fb_setup() local 1521 while ((this_opt = strsep(&options, ",")) != NULL) { in pm3fb_setup() 1522 if (!*this_opt) in pm3fb_setup() 1524 else if (!strncmp(this_opt, "noaccel", 7)) in pm3fb_setup() 1526 else if (!strncmp(this_opt, "hwcursor=", 9)) in pm3fb_setup() 1527 hwcursor = simple_strtoul(this_opt + 9, NULL, 0); in pm3fb_setup() 1528 else if (!strncmp(this_opt, "nomtrr", 6)) in pm3fb_setup() 1531 mode_option = this_opt; in pm3fb_setup()
|
/linux/drivers/video/fbdev/matrox/ |
H A D | matroxfb_base.c | 2340 char *this_opt; in matroxfb_setup() local 2347 while ((this_opt = strsep(&options, ",")) != NULL) { in matroxfb_setup() 2348 if (!*this_opt) continue; in matroxfb_setup() 2350 dprintk("matroxfb_setup: option %s\n", this_opt); in matroxfb_setup() 2352 if (!strncmp(this_opt, "dev:", 4)) in matroxfb_setup() 2353 dev = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup() 2354 else if (!strncmp(this_opt, "depth:", 6)) { in matroxfb_setup() 2355 switch (simple_strtoul(this_opt+6, NULL, 0)) { in matroxfb_setup() 2366 } else if (!strncmp(this_opt, "xres:", 5)) in matroxfb_setup() 2367 xres = simple_strtoul(this_opt in matroxfb_setup() [all...] |
/linux/drivers/video/fbdev/via/ |
H A D | viafbdev.c | 1925 char *this_opt; in viafb_setup() local 1936 while ((this_opt = strsep(&options, ",")) != NULL) { in viafb_setup() 1937 if (!*this_opt) in viafb_setup() 1940 if (!strncmp(this_opt, "viafb_mode1=", 12)) { in viafb_setup() 1941 viafb_mode1 = kstrdup(this_opt + 12, GFP_KERNEL); in viafb_setup() 1944 } else if (!strncmp(this_opt, "viafb_mode=", 11)) { in viafb_setup() 1945 viafb_mode = kstrdup(this_opt + 11, GFP_KERNEL); in viafb_setup() 1948 } else if (!strncmp(this_opt, "viafb_bpp1=", 11)) { in viafb_setup() 1949 if (kstrtouint(this_opt + 11, 0, &viafb_bpp1) < 0) in viafb_setup() 1951 } else if (!strncmp(this_opt, "viafb_bp in viafb_setup() [all...] |
/linux/drivers/video/fbdev/geode/ |
H 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, sizeo in gx1fb_setup() [all...] |
/linux/drivers/video/fbdev/nvidia/ |
H A D | nvidia.c | 1467 char *this_opt; in nvidiafb_setup() local 1473 while ((this_opt = strsep(&options, ",")) != NULL) { in nvidiafb_setup() 1474 if (!strncmp(this_opt, "forceCRTC", 9)) { in nvidiafb_setup() 1477 p = this_opt + 9; in nvidiafb_setup() 1483 } else if (!strncmp(this_opt, "flatpanel", 9)) { in nvidiafb_setup() 1485 } else if (!strncmp(this_opt, "hwcur", 5)) { in nvidiafb_setup() 1487 } else if (!strncmp(this_opt, "noaccel", 7)) { in nvidiafb_setup() 1489 } else if (!strncmp(this_opt, "noscale", 7)) { in nvidiafb_setup() 1491 } else if (!strncmp(this_opt, "reverse_i2c", 11)) { in nvidiafb_setup() 1493 } else if (!strncmp(this_opt, "paneltwea in nvidiafb_setup() [all...] |
/linux/drivers/video/fbdev/i810/ |
H A D | i810_main.c | 1965 char *this_opt, *suffix = NULL; in i810fb_setup() local 1970 while ((this_opt = strsep(&options, ",")) != NULL) { in i810fb_setup() 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() 1980 vram = (simple_strtoul(this_opt+5, NULL, 0)); in i810fb_setup() 1981 else if (!strncmp(this_opt, "voffset:", 8)) in i810fb_setup() 1982 voffset = (simple_strtoul(this_opt in i810fb_setup() [all...] |
/linux/drivers/video/fbdev/kyro/ |
H 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/ |
H A D | sis_main.c | 3949 char *this_opt; in sisfb_setup() local 3956 while((this_opt = strsep(&options, ",")) != NULL) { in sisfb_setup() 3958 if(!(*this_opt)) continue; in sisfb_setup() 3960 if(!strncasecmp(this_opt, "off", 3)) { in sisfb_setup() 3962 } else if(!strncasecmp(this_opt, "forcecrt2type:", 14)) { in sisfb_setup() 3964 sisfb_search_crt2type(this_opt + 14); in sisfb_setup() 3965 } else if(!strncasecmp(this_opt, "tvmode:",7)) { in sisfb_setup() 3966 sisfb_search_tvstd(this_opt + 7); in sisfb_setup() 3967 } else if(!strncasecmp(this_opt, "tvstandard:",11)) { in sisfb_setup() 3968 sisfb_search_tvstd(this_opt in sisfb_setup() [all...] |
/linux/drivers/video/fbdev/omap/ |
H A D | omapfb_main.c | 1843 char *this_opt = NULL; in omapfb_setup() local 1851 while (!r && (this_opt = strsep(&options, ",")) != NULL) { in omapfb_setup() 1852 if (!strncmp(this_opt, "accel", 5)) in omapfb_setup() 1854 else if (!strncmp(this_opt, "vram:", 5)) { in omapfb_setup() 1858 vram = memparse(this_opt + 5, &suffix); 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, "rotat in omapfb_setup() [all...] |
/linux/drivers/video/fbdev/aty/ |
H A D | radeon_base.c | 2558 char *this_opt; in radeonfb_setup() local 2563 while ((this_opt = strsep (&options, ",")) != NULL) { in radeonfb_setup() 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() 2574 panel_yres = simple_strtoul((this_opt+11), NULL, 0); in radeonfb_setup() 2575 } else if (!strncmp(this_opt, "backlight:", 10)) { in radeonfb_setup() 2576 backlight = simple_strtoul(this_opt in radeonfb_setup() [all...] |
H A D | aty128fb.c | 1676 char *this_opt; in aty128fb_setup() local 1681 while ((this_opt = strsep(&options, ",")) != NULL) { in aty128fb_setup() 1682 if (!strncmp(this_opt, "lcd:", 4)) { in aty128fb_setup() 1683 default_lcd_on = simple_strtoul(this_opt+4, NULL, 0); in aty128fb_setup() 1685 } else if (!strncmp(this_opt, "crt:", 4)) { in aty128fb_setup() 1686 default_crt_on = simple_strtoul(this_opt+4, NULL, 0); in aty128fb_setup() 1688 } else if (!strncmp(this_opt, "backlight:", 10)) { in aty128fb_setup() 1690 backlight = simple_strtoul(this_opt+10, NULL, 0); in aty128fb_setup() 1694 if(!strncmp(this_opt, "nomtrr", 6)) { in aty128fb_setup() 1700 if (!strncmp(this_opt, "vmod in aty128fb_setup() [all...] |
H A D | atyfb_base.c | 3839 char *this_opt; in atyfb_setup() local 3844 while ((this_opt = strsep(&options, ",")) != NULL) { in atyfb_setup() 3845 if (!strncmp(this_opt, "noaccel", 7)) { in atyfb_setup() 3847 } else if (!strncmp(this_opt, "nomtrr", 6)) { in atyfb_setup() 3849 } else if (!strncmp(this_opt, "vram:", 5)) in atyfb_setup() 3850 vram = simple_strtoul(this_opt + 5, NULL, 0); in atyfb_setup() 3851 else if (!strncmp(this_opt, "pll:", 4)) in atyfb_setup() 3852 pll = simple_strtoul(this_opt + 4, NULL, 0); in atyfb_setup() 3853 else if (!strncmp(this_opt, "mclk:", 5)) in atyfb_setup() 3854 mclk = simple_strtoul(this_opt in atyfb_setup() [all...] |