Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/armada/
Darmada_fb.c24 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()
[all …]
Darmada_fbdev.c32 struct armada_framebuffer *dfb; in armada_fbdev_create() local
64 dfb = armada_framebuffer_create(dev, &mode, obj); in armada_fbdev_create()
72 if (IS_ERR(dfb)) in armada_fbdev_create()
73 return PTR_ERR(dfb); in armada_fbdev_create()
88 fbh->fb = &dfb->fb; in armada_fbdev_create()
90 drm_fb_helper_fill_fix(info, dfb->fb.pitches[0], in armada_fbdev_create()
91 dfb->fb.format->depth); in armada_fbdev_create()
95 dfb->fb.width, dfb->fb.height, dfb->fb.format->cpp[0] * 8, in armada_fbdev_create()
101 dfb->fb.funcs->destroy(&dfb->fb); in armada_fbdev_create()
Darmada_fb.h16 #define drm_fb_to_armada_fb(dfb) \ argument
17 container_of(dfb, struct armada_framebuffer, fb)
/Linux-v4.19/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);