• Home
  • Raw
  • Download

Lines Matching refs:depth

1265 static int depth = -1;			/* "matroxfb:depth:xxxxx" */  variable
1757 vesafb_defined.red = colors[depth-1].red; in initMatrox2()
1758 vesafb_defined.green = colors[depth-1].green; in initMatrox2()
1759 vesafb_defined.blue = colors[depth-1].blue; in initMatrox2()
1760 vesafb_defined.bits_per_pixel = colors[depth-1].bits_per_pixel; in initMatrox2()
2267 if (depth == -1) in matroxfb_init_params()
2268 depth = RSDepth(RSptr->info); in matroxfb_init_params()
2308 case 0: depth = RSText; break; in matroxfb_setup()
2309 case 4: depth = RS4bpp; break; in matroxfb_setup()
2310 case 8: depth = RS8bpp; break; in matroxfb_setup()
2311 case 15:depth = RS15bpp; break; in matroxfb_setup()
2312 case 16:depth = RS16bpp; break; in matroxfb_setup()
2313 case 24:depth = RS24bpp; break; in matroxfb_setup()
2314 case 32:depth = RS32bpp; break; in matroxfb_setup()
2516 module_param(depth, int, 0);
2517 MODULE_PARM_DESC(depth, "Color depth (0=text,8,15,16,24,32) (default=vesa)");
2549 if (depth == 0) in init_module()
2550 depth = RSText; in init_module()
2551 else if (depth == 4) in init_module()
2552 depth = RS4bpp; in init_module()
2553 else if (depth == 8) in init_module()
2554 depth = RS8bpp; in init_module()
2555 else if (depth == 15) in init_module()
2556 depth = RS15bpp; in init_module()
2557 else if (depth == 16) in init_module()
2558 depth = RS16bpp; in init_module()
2559 else if (depth == 24) in init_module()
2560 depth = RS24bpp; in init_module()
2561 else if (depth == 32) in init_module()
2562 depth = RS32bpp; in init_module()
2563 else if (depth != -1) { in init_module()
2564 printk(KERN_ERR "matroxfb: depth %d is not supported, using default\n", depth); in init_module()
2565 depth = -1; in init_module()