Lines Matching refs:linebytes
198 u32 linebytes; in display_get_linebytes_of() local
199 int ret = display_read_u32_of(dev, of_node, "linebytes", &linebytes); in display_get_linebytes_of()
203 return display_get_validated_int(dev, "linebytes", linebytes); in display_get_linebytes_of()
824 int width, height, depth, linebytes; in ofdrm_device_create() local
898 linebytes = display_get_linebytes_of(dev, of_node); in ofdrm_device_create()
899 if (linebytes < 0) in ofdrm_device_create()
900 return ERR_PTR(linebytes); in ofdrm_device_create()
905 if (!linebytes) { in ofdrm_device_create()
906 linebytes = drm_format_info_min_pitch(format, 0, width); in ofdrm_device_create()
907 if (drm_WARN_ON(dev, !linebytes)) in ofdrm_device_create()
911 fb_size = linebytes * height; in ofdrm_device_create()
987 sysfb->fb_pitch = linebytes; in ofdrm_device_create()
994 &format->format, width, height, linebytes); in ofdrm_device_create()