Lines Matching refs:this_opt

2339 	char *this_opt;  in matroxfb_setup()  local
2346 while ((this_opt = strsep(&options, ",")) != NULL) { in matroxfb_setup()
2347 if (!*this_opt) continue; in matroxfb_setup()
2349 dprintk("matroxfb_setup: option %s\n", this_opt); in matroxfb_setup()
2351 if (!strncmp(this_opt, "dev:", 4)) in matroxfb_setup()
2352 dev = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2353 else if (!strncmp(this_opt, "depth:", 6)) { in matroxfb_setup()
2354 switch (simple_strtoul(this_opt+6, NULL, 0)) { in matroxfb_setup()
2365 } else if (!strncmp(this_opt, "xres:", 5)) in matroxfb_setup()
2366 xres = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2367 else if (!strncmp(this_opt, "yres:", 5)) in matroxfb_setup()
2368 yres = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2369 else if (!strncmp(this_opt, "vslen:", 6)) in matroxfb_setup()
2370 vslen = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2371 else if (!strncmp(this_opt, "hslen:", 6)) in matroxfb_setup()
2372 hslen = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2373 else if (!strncmp(this_opt, "left:", 5)) in matroxfb_setup()
2374 left = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2375 else if (!strncmp(this_opt, "right:", 6)) in matroxfb_setup()
2376 right = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2377 else if (!strncmp(this_opt, "upper:", 6)) in matroxfb_setup()
2378 upper = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2379 else if (!strncmp(this_opt, "lower:", 6)) in matroxfb_setup()
2380 lower = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2381 else if (!strncmp(this_opt, "pixclock:", 9)) in matroxfb_setup()
2382 pixclock = simple_strtoul(this_opt+9, NULL, 0); in matroxfb_setup()
2383 else if (!strncmp(this_opt, "sync:", 5)) in matroxfb_setup()
2384 sync = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2385 else if (!strncmp(this_opt, "vesa:", 5)) in matroxfb_setup()
2386 vesa = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2387 else if (!strncmp(this_opt, "maxclk:", 7)) in matroxfb_setup()
2388 maxclk = simple_strtoul(this_opt+7, NULL, 0); in matroxfb_setup()
2389 else if (!strncmp(this_opt, "fh:", 3)) in matroxfb_setup()
2390 fh = simple_strtoul(this_opt+3, NULL, 0); in matroxfb_setup()
2391 else if (!strncmp(this_opt, "fv:", 3)) in matroxfb_setup()
2392 fv = simple_strtoul(this_opt+3, NULL, 0); in matroxfb_setup()
2393 else if (!strncmp(this_opt, "mem:", 4)) in matroxfb_setup()
2394 mem = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2395 else if (!strncmp(this_opt, "mode:", 5)) in matroxfb_setup()
2396 strscpy(videomode, this_opt + 5, sizeof(videomode)); in matroxfb_setup()
2397 else if (!strncmp(this_opt, "outputs:", 8)) in matroxfb_setup()
2398 strscpy(outputs, this_opt + 8, sizeof(outputs)); in matroxfb_setup()
2399 else if (!strncmp(this_opt, "dfp:", 4)) { in matroxfb_setup()
2400 dfp_type = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2404 else if (!strncmp(this_opt, "vmode:", 6)) { in matroxfb_setup()
2405 unsigned int vmode = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2408 } else if (!strncmp(this_opt, "cmode:", 6)) { in matroxfb_setup()
2409 unsigned int cmode = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2426 else if (!strcmp(this_opt, "disabled")) /* nodisabled does not exist */ in matroxfb_setup()
2428 else if (!strcmp(this_opt, "enabled")) /* noenabled does not exist */ in matroxfb_setup()
2430 else if (!strcmp(this_opt, "sgram")) /* nosgram == sdram */ in matroxfb_setup()
2432 else if (!strcmp(this_opt, "sdram")) in matroxfb_setup()
2434 else if (!strncmp(this_opt, "memtype:", 8)) in matroxfb_setup()
2435 memtype = simple_strtoul(this_opt+8, NULL, 0); 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()
2445 else if (!strcmp(this_opt, "accel")) in matroxfb_setup()
2447 else if (!strcmp(this_opt, "pan")) in matroxfb_setup()
2449 else if (!strcmp(this_opt, "pciretry")) in matroxfb_setup()
2451 else if (!strcmp(this_opt, "vga")) in matroxfb_setup()
2453 else if (!strcmp(this_opt, "bios")) in matroxfb_setup()
2455 else if (!strcmp(this_opt, "init")) in matroxfb_setup()
2457 else if (!strcmp(this_opt, "mtrr")) in matroxfb_setup()
2459 else if (!strcmp(this_opt, "inv24")) in matroxfb_setup()
2461 else if (!strcmp(this_opt, "cross4MB")) in matroxfb_setup()
2463 else if (!strcmp(this_opt, "grayscale")) in matroxfb_setup()
2465 else if (!strcmp(this_opt, "dfp")) in matroxfb_setup()
2468 strscpy(videomode, this_opt, sizeof(videomode)); in matroxfb_setup()