Lines Matching refs:da8xx_fb_info
1337 struct fb_info *da8xx_fb_info; in fb_probe() local
1388 da8xx_fb_info = framebuffer_alloc(sizeof(struct da8xx_fb_par), in fb_probe()
1390 if (!da8xx_fb_info) { in fb_probe()
1395 par = da8xx_fb_info->par; in fb_probe()
1436 da8xx_fb_info->screen_base = (char __iomem *) par->vram_virt; in fb_probe()
1467 da8xx_fb_info->flags = FBINFO_FLAG_DEFAULT; in fb_probe()
1468 da8xx_fb_info->fix = da8xx_fb_fix; in fb_probe()
1469 da8xx_fb_info->var = da8xx_fb_var; in fb_probe()
1470 da8xx_fb_info->fbops = &da8xx_fb_ops; in fb_probe()
1471 da8xx_fb_info->pseudo_palette = par->pseudo_palette; in fb_probe()
1472 da8xx_fb_info->fix.visual = (da8xx_fb_info->var.bits_per_pixel <= 8) ? in fb_probe()
1475 ret = fb_alloc_cmap(&da8xx_fb_info->cmap, PALETTE_SIZE, 0); in fb_probe()
1478 da8xx_fb_info->cmap.len = par->palette_sz; in fb_probe()
1482 fb_set_var(da8xx_fb_info, &da8xx_fb_var); in fb_probe()
1484 platform_set_drvdata(device, da8xx_fb_info); in fb_probe()
1493 if (register_framebuffer(da8xx_fb_info) < 0) { in fb_probe()
1526 unregister_framebuffer(da8xx_fb_info); in fb_probe()
1529 fb_dealloc_cmap(&da8xx_fb_info->cmap); in fb_probe()
1532 framebuffer_release(da8xx_fb_info); in fb_probe()