Lines Matching full:depth
99 int depth) in fb_set_logo() argument
122 switch (depth) { in fb_set_logo()
151 * the visual format and color depth of the framebuffer, the DAC, the
167 * nibbles into separate bytes. The "depth" flag will be set to 4.
171 * We isolate each bit and expand each into a byte. The "depth" flag will
175 int depth; member
291 image.depth = 8; in fb_show_logo_line()
312 if (fb_logo.depth <= 4) { in fb_show_logo_line()
322 fb_set_logo(info, logo, logo_new, fb_logo.depth); in fb_show_logo_line()
420 int depth = fb_get_color_depth(&info->var, &info->fix); in fb_prepare_logo() local
431 depth = info->var.blue.length; in fb_prepare_logo()
432 if (info->var.red.length < depth) in fb_prepare_logo()
433 depth = info->var.red.length; in fb_prepare_logo()
434 if (info->var.green.length < depth) in fb_prepare_logo()
435 depth = info->var.green.length; in fb_prepare_logo()
438 if (info->fix.visual == FB_VISUAL_STATIC_PSEUDOCOLOR && depth > 4) { in fb_prepare_logo()
440 depth = 4; in fb_prepare_logo()
444 fb_logo.logo = fb_find_logo(depth); in fb_prepare_logo()
459 /* What depth we asked for might be different from what we get */ in fb_prepare_logo()
461 fb_logo.depth = 8; in fb_prepare_logo()
463 fb_logo.depth = 4; in fb_prepare_logo()
465 fb_logo.depth = 1; in fb_prepare_logo()
468 if (fb_logo.depth > 4 && depth > 4) { in fb_prepare_logo()