Lines Matching refs:linebytes
205 u32 linebytes; in display_get_linebytes_of() local
206 int ret = display_read_u32_of(dev, of_node, "linebytes", &linebytes); in display_get_linebytes_of()
210 return display_get_validated_int(dev, "linebytes", linebytes); in display_get_linebytes_of()
1085 int width, height, depth, linebytes; in ofdrm_device_create() local
1157 linebytes = display_get_linebytes_of(dev, of_node); in ofdrm_device_create()
1158 if (linebytes < 0) in ofdrm_device_create()
1159 return ERR_PTR(linebytes); in ofdrm_device_create()
1164 if (!linebytes) { in ofdrm_device_create()
1165 linebytes = drm_format_info_min_pitch(format, 0, width); in ofdrm_device_create()
1166 if (drm_WARN_ON(dev, !linebytes)) in ofdrm_device_create()
1170 fb_size = linebytes * height; in ofdrm_device_create()
1243 odev->pitch = linebytes; in ofdrm_device_create()
1247 &format->format, width, height, linebytes); in ofdrm_device_create()