Lines Matching refs:depth
1013 if (fb->depth == 16 && regno > 63) in setcolreg()
1015 if (fb->depth == 15 && regno > 31) in setcolreg()
1018 if (fb->depth == 16) { in setcolreg()
1038 if (fb->depth != 16) in setcolreg()
1110 int depth; in drm_fb_helper_check_var() local
1129 depth = (var->green.length == 6) ? 16 : 15; in drm_fb_helper_check_var()
1132 depth = (var->transp.length > 0) ? 32 : 24; in drm_fb_helper_check_var()
1135 depth = var->bits_per_pixel; in drm_fb_helper_check_var()
1139 switch (depth) { in drm_fb_helper_check_var()
1490 uint32_t depth) in drm_fb_helper_fill_fix() argument
1493 info->fix.visual = depth == 8 ? FB_VISUAL_PSEUDOCOLOR : in drm_fb_helper_fill_fix()
1537 switch (fb->depth) { in drm_fb_helper_fill_var()