Lines Matching refs:this_opt

2334 	char *this_opt;  in matroxfb_setup()  local
2341 while ((this_opt = strsep(&options, ",")) != NULL) { in matroxfb_setup()
2342 if (!*this_opt) continue; in matroxfb_setup()
2344 dprintk("matroxfb_setup: option %s\n", this_opt); in matroxfb_setup()
2346 if (!strncmp(this_opt, "dev:", 4)) in matroxfb_setup()
2347 dev = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2348 else if (!strncmp(this_opt, "depth:", 6)) { in matroxfb_setup()
2349 switch (simple_strtoul(this_opt+6, NULL, 0)) { in matroxfb_setup()
2360 } else if (!strncmp(this_opt, "xres:", 5)) in matroxfb_setup()
2361 xres = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2362 else if (!strncmp(this_opt, "yres:", 5)) in matroxfb_setup()
2363 yres = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2364 else if (!strncmp(this_opt, "vslen:", 6)) in matroxfb_setup()
2365 vslen = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2366 else if (!strncmp(this_opt, "hslen:", 6)) in matroxfb_setup()
2367 hslen = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2368 else if (!strncmp(this_opt, "left:", 5)) in matroxfb_setup()
2369 left = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2370 else if (!strncmp(this_opt, "right:", 6)) in matroxfb_setup()
2371 right = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2372 else if (!strncmp(this_opt, "upper:", 6)) in matroxfb_setup()
2373 upper = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2374 else if (!strncmp(this_opt, "lower:", 6)) in matroxfb_setup()
2375 lower = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2376 else if (!strncmp(this_opt, "pixclock:", 9)) in matroxfb_setup()
2377 pixclock = simple_strtoul(this_opt+9, NULL, 0); in matroxfb_setup()
2378 else if (!strncmp(this_opt, "sync:", 5)) in matroxfb_setup()
2379 sync = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2380 else if (!strncmp(this_opt, "vesa:", 5)) in matroxfb_setup()
2381 vesa = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2382 else if (!strncmp(this_opt, "maxclk:", 7)) in matroxfb_setup()
2383 maxclk = simple_strtoul(this_opt+7, NULL, 0); in matroxfb_setup()
2384 else if (!strncmp(this_opt, "fh:", 3)) in matroxfb_setup()
2385 fh = simple_strtoul(this_opt+3, NULL, 0); in matroxfb_setup()
2386 else if (!strncmp(this_opt, "fv:", 3)) in matroxfb_setup()
2387 fv = simple_strtoul(this_opt+3, NULL, 0); in matroxfb_setup()
2388 else if (!strncmp(this_opt, "mem:", 4)) in matroxfb_setup()
2389 mem = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2390 else if (!strncmp(this_opt, "mode:", 5)) in matroxfb_setup()
2391 strscpy(videomode, this_opt + 5, sizeof(videomode)); in matroxfb_setup()
2392 else if (!strncmp(this_opt, "outputs:", 8)) in matroxfb_setup()
2393 strscpy(outputs, this_opt + 8, sizeof(outputs)); in matroxfb_setup()
2394 else if (!strncmp(this_opt, "dfp:", 4)) { in matroxfb_setup()
2395 dfp_type = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2399 else if (!strncmp(this_opt, "vmode:", 6)) { in matroxfb_setup()
2400 unsigned int vmode = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2403 } else if (!strncmp(this_opt, "cmode:", 6)) { in matroxfb_setup()
2404 unsigned int cmode = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2421 else if (!strcmp(this_opt, "disabled")) /* nodisabled does not exist */ in matroxfb_setup()
2423 else if (!strcmp(this_opt, "enabled")) /* noenabled does not exist */ in matroxfb_setup()
2425 else if (!strcmp(this_opt, "sgram")) /* nosgram == sdram */ in matroxfb_setup()
2427 else if (!strcmp(this_opt, "sdram")) in matroxfb_setup()
2429 else if (!strncmp(this_opt, "memtype:", 8)) in matroxfb_setup()
2430 memtype = simple_strtoul(this_opt+8, NULL, 0); in matroxfb_setup()
2434 if (!strncmp(this_opt, "no", 2)) { in matroxfb_setup()
2436 this_opt += 2; in matroxfb_setup()
2438 if (! strcmp(this_opt, "inverse")) in matroxfb_setup()
2440 else if (!strcmp(this_opt, "accel")) in matroxfb_setup()
2442 else if (!strcmp(this_opt, "pan")) in matroxfb_setup()
2444 else if (!strcmp(this_opt, "pciretry")) in matroxfb_setup()
2446 else if (!strcmp(this_opt, "vga")) in matroxfb_setup()
2448 else if (!strcmp(this_opt, "bios")) in matroxfb_setup()
2450 else if (!strcmp(this_opt, "init")) in matroxfb_setup()
2452 else if (!strcmp(this_opt, "mtrr")) in matroxfb_setup()
2454 else if (!strcmp(this_opt, "inv24")) in matroxfb_setup()
2456 else if (!strcmp(this_opt, "cross4MB")) in matroxfb_setup()
2458 else if (!strcmp(this_opt, "grayscale")) in matroxfb_setup()
2460 else if (!strcmp(this_opt, "dfp")) in matroxfb_setup()
2463 strscpy(videomode, this_opt, sizeof(videomode)); in matroxfb_setup()