Lines Matching refs:depth
729 if (fb->depth == 16 && regno > 63) in setcolreg()
731 if (fb->depth == 15 && regno > 31) in setcolreg()
734 if (fb->depth == 16) { in setcolreg()
754 if (fb->depth != 16) in setcolreg()
825 int depth; in drm_fb_helper_check_var() local
844 depth = (var->green.length == 6) ? 16 : 15; in drm_fb_helper_check_var()
847 depth = (var->transp.length > 0) ? 32 : 24; in drm_fb_helper_check_var()
850 depth = var->bits_per_pixel; in drm_fb_helper_check_var()
854 switch (depth) { in drm_fb_helper_check_var()
1140 uint32_t depth) in drm_fb_helper_fill_fix() argument
1143 info->fix.visual = depth == 8 ? FB_VISUAL_PSEUDOCOLOR : in drm_fb_helper_fill_fix()
1187 switch (fb->depth) { in drm_fb_helper_fill_var()