Lines Matching refs:depth

1256 static int depth = -1;			/* "matroxfb:depth:xxxxx" */  variable
1785 vesafb_defined.red = colors[depth-1].red; in initMatrox2()
1786 vesafb_defined.green = colors[depth-1].green; in initMatrox2()
1787 vesafb_defined.blue = colors[depth-1].blue; in initMatrox2()
1788 vesafb_defined.bits_per_pixel = colors[depth-1].bits_per_pixel; in initMatrox2()
2293 if (depth == -1) in matroxfb_init_params()
2294 depth = RSDepth(RSptr->info); in matroxfb_init_params()
2334 case 0: depth = RSText; break; in matroxfb_setup()
2335 case 4: depth = RS4bpp; break; in matroxfb_setup()
2336 case 8: depth = RS8bpp; break; in matroxfb_setup()
2337 case 15:depth = RS15bpp; break; in matroxfb_setup()
2338 case 16:depth = RS16bpp; break; in matroxfb_setup()
2339 case 24:depth = RS24bpp; break; in matroxfb_setup()
2340 case 32:depth = RS32bpp; break; in matroxfb_setup()
2538 module_param(depth, int, 0);
2539 MODULE_PARM_DESC(depth, "Color depth (0=text,8,15,16,24,32) (default=vesa)");
2571 if (depth == 0) in init_module()
2572 depth = RSText; in init_module()
2573 else if (depth == 4) in init_module()
2574 depth = RS4bpp; in init_module()
2575 else if (depth == 8) in init_module()
2576 depth = RS8bpp; in init_module()
2577 else if (depth == 15) in init_module()
2578 depth = RS15bpp; in init_module()
2579 else if (depth == 16) in init_module()
2580 depth = RS16bpp; in init_module()
2581 else if (depth == 24) in init_module()
2582 depth = RS24bpp; in init_module()
2583 else if (depth == 32) in init_module()
2584 depth = RS32bpp; in init_module()
2585 else if (depth != -1) { in init_module()
2586 printk(KERN_ERR "matroxfb: depth %d is not supported, using default\n", depth); in init_module()
2587 depth = -1; in init_module()