Lines Matching refs:depth
46 uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth) in drm_mode_legacy_fb_format() argument
55 if (depth == 15) in drm_mode_legacy_fb_format()
64 if (depth == 24) in drm_mode_legacy_fb_format()
66 else if (depth == 30) in drm_mode_legacy_fb_format()
114 void drm_fb_get_bpp_depth(uint32_t format, unsigned int *depth, in drm_fb_get_bpp_depth() argument
123 *depth = 8; in drm_fb_get_bpp_depth()
134 *depth = 15; in drm_fb_get_bpp_depth()
139 *depth = 16; in drm_fb_get_bpp_depth()
144 *depth = 24; in drm_fb_get_bpp_depth()
151 *depth = 24; in drm_fb_get_bpp_depth()
162 *depth = 30; in drm_fb_get_bpp_depth()
169 *depth = 32; in drm_fb_get_bpp_depth()
176 *depth = 0; in drm_fb_get_bpp_depth()
227 unsigned int depth; in drm_format_plane_cpp() local
258 drm_fb_get_bpp_depth(format, &depth, &bpp); in drm_format_plane_cpp()