Lines Matching refs:depth
74 static void viafb_fill_var_color_info(struct fb_var_screeninfo *var, u8 depth)
84 switch (depth) {
188 int depth, refresh;
208 depth = fb_get_color_depth(var, &info->fix);
209 if (!depth)
210 depth = var->bits_per_pixel;
212 if (depth < 0 || depth > 32)
214 else if (!depth)
215 depth = 24;
216 else if (depth == 15 && viafb_dual_fb && ppar->iga_path == IGA1)
217 depth = 15;
218 else if (depth == 30)
219 depth = 30;
220 else if (depth <= 8)
221 depth = 8;
222 else if (depth <= 16)
223 depth = 16;
225 depth = 24;
227 viafb_fill_var_color_info(var, depth);
259 viapar->depth = fb_get_color_depth(&info->var, &info->fix);
731 (image->depth != 1 && image->depth != viapar->depth)) {
736 if (image->depth == 1) {
1850 viaparinfo1->depth = fb_get_color_depth(&viafbinfo1->var,
1856 viaparinfo->depth = fb_get_color_depth(&viafbinfo->var,
2079 MODULE_PARM_DESC(viafb_bpp, "Set color depth (default=32bpp)");
2082 MODULE_PARM_DESC(viafb_bpp1, "Set color depth (default=32bpp)");