Lines Matching defs:width
96 return simplefb_get_validated_int0(dev, "width", pd->width);
147 u32 width;
148 int ret = simplefb_read_u32_of(dev, of_node, "width", &width);
152 return simplefb_get_validated_int0(dev, "width", width);
608 static struct drm_display_mode simpledrm_mode(unsigned int width,
614 DRM_MODE_INIT(60, width, height, width_mm, height_mm)
627 int width, height, stride;
658 width = simplefb_get_width_pd(dev, pd);
659 if (width < 0)
660 return ERR_PTR(width);
671 width = simplefb_get_width_of(dev, of_node);
672 if (width < 0)
673 return ERR_PTR(width);
688 simplefb_read_u32_of(dev, panel_node, "width-mm", &width_mm);
697 stride = drm_format_info_min_pitch(format, 0, width);
707 width_mm = DRM_MODE_RES_MM(width, 96ul);
711 sdev->mode = simpledrm_mode(width, height, width_mm, height_mm);
717 &format->format, width, height, stride);
781 max_width = max_t(unsigned long, width, DRM_SHADOW_PLANE_MAX_WIDTH);
784 dev->mode_config.min_width = width;
834 width, height);