Lines Matching refs:afb
52 int bpp = afbdev->afb.base.format->cpp[0]; in ast_dirty_update()
59 obj = afbdev->afb.obj; in ast_dirty_update()
113 src_offset = dst_offset = i * afbdev->afb.base.pitches[0] + (x * bpp); in ast_dirty_update()
222 ret = ast_framebuffer_init(dev, &afbdev->afb, &mode_cmd, gobj); in astfb_create()
229 fb = &afbdev->afb.base; in astfb_create()
264 struct ast_framebuffer *afb = &afbdev->afb; in ast_fbdev_destroy() local
268 if (afb->obj) { in ast_fbdev_destroy()
269 drm_gem_object_put_unlocked(afb->obj); in ast_fbdev_destroy()
270 afb->obj = NULL; in ast_fbdev_destroy()
275 drm_framebuffer_unregister_private(&afb->base); in ast_fbdev_destroy()
276 drm_framebuffer_cleanup(&afb->base); in ast_fbdev_destroy()