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);
185 if (r->width == 0) {
186 drm_dbg_kms(dev, "bad framebuffer width %u\n", r->width);
199 unsigned int width = fb_plane_width(r->width, info, i);
202 u64 min_pitch = drm_format_info_min_pitch(info, i, width);
245 width % 128 || height % 32 ||
300 if ((config->min_width > r->width) || (r->width > config->max_width)) {
301 drm_dbg_kms(dev, "bad framebuffer width %d, should be >= %d && <= %d\n",
302 r->width, config->min_width, config->max_width);
531 r->width = fb->width;
593 r->width = fb->width;
1140 * drm_framebuffer_plane_width - width of the plane given the first plane
1141 * @width: width of the first plane
1146 * The width of @plane, given that the width of the first plane is @width.
1148 int drm_framebuffer_plane_width(int width,
1154 return fb_plane_width(width, fb->format, plane);
1187 drm_printf_indent(p, indent, "size=%ux%u\n", fb->width, fb->height);
1192 drm_framebuffer_plane_width(fb->width, fb, i),