Lines Matching refs:linebytes
204 u32 linebytes; in display_get_linebytes_of() local
205 int ret = display_read_u32_of(dev, of_node, "linebytes", &linebytes); in display_get_linebytes_of()
209 return display_get_validated_int(dev, "linebytes", linebytes); in display_get_linebytes_of()
1098 int width, height, depth, linebytes; in ofdrm_device_create() local
1170 linebytes = display_get_linebytes_of(dev, of_node); in ofdrm_device_create()
1171 if (linebytes < 0) in ofdrm_device_create()
1172 return ERR_PTR(linebytes); in ofdrm_device_create()
1177 if (!linebytes) { in ofdrm_device_create()
1178 linebytes = drm_format_info_min_pitch(format, 0, width); in ofdrm_device_create()
1179 if (drm_WARN_ON(dev, !linebytes)) in ofdrm_device_create()
1183 fb_size = linebytes * height; in ofdrm_device_create()
1256 odev->pitch = linebytes; in ofdrm_device_create()
1260 &format->format, width, height, linebytes); in ofdrm_device_create()