Lines Matching refs:linebytes
199 u32 linebytes; in display_get_linebytes_of() local
200 int ret = display_read_u32_of(dev, of_node, "linebytes", &linebytes); in display_get_linebytes_of()
204 return display_get_validated_int(dev, "linebytes", linebytes); in display_get_linebytes_of()
825 int width, height, depth, linebytes; in ofdrm_device_create() local
899 linebytes = display_get_linebytes_of(dev, of_node); in ofdrm_device_create()
900 if (linebytes < 0) in ofdrm_device_create()
901 return ERR_PTR(linebytes); in ofdrm_device_create()
906 if (!linebytes) { in ofdrm_device_create()
907 linebytes = drm_format_info_min_pitch(format, 0, width); in ofdrm_device_create()
908 if (drm_WARN_ON(dev, !linebytes)) in ofdrm_device_create()
912 fb_size = linebytes * height; in ofdrm_device_create()
988 sysfb->fb_pitch = linebytes; in ofdrm_device_create()
995 &format->format, width, height, linebytes); in ofdrm_device_create()