Lines Matching refs:this_opt
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+5, NULL, 0); in matroxfb_setup()
2368 else if (!strncmp(this_opt, "yres:", 5)) in matroxfb_setup()
2369 yres = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2370 else if (!strncmp(this_opt, "vslen:", 6)) in matroxfb_setup()
2371 vslen = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2372 else if (!strncmp(this_opt, "hslen:", 6)) in matroxfb_setup()
2373 hslen = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2374 else if (!strncmp(this_opt, "left:", 5)) in matroxfb_setup()
2375 left = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2376 else if (!strncmp(this_opt, "right:", 6)) in matroxfb_setup()
2377 right = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2378 else if (!strncmp(this_opt, "upper:", 6)) in matroxfb_setup()
2379 upper = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2380 else if (!strncmp(this_opt, "lower:", 6)) in matroxfb_setup()
2381 lower = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2382 else if (!strncmp(this_opt, "pixclock:", 9)) in matroxfb_setup()
2383 pixclock = simple_strtoul(this_opt+9, NULL, 0); in matroxfb_setup()
2384 else if (!strncmp(this_opt, "sync:", 5)) in matroxfb_setup()
2385 sync = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2386 else if (!strncmp(this_opt, "vesa:", 5)) in matroxfb_setup()
2387 vesa = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2388 else if (!strncmp(this_opt, "maxclk:", 7)) in matroxfb_setup()
2389 maxclk = simple_strtoul(this_opt+7, NULL, 0); in matroxfb_setup()
2390 else if (!strncmp(this_opt, "fh:", 3)) in matroxfb_setup()
2391 fh = simple_strtoul(this_opt+3, NULL, 0); in matroxfb_setup()
2392 else if (!strncmp(this_opt, "fv:", 3)) in matroxfb_setup()
2393 fv = simple_strtoul(this_opt+3, NULL, 0); in matroxfb_setup()
2394 else if (!strncmp(this_opt, "mem:", 4)) in matroxfb_setup()
2395 mem = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2396 else if (!strncmp(this_opt, "mode:", 5)) in matroxfb_setup()
2397 strscpy(videomode, this_opt + 5, sizeof(videomode)); in matroxfb_setup()
2398 else if (!strncmp(this_opt, "outputs:", 8)) in matroxfb_setup()
2399 strscpy(outputs, this_opt + 8, sizeof(outputs)); in matroxfb_setup()
2400 else if (!strncmp(this_opt, "dfp:", 4)) { in matroxfb_setup()
2401 dfp_type = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2405 else if (!strncmp(this_opt, "vmode:", 6)) { in matroxfb_setup()
2406 unsigned int vmode = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2409 } else if (!strncmp(this_opt, "cmode:", 6)) { in matroxfb_setup()
2410 unsigned int cmode = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2427 else if (!strcmp(this_opt, "disabled")) /* nodisabled does not exist */ in matroxfb_setup()
2429 else if (!strcmp(this_opt, "enabled")) /* noenabled does not exist */ in matroxfb_setup()
2431 else if (!strcmp(this_opt, "sgram")) /* nosgram == sdram */ in matroxfb_setup()
2433 else if (!strcmp(this_opt, "sdram")) in matroxfb_setup()
2435 else if (!strncmp(this_opt, "memtype:", 8)) in matroxfb_setup()
2436 memtype = simple_strtoul(this_opt+8, NULL, 0); in matroxfb_setup()
2440 if (!strncmp(this_opt, "no", 2)) { in matroxfb_setup()
2442 this_opt += 2; in matroxfb_setup()
2444 if (! strcmp(this_opt, "inverse")) in matroxfb_setup()
2446 else if (!strcmp(this_opt, "accel")) in matroxfb_setup()
2448 else if (!strcmp(this_opt, "pan")) in matroxfb_setup()
2450 else if (!strcmp(this_opt, "pciretry")) in matroxfb_setup()
2452 else if (!strcmp(this_opt, "vga")) in matroxfb_setup()
2454 else if (!strcmp(this_opt, "bios")) in matroxfb_setup()
2456 else if (!strcmp(this_opt, "init")) in matroxfb_setup()
2458 else if (!strcmp(this_opt, "mtrr")) in matroxfb_setup()
2460 else if (!strcmp(this_opt, "inv24")) in matroxfb_setup()
2462 else if (!strcmp(this_opt, "cross4MB")) in matroxfb_setup()
2464 else if (!strcmp(this_opt, "grayscale")) in matroxfb_setup()
2466 else if (!strcmp(this_opt, "dfp")) in matroxfb_setup()
2469 strscpy(videomode, this_opt, sizeof(videomode)); in matroxfb_setup()