Home
last modified time | relevance | path

Searched refs:dfb (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/armada/
Darmada_fb.c18 struct armada_framebuffer *dfb = drm_fb_to_armada_fb(fb); in armada_fb_destroy() local
20 drm_framebuffer_cleanup(&dfb->fb); in armada_fb_destroy()
21 drm_gem_object_unreference_unlocked(&dfb->obj->obj); in armada_fb_destroy()
22 kfree(dfb); in armada_fb_destroy()
28 struct armada_framebuffer *dfb = drm_fb_to_armada_fb(fb); in armada_fb_create_handle() local
29 return drm_gem_handle_create(dfile, &dfb->obj->obj, handle); in armada_fb_create_handle()
40 struct armada_framebuffer *dfb; in armada_framebuffer_create() local
74 dfb = kzalloc(sizeof(*dfb), GFP_KERNEL); in armada_framebuffer_create()
75 if (!dfb) { in armada_framebuffer_create()
80 dfb->fmt = format; in armada_framebuffer_create()
[all …]
Darmada_fbdev.c40 struct armada_framebuffer *dfb; in armada_fb_create() local
72 dfb = armada_framebuffer_create(dev, &mode, obj); in armada_fb_create()
80 if (IS_ERR(dfb)) in armada_fb_create()
81 return PTR_ERR(dfb); in armada_fb_create()
97 fbh->fb = &dfb->fb; in armada_fb_create()
99 drm_fb_helper_fill_fix(info, dfb->fb.pitches[0], dfb->fb.depth); in armada_fb_create()
103 dfb->fb.width, dfb->fb.height, dfb->fb.bits_per_pixel, in armada_fb_create()
109 dfb->fb.funcs->destroy(&dfb->fb); in armada_fb_create()
Darmada_fb.h17 #define drm_fb_to_armada_fb(dfb) \ argument
18 container_of(dfb, struct armada_framebuffer, fb)
/drivers/video/fbdev/
Dtgafb.c1205 void __iomem *dfb; local
1208 dfb = tga_fb + depos;
1212 !(((unsigned long)sfb | (unsigned long)dfb) & 63)) {
1216 __raw_writel(dfb - tga_fb, tga_regs+TGA_COPY64_DST);
1219 dfb += 64;
1227 __raw_writel(0xffffffff, dfb);
1230 dfb += step;
1235 dfb += last_step - step;
1238 __raw_writel(mask_last, dfb);