this_opt 1345 drivers/mtd/mtdswap.c char *this_opt; this_opt 1355 drivers/mtd/mtdswap.c while ((this_opt = strsep(&parts, ",")) != NULL) { this_opt 1356 drivers/mtd/mtdswap.c if (kstrtoul(this_opt, 0, &part) < 0) this_opt 409 drivers/video/fbdev/68328fb.c char *this_opt; this_opt 415 drivers/video/fbdev/68328fb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 416 drivers/video/fbdev/68328fb.c if (!*this_opt) this_opt 418 drivers/video/fbdev/68328fb.c if (!strncmp(this_opt, "disable", 7)) this_opt 2346 drivers/video/fbdev/amifb.c char *this_opt; this_opt 2351 drivers/video/fbdev/amifb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 2352 drivers/video/fbdev/amifb.c if (!*this_opt) this_opt 2354 drivers/video/fbdev/amifb.c if (!strcmp(this_opt, "inverse")) { this_opt 2356 drivers/video/fbdev/amifb.c } else if (!strcmp(this_opt, "ilbm")) this_opt 2358 drivers/video/fbdev/amifb.c else if (!strncmp(this_opt, "monitorcap:", 11)) this_opt 2359 drivers/video/fbdev/amifb.c amifb_setup_mcap(this_opt + 11); this_opt 2360 drivers/video/fbdev/amifb.c else if (!strncmp(this_opt, "fstart:", 7)) this_opt 2361 drivers/video/fbdev/amifb.c min_fstrt = simple_strtoul(this_opt + 7, NULL, 0); this_opt 2363 drivers/video/fbdev/amifb.c mode_option = this_opt; this_opt 3008 drivers/video/fbdev/atafb.c char *this_opt; this_opt 3014 drivers/video/fbdev/atafb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 3015 drivers/video/fbdev/atafb.c if (!*this_opt) this_opt 3017 drivers/video/fbdev/atafb.c if ((temp = get_video_mode(this_opt))) { this_opt 3019 drivers/video/fbdev/atafb.c mode_option = this_opt; this_opt 3020 drivers/video/fbdev/atafb.c } else if (!strcmp(this_opt, "inverse")) this_opt 3022 drivers/video/fbdev/atafb.c else if (!strncmp(this_opt, "hwscroll_", 9)) { this_opt 3023 drivers/video/fbdev/atafb.c hwscroll = simple_strtoul(this_opt + 9, NULL, 10); this_opt 3030 drivers/video/fbdev/atafb.c else if (!strcmp(this_opt, "mv300")) { this_opt 3033 drivers/video/fbdev/atafb.c } else if (!strncmp(this_opt, "external:", 9)) this_opt 3034 drivers/video/fbdev/atafb.c atafb_setup_ext(this_opt + 9); this_opt 3036 drivers/video/fbdev/atafb.c else if (!strncmp(this_opt, "internal:", 9)) this_opt 3037 drivers/video/fbdev/atafb.c atafb_setup_int(this_opt + 9); this_opt 3039 drivers/video/fbdev/atafb.c else if (!strncmp(this_opt, "eclock:", 7)) { this_opt 3040 drivers/video/fbdev/atafb.c fext.f = simple_strtoul(this_opt + 7, NULL, 10); this_opt 3044 drivers/video/fbdev/atafb.c } else if (!strncmp(this_opt, "monitorcap:", 11)) this_opt 3045 drivers/video/fbdev/atafb.c atafb_setup_mcap(this_opt + 11); this_opt 3047 drivers/video/fbdev/atafb.c else if (!strcmp(this_opt, "keep")) this_opt 3049 drivers/video/fbdev/atafb.c else if (!strncmp(this_opt, "R", 1)) this_opt 3050 drivers/video/fbdev/atafb.c atafb_setup_user(this_opt + 1); this_opt 1683 drivers/video/fbdev/aty/aty128fb.c char *this_opt; this_opt 1688 drivers/video/fbdev/aty/aty128fb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 1689 drivers/video/fbdev/aty/aty128fb.c if (!strncmp(this_opt, "lcd:", 4)) { this_opt 1690 drivers/video/fbdev/aty/aty128fb.c default_lcd_on = simple_strtoul(this_opt+4, NULL, 0); this_opt 1692 drivers/video/fbdev/aty/aty128fb.c } else if (!strncmp(this_opt, "crt:", 4)) { this_opt 1693 drivers/video/fbdev/aty/aty128fb.c default_crt_on = simple_strtoul(this_opt+4, NULL, 0); this_opt 1695 drivers/video/fbdev/aty/aty128fb.c } else if (!strncmp(this_opt, "backlight:", 10)) { this_opt 1697 drivers/video/fbdev/aty/aty128fb.c backlight = simple_strtoul(this_opt+10, NULL, 0); this_opt 1701 drivers/video/fbdev/aty/aty128fb.c if(!strncmp(this_opt, "nomtrr", 6)) { this_opt 1707 drivers/video/fbdev/aty/aty128fb.c if (!strncmp(this_opt, "vmode:", 6)) { this_opt 1708 drivers/video/fbdev/aty/aty128fb.c unsigned int vmode = simple_strtoul(this_opt+6, NULL, 0); this_opt 1712 drivers/video/fbdev/aty/aty128fb.c } else if (!strncmp(this_opt, "cmode:", 6)) { this_opt 1713 drivers/video/fbdev/aty/aty128fb.c unsigned int cmode = simple_strtoul(this_opt+6, NULL, 0); this_opt 1731 drivers/video/fbdev/aty/aty128fb.c mode_option = this_opt; this_opt 3805 drivers/video/fbdev/aty/atyfb_base.c char *this_opt; this_opt 3810 drivers/video/fbdev/aty/atyfb_base.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 3811 drivers/video/fbdev/aty/atyfb_base.c if (!strncmp(this_opt, "noaccel", 7)) { this_opt 3813 drivers/video/fbdev/aty/atyfb_base.c } else if (!strncmp(this_opt, "nomtrr", 6)) { this_opt 3815 drivers/video/fbdev/aty/atyfb_base.c } else if (!strncmp(this_opt, "vram:", 5)) this_opt 3816 drivers/video/fbdev/aty/atyfb_base.c vram = simple_strtoul(this_opt + 5, NULL, 0); this_opt 3817 drivers/video/fbdev/aty/atyfb_base.c else if (!strncmp(this_opt, "pll:", 4)) this_opt 3818 drivers/video/fbdev/aty/atyfb_base.c pll = simple_strtoul(this_opt + 4, NULL, 0); this_opt 3819 drivers/video/fbdev/aty/atyfb_base.c else if (!strncmp(this_opt, "mclk:", 5)) this_opt 3820 drivers/video/fbdev/aty/atyfb_base.c mclk = simple_strtoul(this_opt + 5, NULL, 0); this_opt 3821 drivers/video/fbdev/aty/atyfb_base.c else if (!strncmp(this_opt, "xclk:", 5)) this_opt 3822 drivers/video/fbdev/aty/atyfb_base.c xclk = simple_strtoul(this_opt+5, NULL, 0); this_opt 3823 drivers/video/fbdev/aty/atyfb_base.c else if (!strncmp(this_opt, "comp_sync:", 10)) this_opt 3824 drivers/video/fbdev/aty/atyfb_base.c comp_sync = simple_strtoul(this_opt+10, NULL, 0); this_opt 3825 drivers/video/fbdev/aty/atyfb_base.c else if (!strncmp(this_opt, "backlight:", 10)) this_opt 3826 drivers/video/fbdev/aty/atyfb_base.c backlight = simple_strtoul(this_opt+10, NULL, 0); this_opt 3828 drivers/video/fbdev/aty/atyfb_base.c else if (!strncmp(this_opt, "vmode:", 6)) { this_opt 3830 drivers/video/fbdev/aty/atyfb_base.c simple_strtoul(this_opt + 6, NULL, 0); this_opt 3833 drivers/video/fbdev/aty/atyfb_base.c } else if (!strncmp(this_opt, "cmode:", 6)) { this_opt 3835 drivers/video/fbdev/aty/atyfb_base.c simple_strtoul(this_opt + 6, NULL, 0); this_opt 3858 drivers/video/fbdev/aty/atyfb_base.c && (!strncmp(this_opt, "Mach64:", 7))) { this_opt 3861 drivers/video/fbdev/aty/atyfb_base.c strlcpy(mach64_str, this_opt + 7, sizeof(mach64_str)); this_opt 3869 drivers/video/fbdev/aty/atyfb_base.c mode = this_opt; this_opt 2599 drivers/video/fbdev/aty/radeon_base.c char *this_opt; this_opt 2604 drivers/video/fbdev/aty/radeon_base.c while ((this_opt = strsep (&options, ",")) != NULL) { this_opt 2605 drivers/video/fbdev/aty/radeon_base.c if (!*this_opt) this_opt 2608 drivers/video/fbdev/aty/radeon_base.c if (!strncmp(this_opt, "noaccel", 7)) { this_opt 2610 drivers/video/fbdev/aty/radeon_base.c } else if (!strncmp(this_opt, "mirror", 6)) { this_opt 2612 drivers/video/fbdev/aty/radeon_base.c } else if (!strncmp(this_opt, "force_dfp", 9)) { this_opt 2614 drivers/video/fbdev/aty/radeon_base.c } else if (!strncmp(this_opt, "panel_yres:", 11)) { this_opt 2615 drivers/video/fbdev/aty/radeon_base.c panel_yres = simple_strtoul((this_opt+11), NULL, 0); this_opt 2616 drivers/video/fbdev/aty/radeon_base.c } else if (!strncmp(this_opt, "backlight:", 10)) { this_opt 2617 drivers/video/fbdev/aty/radeon_base.c backlight = simple_strtoul(this_opt+10, NULL, 0); this_opt 2618 drivers/video/fbdev/aty/radeon_base.c } else if (!strncmp(this_opt, "nomtrr", 6)) { this_opt 2620 drivers/video/fbdev/aty/radeon_base.c } else if (!strncmp(this_opt, "nomodeset", 9)) { this_opt 2622 drivers/video/fbdev/aty/radeon_base.c } else if (!strncmp(this_opt, "force_measure_pll", 17)) { this_opt 2624 drivers/video/fbdev/aty/radeon_base.c } else if (!strncmp(this_opt, "ignore_edid", 11)) { this_opt 2627 drivers/video/fbdev/aty/radeon_base.c } else if (!strncmp(this_opt, "force_sleep", 11)) { this_opt 2629 drivers/video/fbdev/aty/radeon_base.c } else if (!strncmp(this_opt, "ignore_devlist", 14)) { this_opt 2633 drivers/video/fbdev/aty/radeon_base.c mode_option = this_opt; this_opt 368 drivers/video/fbdev/au1100fb.c char *this_opt, *options; this_opt 381 drivers/video/fbdev/au1100fb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 383 drivers/video/fbdev/au1100fb.c if (!strncmp(this_opt, "panel:", 6)) { this_opt 385 drivers/video/fbdev/au1100fb.c this_opt += 6; this_opt 387 drivers/video/fbdev/au1100fb.c if (!strncmp(this_opt, known_lcd_panels[i].name, this_opt 388 drivers/video/fbdev/au1100fb.c strlen(this_opt))) { this_opt 395 drivers/video/fbdev/au1100fb.c print_warn("Panel '%s' not supported!", this_opt); this_opt 401 drivers/video/fbdev/au1100fb.c print_warn("Unsupported option \"%s\"", this_opt); this_opt 1581 drivers/video/fbdev/au1200fb.c char *this_opt, *endptr; this_opt 1590 drivers/video/fbdev/au1200fb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 1593 drivers/video/fbdev/au1200fb.c if (!strncmp(this_opt, "panel:", 6)) { this_opt 1597 drivers/video/fbdev/au1200fb.c this_opt += 6; this_opt 1600 drivers/video/fbdev/au1200fb.c li = simple_strtol(this_opt, &endptr, 0); this_opt 1603 drivers/video/fbdev/au1200fb.c else if (strcmp(this_opt, "bs") == 0) this_opt 1607 drivers/video/fbdev/au1200fb.c if (!strcmp(this_opt, this_opt 1615 drivers/video/fbdev/au1200fb.c print_warn("Panel %s not supported!", this_opt); this_opt 1619 drivers/video/fbdev/au1200fb.c } else if (strncmp(this_opt, "nohwcursor", 10) == 0) this_opt 1621 drivers/video/fbdev/au1200fb.c else if (strncmp(this_opt, "devices:", 8) == 0) { this_opt 1622 drivers/video/fbdev/au1200fb.c this_opt += 8; this_opt 1623 drivers/video/fbdev/au1200fb.c device_count = simple_strtol(this_opt, &endptr, 0); this_opt 1627 drivers/video/fbdev/au1200fb.c } else if (strncmp(this_opt, "wincfg:", 7) == 0) { this_opt 1628 drivers/video/fbdev/au1200fb.c this_opt += 7; this_opt 1629 drivers/video/fbdev/au1200fb.c window_index = simple_strtol(this_opt, &endptr, 0); this_opt 1633 drivers/video/fbdev/au1200fb.c } else if (strncmp(this_opt, "off", 3) == 0) this_opt 1636 drivers/video/fbdev/au1200fb.c print_warn("Unsupported option \"%s\"", this_opt); this_opt 2329 drivers/video/fbdev/cirrusfb.c char *this_opt; this_opt 2334 drivers/video/fbdev/cirrusfb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 2335 drivers/video/fbdev/cirrusfb.c if (!*this_opt) this_opt 2338 drivers/video/fbdev/cirrusfb.c if (!strcmp(this_opt, "noaccel")) this_opt 2340 drivers/video/fbdev/cirrusfb.c else if (!strncmp(this_opt, "mode:", 5)) this_opt 2341 drivers/video/fbdev/cirrusfb.c mode_option = this_opt + 5; this_opt 2343 drivers/video/fbdev/cirrusfb.c mode_option = this_opt; this_opt 537 drivers/video/fbdev/controlfb.c char *this_opt; this_opt 542 drivers/video/fbdev/controlfb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 543 drivers/video/fbdev/controlfb.c if (!strncmp(this_opt, "vmode:", 6)) { this_opt 544 drivers/video/fbdev/controlfb.c int vmode = simple_strtoul(this_opt+6, NULL, 0); this_opt 548 drivers/video/fbdev/controlfb.c } else if (!strncmp(this_opt, "cmode:", 6)) { this_opt 549 drivers/video/fbdev/controlfb.c int depth = simple_strtoul(this_opt+6, NULL, 0); this_opt 459 drivers/video/fbdev/core/fbcon.c static int __init fb_console_setup(char *this_opt) this_opt 464 drivers/video/fbdev/core/fbcon.c if (!this_opt || !*this_opt) this_opt 467 drivers/video/fbdev/core/fbcon.c while ((options = strsep(&this_opt, ",")) != NULL) { this_opt 269 drivers/video/fbdev/efifb.c char *this_opt; this_opt 272 drivers/video/fbdev/efifb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 273 drivers/video/fbdev/efifb.c if (!*this_opt) continue; this_opt 275 drivers/video/fbdev/efifb.c efifb_setup_from_dmi(&screen_info, this_opt); this_opt 277 drivers/video/fbdev/efifb.c if (!strncmp(this_opt, "base:", 5)) this_opt 278 drivers/video/fbdev/efifb.c screen_info.lfb_base = simple_strtoul(this_opt+5, NULL, 0); this_opt 279 drivers/video/fbdev/efifb.c else if (!strncmp(this_opt, "stride:", 7)) this_opt 280 drivers/video/fbdev/efifb.c screen_info.lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4; this_opt 281 drivers/video/fbdev/efifb.c else if (!strncmp(this_opt, "height:", 7)) this_opt 282 drivers/video/fbdev/efifb.c screen_info.lfb_height = simple_strtoul(this_opt+7, NULL, 0); this_opt 283 drivers/video/fbdev/efifb.c else if (!strncmp(this_opt, "width:", 6)) this_opt 284 drivers/video/fbdev/efifb.c screen_info.lfb_width = simple_strtoul(this_opt+6, NULL, 0); this_opt 285 drivers/video/fbdev/efifb.c else if (!strcmp(this_opt, "nowc")) this_opt 287 drivers/video/fbdev/efifb.c else if (!strcmp(this_opt, "nobgrt")) this_opt 298 drivers/video/fbdev/fm2fb.c char *this_opt; this_opt 303 drivers/video/fbdev/fm2fb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 304 drivers/video/fbdev/fm2fb.c if (!strncmp(this_opt, "pal", 3)) this_opt 306 drivers/video/fbdev/fm2fb.c else if (!strncmp(this_opt, "ntsc", 4)) this_opt 1095 drivers/video/fbdev/gbefb.c char *this_opt; this_opt 1100 drivers/video/fbdev/gbefb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 1101 drivers/video/fbdev/gbefb.c if (!strncmp(this_opt, "monitor:", 8)) { this_opt 1102 drivers/video/fbdev/gbefb.c if (!strncmp(this_opt + 8, "crt", 3)) { this_opt 1106 drivers/video/fbdev/gbefb.c } else if (!strncmp(this_opt + 8, "1600sw", 6) || this_opt 1107 drivers/video/fbdev/gbefb.c !strncmp(this_opt + 8, "lcd", 3)) { this_opt 1112 drivers/video/fbdev/gbefb.c } else if (!strncmp(this_opt, "mem:", 4)) { this_opt 1113 drivers/video/fbdev/gbefb.c gbe_mem_size = memparse(this_opt + 4, &this_opt); this_opt 1119 drivers/video/fbdev/gbefb.c mode_option = this_opt; this_opt 403 drivers/video/fbdev/geode/gx1fb_core.c char *this_opt; this_opt 408 drivers/video/fbdev/geode/gx1fb_core.c while ((this_opt = strsep(&options, ","))) { this_opt 409 drivers/video/fbdev/geode/gx1fb_core.c if (!*this_opt) this_opt 412 drivers/video/fbdev/geode/gx1fb_core.c if (!strncmp(this_opt, "mode:", 5)) this_opt 413 drivers/video/fbdev/geode/gx1fb_core.c strlcpy(mode_option, this_opt + 5, sizeof(mode_option)); this_opt 414 drivers/video/fbdev/geode/gx1fb_core.c else if (!strncmp(this_opt, "crt:", 4)) this_opt 415 drivers/video/fbdev/geode/gx1fb_core.c crt_option = !!simple_strtoul(this_opt + 4, NULL, 0); this_opt 416 drivers/video/fbdev/geode/gx1fb_core.c else if (!strncmp(this_opt, "panel:", 6)) this_opt 417 drivers/video/fbdev/geode/gx1fb_core.c strlcpy(panel_option, this_opt + 6, sizeof(panel_option)); this_opt 419 drivers/video/fbdev/geode/gx1fb_core.c strlcpy(mode_option, this_opt, sizeof(mode_option)); this_opt 268 drivers/video/fbdev/grvga.c char *this_opt; this_opt 273 drivers/video/fbdev/grvga.c while ((this_opt = strsep(&options, " ")) != NULL) { this_opt 274 drivers/video/fbdev/grvga.c if (!*this_opt) this_opt 279 drivers/video/fbdev/grvga.c screendata->pixclock = simple_strtoul(this_opt, NULL, 0); this_opt 283 drivers/video/fbdev/grvga.c screendata->xres = screendata->xres_virtual = simple_strtoul(this_opt, NULL, 0); this_opt 287 drivers/video/fbdev/grvga.c screendata->right_margin = simple_strtoul(this_opt, NULL, 0); this_opt 291 drivers/video/fbdev/grvga.c screendata->hsync_len = simple_strtoul(this_opt, NULL, 0); this_opt 295 drivers/video/fbdev/grvga.c screendata->left_margin = simple_strtoul(this_opt, NULL, 0); this_opt 299 drivers/video/fbdev/grvga.c screendata->yres = screendata->yres_virtual = simple_strtoul(this_opt, NULL, 0); this_opt 303 drivers/video/fbdev/grvga.c screendata->lower_margin = simple_strtoul(this_opt, NULL, 0); this_opt 307 drivers/video/fbdev/grvga.c screendata->vsync_len = simple_strtoul(this_opt, NULL, 0); this_opt 311 drivers/video/fbdev/grvga.c screendata->upper_margin = simple_strtoul(this_opt, NULL, 0); this_opt 315 drivers/video/fbdev/grvga.c screendata->bits_per_pixel = simple_strtoul(this_opt, NULL, 0); this_opt 357 drivers/video/fbdev/grvga.c char *this_opt = strsep(&options, ","); this_opt 359 drivers/video/fbdev/grvga.c if (!this_opt) this_opt 362 drivers/video/fbdev/grvga.c if (!strncmp(this_opt, "custom", 6)) { this_opt 363 drivers/video/fbdev/grvga.c if (grvga_parse_custom(this_opt, &info->var) < 0) { this_opt 364 drivers/video/fbdev/grvga.c dev_err(&dev->dev, "Failed to parse custom mode (%s).\n", this_opt); this_opt 368 drivers/video/fbdev/grvga.c } else if (!strncmp(this_opt, "addr", 4)) this_opt 369 drivers/video/fbdev/grvga.c grvga_fix_addr = simple_strtoul(this_opt + 5, NULL, 16); this_opt 370 drivers/video/fbdev/grvga.c else if (!strncmp(this_opt, "size", 4)) this_opt 371 drivers/video/fbdev/grvga.c grvga_mem_size = simple_strtoul(this_opt + 5, NULL, 0); this_opt 373 drivers/video/fbdev/grvga.c mode_opt = this_opt; this_opt 1962 drivers/video/fbdev/i810/i810_main.c char *this_opt, *suffix = NULL; this_opt 1967 drivers/video/fbdev/i810/i810_main.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 1968 drivers/video/fbdev/i810/i810_main.c if (!strncmp(this_opt, "mtrr", 4)) this_opt 1970 drivers/video/fbdev/i810/i810_main.c else if (!strncmp(this_opt, "accel", 5)) this_opt 1972 drivers/video/fbdev/i810/i810_main.c else if (!strncmp(this_opt, "extvga", 6)) this_opt 1974 drivers/video/fbdev/i810/i810_main.c else if (!strncmp(this_opt, "sync", 4)) this_opt 1976 drivers/video/fbdev/i810/i810_main.c else if (!strncmp(this_opt, "vram:", 5)) this_opt 1977 drivers/video/fbdev/i810/i810_main.c vram = (simple_strtoul(this_opt+5, NULL, 0)); this_opt 1978 drivers/video/fbdev/i810/i810_main.c else if (!strncmp(this_opt, "voffset:", 8)) this_opt 1979 drivers/video/fbdev/i810/i810_main.c voffset = (simple_strtoul(this_opt+8, NULL, 0)); this_opt 1980 drivers/video/fbdev/i810/i810_main.c else if (!strncmp(this_opt, "xres:", 5)) this_opt 1981 drivers/video/fbdev/i810/i810_main.c xres = simple_strtoul(this_opt+5, NULL, 0); this_opt 1982 drivers/video/fbdev/i810/i810_main.c else if (!strncmp(this_opt, "yres:", 5)) this_opt 1983 drivers/video/fbdev/i810/i810_main.c yres = simple_strtoul(this_opt+5, NULL, 0); this_opt 1984 drivers/video/fbdev/i810/i810_main.c else if (!strncmp(this_opt, "vyres:", 6)) this_opt 1985 drivers/video/fbdev/i810/i810_main.c vyres = simple_strtoul(this_opt+6, NULL, 0); this_opt 1986 drivers/video/fbdev/i810/i810_main.c else if (!strncmp(this_opt, "bpp:", 4)) this_opt 1987 drivers/video/fbdev/i810/i810_main.c bpp = simple_strtoul(this_opt+4, NULL, 0); this_opt 1988 drivers/video/fbdev/i810/i810_main.c else if (!strncmp(this_opt, "hsync1:", 7)) { this_opt 1989 drivers/video/fbdev/i810/i810_main.c hsync1 = simple_strtoul(this_opt+7, &suffix, 0); this_opt 1992 drivers/video/fbdev/i810/i810_main.c } else if (!strncmp(this_opt, "hsync2:", 7)) { this_opt 1993 drivers/video/fbdev/i810/i810_main.c hsync2 = simple_strtoul(this_opt+7, &suffix, 0); this_opt 1996 drivers/video/fbdev/i810/i810_main.c } else if (!strncmp(this_opt, "vsync1:", 7)) this_opt 1997 drivers/video/fbdev/i810/i810_main.c vsync1 = simple_strtoul(this_opt+7, NULL, 0); this_opt 1998 drivers/video/fbdev/i810/i810_main.c else if (!strncmp(this_opt, "vsync2:", 7)) this_opt 1999 drivers/video/fbdev/i810/i810_main.c vsync2 = simple_strtoul(this_opt+7, NULL, 0); this_opt 2000 drivers/video/fbdev/i810/i810_main.c else if (!strncmp(this_opt, "dcolor", 6)) this_opt 2002 drivers/video/fbdev/i810/i810_main.c else if (!strncmp(this_opt, "ddc3", 4)) this_opt 2005 drivers/video/fbdev/i810/i810_main.c mode_option = this_opt; this_opt 1549 drivers/video/fbdev/imsttfb.c char *this_opt; this_opt 1554 drivers/video/fbdev/imsttfb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 1555 drivers/video/fbdev/imsttfb.c if (!strncmp(this_opt, "font:", 5)) { this_opt 1559 drivers/video/fbdev/imsttfb.c p = this_opt + 5; this_opt 1563 drivers/video/fbdev/imsttfb.c memcpy(fontname, this_opt + 5, i); this_opt 1565 drivers/video/fbdev/imsttfb.c } else if (!strncmp(this_opt, "inverse", 7)) { this_opt 1570 drivers/video/fbdev/imsttfb.c else if (!strncmp(this_opt, "vmode:", 6)) { this_opt 1571 drivers/video/fbdev/imsttfb.c int vmode = simple_strtoul(this_opt+6, NULL, 0); this_opt 1574 drivers/video/fbdev/imsttfb.c } else if (!strncmp(this_opt, "cmode:", 6)) { this_opt 1575 drivers/video/fbdev/imsttfb.c int cmode = simple_strtoul(this_opt+6, NULL, 0); this_opt 273 drivers/video/fbdev/intelfb/intelfbdrv.c static __inline__ char * get_opt_string(const char *this_opt, const char *name) this_opt 279 drivers/video/fbdev/intelfb/intelfbdrv.c p = OPT_STRVAL(this_opt, name); this_opt 291 drivers/video/fbdev/intelfb/intelfbdrv.c static __inline__ int get_opt_int(const char *this_opt, const char *name, this_opt 297 drivers/video/fbdev/intelfb/intelfbdrv.c if (!OPT_EQUAL(this_opt, name)) this_opt 300 drivers/video/fbdev/intelfb/intelfbdrv.c *ret = OPT_INTVAL(this_opt, name); this_opt 304 drivers/video/fbdev/intelfb/intelfbdrv.c static __inline__ int get_opt_bool(const char *this_opt, const char *name, this_opt 310 drivers/video/fbdev/intelfb/intelfbdrv.c if (OPT_EQUAL(this_opt, name)) { this_opt 311 drivers/video/fbdev/intelfb/intelfbdrv.c if (this_opt[strlen(name)] == '=') this_opt 312 drivers/video/fbdev/intelfb/intelfbdrv.c *ret = simple_strtoul(this_opt + strlen(name) + 1, this_opt 317 drivers/video/fbdev/intelfb/intelfbdrv.c if (OPT_EQUAL(this_opt, "no") && OPT_EQUAL(this_opt + 2, name)) this_opt 327 drivers/video/fbdev/intelfb/intelfbdrv.c char *this_opt; this_opt 350 drivers/video/fbdev/intelfb/intelfbdrv.c while ((this_opt = strsep(&options, ","))) { this_opt 351 drivers/video/fbdev/intelfb/intelfbdrv.c if (!*this_opt) this_opt 353 drivers/video/fbdev/intelfb/intelfbdrv.c if (get_opt_bool(this_opt, "accel", &accel)) this_opt 355 drivers/video/fbdev/intelfb/intelfbdrv.c else if (get_opt_int(this_opt, "vram", &vram)) this_opt 357 drivers/video/fbdev/intelfb/intelfbdrv.c else if (get_opt_bool(this_opt, "hwcursor", &hwcursor)) this_opt 359 drivers/video/fbdev/intelfb/intelfbdrv.c else if (get_opt_bool(this_opt, "mtrr", &mtrr)) this_opt 361 drivers/video/fbdev/intelfb/intelfbdrv.c else if (get_opt_bool(this_opt, "fixed", &fixed)) this_opt 363 drivers/video/fbdev/intelfb/intelfbdrv.c else if (get_opt_bool(this_opt, "init", &noinit)) this_opt 365 drivers/video/fbdev/intelfb/intelfbdrv.c else if (OPT_EQUAL(this_opt, "mode=")) this_opt 366 drivers/video/fbdev/intelfb/intelfbdrv.c mode = get_opt_string(this_opt, "mode="); this_opt 368 drivers/video/fbdev/intelfb/intelfbdrv.c mode = this_opt; this_opt 556 drivers/video/fbdev/kyro/fbdev.c char *this_opt; this_opt 561 drivers/video/fbdev/kyro/fbdev.c while ((this_opt = strsep(&options, ","))) { this_opt 562 drivers/video/fbdev/kyro/fbdev.c if (!*this_opt) this_opt 564 drivers/video/fbdev/kyro/fbdev.c if (strcmp(this_opt, "nopan") == 0) { this_opt 566 drivers/video/fbdev/kyro/fbdev.c } else if (strcmp(this_opt, "nowrap") == 0) { this_opt 568 drivers/video/fbdev/kyro/fbdev.c } else if (strcmp(this_opt, "nomtrr") == 0) { this_opt 571 drivers/video/fbdev/kyro/fbdev.c mode_option = this_opt; this_opt 509 drivers/video/fbdev/macfb.c char *this_opt; this_opt 514 drivers/video/fbdev/macfb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 515 drivers/video/fbdev/macfb.c if (!*this_opt) this_opt 518 drivers/video/fbdev/macfb.c if (!strcmp(this_opt, "inverse")) this_opt 521 drivers/video/fbdev/macfb.c if (!strcmp(this_opt, "vidtest")) this_opt 2318 drivers/video/fbdev/matrox/matroxfb_base.c char *this_opt; this_opt 2325 drivers/video/fbdev/matrox/matroxfb_base.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 2326 drivers/video/fbdev/matrox/matroxfb_base.c if (!*this_opt) continue; this_opt 2328 drivers/video/fbdev/matrox/matroxfb_base.c dprintk("matroxfb_setup: option %s\n", this_opt); this_opt 2330 drivers/video/fbdev/matrox/matroxfb_base.c if (!strncmp(this_opt, "dev:", 4)) this_opt 2331 drivers/video/fbdev/matrox/matroxfb_base.c dev = simple_strtoul(this_opt+4, NULL, 0); this_opt 2332 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "depth:", 6)) { this_opt 2333 drivers/video/fbdev/matrox/matroxfb_base.c switch (simple_strtoul(this_opt+6, NULL, 0)) { this_opt 2344 drivers/video/fbdev/matrox/matroxfb_base.c } else if (!strncmp(this_opt, "xres:", 5)) this_opt 2345 drivers/video/fbdev/matrox/matroxfb_base.c xres = simple_strtoul(this_opt+5, NULL, 0); this_opt 2346 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "yres:", 5)) this_opt 2347 drivers/video/fbdev/matrox/matroxfb_base.c yres = simple_strtoul(this_opt+5, NULL, 0); this_opt 2348 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "vslen:", 6)) this_opt 2349 drivers/video/fbdev/matrox/matroxfb_base.c vslen = simple_strtoul(this_opt+6, NULL, 0); this_opt 2350 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "hslen:", 6)) this_opt 2351 drivers/video/fbdev/matrox/matroxfb_base.c hslen = simple_strtoul(this_opt+6, NULL, 0); this_opt 2352 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "left:", 5)) this_opt 2353 drivers/video/fbdev/matrox/matroxfb_base.c left = simple_strtoul(this_opt+5, NULL, 0); this_opt 2354 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "right:", 6)) this_opt 2355 drivers/video/fbdev/matrox/matroxfb_base.c right = simple_strtoul(this_opt+6, NULL, 0); this_opt 2356 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "upper:", 6)) this_opt 2357 drivers/video/fbdev/matrox/matroxfb_base.c upper = simple_strtoul(this_opt+6, NULL, 0); this_opt 2358 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "lower:", 6)) this_opt 2359 drivers/video/fbdev/matrox/matroxfb_base.c lower = simple_strtoul(this_opt+6, NULL, 0); this_opt 2360 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "pixclock:", 9)) this_opt 2361 drivers/video/fbdev/matrox/matroxfb_base.c pixclock = simple_strtoul(this_opt+9, NULL, 0); this_opt 2362 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "sync:", 5)) this_opt 2363 drivers/video/fbdev/matrox/matroxfb_base.c sync = simple_strtoul(this_opt+5, NULL, 0); this_opt 2364 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "vesa:", 5)) this_opt 2365 drivers/video/fbdev/matrox/matroxfb_base.c vesa = simple_strtoul(this_opt+5, NULL, 0); this_opt 2366 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "maxclk:", 7)) this_opt 2367 drivers/video/fbdev/matrox/matroxfb_base.c maxclk = simple_strtoul(this_opt+7, NULL, 0); this_opt 2368 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "fh:", 3)) this_opt 2369 drivers/video/fbdev/matrox/matroxfb_base.c fh = simple_strtoul(this_opt+3, NULL, 0); this_opt 2370 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "fv:", 3)) this_opt 2371 drivers/video/fbdev/matrox/matroxfb_base.c fv = simple_strtoul(this_opt+3, NULL, 0); this_opt 2372 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "mem:", 4)) this_opt 2373 drivers/video/fbdev/matrox/matroxfb_base.c mem = simple_strtoul(this_opt+4, NULL, 0); this_opt 2374 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "mode:", 5)) this_opt 2375 drivers/video/fbdev/matrox/matroxfb_base.c strlcpy(videomode, this_opt+5, sizeof(videomode)); this_opt 2376 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "outputs:", 8)) this_opt 2377 drivers/video/fbdev/matrox/matroxfb_base.c strlcpy(outputs, this_opt+8, sizeof(outputs)); this_opt 2378 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "dfp:", 4)) { this_opt 2379 drivers/video/fbdev/matrox/matroxfb_base.c dfp_type = simple_strtoul(this_opt+4, NULL, 0); this_opt 2383 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "vmode:", 6)) { this_opt 2384 drivers/video/fbdev/matrox/matroxfb_base.c unsigned int vmode = simple_strtoul(this_opt+6, NULL, 0); this_opt 2387 drivers/video/fbdev/matrox/matroxfb_base.c } else if (!strncmp(this_opt, "cmode:", 6)) { this_opt 2388 drivers/video/fbdev/matrox/matroxfb_base.c unsigned int cmode = simple_strtoul(this_opt+6, NULL, 0); this_opt 2405 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strcmp(this_opt, "disabled")) /* nodisabled does not exist */ this_opt 2407 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strcmp(this_opt, "enabled")) /* noenabled does not exist */ this_opt 2409 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strcmp(this_opt, "sgram")) /* nosgram == sdram */ this_opt 2411 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strcmp(this_opt, "sdram")) this_opt 2413 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strncmp(this_opt, "memtype:", 8)) this_opt 2414 drivers/video/fbdev/matrox/matroxfb_base.c memtype = simple_strtoul(this_opt+8, NULL, 0); this_opt 2418 drivers/video/fbdev/matrox/matroxfb_base.c if (!strncmp(this_opt, "no", 2)) { this_opt 2420 drivers/video/fbdev/matrox/matroxfb_base.c this_opt += 2; this_opt 2422 drivers/video/fbdev/matrox/matroxfb_base.c if (! strcmp(this_opt, "inverse")) this_opt 2424 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strcmp(this_opt, "accel")) this_opt 2426 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strcmp(this_opt, "pan")) this_opt 2428 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strcmp(this_opt, "pciretry")) this_opt 2430 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strcmp(this_opt, "vga")) this_opt 2432 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strcmp(this_opt, "bios")) this_opt 2434 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strcmp(this_opt, "init")) this_opt 2436 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strcmp(this_opt, "mtrr")) this_opt 2438 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strcmp(this_opt, "inv24")) this_opt 2440 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strcmp(this_opt, "cross4MB")) this_opt 2442 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strcmp(this_opt, "grayscale")) this_opt 2444 drivers/video/fbdev/matrox/matroxfb_base.c else if (!strcmp(this_opt, "dfp")) this_opt 2447 drivers/video/fbdev/matrox/matroxfb_base.c strlcpy(videomode, this_opt, sizeof(videomode)); this_opt 2179 drivers/video/fbdev/neofb.c char *this_opt; this_opt 2186 drivers/video/fbdev/neofb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 2187 drivers/video/fbdev/neofb.c if (!*this_opt) this_opt 2190 drivers/video/fbdev/neofb.c if (!strncmp(this_opt, "internal", 8)) this_opt 2192 drivers/video/fbdev/neofb.c else if (!strncmp(this_opt, "external", 8)) this_opt 2194 drivers/video/fbdev/neofb.c else if (!strncmp(this_opt, "nostretch", 9)) this_opt 2196 drivers/video/fbdev/neofb.c else if (!strncmp(this_opt, "nopciburst", 10)) this_opt 2198 drivers/video/fbdev/neofb.c else if (!strncmp(this_opt, "libretto", 8)) this_opt 2201 drivers/video/fbdev/neofb.c mode_option = this_opt; this_opt 1451 drivers/video/fbdev/nvidia/nvidia.c char *this_opt; this_opt 1457 drivers/video/fbdev/nvidia/nvidia.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 1458 drivers/video/fbdev/nvidia/nvidia.c if (!strncmp(this_opt, "forceCRTC", 9)) { this_opt 1461 drivers/video/fbdev/nvidia/nvidia.c p = this_opt + 9; this_opt 1467 drivers/video/fbdev/nvidia/nvidia.c } else if (!strncmp(this_opt, "flatpanel", 9)) { this_opt 1469 drivers/video/fbdev/nvidia/nvidia.c } else if (!strncmp(this_opt, "hwcur", 5)) { this_opt 1471 drivers/video/fbdev/nvidia/nvidia.c } else if (!strncmp(this_opt, "noaccel", 6)) { this_opt 1473 drivers/video/fbdev/nvidia/nvidia.c } else if (!strncmp(this_opt, "noscale", 7)) { this_opt 1475 drivers/video/fbdev/nvidia/nvidia.c } else if (!strncmp(this_opt, "reverse_i2c", 11)) { this_opt 1477 drivers/video/fbdev/nvidia/nvidia.c } else if (!strncmp(this_opt, "paneltweak:", 11)) { this_opt 1478 drivers/video/fbdev/nvidia/nvidia.c paneltweak = simple_strtoul(this_opt+11, NULL, 0); this_opt 1479 drivers/video/fbdev/nvidia/nvidia.c } else if (!strncmp(this_opt, "vram:", 5)) { this_opt 1480 drivers/video/fbdev/nvidia/nvidia.c vram = simple_strtoul(this_opt+5, NULL, 0); this_opt 1481 drivers/video/fbdev/nvidia/nvidia.c } else if (!strncmp(this_opt, "backlight:", 10)) { this_opt 1482 drivers/video/fbdev/nvidia/nvidia.c backlight = simple_strtoul(this_opt+10, NULL, 0); this_opt 1483 drivers/video/fbdev/nvidia/nvidia.c } else if (!strncmp(this_opt, "nomtrr", 6)) { this_opt 1485 drivers/video/fbdev/nvidia/nvidia.c } else if (!strncmp(this_opt, "fpdither:", 9)) { this_opt 1486 drivers/video/fbdev/nvidia/nvidia.c fpdither = simple_strtol(this_opt+9, NULL, 0); this_opt 1487 drivers/video/fbdev/nvidia/nvidia.c } else if (!strncmp(this_opt, "bpp:", 4)) { this_opt 1488 drivers/video/fbdev/nvidia/nvidia.c bpp = simple_strtoul(this_opt+4, NULL, 0); this_opt 1490 drivers/video/fbdev/nvidia/nvidia.c mode_option = this_opt; this_opt 1840 drivers/video/fbdev/omap/omapfb_main.c char *this_opt = NULL; this_opt 1848 drivers/video/fbdev/omap/omapfb_main.c while (!r && (this_opt = strsep(&options, ",")) != NULL) { this_opt 1849 drivers/video/fbdev/omap/omapfb_main.c if (!strncmp(this_opt, "accel", 5)) this_opt 1851 drivers/video/fbdev/omap/omapfb_main.c else if (!strncmp(this_opt, "vram:", 5)) { this_opt 1854 drivers/video/fbdev/omap/omapfb_main.c vram = (simple_strtoul(this_opt + 5, &suffix, 0)); this_opt 1873 drivers/video/fbdev/omap/omapfb_main.c else if (!strncmp(this_opt, "vxres:", 6)) this_opt 1874 drivers/video/fbdev/omap/omapfb_main.c def_vxres = simple_strtoul(this_opt + 6, NULL, 0); this_opt 1875 drivers/video/fbdev/omap/omapfb_main.c else if (!strncmp(this_opt, "vyres:", 6)) this_opt 1876 drivers/video/fbdev/omap/omapfb_main.c def_vyres = simple_strtoul(this_opt + 6, NULL, 0); this_opt 1877 drivers/video/fbdev/omap/omapfb_main.c else if (!strncmp(this_opt, "rotate:", 7)) this_opt 1878 drivers/video/fbdev/omap/omapfb_main.c def_rotate = (simple_strtoul(this_opt + 7, NULL, 0)); this_opt 1879 drivers/video/fbdev/omap/omapfb_main.c else if (!strncmp(this_opt, "mirror:", 7)) this_opt 1880 drivers/video/fbdev/omap/omapfb_main.c def_mirror = (simple_strtoul(this_opt + 7, NULL, 0)); this_opt 1881 drivers/video/fbdev/omap/omapfb_main.c else if (!strncmp(this_opt, "manual_update", 13)) this_opt 2156 drivers/video/fbdev/omap2/omapfb/omapfb-main.c char *str, *options, *this_opt; this_opt 2164 drivers/video/fbdev/omap2/omapfb/omapfb-main.c while (!r && (this_opt = strsep(&options, ",")) != NULL) { this_opt 2169 drivers/video/fbdev/omap2/omapfb/omapfb-main.c p = strchr(this_opt, ':'); this_opt 2176 drivers/video/fbdev/omap2/omapfb/omapfb-main.c display_str = this_opt; this_opt 491 drivers/video/fbdev/platinumfb.c char *this_opt; this_opt 496 drivers/video/fbdev/platinumfb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 497 drivers/video/fbdev/platinumfb.c if (!strncmp(this_opt, "vmode:", 6)) { this_opt 498 drivers/video/fbdev/platinumfb.c int vmode = simple_strtoul(this_opt+6, NULL, 0); this_opt 501 drivers/video/fbdev/platinumfb.c } else if (!strncmp(this_opt, "cmode:", 6)) { this_opt 502 drivers/video/fbdev/platinumfb.c int depth = simple_strtoul(this_opt+6, NULL, 0); this_opt 1765 drivers/video/fbdev/pm2fb.c char *this_opt; this_opt 1770 drivers/video/fbdev/pm2fb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 1771 drivers/video/fbdev/pm2fb.c if (!*this_opt) this_opt 1773 drivers/video/fbdev/pm2fb.c if (!strcmp(this_opt, "lowhsync")) this_opt 1775 drivers/video/fbdev/pm2fb.c else if (!strcmp(this_opt, "lowvsync")) this_opt 1777 drivers/video/fbdev/pm2fb.c else if (!strncmp(this_opt, "hwcursor=", 9)) this_opt 1778 drivers/video/fbdev/pm2fb.c hwcursor = simple_strtoul(this_opt + 9, NULL, 0); this_opt 1779 drivers/video/fbdev/pm2fb.c else if (!strncmp(this_opt, "nomtrr", 6)) this_opt 1781 drivers/video/fbdev/pm2fb.c else if (!strncmp(this_opt, "noaccel", 7)) this_opt 1784 drivers/video/fbdev/pm2fb.c mode_option = this_opt; this_opt 1509 drivers/video/fbdev/pm3fb.c char *this_opt; this_opt 1515 drivers/video/fbdev/pm3fb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 1516 drivers/video/fbdev/pm3fb.c if (!*this_opt) this_opt 1518 drivers/video/fbdev/pm3fb.c else if (!strncmp(this_opt, "noaccel", 7)) this_opt 1520 drivers/video/fbdev/pm3fb.c else if (!strncmp(this_opt, "hwcursor=", 9)) this_opt 1521 drivers/video/fbdev/pm3fb.c hwcursor = simple_strtoul(this_opt + 9, NULL, 0); this_opt 1522 drivers/video/fbdev/pm3fb.c else if (!strncmp(this_opt, "nomtrr", 6)) this_opt 1525 drivers/video/fbdev/pm3fb.c mode_option = this_opt; this_opt 1272 drivers/video/fbdev/ps3fb.c char *this_opt = strsep(&options, ","); this_opt 1274 drivers/video/fbdev/ps3fb.c if (!this_opt) this_opt 1276 drivers/video/fbdev/ps3fb.c if (!*this_opt) this_opt 1278 drivers/video/fbdev/ps3fb.c if (!strncmp(this_opt, "mode:", 5)) this_opt 1279 drivers/video/fbdev/ps3fb.c ps3fb_mode = simple_strtoul(this_opt + 5, NULL, 0); this_opt 1281 drivers/video/fbdev/ps3fb.c mode_option = this_opt; this_opt 1012 drivers/video/fbdev/pvr2fb.c char *this_opt; this_opt 1019 drivers/video/fbdev/pvr2fb.c while ((this_opt = strsep(&options, ","))) { this_opt 1020 drivers/video/fbdev/pvr2fb.c if (!*this_opt) this_opt 1022 drivers/video/fbdev/pvr2fb.c if (!strcmp(this_opt, "inverse")) { this_opt 1024 drivers/video/fbdev/pvr2fb.c } else if (!strncmp(this_opt, "cable:", 6)) { this_opt 1025 drivers/video/fbdev/pvr2fb.c strcpy(cable_arg, this_opt + 6); this_opt 1026 drivers/video/fbdev/pvr2fb.c } else if (!strncmp(this_opt, "output:", 7)) { this_opt 1027 drivers/video/fbdev/pvr2fb.c strcpy(output_arg, this_opt + 7); this_opt 1028 drivers/video/fbdev/pvr2fb.c } else if (!strncmp(this_opt, "nopan", 5)) { this_opt 1030 drivers/video/fbdev/pvr2fb.c } else if (!strncmp(this_opt, "nowrap", 6)) { this_opt 1033 drivers/video/fbdev/pvr2fb.c mode_option = this_opt; this_opt 1856 drivers/video/fbdev/pxafb.c static int parse_opt_mode(struct device *dev, const char *this_opt, this_opt 1859 drivers/video/fbdev/pxafb.c const char *name = this_opt+5; this_opt 1914 drivers/video/fbdev/pxafb.c static int parse_opt(struct device *dev, char *this_opt, this_opt 1922 drivers/video/fbdev/pxafb.c if (!strncmp(this_opt, "vmem:", 5)) { this_opt 1923 drivers/video/fbdev/pxafb.c video_mem_size = memparse(this_opt + 5, NULL); this_opt 1924 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "mode:", 5)) { this_opt 1925 drivers/video/fbdev/pxafb.c return parse_opt_mode(dev, this_opt, inf); this_opt 1926 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "pixclock:", 9)) { this_opt 1927 drivers/video/fbdev/pxafb.c mode->pixclock = simple_strtoul(this_opt+9, NULL, 0); this_opt 1929 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "left:", 5)) { this_opt 1930 drivers/video/fbdev/pxafb.c mode->left_margin = simple_strtoul(this_opt+5, NULL, 0); this_opt 1932 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "right:", 6)) { this_opt 1933 drivers/video/fbdev/pxafb.c mode->right_margin = simple_strtoul(this_opt+6, NULL, 0); this_opt 1935 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "upper:", 6)) { this_opt 1936 drivers/video/fbdev/pxafb.c mode->upper_margin = simple_strtoul(this_opt+6, NULL, 0); this_opt 1938 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "lower:", 6)) { this_opt 1939 drivers/video/fbdev/pxafb.c mode->lower_margin = simple_strtoul(this_opt+6, NULL, 0); this_opt 1941 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "hsynclen:", 9)) { this_opt 1942 drivers/video/fbdev/pxafb.c mode->hsync_len = simple_strtoul(this_opt+9, NULL, 0); this_opt 1944 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "vsynclen:", 9)) { this_opt 1945 drivers/video/fbdev/pxafb.c mode->vsync_len = simple_strtoul(this_opt+9, NULL, 0); this_opt 1947 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "hsync:", 6)) { this_opt 1948 drivers/video/fbdev/pxafb.c if (simple_strtoul(this_opt+6, NULL, 0) == 0) { this_opt 1955 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "vsync:", 6)) { this_opt 1956 drivers/video/fbdev/pxafb.c if (simple_strtoul(this_opt+6, NULL, 0) == 0) { this_opt 1963 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "dpc:", 4)) { this_opt 1964 drivers/video/fbdev/pxafb.c if (simple_strtoul(this_opt+4, NULL, 0) == 0) { this_opt 1971 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "outputen:", 9)) { this_opt 1972 drivers/video/fbdev/pxafb.c if (simple_strtoul(this_opt+9, NULL, 0) == 0) { this_opt 1979 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "pixclockpol:", 12)) { this_opt 1980 drivers/video/fbdev/pxafb.c if (simple_strtoul(this_opt+12, NULL, 0) == 0) { this_opt 1987 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "color", 5)) { this_opt 1989 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "mono", 4)) { this_opt 1991 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "active", 6)) { this_opt 1993 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "passive", 7)) { this_opt 1995 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "single", 6)) { this_opt 1997 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "dual", 4)) { this_opt 1999 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "4pix", 4)) { this_opt 2001 drivers/video/fbdev/pxafb.c } else if (!strncmp(this_opt, "8pix", 4)) { this_opt 2004 drivers/video/fbdev/pxafb.c dev_err(dev, "unknown option: %s\n", this_opt); this_opt 2017 drivers/video/fbdev/pxafb.c char *this_opt; this_opt 2026 drivers/video/fbdev/pxafb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 2027 drivers/video/fbdev/pxafb.c ret = parse_opt(dev, this_opt, inf); this_opt 2113 drivers/video/fbdev/riva/fbdev.c char *this_opt; this_opt 2119 drivers/video/fbdev/riva/fbdev.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 2120 drivers/video/fbdev/riva/fbdev.c if (!strncmp(this_opt, "forceCRTC", 9)) { this_opt 2123 drivers/video/fbdev/riva/fbdev.c p = this_opt + 9; this_opt 2128 drivers/video/fbdev/riva/fbdev.c } else if (!strncmp(this_opt, "flatpanel", 9)) { this_opt 2130 drivers/video/fbdev/riva/fbdev.c } else if (!strncmp(this_opt, "backlight:", 10)) { this_opt 2131 drivers/video/fbdev/riva/fbdev.c backlight = simple_strtoul(this_opt+10, NULL, 0); this_opt 2132 drivers/video/fbdev/riva/fbdev.c } else if (!strncmp(this_opt, "nomtrr", 6)) { this_opt 2134 drivers/video/fbdev/riva/fbdev.c } else if (!strncmp(this_opt, "strictmode", 10)) { this_opt 2136 drivers/video/fbdev/riva/fbdev.c } else if (!strncmp(this_opt, "noaccel", 7)) { this_opt 2139 drivers/video/fbdev/riva/fbdev.c mode_option = this_opt; this_opt 1247 drivers/video/fbdev/sa1100fb.c char *this_opt; this_opt 1252 drivers/video/fbdev/sa1100fb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 1254 drivers/video/fbdev/sa1100fb.c if (!strncmp(this_opt, "bpp:", 4)) this_opt 1256 drivers/video/fbdev/sa1100fb.c simple_strtoul(this_opt + 4, NULL, 0); this_opt 1258 drivers/video/fbdev/sa1100fb.c if (!strncmp(this_opt, "lccr0:", 6)) this_opt 1260 drivers/video/fbdev/sa1100fb.c simple_strtoul(this_opt + 6, NULL, 0); this_opt 1261 drivers/video/fbdev/sa1100fb.c if (!strncmp(this_opt, "lccr1:", 6)) { this_opt 1263 drivers/video/fbdev/sa1100fb.c simple_strtoul(this_opt + 6, NULL, 0); this_opt 1267 drivers/video/fbdev/sa1100fb.c if (!strncmp(this_opt, "lccr2:", 6)) { this_opt 1269 drivers/video/fbdev/sa1100fb.c simple_strtoul(this_opt + 6, NULL, 0); this_opt 1277 drivers/video/fbdev/sa1100fb.c if (!strncmp(this_opt, "lccr3:", 6)) this_opt 1279 drivers/video/fbdev/sa1100fb.c simple_strtoul(this_opt + 6, NULL, 0); this_opt 2523 drivers/video/fbdev/savage/savagefb_driver.c char *this_opt; this_opt 2528 drivers/video/fbdev/savage/savagefb_driver.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 2529 drivers/video/fbdev/savage/savagefb_driver.c mode_option = this_opt; this_opt 3982 drivers/video/fbdev/sis/sis_main.c char *this_opt; this_opt 3989 drivers/video/fbdev/sis/sis_main.c while((this_opt = strsep(&options, ",")) != NULL) { this_opt 3991 drivers/video/fbdev/sis/sis_main.c if(!(*this_opt)) continue; this_opt 3993 drivers/video/fbdev/sis/sis_main.c if(!strncasecmp(this_opt, "off", 3)) { this_opt 3995 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "forcecrt2type:", 14)) { this_opt 3997 drivers/video/fbdev/sis/sis_main.c sisfb_search_crt2type(this_opt + 14); this_opt 3998 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "tvmode:",7)) { this_opt 3999 drivers/video/fbdev/sis/sis_main.c sisfb_search_tvstd(this_opt + 7); this_opt 4000 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "tvstandard:",11)) { this_opt 4001 drivers/video/fbdev/sis/sis_main.c sisfb_search_tvstd(this_opt + 11); this_opt 4002 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "mode:", 5)) { this_opt 4003 drivers/video/fbdev/sis/sis_main.c sisfb_search_mode(this_opt + 5, false); this_opt 4004 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "vesa:", 5)) { this_opt 4005 drivers/video/fbdev/sis/sis_main.c sisfb_search_vesamode(simple_strtoul(this_opt + 5, NULL, 0), false); this_opt 4006 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "rate:", 5)) { this_opt 4007 drivers/video/fbdev/sis/sis_main.c sisfb_parm_rate = simple_strtoul(this_opt + 5, NULL, 0); this_opt 4008 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "forcecrt1:", 10)) { this_opt 4009 drivers/video/fbdev/sis/sis_main.c sisfb_forcecrt1 = (int)simple_strtoul(this_opt + 10, NULL, 0); this_opt 4010 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "mem:",4)) { this_opt 4011 drivers/video/fbdev/sis/sis_main.c sisfb_parm_mem = simple_strtoul(this_opt + 4, NULL, 0); this_opt 4012 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "pdc:", 4)) { this_opt 4013 drivers/video/fbdev/sis/sis_main.c sisfb_pdc = simple_strtoul(this_opt + 4, NULL, 0); this_opt 4014 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "pdc1:", 5)) { this_opt 4015 drivers/video/fbdev/sis/sis_main.c sisfb_pdca = simple_strtoul(this_opt + 5, NULL, 0); this_opt 4016 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "noaccel", 7)) { this_opt 4018 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "accel", 5)) { this_opt 4020 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "noypan", 6)) { this_opt 4022 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "ypan", 4)) { this_opt 4024 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "nomax", 5)) { this_opt 4026 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "max", 3)) { this_opt 4028 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "userom:", 7)) { this_opt 4029 drivers/video/fbdev/sis/sis_main.c sisfb_userom = (int)simple_strtoul(this_opt + 7, NULL, 0); this_opt 4030 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "useoem:", 7)) { this_opt 4031 drivers/video/fbdev/sis/sis_main.c sisfb_useoem = (int)simple_strtoul(this_opt + 7, NULL, 0); this_opt 4032 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "nocrt2rate", 10)) { this_opt 4034 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "scalelcd:", 9)) { this_opt 4036 drivers/video/fbdev/sis/sis_main.c temp = simple_strtoul(this_opt + 9, NULL, 0); this_opt 4040 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "tvxposoffset:", 13)) { this_opt 4042 drivers/video/fbdev/sis/sis_main.c temp = (int)simple_strtol(this_opt + 13, NULL, 0); this_opt 4046 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "tvyposoffset:", 13)) { this_opt 4048 drivers/video/fbdev/sis/sis_main.c temp = (int)simple_strtol(this_opt + 13, NULL, 0); this_opt 4052 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "specialtiming:", 14)) { this_opt 4053 drivers/video/fbdev/sis/sis_main.c sisfb_search_specialtiming(this_opt + 14); this_opt 4054 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "lvdshl:", 7)) { this_opt 4056 drivers/video/fbdev/sis/sis_main.c temp = simple_strtoul(this_opt + 7, NULL, 0); this_opt 4060 drivers/video/fbdev/sis/sis_main.c } else if(this_opt[0] >= '0' && this_opt[0] <= '9') { this_opt 4061 drivers/video/fbdev/sis/sis_main.c sisfb_search_mode(this_opt, true); this_opt 4063 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "resetcard", 9)) { this_opt 4065 drivers/video/fbdev/sis/sis_main.c } else if(!strncasecmp(this_opt, "videoram:", 9)) { this_opt 4066 drivers/video/fbdev/sis/sis_main.c sisfb_videoram = simple_strtoul(this_opt + 9, NULL, 0); this_opt 4069 drivers/video/fbdev/sis/sis_main.c printk(KERN_INFO "sisfb: Invalid option %s\n", this_opt); this_opt 1277 drivers/video/fbdev/sstfb.c char *this_opt; this_opt 1282 drivers/video/fbdev/sstfb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 1283 drivers/video/fbdev/sstfb.c if (!*this_opt) continue; this_opt 1285 drivers/video/fbdev/sstfb.c f_ddprintk("option %s\n", this_opt); this_opt 1287 drivers/video/fbdev/sstfb.c if (!strcmp(this_opt, "vganopass")) this_opt 1289 drivers/video/fbdev/sstfb.c else if (!strcmp(this_opt, "vgapass")) this_opt 1291 drivers/video/fbdev/sstfb.c else if (!strcmp(this_opt, "clipping")) this_opt 1293 drivers/video/fbdev/sstfb.c else if (!strcmp(this_opt, "noclipping")) this_opt 1295 drivers/video/fbdev/sstfb.c else if (!strcmp(this_opt, "fastpci")) this_opt 1297 drivers/video/fbdev/sstfb.c else if (!strcmp(this_opt, "slowpci")) this_opt 1299 drivers/video/fbdev/sstfb.c else if (!strncmp(this_opt, "mem:",4)) this_opt 1300 drivers/video/fbdev/sstfb.c mem = simple_strtoul (this_opt+4, NULL, 0); this_opt 1301 drivers/video/fbdev/sstfb.c else if (!strncmp(this_opt, "gfxclk:",7)) this_opt 1302 drivers/video/fbdev/sstfb.c gfxclk = simple_strtoul (this_opt+7, NULL, 0); this_opt 1304 drivers/video/fbdev/sstfb.c mode_option = this_opt; this_opt 1572 drivers/video/fbdev/tdfxfb.c char *this_opt; this_opt 1577 drivers/video/fbdev/tdfxfb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 1578 drivers/video/fbdev/tdfxfb.c if (!*this_opt) this_opt 1580 drivers/video/fbdev/tdfxfb.c if (!strcmp(this_opt, "nopan")) { this_opt 1582 drivers/video/fbdev/tdfxfb.c } else if (!strcmp(this_opt, "nowrap")) { this_opt 1584 drivers/video/fbdev/tdfxfb.c } else if (!strncmp(this_opt, "hwcursor=", 9)) { this_opt 1585 drivers/video/fbdev/tdfxfb.c hwcursor = simple_strtoul(this_opt + 9, NULL, 0); this_opt 1586 drivers/video/fbdev/tdfxfb.c } else if (!strncmp(this_opt, "nomtrr", 6)) { this_opt 1589 drivers/video/fbdev/tdfxfb.c mode_option = this_opt; this_opt 1566 drivers/video/fbdev/tgafb.c char *this_opt; this_opt 1569 drivers/video/fbdev/tgafb.c while ((this_opt = strsep(&arg, ","))) { this_opt 1570 drivers/video/fbdev/tgafb.c if (!*this_opt) this_opt 1572 drivers/video/fbdev/tgafb.c if (!strncmp(this_opt, "mode:", 5)) this_opt 1573 drivers/video/fbdev/tgafb.c mode_option = this_opt+5; this_opt 1577 drivers/video/fbdev/tgafb.c this_opt); this_opt 1003 drivers/video/fbdev/tmiofb.c char *this_opt; this_opt 1008 drivers/video/fbdev/tmiofb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 1009 drivers/video/fbdev/tmiofb.c if (!*this_opt) this_opt 1812 drivers/video/fbdev/uvesafb.c char *this_opt; this_opt 1817 drivers/video/fbdev/uvesafb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 1818 drivers/video/fbdev/uvesafb.c if (!*this_opt) continue; this_opt 1820 drivers/video/fbdev/uvesafb.c if (!strcmp(this_opt, "redraw")) this_opt 1822 drivers/video/fbdev/uvesafb.c else if (!strcmp(this_opt, "ypan")) this_opt 1824 drivers/video/fbdev/uvesafb.c else if (!strcmp(this_opt, "ywrap")) this_opt 1826 drivers/video/fbdev/uvesafb.c else if (!strcmp(this_opt, "vgapal")) this_opt 1828 drivers/video/fbdev/uvesafb.c else if (!strcmp(this_opt, "pmipal")) this_opt 1830 drivers/video/fbdev/uvesafb.c else if (!strncmp(this_opt, "mtrr:", 5)) this_opt 1831 drivers/video/fbdev/uvesafb.c mtrr = simple_strtoul(this_opt+5, NULL, 0); this_opt 1832 drivers/video/fbdev/uvesafb.c else if (!strcmp(this_opt, "nomtrr")) this_opt 1834 drivers/video/fbdev/uvesafb.c else if (!strcmp(this_opt, "nocrtc")) this_opt 1836 drivers/video/fbdev/uvesafb.c else if (!strcmp(this_opt, "noedid")) this_opt 1838 drivers/video/fbdev/uvesafb.c else if (!strcmp(this_opt, "noblank")) this_opt 1840 drivers/video/fbdev/uvesafb.c else if (!strncmp(this_opt, "vtotal:", 7)) this_opt 1841 drivers/video/fbdev/uvesafb.c vram_total = simple_strtoul(this_opt + 7, NULL, 0); this_opt 1842 drivers/video/fbdev/uvesafb.c else if (!strncmp(this_opt, "vremap:", 7)) this_opt 1843 drivers/video/fbdev/uvesafb.c vram_remap = simple_strtoul(this_opt + 7, NULL, 0); this_opt 1844 drivers/video/fbdev/uvesafb.c else if (!strncmp(this_opt, "maxhf:", 6)) this_opt 1845 drivers/video/fbdev/uvesafb.c maxhf = simple_strtoul(this_opt + 6, NULL, 0); this_opt 1846 drivers/video/fbdev/uvesafb.c else if (!strncmp(this_opt, "maxvf:", 6)) this_opt 1847 drivers/video/fbdev/uvesafb.c maxvf = simple_strtoul(this_opt + 6, NULL, 0); this_opt 1848 drivers/video/fbdev/uvesafb.c else if (!strncmp(this_opt, "maxclk:", 7)) this_opt 1849 drivers/video/fbdev/uvesafb.c maxclk = simple_strtoul(this_opt + 7, NULL, 0); this_opt 1850 drivers/video/fbdev/uvesafb.c else if (!strncmp(this_opt, "vbemode:", 8)) this_opt 1851 drivers/video/fbdev/uvesafb.c vbemode = simple_strtoul(this_opt + 8, NULL, 0); this_opt 1852 drivers/video/fbdev/uvesafb.c else if (this_opt[0] >= '0' && this_opt[0] <= '9') { this_opt 1853 drivers/video/fbdev/uvesafb.c mode_option = this_opt; this_opt 1855 drivers/video/fbdev/uvesafb.c pr_warn("unrecognized option %s\n", this_opt); this_opt 555 drivers/video/fbdev/valkyriefb.c char *this_opt; this_opt 560 drivers/video/fbdev/valkyriefb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 561 drivers/video/fbdev/valkyriefb.c if (!strncmp(this_opt, "vmode:", 6)) { this_opt 562 drivers/video/fbdev/valkyriefb.c int vmode = simple_strtoul(this_opt+6, NULL, 0); this_opt 566 drivers/video/fbdev/valkyriefb.c else if (!strncmp(this_opt, "cmode:", 6)) { this_opt 567 drivers/video/fbdev/valkyriefb.c int depth = simple_strtoul(this_opt+6, NULL, 0); this_opt 204 drivers/video/fbdev/vesafb.c char *this_opt; this_opt 209 drivers/video/fbdev/vesafb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 210 drivers/video/fbdev/vesafb.c if (!*this_opt) continue; this_opt 212 drivers/video/fbdev/vesafb.c if (! strcmp(this_opt, "inverse")) this_opt 214 drivers/video/fbdev/vesafb.c else if (! strcmp(this_opt, "redraw")) this_opt 216 drivers/video/fbdev/vesafb.c else if (! strcmp(this_opt, "ypan")) this_opt 218 drivers/video/fbdev/vesafb.c else if (! strcmp(this_opt, "ywrap")) this_opt 220 drivers/video/fbdev/vesafb.c else if (! strcmp(this_opt, "vgapal")) this_opt 222 drivers/video/fbdev/vesafb.c else if (! strcmp(this_opt, "pmipal")) this_opt 224 drivers/video/fbdev/vesafb.c else if (! strncmp(this_opt, "mtrr:", 5)) this_opt 225 drivers/video/fbdev/vesafb.c mtrr = simple_strtoul(this_opt+5, NULL, 0); this_opt 226 drivers/video/fbdev/vesafb.c else if (! strcmp(this_opt, "nomtrr")) this_opt 228 drivers/video/fbdev/vesafb.c else if (! strncmp(this_opt, "vtotal:", 7)) this_opt 229 drivers/video/fbdev/vesafb.c vram_total = simple_strtoul(this_opt+7, NULL, 0); this_opt 230 drivers/video/fbdev/vesafb.c else if (! strncmp(this_opt, "vremap:", 7)) this_opt 231 drivers/video/fbdev/vesafb.c vram_remap = simple_strtoul(this_opt+7, NULL, 0); this_opt 397 drivers/video/fbdev/vfb.c char *this_opt; this_opt 409 drivers/video/fbdev/vfb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 410 drivers/video/fbdev/vfb.c if (!*this_opt) this_opt 413 drivers/video/fbdev/vfb.c if (!strcmp(this_opt, "disable")) this_opt 416 drivers/video/fbdev/vfb.c mode_option = this_opt; this_opt 1291 drivers/video/fbdev/vga16fb.c char *this_opt; this_opt 1296 drivers/video/fbdev/vga16fb.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 1297 drivers/video/fbdev/vga16fb.c if (!*this_opt) continue; this_opt 1932 drivers/video/fbdev/via/viafbdev.c char *this_opt; this_opt 1943 drivers/video/fbdev/via/viafbdev.c while ((this_opt = strsep(&options, ",")) != NULL) { this_opt 1944 drivers/video/fbdev/via/viafbdev.c if (!*this_opt) this_opt 1947 drivers/video/fbdev/via/viafbdev.c if (!strncmp(this_opt, "viafb_mode1=", 12)) { this_opt 1948 drivers/video/fbdev/via/viafbdev.c viafb_mode1 = kstrdup(this_opt + 12, GFP_KERNEL); this_opt 1949 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, "viafb_mode=", 11)) { this_opt 1950 drivers/video/fbdev/via/viafbdev.c viafb_mode = kstrdup(this_opt + 11, GFP_KERNEL); this_opt 1951 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, "viafb_bpp1=", 11)) { this_opt 1952 drivers/video/fbdev/via/viafbdev.c if (kstrtouint(this_opt + 11, 0, &viafb_bpp1) < 0) this_opt 1954 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, "viafb_bpp=", 10)) { this_opt 1955 drivers/video/fbdev/via/viafbdev.c if (kstrtouint(this_opt + 10, 0, &viafb_bpp) < 0) this_opt 1957 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, "viafb_refresh1=", 15)) { this_opt 1958 drivers/video/fbdev/via/viafbdev.c if (kstrtoint(this_opt + 15, 0, &viafb_refresh1) < 0) this_opt 1960 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, "viafb_refresh=", 14)) { this_opt 1961 drivers/video/fbdev/via/viafbdev.c if (kstrtoint(this_opt + 14, 0, &viafb_refresh) < 0) this_opt 1963 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, "viafb_lcd_dsp_method=", 21)) { this_opt 1964 drivers/video/fbdev/via/viafbdev.c if (kstrtoint(this_opt + 21, 0, this_opt 1967 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, "viafb_lcd_panel_id=", 19)) { this_opt 1968 drivers/video/fbdev/via/viafbdev.c if (kstrtoint(this_opt + 19, 0, this_opt 1971 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, "viafb_accel=", 12)) { this_opt 1972 drivers/video/fbdev/via/viafbdev.c if (kstrtoint(this_opt + 12, 0, &viafb_accel) < 0) this_opt 1974 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, "viafb_SAMM_ON=", 14)) { this_opt 1975 drivers/video/fbdev/via/viafbdev.c if (kstrtoint(this_opt + 14, 0, &viafb_SAMM_ON) < 0) this_opt 1977 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, "viafb_active_dev=", 17)) { this_opt 1978 drivers/video/fbdev/via/viafbdev.c viafb_active_dev = kstrdup(this_opt + 17, GFP_KERNEL); this_opt 1979 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, this_opt 1981 drivers/video/fbdev/via/viafbdev.c if (kstrtoint(this_opt + 30, 0, this_opt 1984 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, "viafb_second_size=", 18)) { this_opt 1985 drivers/video/fbdev/via/viafbdev.c if (kstrtoint(this_opt + 18, 0, &viafb_second_size) < 0) this_opt 1987 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, this_opt 1989 drivers/video/fbdev/via/viafbdev.c if (kstrtoint(this_opt + 24, 0, this_opt 1992 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, this_opt 1994 drivers/video/fbdev/via/viafbdev.c if (kstrtoint(this_opt + 26, 0, this_opt 1997 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, "viafb_bus_width=", 16)) { this_opt 1998 drivers/video/fbdev/via/viafbdev.c if (kstrtoint(this_opt + 16, 0, &viafb_bus_width) < 0) this_opt 2000 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, "viafb_lcd_mode=", 15)) { this_opt 2001 drivers/video/fbdev/via/viafbdev.c if (kstrtoint(this_opt + 15, 0, &viafb_lcd_mode) < 0) this_opt 2003 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, "viafb_lcd_port=", 15)) { this_opt 2004 drivers/video/fbdev/via/viafbdev.c viafb_lcd_port = kstrdup(this_opt + 15, GFP_KERNEL); this_opt 2005 drivers/video/fbdev/via/viafbdev.c } else if (!strncmp(this_opt, "viafb_dvi_port=", 15)) { this_opt 2006 drivers/video/fbdev/via/viafbdev.c viafb_dvi_port = kstrdup(this_opt + 15, GFP_KERNEL);