Lines Matching refs:fbinfo
168 struct fb_info *fbinfo; member
1085 struct fb_info *fbi = win->fbinfo; in s3c_fb_alloc_memory()
1128 struct fb_info *fbi = win->fbinfo; in s3c_fb_free_memory()
1147 if (win->fbinfo) { in s3c_fb_release_win()
1154 unregister_framebuffer(win->fbinfo); in s3c_fb_release_win()
1155 if (win->fbinfo->cmap.len) in s3c_fb_release_win()
1156 fb_dealloc_cmap(&win->fbinfo->cmap); in s3c_fb_release_win()
1158 framebuffer_release(win->fbinfo); in s3c_fb_release_win()
1179 struct fb_info *fbinfo; in s3c_fb_probe_win() local
1189 fbinfo = framebuffer_alloc(sizeof(struct s3c_fb_win) + in s3c_fb_probe_win()
1191 if (!fbinfo) in s3c_fb_probe_win()
1201 win = fbinfo->par; in s3c_fb_probe_win()
1204 win->fbinfo = fbinfo; in s3c_fb_probe_win()
1239 fb_videomode_to_var(&fbinfo->var, &initmode); in s3c_fb_probe_win()
1241 fbinfo->fix.type = FB_TYPE_PACKED_PIXELS; in s3c_fb_probe_win()
1242 fbinfo->fix.accel = FB_ACCEL_NONE; in s3c_fb_probe_win()
1243 fbinfo->var.activate = FB_ACTIVATE_NOW; in s3c_fb_probe_win()
1244 fbinfo->var.vmode = FB_VMODE_NONINTERLACED; in s3c_fb_probe_win()
1245 fbinfo->var.bits_per_pixel = windata->default_bpp; in s3c_fb_probe_win()
1246 fbinfo->fbops = &s3c_fb_ops; in s3c_fb_probe_win()
1247 fbinfo->flags = FBINFO_FLAG_DEFAULT; in s3c_fb_probe_win()
1248 fbinfo->pseudo_palette = &win->pseudo_palette; in s3c_fb_probe_win()
1252 ret = s3c_fb_check_var(&fbinfo->var, fbinfo); in s3c_fb_probe_win()
1260 ret = fb_alloc_cmap(&fbinfo->cmap, win->variant.palette_sz, 1); in s3c_fb_probe_win()
1262 fb_set_cmap(&fbinfo->cmap, fbinfo); in s3c_fb_probe_win()
1266 s3c_fb_set_par(fbinfo); in s3c_fb_probe_win()
1272 ret = register_framebuffer(fbinfo); in s3c_fb_probe_win()
1278 dev_info(sfb->dev, "window %d: fb %s\n", win_no, fbinfo->fix.id); in s3c_fb_probe_win()
1547 s3c_fb_blank(FB_BLANK_POWERDOWN, win->fbinfo); in s3c_fb_suspend()
1613 s3c_fb_set_par(win->fbinfo); in s3c_fb_resume()