Lines Matching refs:depth

1265 static int depth = -1;			/* "matroxfb:depth:xxxxx" */  variable
1795 vesafb_defined.red = colors[depth-1].red; in initMatrox2()
1796 vesafb_defined.green = colors[depth-1].green; in initMatrox2()
1797 vesafb_defined.blue = colors[depth-1].blue; in initMatrox2()
1798 vesafb_defined.bits_per_pixel = colors[depth-1].bits_per_pixel; in initMatrox2()
2303 if (depth == -1) in matroxfb_init_params()
2304 depth = RSDepth(RSptr->info); in matroxfb_init_params()
2344 case 0: depth = RSText; break; in matroxfb_setup()
2345 case 4: depth = RS4bpp; break; in matroxfb_setup()
2346 case 8: depth = RS8bpp; break; in matroxfb_setup()
2347 case 15:depth = RS15bpp; break; in matroxfb_setup()
2348 case 16:depth = RS16bpp; break; in matroxfb_setup()
2349 case 24:depth = RS24bpp; break; in matroxfb_setup()
2350 case 32:depth = RS32bpp; break; in matroxfb_setup()
2552 module_param(depth, int, 0);
2553 MODULE_PARM_DESC(depth, "Color depth (0=text,8,15,16,24,32) (default=vesa)");
2585 if (depth == 0) in init_module()
2586 depth = RSText; in init_module()
2587 else if (depth == 4) in init_module()
2588 depth = RS4bpp; in init_module()
2589 else if (depth == 8) in init_module()
2590 depth = RS8bpp; in init_module()
2591 else if (depth == 15) in init_module()
2592 depth = RS15bpp; in init_module()
2593 else if (depth == 16) in init_module()
2594 depth = RS16bpp; in init_module()
2595 else if (depth == 24) in init_module()
2596 depth = RS24bpp; in init_module()
2597 else if (depth == 32) in init_module()
2598 depth = RS32bpp; in init_module()
2599 else if (depth != -1) { in init_module()
2600 printk(KERN_ERR "matroxfb: depth %d is not supported, using default\n", depth); in init_module()
2601 depth = -1; in init_module()