Lines Matching defs:width
82 fb_width = fb->width << 16;
96 fb->width, fb->height);
134 r.width = or->width;
154 static int fb_plane_width(int width,
158 return width;
160 return DIV_ROUND_UP(width, format->hsub);
188 if (r->width == 0) {
189 DRM_DEBUG_KMS("bad framebuffer width %u\n", r->width);
202 unsigned int width = fb_plane_width(r->width, info, i);
205 u64 min_pitch = drm_format_info_min_pitch(info, i, width);
248 width % 128 || height % 32 ||
303 if ((config->min_width > r->width) || (r->width > config->max_width)) {
304 DRM_DEBUG_KMS("bad framebuffer width %d, should be >= %d && <= %d\n",
305 r->width, config->min_width, config->max_width);
531 r->width = fb->width;
593 r->width = fb->width;
1123 * drm_framebuffer_plane_width - width of the plane given the first plane
1124 * @width: width of the first plane
1129 * The width of @plane, given that the width of the first plane is @width.
1131 int drm_framebuffer_plane_width(int width,
1137 return fb_plane_width(width, fb->format, plane);
1172 drm_printf_indent(p, indent, "size=%ux%u\n", fb->width, fb->height);
1177 drm_framebuffer_plane_width(fb->width, fb, i),