Lines Matching full:sizes
256 * @sizes: specification of the layout
261 struct drm_fb_helper_surface_size *sizes) in psbfb_create() argument
274 mode_cmd.width = sizes->surface_width; in psbfb_create()
275 mode_cmd.height = sizes->surface_height; in psbfb_create()
276 bpp = sizes->surface_bpp; in psbfb_create()
277 depth = sizes->surface_depth; in psbfb_create()
327 drm_fb_helper_fill_info(info, fb_helper, sizes); in psbfb_create()
374 struct drm_fb_helper_surface_size *sizes) in psbfb_probe() argument
381 bytespp = sizes->surface_bpp / 8; in psbfb_probe()
388 fb_size = ALIGN(sizes->surface_width * bytespp, 64) * in psbfb_probe()
389 sizes->surface_height; in psbfb_probe()
393 sizes->surface_bpp = 16; in psbfb_probe()
394 sizes->surface_depth = 16; in psbfb_probe()
397 return psbfb_create(fb_helper, sizes); in psbfb_probe()