Lines Matching refs:afb
53 int bpp = (afbdev->afb.base.bits_per_pixel + 7)/8; in ast_dirty_update()
60 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()
225 ret = ast_framebuffer_init(dev, &afbdev->afb, &mode_cmd, gobj); in astfb_create()
232 fb = &afbdev->afb.base; in astfb_create()
299 struct ast_framebuffer *afb = &afbdev->afb; in ast_fbdev_destroy() local
308 if (afb->obj) { in ast_fbdev_destroy()
309 drm_gem_object_unreference_unlocked(afb->obj); in ast_fbdev_destroy()
310 afb->obj = NULL; in ast_fbdev_destroy()
315 drm_framebuffer_unregister_private(&afb->base); in ast_fbdev_destroy()
316 drm_framebuffer_cleanup(&afb->base); in ast_fbdev_destroy()