Lines Matching defs:width
175 u32 width;
176 int ret = display_read_u32_of(dev, of_node, "width", &width);
180 return display_get_validated_int0(dev, "width", width);
1062 static struct drm_display_mode ofdrm_mode(unsigned int width, unsigned int height)
1069 DRM_MODE_INIT(60, width, height,
1070 DRM_MODE_RES_MM(width, 96ul),
1085 int width, height, depth, linebytes;
1148 width = display_get_width_of(dev, of_node);
1149 if (width < 0)
1150 return ERR_PTR(width);
1165 linebytes = drm_format_info_min_pitch(format, 0, width);
1241 odev->mode = ofdrm_mode(width, height);
1247 &format->format, width, height, linebytes);
1257 max_width = max_t(unsigned long, width, DRM_SHADOW_PLANE_MAX_WIDTH);
1260 dev->mode_config.min_width = width;
1315 width, height);