Lines Matching full:sizes
151 struct drm_fb_helper_surface_size *sizes) in psb_fbdev_fb_probe() argument
166 if (sizes->surface_bpp == 24) { in psb_fbdev_fb_probe()
167 sizes->surface_bpp = 32; in psb_fbdev_fb_probe()
168 sizes->surface_depth = 24; in psb_fbdev_fb_probe()
170 bpp = sizes->surface_bpp; in psb_fbdev_fb_probe()
171 depth = sizes->surface_depth; in psb_fbdev_fb_probe()
178 size = ALIGN(sizes->surface_width * DIV_ROUND_UP(bpp, 8), 64) * in psb_fbdev_fb_probe()
179 sizes->surface_height; in psb_fbdev_fb_probe()
183 sizes->surface_bpp = 16; in psb_fbdev_fb_probe()
184 sizes->surface_depth = 16; in psb_fbdev_fb_probe()
186 bpp = sizes->surface_bpp; in psb_fbdev_fb_probe()
187 depth = sizes->surface_depth; in psb_fbdev_fb_probe()
189 mode_cmd.width = sizes->surface_width; in psb_fbdev_fb_probe()
190 mode_cmd.height = sizes->surface_height; in psb_fbdev_fb_probe()
223 drm_fb_helper_fill_info(info, fb_helper, sizes); in psb_fbdev_fb_probe()