Lines Matching defs:mode
46 struct drm_mode_fb_cmd2 mode;
53 memset(&mode, 0, sizeof(mode));
54 mode.width = sizes->surface_width;
55 mode.height = sizes->surface_height;
56 mode.pitches[0] = armada_pitch(mode.width, sizes->surface_bpp);
57 mode.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp,
60 size = mode.pitches[0] * mode.height;
79 dfb = armada_framebuffer_create(dev, &mode, obj);