Lines Matching refs:ast_fb
365 struct ast_framebuffer *ast_fb = to_ast_framebuffer(fb); in ast_user_framebuffer_destroy() local
367 drm_gem_object_unreference_unlocked(ast_fb->obj); in ast_user_framebuffer_destroy()
378 struct ast_framebuffer *ast_fb, in ast_framebuffer_init() argument
384 drm_helper_mode_fill_fb_struct(&ast_fb->base, mode_cmd); in ast_framebuffer_init()
385 ast_fb->obj = obj; in ast_framebuffer_init()
386 ret = drm_framebuffer_init(dev, &ast_fb->base, &ast_fb_funcs); in ast_framebuffer_init()
400 struct ast_framebuffer *ast_fb; in ast_user_framebuffer_create() local
407 ast_fb = kzalloc(sizeof(*ast_fb), GFP_KERNEL); in ast_user_framebuffer_create()
408 if (!ast_fb) { in ast_user_framebuffer_create()
413 ret = ast_framebuffer_init(dev, ast_fb, mode_cmd, obj); in ast_user_framebuffer_create()
416 kfree(ast_fb); in ast_user_framebuffer_create()
419 return &ast_fb->base; in ast_user_framebuffer_create()