• Home
  • Raw
  • Download

Lines Matching refs:this_opt

2311 	char *this_opt;  in matroxfb_setup()  local
2318 while ((this_opt = strsep(&options, ",")) != NULL) { in matroxfb_setup()
2319 if (!*this_opt) continue; in matroxfb_setup()
2321 dprintk("matroxfb_setup: option %s\n", this_opt); in matroxfb_setup()
2323 if (!strncmp(this_opt, "dev:", 4)) in matroxfb_setup()
2324 dev = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2325 else if (!strncmp(this_opt, "depth:", 6)) { in matroxfb_setup()
2326 switch (simple_strtoul(this_opt+6, NULL, 0)) { in matroxfb_setup()
2337 } else if (!strncmp(this_opt, "xres:", 5)) in matroxfb_setup()
2338 xres = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2339 else if (!strncmp(this_opt, "yres:", 5)) in matroxfb_setup()
2340 yres = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2341 else if (!strncmp(this_opt, "vslen:", 6)) in matroxfb_setup()
2342 vslen = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2343 else if (!strncmp(this_opt, "hslen:", 6)) in matroxfb_setup()
2344 hslen = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2345 else if (!strncmp(this_opt, "left:", 5)) in matroxfb_setup()
2346 left = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2347 else if (!strncmp(this_opt, "right:", 6)) in matroxfb_setup()
2348 right = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2349 else if (!strncmp(this_opt, "upper:", 6)) in matroxfb_setup()
2350 upper = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2351 else if (!strncmp(this_opt, "lower:", 6)) in matroxfb_setup()
2352 lower = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2353 else if (!strncmp(this_opt, "pixclock:", 9)) in matroxfb_setup()
2354 pixclock = simple_strtoul(this_opt+9, NULL, 0); in matroxfb_setup()
2355 else if (!strncmp(this_opt, "sync:", 5)) in matroxfb_setup()
2356 sync = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2357 else if (!strncmp(this_opt, "vesa:", 5)) in matroxfb_setup()
2358 vesa = simple_strtoul(this_opt+5, NULL, 0); in matroxfb_setup()
2359 else if (!strncmp(this_opt, "maxclk:", 7)) in matroxfb_setup()
2360 maxclk = simple_strtoul(this_opt+7, NULL, 0); in matroxfb_setup()
2361 else if (!strncmp(this_opt, "fh:", 3)) in matroxfb_setup()
2362 fh = simple_strtoul(this_opt+3, NULL, 0); in matroxfb_setup()
2363 else if (!strncmp(this_opt, "fv:", 3)) in matroxfb_setup()
2364 fv = simple_strtoul(this_opt+3, NULL, 0); in matroxfb_setup()
2365 else if (!strncmp(this_opt, "mem:", 4)) in matroxfb_setup()
2366 mem = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2367 else if (!strncmp(this_opt, "mode:", 5)) in matroxfb_setup()
2368 strlcpy(videomode, this_opt+5, sizeof(videomode)); in matroxfb_setup()
2369 else if (!strncmp(this_opt, "outputs:", 8)) in matroxfb_setup()
2370 strlcpy(outputs, this_opt+8, sizeof(outputs)); in matroxfb_setup()
2371 else if (!strncmp(this_opt, "dfp:", 4)) { in matroxfb_setup()
2372 dfp_type = simple_strtoul(this_opt+4, NULL, 0); in matroxfb_setup()
2376 else if (!strncmp(this_opt, "vmode:", 6)) { in matroxfb_setup()
2377 unsigned int vmode = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2380 } else if (!strncmp(this_opt, "cmode:", 6)) { in matroxfb_setup()
2381 unsigned int cmode = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup()
2398 else if (!strcmp(this_opt, "disabled")) /* nodisabled does not exist */ in matroxfb_setup()
2400 else if (!strcmp(this_opt, "enabled")) /* noenabled does not exist */ in matroxfb_setup()
2402 else if (!strcmp(this_opt, "sgram")) /* nosgram == sdram */ in matroxfb_setup()
2404 else if (!strcmp(this_opt, "sdram")) in matroxfb_setup()
2406 else if (!strncmp(this_opt, "memtype:", 8)) in matroxfb_setup()
2407 memtype = simple_strtoul(this_opt+8, NULL, 0); in matroxfb_setup()
2411 if (!strncmp(this_opt, "no", 2)) { in matroxfb_setup()
2413 this_opt += 2; in matroxfb_setup()
2415 if (! strcmp(this_opt, "inverse")) in matroxfb_setup()
2417 else if (!strcmp(this_opt, "accel")) in matroxfb_setup()
2419 else if (!strcmp(this_opt, "pan")) in matroxfb_setup()
2421 else if (!strcmp(this_opt, "pciretry")) in matroxfb_setup()
2423 else if (!strcmp(this_opt, "vga")) in matroxfb_setup()
2425 else if (!strcmp(this_opt, "bios")) in matroxfb_setup()
2427 else if (!strcmp(this_opt, "init")) in matroxfb_setup()
2430 else if (!strcmp(this_opt, "mtrr")) in matroxfb_setup()
2433 else if (!strcmp(this_opt, "inv24")) in matroxfb_setup()
2435 else if (!strcmp(this_opt, "cross4MB")) in matroxfb_setup()
2437 else if (!strcmp(this_opt, "grayscale")) in matroxfb_setup()
2439 else if (!strcmp(this_opt, "dfp")) in matroxfb_setup()
2442 strlcpy(videomode, this_opt, sizeof(videomode)); in matroxfb_setup()