Lines Matching refs:dev
68 drm_modeset_lock_all(fb->dev); in omap_framebuffer_dirty()
70 drm_for_each_crtc(crtc, fb->dev) in omap_framebuffer_dirty()
73 drm_modeset_unlock_all(fb->dev); in omap_framebuffer_dirty()
199 dev_warn(fb->dev->dev, in omap_framebuffer_update_scanout()
336 struct drm_framebuffer *omap_framebuffer_create(struct drm_device *dev, in omap_framebuffer_create() argument
339 const struct drm_format_info *info = drm_get_format_info(dev, in omap_framebuffer_create()
354 fb = omap_framebuffer_init(dev, mode_cmd, bos); in omap_framebuffer_create()
367 struct drm_framebuffer *omap_framebuffer_init(struct drm_device *dev, in omap_framebuffer_init() argument
377 dev, mode_cmd, mode_cmd->width, mode_cmd->height, in omap_framebuffer_init()
380 format = drm_get_format_info(dev, mode_cmd); in omap_framebuffer_init()
388 dev_dbg(dev->dev, "unsupported pixel format: %4.4s\n", in omap_framebuffer_init()
410 dev_dbg(dev->dev, "pitches differ between planes 0 and 1\n"); in omap_framebuffer_init()
416 dev_dbg(dev->dev, in omap_framebuffer_init()
431 dev_dbg(dev->dev, in omap_framebuffer_init()
442 drm_helper_mode_fill_fb_struct(dev, fb, mode_cmd); in omap_framebuffer_init()
444 ret = drm_framebuffer_init(dev, fb, &omap_framebuffer_funcs); in omap_framebuffer_init()
446 dev_err(dev->dev, "framebuffer init failed: %d\n", ret); in omap_framebuffer_init()