Lines Matching refs:dfb
24 struct armada_framebuffer *dfb; in armada_framebuffer_create() local
58 dfb = kzalloc(sizeof(*dfb), GFP_KERNEL); in armada_framebuffer_create()
59 if (!dfb) { in armada_framebuffer_create()
64 dfb->fmt = format; in armada_framebuffer_create()
65 dfb->mod = config; in armada_framebuffer_create()
66 dfb->fb.obj[0] = &obj->obj; in armada_framebuffer_create()
68 drm_helper_mode_fill_fb_struct(dev, &dfb->fb, mode); in armada_framebuffer_create()
70 ret = drm_framebuffer_init(dev, &dfb->fb, &armada_fb_funcs); in armada_framebuffer_create()
72 kfree(dfb); in armada_framebuffer_create()
84 return dfb; in armada_framebuffer_create()
92 struct armada_framebuffer *dfb; in armada_fb_create() local
126 dfb = armada_framebuffer_create(dev, mode, obj); in armada_fb_create()
127 if (IS_ERR(dfb)) { in armada_fb_create()
128 ret = PTR_ERR(dfb); in armada_fb_create()
134 return &dfb->fb; in armada_fb_create()