Lines Matching refs:da8xx_fb_info
1112 struct fb_info *da8xx_fb_info; in fb_probe() local
1185 da8xx_fb_info = framebuffer_alloc(sizeof(struct da8xx_fb_par), in fb_probe()
1187 if (!da8xx_fb_info) { in fb_probe()
1193 par = da8xx_fb_info->par; in fb_probe()
1226 da8xx_fb_info->screen_base = (char __iomem *) par->vram_virt; in fb_probe()
1256 da8xx_fb_info->var.bits_per_pixel = lcd_cfg->bpp; in fb_probe()
1277 da8xx_fb_info->flags = FBINFO_FLAG_DEFAULT; in fb_probe()
1278 da8xx_fb_info->fix = da8xx_fb_fix; in fb_probe()
1279 da8xx_fb_info->var = da8xx_fb_var; in fb_probe()
1280 da8xx_fb_info->fbops = &da8xx_fb_ops; in fb_probe()
1281 da8xx_fb_info->pseudo_palette = par->pseudo_palette; in fb_probe()
1282 da8xx_fb_info->fix.visual = (da8xx_fb_info->var.bits_per_pixel <= 8) ? in fb_probe()
1285 ret = fb_alloc_cmap(&da8xx_fb_info->cmap, PALETTE_SIZE, 0); in fb_probe()
1288 da8xx_fb_info->cmap.len = par->palette_sz; in fb_probe()
1292 fb_set_var(da8xx_fb_info, &da8xx_fb_var); in fb_probe()
1294 dev_set_drvdata(&device->dev, da8xx_fb_info); in fb_probe()
1301 if (register_framebuffer(da8xx_fb_info) < 0) { in fb_probe()
1332 unregister_framebuffer(da8xx_fb_info); in fb_probe()
1335 fb_dealloc_cmap(&da8xx_fb_info->cmap); in fb_probe()
1345 framebuffer_release(da8xx_fb_info); in fb_probe()